2022-08-05 16:11:27 +00:00
|
|
|
# Secondary Bootloader (SPL) for baremetal NextVOD box
|
|
|
|
|
|
|
|
As the EMI SPI interface only accepts 32 bit accesses,
|
|
|
|
a secondary bootloader is required for code memory (for now).
|
|
|
|
|
|
|
|
This bootloader will:
|
|
|
|
* Initialize LMI(DDR2) memory
|
|
|
|
* Configure caches
|
|
|
|
* Find the text size from a descriptor(see below)
|
|
|
|
* Load and execute the application code from LMI.
|
|
|
|
|
|
|
|
## Application descriptor
|
|
|
|
|
|
|
|
| Offset | Content |
|
|
|
|
|-|-|
|
2022-09-07 15:25:30 +00:00
|
|
|
| 0x00 | start address of target memory region |
|
|
|
|
| 0x04 | end address of loadable sections |
|
|
|
|
| 0x08 | entry point |
|
2022-08-05 16:11:27 +00:00
|
|
|
|
|
|
|
## Project status
|
|
|
|
TODO
|
|
|
|
|
|
|
|
## Partition scheme
|
|
|
|
> Currently 32kB Flash is planned for SPL.
|