diff options
author | William Wilgus <me.theuser@yahoo.com> | 2017-02-05 21:07:20 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-10-29 17:50:59 +0100 |
commit | 41869a6534400090ce61111aa79398513462b24f (patch) | |
tree | 08a69dfeaf7cb8cf9e64c903616240c43770df0c /firmware/export/config | |
parent | 60e5cd72766ace0d35f2cf7a3d4798d8c2e848bd (diff) | |
download | rockbox-41869a6534400090ce61111aa79398513462b24f.tar.gz rockbox-41869a6534400090ce61111aa79398513462b24f.zip |
Add boot data support to rockbox.
Bootdata is a special location in the Firmware marked by a magic header
The bootloader is able to copy information to the firmware by locating
this struct and passing data to the firmware when it is loaded but
before it is actually executed
Data is verified by a crc of the bootdata
Change-Id: Ib3d78cc0c3a9d47d6fe73be4747a11b7ad6f0a9e
Diffstat (limited to 'firmware/export/config')
-rw-r--r-- | firmware/export/config/creativezen.h | 2 | ||||
-rw-r--r-- | firmware/export/config/creativezenxfi2.h | 2 | ||||
-rw-r--r-- | firmware/export/config/creativezenxfi3.h | 2 | ||||
-rw-r--r-- | firmware/export/config/samsungypz5.h | 2 | ||||
-rw-r--r-- | firmware/export/config/sansafuzeplus.h | 2 | ||||
-rw-r--r-- | firmware/export/config/sonynwze360.h | 2 | ||||
-rw-r--r-- | firmware/export/config/sonynwze370.h | 2 |
7 files changed, 14 insertions, 0 deletions
diff --git a/firmware/export/config/creativezen.h b/firmware/export/config/creativezen.h index 3667142791..0033b7d4eb 100644 --- a/firmware/export/config/creativezen.h +++ b/firmware/export/config/creativezen.h | |||
@@ -8,6 +8,8 @@ | |||
8 | /* For Rolo and boot loader */ | 8 | /* For Rolo and boot loader */ |
9 | #define MODEL_NUMBER 90 | 9 | #define MODEL_NUMBER 90 |
10 | #define MODEL_NAME "Creative Zen" | 10 | #define MODEL_NAME "Creative Zen" |
11 | /* Define if boot data from bootloader has been enabled for the target */ | ||
12 | #define HAVE_BOOTDATA | ||
11 | 13 | ||
12 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | 14 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL |
13 | 15 | ||
diff --git a/firmware/export/config/creativezenxfi2.h b/firmware/export/config/creativezenxfi2.h index 5b275b1de8..3945311e29 100644 --- a/firmware/export/config/creativezenxfi2.h +++ b/firmware/export/config/creativezenxfi2.h | |||
@@ -8,6 +8,8 @@ | |||
8 | /* For Rolo and boot loader */ | 8 | /* For Rolo and boot loader */ |
9 | #define MODEL_NUMBER 82 | 9 | #define MODEL_NUMBER 82 |
10 | #define MODEL_NAME "Creative Zen X-Fi2" | 10 | #define MODEL_NAME "Creative Zen X-Fi2" |
11 | /* Define if boot data from bootloader has been enabled for the target */ | ||
12 | #define HAVE_BOOTDATA | ||
11 | 13 | ||
12 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | 14 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL |
13 | 15 | ||
diff --git a/firmware/export/config/creativezenxfi3.h b/firmware/export/config/creativezenxfi3.h index 0503035914..d72b41d608 100644 --- a/firmware/export/config/creativezenxfi3.h +++ b/firmware/export/config/creativezenxfi3.h | |||
@@ -8,6 +8,8 @@ | |||
8 | /* For Rolo and boot loader */ | 8 | /* For Rolo and boot loader */ |
9 | #define MODEL_NUMBER 83 | 9 | #define MODEL_NUMBER 83 |
10 | #define MODEL_NAME "Creative Zen X-Fi3" | 10 | #define MODEL_NAME "Creative Zen X-Fi3" |
11 | /* Define if boot data from bootloader has been enabled for the target */ | ||
12 | #define HAVE_BOOTDATA | ||
11 | 13 | ||
12 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | 14 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL |
13 | 15 | ||
diff --git a/firmware/export/config/samsungypz5.h b/firmware/export/config/samsungypz5.h index 08b607741c..882acc2a6c 100644 --- a/firmware/export/config/samsungypz5.h +++ b/firmware/export/config/samsungypz5.h | |||
@@ -8,6 +8,8 @@ | |||
8 | /* For Rolo and boot loader */ | 8 | /* For Rolo and boot loader */ |
9 | #define MODEL_NUMBER 84 | 9 | #define MODEL_NUMBER 84 |
10 | #define MODEL_NAME "Samsung YP-Z5" | 10 | #define MODEL_NAME "Samsung YP-Z5" |
11 | /* Define if boot data from bootloader has been enabled for the target */ | ||
12 | #define HAVE_BOOTDATA | ||
11 | 13 | ||
12 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | 14 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL |
13 | 15 | ||
diff --git a/firmware/export/config/sansafuzeplus.h b/firmware/export/config/sansafuzeplus.h index 03d6c00b2e..af5235a6c3 100644 --- a/firmware/export/config/sansafuzeplus.h +++ b/firmware/export/config/sansafuzeplus.h | |||
@@ -8,6 +8,8 @@ | |||
8 | /* For Rolo and boot loader */ | 8 | /* For Rolo and boot loader */ |
9 | #define MODEL_NUMBER 72 | 9 | #define MODEL_NUMBER 72 |
10 | #define MODEL_NAME "Sandisk Sansa Fuze+" | 10 | #define MODEL_NAME "Sandisk Sansa Fuze+" |
11 | /* Define if boot data from bootloader has been enabled for the target */ | ||
12 | #define HAVE_BOOTDATA | ||
11 | 13 | ||
12 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | 14 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL |
13 | 15 | ||
diff --git a/firmware/export/config/sonynwze360.h b/firmware/export/config/sonynwze360.h index dc466ec797..a25e95d274 100644 --- a/firmware/export/config/sonynwze360.h +++ b/firmware/export/config/sonynwze360.h | |||
@@ -8,6 +8,8 @@ | |||
8 | /* For Rolo and boot loader */ | 8 | /* For Rolo and boot loader */ |
9 | #define MODEL_NUMBER 89 | 9 | #define MODEL_NUMBER 89 |
10 | #define MODEL_NAME "Sony NWZ-E360 series" | 10 | #define MODEL_NAME "Sony NWZ-E360 series" |
11 | /* Define if boot data from bootloader has been enabled for the target */ | ||
12 | #define HAVE_BOOTDATA | ||
11 | 13 | ||
12 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | 14 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL |
13 | 15 | ||
diff --git a/firmware/export/config/sonynwze370.h b/firmware/export/config/sonynwze370.h index 0f88d98b58..2ed87f2f1b 100644 --- a/firmware/export/config/sonynwze370.h +++ b/firmware/export/config/sonynwze370.h | |||
@@ -8,6 +8,8 @@ | |||
8 | /* For Rolo and boot loader */ | 8 | /* For Rolo and boot loader */ |
9 | #define MODEL_NUMBER 88 | 9 | #define MODEL_NUMBER 88 |
10 | #define MODEL_NAME "Sony NWZ-E370/E380 series" | 10 | #define MODEL_NAME "Sony NWZ-E370/E380 series" |
11 | /* Define if boot data from bootloader has been enabled for the target */ | ||
12 | #define HAVE_BOOTDATA | ||
11 | 13 | ||
12 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | 14 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL |
13 | 15 | ||