blob: 20294ce7282bfdf2996de70a3bccf1516867d88a [file] [log] [blame]
Alistair Francis6acae062019-09-25 11:33:51 -07001/* Layout for the RISC-V 32 boards, used by the examples in this repository. */
2
3MEMORY {
Laura Abbotte0e9eab2020-02-19 16:46:03 -05004 /*
5 * The TBF header can change in size so use 0x40 combined with
6 * --protected-region-size with elf2tab to cover a header upto that
7 * size.
8 *
9 * Note that the SRAM address may need to be changed depending on
10 * the kernel binary, check for the actual address of APP_MEMORY!
11 */
Alistair Francisb4889df2020-05-13 17:20:12 -070012 FLASH (rx) : ORIGIN = 0x20040040, LENGTH = 32M
Alistair Francis37df83d2020-02-24 10:08:22 -080013 SRAM (rwx) : ORIGIN = 0x80002400, LENGTH = 0x1C00
Alistair Francis6acae062019-09-25 11:33:51 -070014}
15
Alistair Francis6acae062019-09-25 11:33:51 -070016MPU_MIN_ALIGN = 1K;
17
Woyten860e0bc2020-01-29 21:17:14 +010018INCLUDE layout_generic.ld