Memory layout
Linker script: src/arch/pmu.ld.
- IMEM (
0x00000000–0x0000ffff) 0x000–0x1fbvector table (127 entries),0x1fc_start, then.text.
DMEM (0x80000000–0x8000ffff)
Range |
Use |
|---|---|
|
message block (host in/out) — 8/16-bit only |
|
reserved message area — untouched |
|
host parameter area — never cleared, not read |
|
cleared by host, currently unused |
|
bring-up breadcrumbs ( |
|
|
…– |
limit for |
|
host scratch — never used |
|
stack (top |
Why .rodata/.data are in DMEM [design]: the host only loads IMEM in
the vendor flow and data reads from IMEM by ld are not documented. Our SPL
patch loads <fw>.dmem.bin at index 0x5a000 after the host DMEM clear,
so no copy loop is needed. Experiment 001 showed that IMEM is data-readable,
so constants could move to IMEM later; the DMEM image is kept for now.