From e293bbb4514ce877a3d449ecbc7a216a790f627a Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Sat, 17 Mar 2007 19:07:20 +0000 Subject: If loading rockbox.mi4 fails, then drop back to trying rockbox.h10/rockbox.e200 instead. This will allow the new bootloader to be used with older rockbox builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12824 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-h10_5gb.h | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'firmware/export/config-h10_5gb.h') diff --git a/firmware/export/config-h10_5gb.h b/firmware/export/config-h10_5gb.h index b809f3471c..1df9462ee6 100644 --- a/firmware/export/config-h10_5gb.h +++ b/firmware/export/config-h10_5gb.h @@ -120,17 +120,10 @@ /* Offset ( in the firmware file's header ) to the file length */ #define FIRMWARE_OFFSET_FILE_LENGTH 0x8 -/* Offset ( in the firmware file's header ) to the file CRC */ -#define FIRMWARE_OFFSET_FILE_CRC 0x0c - -/* Offset ( in the firmware file's header ) to the file type */ -#define FIRMWARE_OFFSET_FILE_TYPE 0x1f8 - -/* Offset ( in the firmware file's header ) to the file model id */ -#define FIRMWARE_OFFSET_FILE_MODEL 0x1fc - -/* Offset ( in the firmware file's header ) to the real data */ -#define FIRMWARE_OFFSET_FILE_DATA 0x200 +/* Offset ( in the firmware file's header ) to the file CRC and data. These are + only used when loading the old format rockbox.h10 file */ +#define FIRMWARE_OFFSET_FILE_CRC 0x0 +#define FIRMWARE_OFFSET_FILE_DATA 0x8 /* #define USB_IPODSTYLE */ @@ -146,8 +139,9 @@ /* Define this if you have adjustable CPU frequency */ /*#define HAVE_ADJUSTABLE_CPU_FREQ*/ -#define BOOTFILE_EXT "h10" -#define BOOTFILE "rockbox." BOOTFILE_EXT +#define BOOTFILE_EXT "mi4" +#define BOOTFILE "rockbox." BOOTFILE_EXT +#define OLD_BOOTFILE "rockbox.h10" #define ICODE_ATTR_TREMOR_NOT_MDCT -- cgit v1.2.3