summaryrefslogtreecommitdiffstats
path: root/flash/minimon/minimon.lds
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-10-30 00:34:43 +0000
committerJens Arnold <amiconn@rockbox.org>2008-10-30 00:34:43 +0000
commit601afcbd0bfea8ec37f34a9cdf41c7dc7a964989 (patch)
tree2724261dc8ca4c9d74c2b044e4bbbfbdbbd48376 /flash/minimon/minimon.lds
parent5456859dd787e44921934f1b30aa3b82cda4195f (diff)
downloadrockbox-601afcbd0bfea8ec37f34a9cdf41c7dc7a964989.tar.gz
rockbox-601afcbd0bfea8ec37f34a9cdf41c7dc7a964989.tar.bz2
rockbox-601afcbd0bfea8ec37f34a9cdf41c7dc7a964989.zip
Minimon is loaded to 0x0ffff000 by uart_boot, so it needs to be linked to that address as well, or it won't work. Also add that hint to the README, fix a warning, and fix the disassembly base address (was wrong either way).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18930 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'flash/minimon/minimon.lds')
-rw-r--r--flash/minimon/minimon.lds20
1 files changed, 10 insertions, 10 deletions
diff --git a/flash/minimon/minimon.lds b/flash/minimon/minimon.lds
index dbdbdc3faa..14150b2123 100644
--- a/flash/minimon/minimon.lds
+++ b/flash/minimon/minimon.lds
@@ -3,7 +3,7 @@ INPUT(minimon.o)
MEMORY
{
- DRAM : ORIGIN = 0x09000000, LENGTH = 0x200000
+ IRAM : ORIGIN = 0x0FFFF000, LENGTH = 0x500
}
SECTIONS
@@ -12,22 +12,22 @@ SECTIONS
{
*(.startvector)
. = ALIGN(0x4);
- } > DRAM
+ } > IRAM
.got :
{
*(.got)
- } > DRAM
+ } > IRAM
.got.plt :
{
*(.got.plt)
- } > DRAM
+ } > IRAM
.rela.got :
{
*(.rela.got)
- } > DRAM
+ } > IRAM
.text :
{
@@ -35,26 +35,26 @@ SECTIONS
*(.entry)
*(.text)
. = ALIGN(0x4);
- } > DRAM
+ } > IRAM
.data :
{
*(.data)
- } > DRAM
+ } > IRAM
.rodata :
{
*(.rodata)
. = ALIGN(0x4);
- } > DRAM
+ } > IRAM
.bss :
{
*(.bss)
- } > DRAM
+ } > IRAM
.stack :
{
*(.stack)
- } > DRAM
+ } > IRAM
}