| MEMORY |
| { |
| rom (rx) : ORIGIN = 0x20000000, LENGTH = 0x80000 |
| prog (rx) : ORIGIN = 0x20000000 + 0x80000, LENGTH = 0x80000 |
| ram (!rx) : ORIGIN = 0x10000000, LENGTH = 0x20000 |
| } |
| |
| MPU_MIN_ALIGN = 1K; |
| SECTIONS { |
| /* |
| * The flash header needs to match what the boot ROM for OpenTitan is |
| * expecting. At the moment, it contains only the entry point, but it |
| * will eventually contain the signature -- and (hopefully?!) some |
| * versioning information to make it slightly easier to debug when the |
| * boot ROM and Tock are out of sync with respect to the definition... |
| */ |
| .flash_header : { |
| LONG(_stext) |
| } > rom |
| } |
| |
| INCLUDE kernel_layout.ld |