uboot下读取flash,上传tftp服务器、下载
上传
setenv gatewayip 192.168.1.1; setenv serverip 192.168.1.7; setenv ipaddr 192.168.1.156 ; mw.b 0x82000000 0xff 0x1000000 sf probe 0 sf read 0x82000000 0 0x1000000 tftp 0x82000000 test.bin 0x1000000
下载
mw.b 82000000 ff 1000000 tftp 82000000 test.bin sf probe 0 sf erase 0 1000000 sf write 82000000 0 1000000
Hi3518EV200+AR0130
setenv serverip 192.168.1.14;mw.b 82000000 ff 1000000;tftp 82000000 /home/swann/tftp_hi/firmware_3518_0130_v1.0.bin;sf probe 0;sf erase 0 1000000;sf write 82000000 0 1000000
posted on 2019-02-24 13:37 平凡的世界&&技术博客 阅读(602) 评论(0) 编辑 收藏 举报