From 91ef9e5b97eb67982bdb8d5b866c1ca68193c2a2 Mon Sep 17 00:00:00 2001 From: andreika-git Date: Sat, 11 Jan 2025 23:15:24 +0200 Subject: [PATCH] Increment the BLT version https://github.com/rusefi/rusefi/issues/7283 --- firmware/bin/set_bl_bin_version.sh | 4 ++-- firmware/hw_layer/ports/mpu_util.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/bin/set_bl_bin_version.sh b/firmware/bin/set_bl_bin_version.sh index 473d7bede7..b6d4a3837a 100755 --- a/firmware/bin/set_bl_bin_version.sh +++ b/firmware/bin/set_bl_bin_version.sh @@ -6,6 +6,6 @@ SCRIPT_NAME=$(basename "$0") echo "$SCRIPT_NAME: ${BIN_FILE}" # search:openblt_version -# set ascii 'BL01' into third reserved DWORD of vector table +# set ascii 'BL02' into third reserved DWORD of vector table # please update BLT_CURRENT_VERSION in C++ when updating here until we improve and make it single source of truth -printf '\x42\x4c\x30\x31' | dd of=${BIN_FILE} bs=1 seek=$((0x24)) count=4 conv=notrunc +printf '\x42\x4c\x30\x32' | dd of=${BIN_FILE} bs=1 seek=$((0x24)) count=4 conv=notrunc diff --git a/firmware/hw_layer/ports/mpu_util.h b/firmware/hw_layer/ports/mpu_util.h index 3fb3c0f1a9..65adb9f8bc 100644 --- a/firmware/hw_layer/ports/mpu_util.h +++ b/firmware/hw_layer/ports/mpu_util.h @@ -133,8 +133,8 @@ void HardFaultVector(void); #endif /* __cplusplus */ // search:openblt_version -// ascii 'BL01' in reverse LBS byte order -#define BLT_CURRENT_VERSION 0x31304C42 +// ascii 'BL02' in reverse LBS byte order +#define BLT_CURRENT_VERSION 0x32304C42 #define BLT_BIN_VERSION_ADDR ((uint32_t)0x08000024U) /*! 3rd reserved DWORD in vector table search:openblt_version */ #if EFI_USE_OPENBLT