v24.02.01: error creating smc biosinfo
Christoph Zechner <[email protected]>
| Newsgroups | gmane.linux.bios |
|---|---|
| Message-ID | <[email protected]> |
Hi, while building coreboot for a LGA1151 board, we encountered the following error: TOOL Creating SMC BIOSINFO metadata E: Unsupported coreboot minor version E: Error creating 'build/mainboard/supermicro/x11-lga1151-series/smcbiosinfo.bin' make: *** [util/supermicro/Makefile.mk:22: build/mainboard/supermicro/x11-lga1151-series/smcbiosinfo.bin] Error 1 content of build/build.h: ... #define COREBOOT_ORIGIN_GIT_REVISION "Unknown" #define COREBOOT_EXTRA_VERSION "" #define COREBOOT_MAJOR_VERSION 24 #define COREBOOT_MINOR_VERSION 202 ... content of.coreboot-version: 24.02.01-0a280ff747 Find a patch attached that fixes parsing the minor version in genbuild_h.sh. Best regards Christoph Zechner _______________________________________________ coreboot mailing list -- [email protected] To unsubscribe send an email to [email protected]
24.02.01_reports_wrong_minor_version.diff
(text/x-patch, 523 B)
--- a/util/genbuild_h/genbuild_h.sh-ORIG 2024-03-15 17:55:52.358575788 +0100
+++ b/util/genbuild_h/genbuild_h.sh 2024-03-15 17:56:19.334506909 +0100
@@ -48,7 +48,7 @@
DATE=$(LANG="" LC_ALL=C TZ=UTC0 date +%s)
if [ -f "${COREBOOT_VERSION_FILE}" ]; then
MAJOR_VER="$(sed 's/\([0-9]\)\.\([0-9][0-9]*\).*/\1/' "${COREBOOT_VERSION_FILE}")"
- MINOR_VER="$(sed 's/\([0-9]\)\.\([0-9][0-9]*\).*/\2/' "${COREBOOT_VERSION_FILE}")"
+ MINOR_VER="$(sed 's/\([0-9]\+\)\.\([0-9]\+\).*/\2/' "${COREBOOT_VERSION_FILE}")"
fi
fi