这个内核的地址uboot 1M,内核5M,从100000到600000.
导入uboot
tftp 30000000 uboot
nand erase 0 100000
nand write.uboot 50008000 0 100000 //write(.uboot是参数不能改,且只在sd-boot中实现)
导入内核
tftp 30000000 uImage
nand erase 100000
nand uImage 30000000 100000 500000
导入文件系统
tftp 30000000 rootfs.jffs2
nand erase 600000 1ded614a1qa
nand write.jffs2 30000000 600000 1ded614
setenv bootargs 'console=ttySAC0,9600 root=/dev/mtdblock3 rootfstype=jffs2'
setenv bootcmd 'nand read.jffs2 30000000 100000 500000;bootm 30000000'
reset