setenv bootargs 'mem=128M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 rw mtdparts=hi_sfc:1M(boot),4M(kernel),11M(rootfs)'
setenv bootcmd 'mw 12120064 1a0;mw 120f006c 1 20;sf probe 0;sf read 0x82000000 100000 400000;bootm 0x82000000'
sf probe 0
usb start
mw 82000000 0xffffffff 400000
fatload usb 0:1 82000000 uImage;
sf erase 100000 400000;
sf write 82000000 100000 400000;
mw 82000000 0xffffffff b00000;
fatload usb 0:1 82000000 rootfs_hi3536dv100_64k.jffs2;
sf erase 500000 b00000;
sf write 82000000 500000 b00000;
阅读(2341) | 评论(0) | 转发(0) |