From c79ddb6bf44f7a83decb91056f4ab5788828eada Mon Sep 17 00:00:00 2001 From: James Buren Date: Sun, 15 Nov 2020 17:26:54 +0000 Subject: [PATCH] iriver_flash: update valid bootloaders table This removes all the pre-release bootloader of version 7 and replaces them with production releases of version 8. The pre-releases have their own problems and should be left behind as they were never officially released. Change-Id: If96531ba63cf4401d04133bda94735fe94ae4de1 --- apps/plugins/iriver_flash.c | 8 +++----- firmware/export/eeprom_settings.h | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/plugins/iriver_flash.c b/apps/plugins/iriver_flash.c index 39ec19a016..9454ac63c8 100644 --- a/apps/plugins/iriver_flash.c +++ b/apps/plugins/iriver_flash.c @@ -103,13 +103,11 @@ static bool detect_valid_bootloader(const void* ptr, uint32_t size) bootloaders[] = { #ifdef IRIVER_H100 - { 48760, 0x2efc3323 }, /* 7-pre4 */ - { 56896, 0x0cd8dad4 }, /* 7-pre5 */ + { 53556, 0x76541ebd }, /* 8 */ #elif defined(IRIVER_H120) - { 63788, 0x08ff01a9 }, /* 7-pre3, improved failsafe functions */ - { 48764, 0xc674323e }, /* 7-pre4. Fixed audio thump & remote bootup */ - { 56896, 0x167f5d25 }, /* 7-pre5, various ATA fixes */ + { 53556, 0xd262b12b }, /* 8 */ #elif defined(IRIVER_H300) + { 57048, 0x59ba2459 }, /* 8 */ #endif {0} }; diff --git a/firmware/export/eeprom_settings.h b/firmware/export/eeprom_settings.h index 00039fa154..92584e9c91 100644 --- a/firmware/export/eeprom_settings.h +++ b/firmware/export/eeprom_settings.h @@ -26,7 +26,7 @@ #include "inttypes.h" #define EEPROM_SETTINGS_VERSION 0x24c01002 -#define EEPROM_SETTINGS_BL_MINVER 7 +#define EEPROM_SETTINGS_BL_MINVER 8 enum boot_methods { BOOT_DISK = 0,