preparing to release, add more uboot script including recovery one
This commit is contained in:
4
patches/uboot-flash.script
Normal file
4
patches/uboot-flash.script
Normal file
@@ -0,0 +1,4 @@
|
||||
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\;set\ bootargs\ console\=ttyAS0\,115200\ bigphysarea\=20000\;nboot.jffs2\ \$load_addr fw2-nand0; set satip-axe 1; saveenv; fi
|
1
patches/uboot-recovery.script
Normal file
1
patches/uboot-recovery.script
Normal file
@@ -0,0 +1 @@
|
||||
if test \"${satip-axe}\" != \"\"; then set bootcmd run\ updatefw\;nboot.jffs2\ \$load_addr fw1-nand0; set satip-axe; saveenv; fi
|
@@ -1,3 +1,3 @@
|
||||
fatload usb 0 0x84000000 satip-axe-@VERSION@.fw
|
||||
fatload usb 0 $load_addr satip-axe-@VERSION@.fw
|
||||
set bootargs console=ttyAS0,115200 bigphysarea=20000
|
||||
bootm 0x84000000
|
||||
bootm $load_addr
|
||||
|
Reference in New Issue
Block a user