summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-04-20 06:48:17 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-04-20 06:48:17 +0000
commit1c40d3cee5cd5fc7d75031b0ccda5a296c62874a (patch)
treeb5c5aba6cfa9e381aa4c254cd5c1013bf2e66f7b
parenteaef66efb493a53416e83df0a19d90e1ef9608ef (diff)
Ooops. DRAM can't start at 0x30000000 on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6325 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--bootloader/main.c2
-rw-r--r--firmware/app.lds2
-rw-r--r--firmware/boot.lds2
-rw-r--r--firmware/rom.lds2
4 files changed, 4 insertions, 4 deletions
diff --git a/bootloader/main.c b/bootloader/main.c
index 0cad6ff208..dbc8bf480f 100644
--- a/bootloader/main.c
+++ b/bootloader/main.c
@@ -62,7 +62,7 @@ int load_firmware(void)
unsigned long chksum;
unsigned long sum;
int i;
- unsigned char *buf = (unsigned char *)0x30000000;
+ unsigned char *buf = (unsigned char *)0x31000000;
char str[80];
fd = open("/rockbox.iriver", O_RDONLY);
diff --git a/firmware/app.lds b/firmware/app.lds
index 45bd8567f2..98708909d7 100644
--- a/firmware/app.lds
+++ b/firmware/app.lds
@@ -118,7 +118,7 @@ _pluginbuf = 0;
#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - STUBOFFSET
#ifdef IRIVER_H100
-#define DRAMORIG 0x30000000 + STUBOFFSET
+#define DRAMORIG 0x31000000 + STUBOFFSET
#define IRAMORIG 0x10000000
#define IRAMSIZE 0x10000
#else
diff --git a/firmware/boot.lds b/firmware/boot.lds
index 9493db7887..fe5061c5f2 100644
--- a/firmware/boot.lds
+++ b/firmware/boot.lds
@@ -17,7 +17,7 @@ INPUT(crt0.o)
#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE
#ifdef IRIVER_H100
-#define DRAMORIG 0x30000000
+#define DRAMORIG 0x31000000
#define IRAMORIG 0x10000000
#define IRAMSIZE 0x18000
#define FLASHORIG 0x001f0000
diff --git a/firmware/rom.lds b/firmware/rom.lds
index 81c266ae4f..a4328b0ff5 100644
--- a/firmware/rom.lds
+++ b/firmware/rom.lds
@@ -17,7 +17,7 @@ INPUT(crt0.o)
#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE
#ifdef IRIVER_H100
-#define DRAMORIG 0x30000000
+#define DRAMORIG 0x31000000
#define IRAMORIG 0x10000000
#define IRAMSIZE 0x18000
#define FLASHORIG 0x001f0000