source: svn/trunk/newcon3bcm2_21bu/dta/src/bootloader/bootloader.script @ 29

Last change on this file since 29 was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 856 bytes
Line 
1OUTPUT_ARCH(mips)
2ENTRY(__start)
3
4flash_start = 0x9fc00000;
5
6MEMORY
7{
8        FLASH(R)        : ORIGIN = 0x9fc00000, LENGTH = 0x00400000
9        RAM(RW)         : ORIGIN = (0x80000000+0x01000000), LENGTH = (0x2000000-((0x80000000+0x01000000)-0x80000000))
10}
11
12SECTIONS
13{
14        .text : AT (flash_start)
15        {
16                _ftext = .;
17                *(.text)
18                *(.rodata)
19                *(.rodata1)
20                *(.rodata.str1.4)
21                *(.rodata.cst4)
22                *(.rodata.cst8)
23                *(.fini)
24                *(.reginfo)
25        } > FLASH
26        . = ALIGN(16);
27        _etext = .;
28        etext = .;
29       
30        .data : AT (_etext)
31        {
32                _fdata = .;
33                *(data)
34                SORT(CONSTRUCTORS)
35        } > RAM
36        . = ALIGN(4);
37       
38        . = ALIGN(4);
39       
40        _edata  =  .;
41        _fbss = .;
42        _ram_image_start = flash_start + 0x10000;
43
44        .sbss (NOLOAD) :
45        {
46                *(.sbss)
47                *(.scommon)
48        }
49       
50        .bss (NOLOAD) :
51        {
52                _bss_start = .;
53                *(.bss)
54                *(COMMON)
55                . = ALIGN(4);
56        } > RAM
57       
58        . = ALIGN(4);
59        _end = .;
60        PROVIDE(_end = .);
61        end = .;
62        PROVIDE(end = .);
63}
Note: See TracBrowser for help on using the repository browser.