repo.or.cz
/
kugel-rb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Also fix Debug->View partitions when SECTOR_SIZE!=512
[kugel-rb.git]
/
firmware
/
target
/
arm
/
as3525
/
boot.lds
blob
9c6d6faf1138effb9fd9b3c692a3f4c8aacb30be
1
#include "config.h"
2
#include "cpu.h"
3
4
ENTRY(start)
5
OUTPUT_FORMAT(elf32-littlearm)
6
OUTPUT_ARCH(arm)
7
STARTUP(target/arm/crt0.o)
8
9
#define IRAMORIG 0x81000000
10
#define IRAMSIZE 0x50000
11
12
MEMORY
13
{
14
IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
15
}
16
17
SECTIONS
18
{
19
. = IRAMORIG;
20
21
.text : {
22
*(.init.text)
23
*(.glue_7)
24
*(.glue_7t)
25
*(.text*)
26
} > IRAM
27
28
.data : {
29
*(.icode)
30
*(.irodata)
31
*(.idata)
32
*(.data*)
33
*(.ncdata*)
34
*(.rodata*)
35
_dataend = . ;
36
} > IRAM
37
38
.stack :
39
{
40
*(.stack)
41
_stackbegin = .;
42
stackbegin = .;
43
. += 0x2000;
44
_stackend = .;
45
stackend = .;
46
} > IRAM
47
48
.bss : {
49
_edata = .;
50
*(.bss*);
51
*(.ibss);
52
*(COMMON)
53
*(.ncbss*);
54
_end = .;
55
} > IRAM
56
}