summaryrefslogtreecommitdiffstats
path: root/flash/minimon/Makefile
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/Makefile
parent5456859dd787e44921934f1b30aa3b82cda4195f (diff)
downloadrockbox-601afcbd0bfea8ec37f34a9cdf41c7dc7a964989.tar.gz
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/Makefile')
-rw-r--r--flash/minimon/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash/minimon/Makefile b/flash/minimon/Makefile
index 57ae13e940..16b6c2724e 100644
--- a/flash/minimon/Makefile
+++ b/flash/minimon/Makefile
@@ -40,7 +40,7 @@ LINKFILE = $(OBJDIR)/$(TARGET).lds
$(OBJDIR)/$(TARGET).bin : $(OBJDIR)/$(TARGET).elf
$(OC) -O binary $(OBJDIR)/$(TARGET).elf $(OBJDIR)/$(TARGET).bin
- $(TOOLSDIR)/sh2d $(OBJDIR)/$(TARGET).bin -o 0900000 > $(OBJDIR)/$(TARGET).asm
+ $(TOOLSDIR)/sh2d $(OBJDIR)/$(TARGET).bin -o 0x0ffff000 > $(OBJDIR)/$(TARGET).asm
$(OBJDIR)/$(TARGET).elf : $(OBJS)
$(CC) -Os -nostdlib -o $(OBJDIR)/$(TARGET).elf -L$(OBJDIR) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/$(TARGET).map