summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Buren <braewoods+rb@braewoods.net>2020-10-26 01:37:14 +0000
committerJames Buren <braewoods+rb@braewoods.net>2020-10-26 01:37:42 +0000
commitc5d7cd5f9f4712150957143efc7cf797495c081d (patch)
treee66423575d4b46bf490104315727a6e275212ed1
parent28b9c8bfeb13748abcb850884e538d4a5ca3d5ce (diff)
downloadrockbox-c5d7cd5f9f4712150957143efc7cf797495c081d.tar.gz
rockbox-c5d7cd5f9f4712150957143efc7cf797495c081d.zip
h300: add support for ROM image generation
Change-Id: I6e0985de370609bae98ba6eab487bf43eb4191b6
-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 @@
189 189
190#define BOOTLOADER_ENTRYPOINT 0x003F0000 190#define BOOTLOADER_ENTRYPOINT 0x003F0000
191#define FLASH_RAMIMAGE_ENTRY 0x00001000 191#define FLASH_RAMIMAGE_ENTRY 0x00001000
192#define FLASH_ROMIMAGE_ENTRY 0x00100000 192#define FLASH_ROMIMAGE_ENTRY 0x00200000
193#define FLASH_MAGIC 0xfbfbfbf1 193#define FLASH_MAGIC 0xfbfbfbf1
194 194
195/* Define this if there is an EEPROM chip */ 195/* 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)
29#define IRAMSIZE 0xc000 29#define IRAMSIZE 0xc000
30#define FLASHORIG 0x00100028 30#define FLASHORIG 0x00100028
31#define FLASHSIZE 0x000eff80 31#define FLASHSIZE 0x000eff80
32#elif defined(IRIVER_H300_SERIES)
33#define CODECSIZE CODEC_SIZE
34#define DRAMORIG 0x31000000
35#define IRAMORIG 0x10000000
36#define IRAMSIZE 0xc000
37#define FLASHORIG 0x00200028
38#define FLASHSIZE 0x001eff80
32#else 39#else
33#define DRAMORIG 0x09000000 40#define DRAMORIG 0x09000000
34#define IRAMORIG 0x0f000000 41#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
1684 bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0" 1684 bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0"
1685 bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 0" 1685 bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 0"
1686 output="rockbox.iriver" 1686 output="rockbox.iriver"
1687 bootoutput="bootloader.iriver"
1687 appextra="recorder:gui:radio" 1688 appextra="recorder:gui:radio"
1689 flash="$pwd/rombox.iriver"
1688 plugins="yes" 1690 plugins="yes"
1689 # toolset is the tools within the tools directory that we build for 1691 # toolset is the tools within the tools directory that we build for
1690 # this particular target. 1692 # this particular target.