Literati:Serial Port

From eLinux.org
Revision as of 22:21, 22 February 2011 by Prpplague (Talk | contribs)

Jump to: navigation, search

Location

White model #1637287

The Serial port on the White literati model #1637287 is located on the right side of the device seen in the picture on the right. this is also true on the older black models.

currently we do not know where they are on the newer models a picture of a newer model is also on the right and circled is what is believed to be the serial port.

White Model new

there are 4 pins top->down 5v?,TX,RX,GND. connecting these pins to a max232 level converter and then to a serial port on a computer allows you to view the bootloader start up processes and the starting of the linux kernel.

Boot Loader

during the boot process there is a 3 second count down to allow a user to enter the bootloader before booting the kernel.

To get out of the bootloader right now you type "reset" and the device will reboot allowing you to get out of the bootcmd line there is a way to boot from nand but iv forgot to log the offsets.

Boot CMD's

boot zImage from sd that fat32 part
boot zImage from sd that fat32 part
boot zImage from sd that fat32 part
boot zImage from sd that fat32 part
?       - alias for 'help'
base    - print or set address offset
bdinfo  - print Board Info structure
bootm   - boot application image from memory
branch  - enable or disable branch prediction
TestMemory      - start application at address 'addr'
cmp     - memory compare
cp      - memory copy
crc32   - checksum calculation
dcache  - enable or disable data cache
dnw     - initialize USB device and ready to receive for Windows server (specific)
echo    - echo args to console
erase   - erase FLASH memory
exit    - exit script
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
icache  - enable or disable instruction cache
imls    - list all images found in flash
itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
movi    - moviNAND sub-system
mtest   - simple RAM test
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nm      - memory modify (constant address)
printenv- print environment variables
protect - enable or disable FLASH write protection
reset   - Perform RESET of the CPU
saveenv - save environment variables to persistent storage
setenv  - set environment variables
sleep   - delay execution for some time
test    - minimal test like /bin/sh
version - print monitor version
1 update boot from sd 
2 update kernel from sd 
3 update resource from sd 
4 update all