This commit is contained in:
andreika-git 2025-01-11 23:15:24 +02:00 committed by rusefillc
parent 0601c4b6bf
commit 91ef9e5b97
2 changed files with 4 additions and 4 deletions

View File

@ -6,6 +6,6 @@ SCRIPT_NAME=$(basename "$0")
echo "$SCRIPT_NAME: ${BIN_FILE}" echo "$SCRIPT_NAME: ${BIN_FILE}"
# search:openblt_version # 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 # 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

View File

@ -133,8 +133,8 @@ void HardFaultVector(void);
#endif /* __cplusplus */ #endif /* __cplusplus */
// search:openblt_version // search:openblt_version
// ascii 'BL01' in reverse LBS byte order // ascii 'BL02' in reverse LBS byte order
#define BLT_CURRENT_VERSION 0x31304C42 #define BLT_CURRENT_VERSION 0x32304C42
#define BLT_BIN_VERSION_ADDR ((uint32_t)0x08000024U) /*! 3rd reserved DWORD in vector table search:openblt_version */ #define BLT_BIN_VERSION_ADDR ((uint32_t)0x08000024U) /*! 3rd reserved DWORD in vector table search:openblt_version */
#if EFI_USE_OPENBLT #if EFI_USE_OPENBLT