h300: add support for ROM image generation

Change-Id: I6e0985de370609bae98ba6eab487bf43eb4191b6
This commit is contained in:
James Buren 2020-10-26 01:37:14 +00:00
parent 28b9c8bfeb
commit c5d7cd5f9f
3 changed files with 10 additions and 1 deletions

View File

@ -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 */

View File

@ -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

2
tools/configure vendored
View File

@ -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.