Last change
on this file since 630 was
629,
checked in by alain, 11 years ago
|
- Updatre the gier_tsar to support the vci_iopic component
in the tsar_generic_leti plat-form.
- Modify the soft_transpose_giet application to make
optional the graphic display on frame buffer and
to introduce a systematic auto-check
|
File size:
2.0 KB
|
Rev | Line | |
---|
[158] | 1 | /********************************************************** |
---|
| 2 | File : ldscript |
---|
| 3 | Author : Alain Greiner |
---|
[623] | 4 | Date : January 2014 |
---|
[158] | 5 | **********************************************************/ |
---|
| 6 | |
---|
| 7 | /* definition of the base address for all segments |
---|
| 8 | The peripherals base addresses are referenced by the |
---|
| 9 | software drivers and must be defined, even if the |
---|
| 10 | peripherals are not present in the architecture */ |
---|
| 11 | |
---|
[629] | 12 | seg_reset_base = 0x00000000; /* boot code */ |
---|
[158] | 13 | |
---|
[629] | 14 | seg_kcode_base = 0x00010000; /* kernel code */ |
---|
| 15 | seg_kdata_base = 0x00020000; /* kernel cacheable data */ |
---|
| 16 | seg_kunc_base = 0x00030000; /* kernel uncacheable data */ |
---|
[158] | 17 | |
---|
[629] | 18 | seg_code_base = 0x00040000; /* application code */ |
---|
| 19 | seg_data_base = 0x00050000; /* application data */ |
---|
[158] | 20 | |
---|
[629] | 21 | seg_heap_base = 0x00100000; /* heaps for application tasks */ |
---|
| 22 | seg_stack_base = 0x00300000; /* stacks */ |
---|
[158] | 23 | |
---|
[629] | 24 | seg_xcu_base = 0xF0000000; /* controler XCU */ |
---|
| 25 | seg_tty_base = 0xF4000000; /* controler TTY */ |
---|
| 26 | seg_fbf_base = 0xF3000000; /* controler FBF */ |
---|
| 27 | seg_ioc_base = 0xF2000000; /* controler IOC */ |
---|
| 28 | seg_nic_base = 0xF7000000; /* controler NIC */ |
---|
| 29 | seg_cma_base = 0xF8000000; /* controler CMA */ |
---|
| 30 | seg_pic_base = 0xF9000000; /* controler PIC */ |
---|
| 31 | seg_mmc_base = 0xE0000000; /* config MMC */ |
---|
[158] | 32 | |
---|
| 33 | |
---|
| 34 | /* Grouping sections into segments */ |
---|
| 35 | |
---|
| 36 | SECTIONS |
---|
| 37 | { |
---|
| 38 | . = seg_kcode_base; |
---|
| 39 | seg_kcode : { |
---|
| 40 | *(.giet) |
---|
| 41 | *(.switch) |
---|
| 42 | *(.drivers) |
---|
| 43 | *(.isr) |
---|
| 44 | } |
---|
| 45 | . = seg_kdata_base; |
---|
| 46 | seg_kdata : { |
---|
| 47 | *(.kdata) |
---|
| 48 | } |
---|
| 49 | . = seg_kunc_base; |
---|
| 50 | seg_kunc : { |
---|
| 51 | *(.unckdata) |
---|
| 52 | } |
---|
| 53 | . = seg_kdata_base; |
---|
| 54 | seg_kdata : { |
---|
| 55 | *(.ksave) |
---|
| 56 | } |
---|
| 57 | . = seg_code_base; |
---|
| 58 | seg_code : { |
---|
| 59 | *(.text) |
---|
| 60 | } |
---|
| 61 | . = seg_reset_base; |
---|
| 62 | seg_reset : { |
---|
| 63 | *(.reset) |
---|
| 64 | } |
---|
| 65 | . = seg_data_base; |
---|
| 66 | seg_data : { |
---|
| 67 | *(.rodata) |
---|
| 68 | . = ALIGN(4); |
---|
| 69 | *(.rodata.*) |
---|
| 70 | . = ALIGN(4); |
---|
| 71 | *(.data) |
---|
| 72 | . = ALIGN(4); |
---|
| 73 | *(.sdata) |
---|
| 74 | . = ALIGN(4); |
---|
| 75 | *(.bss) |
---|
| 76 | *(COMMON) |
---|
| 77 | *(.sbss) |
---|
| 78 | } |
---|
| 79 | } |
---|
| 80 | |
---|
Note: See
TracBrowser
for help on using the repository browser.