Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* Linker script for the Midas labs RTE-V850E/ME2-CB evaluation board |
| 2 | (CONFIG_RTE_CB_ME2), with kernel in SDRAM. */ |
| 3 | |
| 4 | MEMORY { |
| 5 | /* 128Kbyte of IRAM */ |
| 6 | IRAM : ORIGIN = 0x00000000, LENGTH = 0x00020000 |
| 7 | |
| 8 | /* 32MB of SDRAM. */ |
| 9 | SDRAM : ORIGIN = SDRAM_ADDR, LENGTH = SDRAM_SIZE |
| 10 | } |
| 11 | |
| 12 | #define KRAM SDRAM |
| 13 | |
| 14 | SECTIONS { |
| 15 | .text : { |
| 16 | __kram_start = . ; |
| 17 | TEXT_CONTENTS |
| 18 | INTV_CONTENTS /* copy to iRAM (0x0-0x620) */ |
| 19 | } > KRAM |
| 20 | |
| 21 | .data : { |
| 22 | DATA_CONTENTS |
| 23 | BSS_CONTENTS |
| 24 | RAMK_INIT_CONTENTS |
| 25 | __kram_end = . ; |
| 26 | BOOTMAP_CONTENTS |
| 27 | } > KRAM |
| 28 | |
| 29 | .root ALIGN (4096) : { ROOT_FS_CONTENTS } > SDRAM |
| 30 | } |