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
This commit is contained in:
William Wilgus 2017-02-05 21:07:20 +01:00 committed by Amaury Pouly
parent 60e5cd7276
commit 41869a6534
11 changed files with 190 additions and 2 deletions

View file

@ -8,6 +8,8 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 88
#define MODEL_NAME "Sony NWZ-E370/E380 series"
/* Define if boot data from bootloader has been enabled for the target */
#define HAVE_BOOTDATA
#define HW_SAMPR_CAPS SAMPR_CAP_ALL