diff options
Diffstat (limited to 'rbutil/mkzenboot/dualboot/dualboot.lds')
-rw-r--r-- | rbutil/mkzenboot/dualboot/dualboot.lds | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/rbutil/mkzenboot/dualboot/dualboot.lds b/rbutil/mkzenboot/dualboot/dualboot.lds new file mode 100644 index 0000000000..7444a1e427 --- /dev/null +++ b/rbutil/mkzenboot/dualboot/dualboot.lds | |||
@@ -0,0 +1,32 @@ | |||
1 | ENTRY(start) | ||
2 | OUTPUT_FORMAT(elf32-littlearm) | ||
3 | OUTPUT_ARCH(arm) | ||
4 | |||
5 | MEMORY | ||
6 | { | ||
7 | /* keep this consistent with the address in mkzenboot.c */ | ||
8 | #if IMX233_SUBTARGET == 3700 | ||
9 | RAM : ORIGIN = 0x41000000, LENGTH = 0x8000 | ||
10 | #elif IMX233_SUBTARGET == 3600 | ||
11 | RAM : ORIGIN = 0x61000000, LENGTH = 0x8000 | ||
12 | #else | ||
13 | #error define me | ||
14 | #endif | ||
15 | } | ||
16 | |||
17 | SECTIONS | ||
18 | { | ||
19 | .text : | ||
20 | { | ||
21 | *(.start*) | ||
22 | *(.text*) | ||
23 | . = ALIGN(4); | ||
24 | LONG(0x1ceb00da) | ||
25 | of_vector = .; | ||
26 | . += 4; | ||
27 | rb_vector = .; | ||
28 | . += 4; | ||
29 | boot_arg = .; | ||
30 | . += 4; | ||
31 | } > RAM | ||
32 | } | ||