diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2008-06-27 23:24:34 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2008-06-27 23:24:34 +0000 |
commit | 7b10ef9a7c55764d1b6815fd0871cb51ff0205f9 (patch) | |
tree | 0b2056ef0334e45107b02118040baae49d51b142 /firmware/target/arm/s5l8700/boot.lds | |
parent | 5c763f4001c1634ea62ded26339df52494e6c718 (diff) | |
download | rockbox-7b10ef9a7c55764d1b6815fd0871cb51ff0205f9.tar.gz rockbox-7b10ef9a7c55764d1b6815fd0871cb51ff0205f9.zip |
initial Meizu M6SL port (take 2)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17819 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700/boot.lds')
-rw-r--r-- | firmware/target/arm/s5l8700/boot.lds | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/firmware/target/arm/s5l8700/boot.lds b/firmware/target/arm/s5l8700/boot.lds new file mode 100644 index 0000000000..757abaa11a --- /dev/null +++ b/firmware/target/arm/s5l8700/boot.lds | |||
@@ -0,0 +1,54 @@ | |||
1 | #include "config.h" | ||
2 | |||
3 | ENTRY(start) | ||
4 | OUTPUT_FORMAT(elf32-littlearm) | ||
5 | OUTPUT_ARCH(arm) | ||
6 | STARTUP(target/arm/s5l8700/crt0.o) | ||
7 | |||
8 | /* DRAMORIG is in fact 0x8000000 but remapped to 0x0 */ | ||
9 | #define DRAMORIG 0x0 | ||
10 | #define DRAMSIZE 16M | ||
11 | # | ||
12 | #define IRAMORIG 0x22000000 | ||
13 | #define IRAMSIZE 256K | ||
14 | |||
15 | /* This is not available in all versions of the S5L8700 */ | ||
16 | #define FLASHORIG 0x24000000 | ||
17 | #define FLASHSIZE 1M | ||
18 | |||
19 | SECTIONS | ||
20 | { | ||
21 | . = IRAMORIG; | ||
22 | |||
23 | .text : { | ||
24 | *(.init.text) | ||
25 | *(.text*) | ||
26 | } | ||
27 | |||
28 | .data : { | ||
29 | *(.icode) | ||
30 | *(.irodata) | ||
31 | *(.idata) | ||
32 | *(.data*) | ||
33 | *(.ncdata*); | ||
34 | _dataend = . ; | ||
35 | } | ||
36 | |||
37 | .stack : | ||
38 | { | ||
39 | *(.stack) | ||
40 | _stackbegin = .; | ||
41 | stackbegin = .; | ||
42 | . += 0x2000; | ||
43 | _stackend = .; | ||
44 | stackend = .; | ||
45 | } | ||
46 | |||
47 | .bss : { | ||
48 | _edata = .; | ||
49 | *(.bss*); | ||
50 | *(.ibss); | ||
51 | *(.ncbss*); | ||
52 | _end = .; | ||
53 | } | ||
54 | } | ||