source: trunk/softs/soft_transpose_giet/ldscript @ 629

Last change on this file since 629 was 629, checked in by alain, 9 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
Line 
1/**********************************************************
2        File : ldscript
3        Author : Alain Greiner
4        Date : January 2014
5**********************************************************/
6
7/* definition of the base address for all segments
8The peripherals base addresses are referenced by the
9software drivers and must be defined, even if the
10peripherals are not present in the architecture */
11
12seg_reset_base  = 0x00000000;       /* boot code */
13
14seg_kcode_base  = 0x00010000;       /* kernel code */
15seg_kdata_base  = 0x00020000;       /* kernel cacheable data */
16seg_kunc_base   = 0x00030000;       /* kernel uncacheable data */
17
18seg_code_base   = 0x00040000;       /* application code */
19seg_data_base   = 0x00050000;       /* application data */
20
21seg_heap_base   = 0x00100000;       /* heaps for application tasks */
22seg_stack_base  = 0x00300000;       /* stacks */
23
24seg_xcu_base    = 0xF0000000;       /* controler XCU */
25seg_tty_base    = 0xF4000000;       /* controler TTY */
26seg_fbf_base    = 0xF3000000;       /* controler FBF */
27seg_ioc_base    = 0xF2000000;       /* controler IOC */
28seg_nic_base    = 0xF7000000;       /* controler NIC */
29seg_cma_base    = 0xF8000000;       /* controler CMA */
30seg_pic_base    = 0xF9000000;       /* controler PIC */
31seg_mmc_base    = 0xE0000000;       /* config    MMC */
32
33
34/* Grouping sections into segments */
35
36SECTIONS
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.