forked from len0rd/rockbox
imx233: add capability to boot OF or updater instead of Rockbox
This commit adds the necessary code in the dualboot stub (bootloader) to let rockbox control the boot process. In particular, rockbox can now choose if the next boot will be normal (boot rockbox or OF on magic key), to OF or to updater. The intents (to be added in follow-up commits) are: 1) Let the user more easily reboot to the OF. On some targets it is not trivial, especially in USB mode. 2) Automatically reboot to updater when the user drop firmware.sb at the root of the drive (currently, the user needs to do that in OF USB mode) 3) Document this OF magic Change-Id: I86df651dec048c318c6a22de74abb8c6b41aa9ad
This commit is contained in:
parent
5c50efc9ce
commit
a983859291
13 changed files with 650 additions and 168 deletions
|
|
@ -203,6 +203,9 @@
|
|||
/* Virtual LED (icon) */
|
||||
#define CONFIG_LED LED_VIRTUAL
|
||||
|
||||
/* Define this on iMX233 if the boot process uses a dualboot stub */
|
||||
#define HAVE_DUALBOOT_STUB
|
||||
|
||||
#define BOOTFILE_EXT "sansa"
|
||||
#define BOOTFILE "rockbox." BOOTFILE_EXT
|
||||
#define BOOTDIR "/.rockbox"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue