Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Commit

Permalink
projects/Amlogic: Reset uenv before applying new values. Allow to boo…
Browse files Browse the repository at this point in the history
…t from NAND.
  • Loading branch information
kszaq committed Mar 23, 2016
1 parent a38fb7b commit beececb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion projects/Amlogic/install/aml_autoscript.src
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
setenv bootcmd 'if mmcinfo; then if fatload mmc 0 ${loadaddr} kernel.img; then setenv bootargs ${bootargs} bootfromsd; bootm; fi; fi; run storeboot'
defenv
setenv bootfromnand 0
setenv bootfromsd 'if test ${bootfromnand} = 1; then setenv bootfromnand 0; saveenv; exit; fi; if test ${reboot_mode} = switch_system; then exit; fi; if mmcinfo; then if fatload mmc 0 ${loadaddr} kernel.img; then setenv bootargs ${bootargs} bootfromsd; bootm; fi; fi'
setenv bootcmd 'run bootfromsd; run storeboot'
setenv cecconfig cecf
setenv reboot_mode normal
saveenv

0 comments on commit beececb

Please sign in to comment.