通过NorFlash的Uboot,tftp下载Uboot至NandFlash

仍然只是本人的一个记录。
[u-boot@MINI2440]# nand erase 0 60000
NAND erase: device 0 offset 0x0, size 0x60000
Erasing at 0x4000000600000 --    0% complete.
OK
[u-boot@MINI2440]# tftp 32000000 te-u-boot.bin
dm9000 i/o: 0x20000300, id: 0x90000a46 
DM9000: running in 16 bit mode
MAC: 08:08:11:18:            12:27
operating at 100M full duplex mode
Using dm9000 device
TFTP from server 192.168.1.30; our IP address is 192.168.1.99
Filename 'te-u-boot.bin'.
Load address: 0x32000000
Loading: T ##################
done
Bytes transferred = 257164 (3ec8c hex)
[u-boot@MINI2440]# nand write.jffs2 32000000 0 60000

NAND write: device 0 offset 0x0, size 0x60000
Writing at 0x4000000020000 -- 100% is complete. 393216 bytes written: OK
[u-boot@MINI2440]# 

下面把开发板启动开关拨动到NandFlash中,重新上电。
U-Boot 2010.03 ( 3鏈?27 2012 - 22:39:21)

你可能感兴趣的:(linux)