Last change
on this file since 758 was
758,
checked in by cfuguet, 11 years ago
|
tsar_boot: improving configuration infrastructure
- Using hard_config.h which respects the same sintax that
the hard_config.h file of all TSAR platforms.
This file can be then generated by the GIET-VM genmap
tool or written manually.
- All peripheral drivers have been moved to a drivers
directory and they are compiled as a static library.
This allows GCC to only include in the final .ELF the
object files of used peripherals and not all of them.
- Example hard_config.h and ldscripts have been introduced
in the conf directory.
- Improving comments in all files
|
File size:
648 bytes
|
Line | |
---|
1 | /********************************************************** |
---|
2 | File : ldscript |
---|
3 | Author : Cesar Fuguet |
---|
4 | Date : June 2011 |
---|
5 | **********************************************************/ |
---|
6 | |
---|
7 | /* Definition of the base address for segments */ |
---|
8 | |
---|
9 | seg_code_base = 0xBFC00000; |
---|
10 | seg_data_base = 0x000D0000; |
---|
11 | |
---|
12 | /* Grouping sections into segments */ |
---|
13 | |
---|
14 | ENTRY(reset) |
---|
15 | |
---|
16 | SECTIONS |
---|
17 | { |
---|
18 | . = seg_code_base; |
---|
19 | .text : |
---|
20 | { |
---|
21 | *(.reset) |
---|
22 | *(.rodata) |
---|
23 | *(.rodata.*) |
---|
24 | . = ALIGN(0x4); |
---|
25 | dtb_addr = .; |
---|
26 | INCLUDE "build/platform.ld"; |
---|
27 | } |
---|
28 | |
---|
29 | . = seg_data_base; |
---|
30 | .bss ALIGN(0x4) (NOLOAD) : |
---|
31 | { |
---|
32 | *(.data) |
---|
33 | *(.bss) |
---|
34 | } |
---|
35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.