satip-axe/patches/uboot-flash.script

5 lines
303 B
Plaintext
Raw Permalink Normal View History

set filesize
fatload usb 0 $load_addr satip-axe-@VERSION@.fw
if test \"${filesize}\" != \"\"; then nand erase fw2-nand0; nand write.jffs2 $load_addr fw2-nand0 $filesize; fi
if test \"${satip-axe}\" = \"\"; then set bootcmd run\ updatefw\;nboot.jffs2\ \$load_addr fw2-nand0; set satip-axe 1; saveenv; fi