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
Battery blinks if >BATTERY_LEVEL_DANGEROUS
[kugel-rb.git]
/
firmware
/
player.lds
blob
55e26885cd38aa929ba851b25efd0a22cfc9f1b6
1
ENTRY(start)
2
OUTPUT_FORMAT(elf32-sh)
3
INPUT(crt0.o)
4
5
MEMORY
6
{
7
DRAM : ORIGIN = 0x09000000, LENGTH = 0x200000
8
IRAM : ORIGIN = 0x0f000000, LENGTH = 0x1000
9
}
10
11
SECTIONS
12
{
13
.vectors :
14
{
15
*(.resetvectors);
16
*(.vectors);
17
. = ALIGN(0x200);
18
*(.init.text)
19
} > DRAM
20
21
.text :
22
{
23
*(.text)
24
} > DRAM
25
26
.data :
27
{
28
*(.data)
29
} > DRAM
30
31
.rodata :
32
{
33
*(.rodata)
34
} > DRAM
35
36
.stack :
37
{
38
*(.stack)
39
_stackbegin = .;
40
/* We put the copy of the .iram section here to save space */
41
_iramcopy = .;
42
. = 0x2000;
43
_stackend = .;
44
} > DRAM
45
46
.bss :
47
{
48
_edata = .;
49
*(.bss)
50
*(COMMON)
51
_end = .;
52
} > DRAM
53
54
.heap :
55
{
56
_poolstart = .;
57
. = 0x20000;
58
_poolend = .;
59
} > DRAM
60
61
.mp3buf :
62
{
63
_mp3buf = .;
64
} > DRAM
65
66
.mp3end 0x09200000 :
67
{
68
_mp3end = .;
69
} > DRAM
70
71
.pad 0x0900C800 :
72
{
73
LONG(0);
74
} > DRAM
75
76
.iram 0xf000000 : AT ( _iramcopy )
77
{
78
_iramstart = .;
79
*(.icode)
80
*(.idata)
81
_iramend = .;
82
} > IRAM
83
}