uboot下读取flash,上传tftp服务器、下载

时间:2021-07-20 15:42:02

上传

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
sf read 0x82000000 0x1000000
tftp 0x82000000 test.bin 0x1000000

下载

mw.b  ff
tftp test.bin
sf probe
sf erase
sf write

Hi3518EV200+AR0130

setenv serverip 192.168.1.14;mw.b  ff ;tftp  /home/swann/tftp_hi/firmware_3518_0130_v1..bin;sf probe ;sf erase  ;sf write