Nand Bootstrap v0.1
NAND chip (id: 0xecf10095): 4 address cycle, 2048 page size, 64 pages/block
Boot image offset: 0x140000
Load sdram addres: 0x0
Booting image ...
0567Will set the following freq...
PLL1: 480 MHz, PLL3: 648 MHz, CPU freq: 480 MHz, AHB freq: 240 MHz, DDR freq: 480 MHz
go...
*********************************************
Please input Space to run Linux
Please input ESC to run UBOOT
Please input . to run burn-in
Otherwise, system will run Linux after 5 sec
*********************************************
Load image from NAND offset 0x3c0000 to sdram 0x4000000
Jump 0x4000000
U-Boot 2008.10 (Jul 20 2011 - 17:47:11)
I2C: ready
DRAM: 128 MB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: FTGMAC#0
Hit any key to stop autoboot: 0
=> help
? - alias for 'help'
autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
echo - echo args to console
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print online help
icrc32 - checksum calculation
iloop - infinite loop on address range
imd - i2c memory display
iminfo - print header information for application image
imm - i2c memory modify (auto-incrementing)
imw - memory write (fill)
imxtract- extract a part of a multi-image
inm - memory modify (constant address)
iprobe - probe to discover valid I2C chip addresses
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
ls - list files in a directory (default /)
md - memory display
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep - delay execution for some time
tftpboot- boot image via network using TFTP protocol
version - print monitor version
=> printenv
bootargs=
bootcmd=nand read 0x4000000 0x500000 0x1000000;go 0x4000000
bootdelay=3
baudrate=38400
ethaddr=00:42:70:00:30:22
ethact=FTGMAC#0
ipaddr=192.168.1.244
serverip=192.168.1.111
gatewayip=192.168.1.1
netmask=255.255.255.0
ver=U-Boot 2008.10 (Jul 20 2011 - 17:47:11)
Environment size: 271/32764 bytes
=> setenv ipaddr 192.168.1.244
=> saveenv
掉电重启
pc机上打开Cisco TFTP Server,并把需要的文件bootsImageNand放在TFTP Server的根目录上
=> tftpboot 0x4000000 bootsImageNand
FTMAC with AR PHY support
HALF
PHY_SPEED_100M
Using eth0 device
TFTP from server 192.168.1.111; our IP address is 192.168.1.244
Filename 'bootsImageNand'.
Load address: 0x4000000
Loading: t RD_REQ, file: bootsImageNand
#################################################################
##############################
done
Bytes transferred = 7471944 (720348 hex)
=> nand erase 0x00500000 0x1000000
NAND erase: device 0 offset 0x500000, size 0x1000000
Erasing at 0x14e0000 -- 100% complete.
OK
=> nand write 0x4000000 0x00500000 0x1000000
NAND write: device 0 offset 0x500000, size 0x1000000
16777216 bytes written: OK
手动的话,可以直接go 0x4000000