1
0
Fork 0
forked from len0rd/rockbox

x1000: Redesign SPL, and allow it to flash the bootloader

SPL is now designed so core X1000 code is in control of the boot,
under the reasonable assumption that the device boots from flash.
It should not be too hard to adapt to other X1000 ports.

The biggest functional change is that the SPL can now read/write
the flash, under the control of a host computer. The SPL relies
on the boot ROM for USB communication, so the host has to execute
the SPL multiple times following a protocol.

Change-Id: I3ffaa00e4bf191e043c9df0e2e64d15193ff42c9
This commit is contained in:
Aidan MacDonald 2021-04-07 22:11:01 +01:00
parent 85fbbd9c7f
commit 1b8542490d
7 changed files with 279 additions and 126 deletions

View file

@ -89,11 +89,6 @@ show_logo.c
#elif defined(SANSA_CONNECT)
sansaconnect.c
show_logo.c
#elif defined(FIIO_M3K)
#ifdef BOOTLOADER_SPL
x1000-spl.c
fiiom3k-spl.c
#else
#elif defined(FIIO_M3K) && !defined(BOOTLOADER_SPL)
fiiom3k.c
#endif
#endif