From 6a4e4c87c24455e18bbd77565cb3e993ee350618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohensohn?= Date: Sun, 30 Nov 2003 11:37:43 +0000 Subject: source code for all my flash stuff, now finally in cvs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4083 a1c6a512-1295-4272-9138-f99709370657 --- flash/bootloader/bootloader.lds | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 flash/bootloader/bootloader.lds (limited to 'flash/bootloader/bootloader.lds') diff --git a/flash/bootloader/bootloader.lds b/flash/bootloader/bootloader.lds new file mode 100644 index 0000000..143d83b --- /dev/null +++ b/flash/bootloader/bootloader.lds @@ -0,0 +1,34 @@ +OUTPUT_FORMAT(elf32-sh) +INPUT(bootloader.o) + +MEMORY +{ + /* the boot ROM uses IRAM at 400-430, stay away and start at 500 */ + IRAM : ORIGIN = 0x0FFFF500, LENGTH = 0xA00 + /* and leave some room for stack at the end */ +} + +SECTIONS +{ + .startvector : + { + *(.startvector) + . = ALIGN(0x4); + } > IRAM + + .text : + { + *(.text) + . = ALIGN(0x4); + } > IRAM + + .data : + { + *(.data) + } > IRAM + + .bss : + { + *(.bss) + } > IRAM +} -- cgit v1.1