Last change
on this file since 567 was
544,
checked in by nicolas.van.phan@…, 6 years ago
|
Stop accessing first 8Mb of physical memory
|
File size:
774 bytes
|
Rev | Line | |
---|
[439] | 1 | /********************************************************************************************** |
---|
| 2 | * This is the linker script for the ALMOS-MK boot-loader used for the TSAR architecture. |
---|
| 3 | * It describes the memory layout for the 'boot.elf' binary file. |
---|
| 4 | *********************************************************************************************/ |
---|
| 5 | |
---|
| 6 | /* define the boot code base address */ |
---|
| 7 | |
---|
[544] | 8 | boot_code_base = 0x900000; |
---|
[439] | 9 | |
---|
| 10 | /* Set the entry point of the boot-loader (e_entry field in the "boot.elf" file header) */ |
---|
| 11 | |
---|
| 12 | ENTRY(boot_entry) |
---|
| 13 | |
---|
| 14 | /* Describe how to group the sections */ |
---|
| 15 | |
---|
| 16 | SECTIONS |
---|
| 17 | { |
---|
| 18 | . = boot_code_base; |
---|
| 19 | .text : |
---|
| 20 | { |
---|
| 21 | *(.text) |
---|
| 22 | *(.rodata*) |
---|
| 23 | } |
---|
| 24 | . = ALIGN(0x1000); |
---|
| 25 | .data : |
---|
| 26 | { |
---|
| 27 | *(.data*) |
---|
| 28 | } |
---|
| 29 | .bss : |
---|
| 30 | { |
---|
| 31 | *(.bss) |
---|
| 32 | } |
---|
| 33 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.