diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-09-26 21:22:21 +0100 |
---|---|---|
committer | Gerrit Rockbox <gerrit@rockbox.org> | 2016-12-12 12:03:08 +0100 |
commit | a983859291e29e2cfe26df8e00814b546d865b5c (patch) | |
tree | 7ba94ae05153124a52bc546d46aecb91715578b3 /firmware/export/config | |
parent | 5c50efc9cec9b0b2f0af216c4e9bf82dc3046d04 (diff) |
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
Diffstat (limited to 'firmware/export/config')
-rw-r--r-- | firmware/export/config/creativezenxfi3.h | 3 | ||||
-rw-r--r-- | firmware/export/config/sansafuzeplus.h | 3 | ||||
-rw-r--r-- | firmware/export/config/sonynwze360.h | 3 | ||||
-rw-r--r-- | firmware/export/config/sonynwze370.h | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/firmware/export/config/creativezenxfi3.h b/firmware/export/config/creativezenxfi3.h index 9adf593a99..9233ef08a1 100644 --- a/firmware/export/config/creativezenxfi3.h +++ b/firmware/export/config/creativezenxfi3.h @@ -205,6 +205,9 @@ /* Define this if you have adjustable CPU frequency */ #define HAVE_ADJUSTABLE_CPU_FREQ +/* Define this on iMX233 if the boot process uses a dualboot stub */ +#define HAVE_DUALBOOT_STUB + #define BOOTFILE_EXT "creative" #define BOOTFILE "rockbox." BOOTFILE_EXT #define BOOTDIR "/.rockbox" diff --git a/firmware/export/config/sansafuzeplus.h b/firmware/export/config/sansafuzeplus.h index 51bf1444a2..62f50c4f71 100644 --- a/firmware/export/config/sansafuzeplus.h +++ b/firmware/export/config/sansafuzeplus.h @@ -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" diff --git a/firmware/export/config/sonynwze360.h b/firmware/export/config/sonynwze360.h index 5f5b1cd597..dc466ec797 100644 --- a/firmware/export/config/sonynwze360.h +++ b/firmware/export/config/sonynwze360.h @@ -179,6 +179,9 @@ /* Define this if you have adjustable CPU frequency */ #define HAVE_ADJUSTABLE_CPU_FREQ +/* Define this on iMX233 if the boot process uses a dualboot stub */ +#define HAVE_DUALBOOT_STUB + #define BOOTFILE_EXT "sony" #define BOOTFILE "rockbox." BOOTFILE_EXT #define BOOTDIR "/.rockbox" diff --git a/firmware/export/config/sonynwze370.h b/firmware/export/config/sonynwze370.h index b4c4f16b13..6edb79aea9 100644 --- a/firmware/export/config/sonynwze370.h +++ b/firmware/export/config/sonynwze370.h @@ -176,6 +176,9 @@ /* Define this if you have adjustable CPU frequency */ #define HAVE_ADJUSTABLE_CPU_FREQ +/* Define this on iMX233 if the boot process uses a dualboot stub */ +#define HAVE_DUALBOOT_STUB + #define BOOTFILE_EXT "sony" #define BOOTFILE "rockbox." BOOTFILE_EXT #define BOOTDIR "/.rockbox" |