SMDK6410 # dnw 50008000
OTG cable Connected!
Now, Waiting for DNW to transmit data
Download Done!! Download Address: 0x50008000, Download Filesize:0x36bba0
Checksum is being calculated....
Checksum O.K.
SMDK6410 # nand erase 100000 500000
NAND erase: device 0 offset 0x100000, size 0x500000
Erasing at 0x580000 -- 100% complete.
OK
SMDK6410 # nand write.e 50008000 100000 500000
NAND write: device 0 offset 0x100000, size 0x500000
Writing data at 0x5ff000 -- 100% complete.
5242880 bytes written: OK
SMDK6410 # reset
kevin@ubuntu:~/Documents$ sudo dnw -f zImage
[sudo] password for kevin:
File name : zImage
File size : 3586976 bytes
Start Sending data...
Dest address: 0x50008000
Sent 100% 3586986 bytes !OK
kevin@ubuntu:~/Documents$
linux文件系统中,如要通过tftp从服务器下载文件
普通的文件夹都是只读的,只有/tmp文件夹才可写
[root@FORLINX6410]# cd bin/
[root@FORLINX6410]# tftp -g -r hello.ko 192.168.0.55
tftp: can't open 'hello.ko': Read-only file system
[root@FORLINX6410]# cd tmp/
[root@FORLINX6410]# ls
qtembedded-1 qtopia-1
[root@FORLINX6410]# tftp -g -r hello.ko 192.168.0.55
[root@FORLINX6410]# ls
uImage只是比zImage多了64字节的头,通过uboot里面tools里面mkImage可将zImage制作成uImage
bootloader是uboot的话可以识别uImage,但是zImage与uImage都可烧录,没有影响