source: trunk/softs/tsar_boot/conf/platform_de2_115_fpga/ldscript @ 758

Last change on this file since 758 was 758, checked in by cfuguet, 10 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
RevLine 
[368]1/**********************************************************
[758]2  File   : ldscript
[368]3  Author : Cesar Fuguet
4  Date   : June 2011
5**********************************************************/
6
[758]7/* Definition of the base address for segments */
[368]8
[758]9seg_code_base = 0xFF000000;
10seg_data_base = 0x03F00000;
[368]11
12/* Grouping sections into segments */
13
[653]14ENTRY(reset)
15
[368]16SECTIONS
17{
[758]18    . = seg_code_base;
19    .text :
[653]20    {
[368]21        *(.reset)
[653]22        *(.rodata)
23        *(.rodata.*)
24        . = ALIGN(0x4);
25        dtb_addr = .;
26        INCLUDE "build/platform.ld";
[368]27    }
28
[758]29    . = seg_data_base;
30    .bss ALIGN(0x4) (NOLOAD) :
[653]31    {
[554]32        *(.data)
33        *(.bss)
[368]34    }
35}
Note: See TracBrowser for help on using the repository browser.