From 9a727496759351fd6e2ee52a95e144b473129463 Mon Sep 17 00:00:00 2001 From: Krystian Hebel Date: Tue, 4 Jul 2023 11:02:51 +0200 Subject: [PATCH] initrd/bin/talos-init: remove alias for cbmem and bump coreboot revision Updated cbmem searches for CBMEM exposed by kernel in sysfs before trying to read it from memory directly. As such, there is no need for pointing to that file explicitly. New coreboot revision also fixes output of 'cbmem -t' caused by wrong endianness. Signed-off-by: Krystian Hebel --- initrd/bin/talos-init | 4 ---- modules/coreboot | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/initrd/bin/talos-init b/initrd/bin/talos-init index 956f227f..2addb5f0 100755 --- a/initrd/bin/talos-init +++ b/initrd/bin/talos-init @@ -12,9 +12,5 @@ devmem 0x80060300D0010082 8 254 # PRCs every time. nvram -p ibm,skiboot --update-config fast-reset=0 -# Alias for cbmem to remove need for '-f' option in every call -echo "alias cbmem='cbmem -f /sys/firmware/cbmem'" >> $HOME/.profile -export ENV=$HOME/.profile - # Proceed with standard init path exec /bin/gui-init diff --git a/modules/coreboot b/modules/coreboot index 5410e084..2f80f580 100644 --- a/modules/coreboot +++ b/modules/coreboot @@ -44,7 +44,7 @@ else ifeq "$(CONFIG_COREBOOT_VERSION)" "4.19" else ifeq "$(CONFIG_COREBOOT_VERSION)" "talos_2" coreboot_version = git coreboot_patch_version = talos_2 - coreboot_commit_hash = 068ad520e4ae898d356add72ea7d2a13913b76ab + coreboot_commit_hash = c8aed443c631042ad2b0326c35cd0b774752b924 coreboot_repo := https://github.com/Dasharo/coreboot else