summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/export/config/iriverh300.h2
-rw-r--r--firmware/rom.lds7
-rwxr-xr-xtools/configure2
3 files changed, 10 insertions, 1 deletions
diff --git a/firmware/export/config/iriverh300.h b/firmware/export/config/iriverh300.h
index ca0df7217e..f901f160c6 100644
--- a/firmware/export/config/iriverh300.h
+++ b/firmware/export/config/iriverh300.h
@@ -189,7 +189,7 @@
#define BOOTLOADER_ENTRYPOINT 0x003F0000
#define FLASH_RAMIMAGE_ENTRY 0x00001000
-#define FLASH_ROMIMAGE_ENTRY 0x00100000
+#define FLASH_ROMIMAGE_ENTRY 0x00200000
#define FLASH_MAGIC 0xfbfbfbf1
/* Define this if there is an EEPROM chip */
diff --git a/firmware/rom.lds b/firmware/rom.lds
index c75a9c409b..48dc30f857 100644
--- a/firmware/rom.lds
+++ b/firmware/rom.lds
@@ -29,6 +29,13 @@ STARTUP(target/arm/crt0.o)
#define IRAMSIZE 0xc000
#define FLASHORIG 0x00100028
#define FLASHSIZE 0x000eff80
+#elif defined(IRIVER_H300_SERIES)
+#define CODECSIZE CODEC_SIZE
+#define DRAMORIG 0x31000000
+#define IRAMORIG 0x10000000
+#define IRAMSIZE 0xc000
+#define FLASHORIG 0x00200028
+#define FLASHSIZE 0x001eff80
#else
#define DRAMORIG 0x09000000
#define IRAMORIG 0x0f000000
diff --git a/tools/configure b/tools/configure
index aef02b2b75..33e323bc7e 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1684,7 +1684,9 @@ fi
bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0"
bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 0"
output="rockbox.iriver"
+ bootoutput="bootloader.iriver"
appextra="recorder:gui:radio"
+ flash="$pwd/rombox.iriver"
plugins="yes"
# toolset is the tools within the tools directory that we build for
# this particular target.