erase full flash, it seems to help with jffs2
This commit is contained in:
parent
26c6eac937
commit
67768004ee
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ in {
|
||||||
setenv serverip ${tftp.serverip}
|
setenv serverip ${tftp.serverip}
|
||||||
setenv ipaddr ${tftp.ipaddr}
|
setenv ipaddr ${tftp.ipaddr}
|
||||||
tftp 0x$(printf %x ${tftp.loadAddress}) result/firmware.bin
|
tftp 0x$(printf %x ${tftp.loadAddress}) result/firmware.bin
|
||||||
erase 0x$(printf %x ${flash.address}) +\''${filesize})
|
erase 0x$(printf %x ${flash.address}) +${flash.size}
|
||||||
cp.b 0x$(printf %x ${tftp.loadAddress}) 0x$(printf %x ${flash.address}) \''${filesize}
|
cp.b 0x$(printf %x ${tftp.loadAddress}) 0x$(printf %x ${flash.address}) \''${filesize}
|
||||||
echo command line was ${builtins.toJSON (concatStringsSep " " config.boot.commandLine)}
|
echo command line was ${builtins.toJSON (concatStringsSep " " config.boot.commandLine)}
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue