mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
xx20/xx30 maximized coreboot configs: Fix CONFIG_CBFS_SIZE to reflect ifd.bin's BIOS regions.
The calculations outlined at https://github.com/osresearch/heads/pull/1282#discussion_r1072473677 Sums to having 'ifdtool -f layout.txt ifd_shrinked.bin && cat layout.txt' The example for T440p: 00000000:00000fff fd 00021000:00bfffff bios 00003000:00020fff me 00001000:00002fff gbe Here: 00bfffff-00021000=BDEFFF Which is exact result of @rbeslow's calculations. There is an issue on haswell, maybe because of car, maybe because of non native memory init blob. But this is not the case for xx20/xx30 boards.
This commit is contained in:
parent
77f8d5a4f6
commit
e7f1e3e7a7
@ -1,5 +1,5 @@
|
||||
# CONFIG_INCLUDE_CONFIG_FILE is not set
|
||||
CONFIG_CBFS_SIZE=0x750000
|
||||
CONFIG_CBFS_SIZE=0x7E7FFF
|
||||
# CONFIG_POST_IO is not set
|
||||
# CONFIG_POST_DEVICE is not set
|
||||
CONFIG_BOARD_EMULATION_QEMU_X86_Q35=y
|
||||
|
@ -3,7 +3,7 @@ CONFIG_USE_OPTION_TABLE=y
|
||||
CONFIG_STATIC_OPTION_TABLE=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_NO_POST=y
|
||||
CONFIG_CBFS_SIZE=0x750000
|
||||
CONFIG_CBFS_SIZE=0x7E7FFF
|
||||
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/xx20/ifd.bin"
|
||||
CONFIG_ME_BIN_PATH="@BLOB_DIR@/xx20/me.bin"
|
||||
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/xx20/gbe.bin"
|
||||
|
@ -3,7 +3,7 @@ CONFIG_USE_OPTION_TABLE=y
|
||||
CONFIG_STATIC_OPTION_TABLE=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_NO_POST=y
|
||||
CONFIG_CBFS_SIZE=0x750000
|
||||
CONFIG_CBFS_SIZE=0x7E7FFF
|
||||
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/xx20/ifd.bin"
|
||||
CONFIG_ME_BIN_PATH="@BLOB_DIR@/xx20/me.bin"
|
||||
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/xx20/gbe.bin"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# CONFIG_USE_BLOBS is not set
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_NO_POST=y
|
||||
CONFIG_CBFS_SIZE=0x750000
|
||||
CONFIG_CBFS_SIZE=0x7E7FFF
|
||||
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/t420/ifd.bin"
|
||||
CONFIG_ME_BIN_PATH="@BLOB_DIR@/t420/me.bin"
|
||||
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/t420/gbe.bin"
|
||||
|
@ -3,7 +3,7 @@ CONFIG_STATIC_OPTION_TABLE=y
|
||||
# CONFIG_USE_BLOBS is not set
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_NO_POST=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/xx30/ifd.bin"
|
||||
CONFIG_ME_BIN_PATH="@BLOB_DIR@/xx30/me.bin"
|
||||
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/xx30/gbe.bin"
|
||||
|
@ -3,7 +3,7 @@ CONFIG_USE_OPTION_TABLE=y
|
||||
CONFIG_STATIC_OPTION_TABLE=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_NO_POST=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/xx30/ifd.bin"
|
||||
CONFIG_ME_BIN_PATH="@BLOB_DIR@/xx30/me.bin"
|
||||
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/xx30/gbe.bin"
|
||||
|
@ -3,7 +3,7 @@
|
||||
CONFIG_USE_BLOBS=y
|
||||
CONFIG_MEASURED_BOOT=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_CBFS_SIZE=0x750000
|
||||
CONFIG_CBFS_SIZE=0x7E7FFF
|
||||
CONFIG_ONBOARD_VGA_IS_PRIMARY=y
|
||||
CONFIG_HAVE_IFD_BIN=y
|
||||
CONFIG_HAVE_ME_BIN=y
|
||||
|
@ -3,7 +3,7 @@
|
||||
CONFIG_USE_BLOBS=y
|
||||
CONFIG_MEASURED_BOOT=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_CBFS_SIZE=0x750000
|
||||
CONFIG_CBFS_SIZE=0x7E7FFF
|
||||
CONFIG_ONBOARD_VGA_IS_PRIMARY=y
|
||||
CONFIG_HAVE_IFD_BIN=y
|
||||
CONFIG_HAVE_ME_BIN=y
|
||||
|
@ -1,6 +1,6 @@
|
||||
CONFIG_TPM_MEASURED_BOOT=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_HAVE_IFD_BIN=y
|
||||
CONFIG_HAVE_ME_BIN=y
|
||||
CONFIG_HAVE_GBE_BIN=y
|
||||
|
@ -1,6 +1,6 @@
|
||||
CONFIG_TPM_MEASURED_BOOT=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_HAVE_IFD_BIN=y
|
||||
CONFIG_HAVE_ME_BIN=y
|
||||
CONFIG_HAVE_GBE_BIN=y
|
||||
|
@ -1,6 +1,6 @@
|
||||
CONFIG_TPM_MEASURED_BOOT=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_HAVE_IFD_BIN=y
|
||||
CONFIG_HAVE_ME_BIN=y
|
||||
CONFIG_HAVE_GBE_BIN=y
|
||||
|
@ -1,6 +1,6 @@
|
||||
CONFIG_TPM_MEASURED_BOOT=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_HAVE_IFD_BIN=y
|
||||
CONFIG_HAVE_ME_BIN=y
|
||||
CONFIG_HAVE_GBE_BIN=y
|
||||
|
@ -1,6 +1,6 @@
|
||||
CONFIG_TPM_MEASURED_BOOT=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_HAVE_IFD_BIN=y
|
||||
CONFIG_HAVE_ME_BIN=y
|
||||
CONFIG_HAVE_GBE_BIN=y
|
||||
|
@ -1,6 +1,6 @@
|
||||
CONFIG_TPM_MEASURED_BOOT=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_HAVE_IFD_BIN=y
|
||||
CONFIG_HAVE_ME_BIN=y
|
||||
CONFIG_HAVE_GBE_BIN=y
|
||||
|
@ -1,6 +1,6 @@
|
||||
CONFIG_TPM_MEASURED_BOOT=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_HAVE_IFD_BIN=y
|
||||
CONFIG_HAVE_ME_BIN=y
|
||||
CONFIG_HAVE_GBE_BIN=y
|
||||
|
@ -1,6 +1,6 @@
|
||||
CONFIG_TPM_MEASURED_BOOT=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_HAVE_IFD_BIN=y
|
||||
CONFIG_HAVE_ME_BIN=y
|
||||
CONFIG_HAVE_GBE_BIN=y
|
||||
|
@ -1,6 +1,6 @@
|
||||
CONFIG_TPM_MEASURED_BOOT=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_HAVE_IFD_BIN=y
|
||||
CONFIG_HAVE_ME_BIN=y
|
||||
CONFIG_HAVE_GBE_BIN=y
|
||||
|
@ -1,6 +1,6 @@
|
||||
CONFIG_TPM_MEASURED_BOOT=y
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_HAVE_IFD_BIN=y
|
||||
CONFIG_HAVE_ME_BIN=y
|
||||
CONFIG_HAVE_GBE_BIN=y
|
||||
|
@ -1,7 +1,7 @@
|
||||
# CONFIG_USE_BLOBS is not set
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_NO_POST=y
|
||||
CONFIG_CBFS_SIZE=0x750000
|
||||
CONFIG_CBFS_SIZE=0x7E7FFF
|
||||
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/xx20/ifd.bin"
|
||||
CONFIG_ME_BIN_PATH="@BLOB_DIR@/xx20/me.bin"
|
||||
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/xx20/gbe.bin"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# CONFIG_USE_BLOBS is not set
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_NO_POST=y
|
||||
CONFIG_CBFS_SIZE=0x750000
|
||||
CONFIG_CBFS_SIZE=0x7E7FFF
|
||||
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/xx20/ifd.bin"
|
||||
CONFIG_ME_BIN_PATH="@BLOB_DIR@/xx20/me.bin"
|
||||
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/xx20/gbe.bin"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# CONFIG_USE_BLOBS is not set
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_NO_POST=y
|
||||
CONFIG_CBFS_SIZE=0x750000
|
||||
CONFIG_CBFS_SIZE=0x7E7FFF
|
||||
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/xx20/ifd.bin"
|
||||
CONFIG_ME_BIN_PATH="@BLOB_DIR@/xx20/me.bin"
|
||||
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/xx20/gbe.bin"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# CONFIG_USE_BLOBS is not set
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_NO_POST=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/xx30/ifd.bin"
|
||||
CONFIG_ME_BIN_PATH="@BLOB_DIR@/xx30/me.bin"
|
||||
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/xx30/gbe.bin"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# CONFIG_USE_BLOBS is not set
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_NO_POST=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/xx30/ifd.bin"
|
||||
CONFIG_ME_BIN_PATH="@BLOB_DIR@/xx30/me.bin"
|
||||
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/xx30/gbe.bin"
|
||||
|
@ -2,7 +2,7 @@
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_NO_POST=y
|
||||
CONFIG_ONBOARD_VGA_IS_PRIMARY=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_INTEL_GMA_VBT_FILE="src/mainboard/$(MAINBOARDDIR)/variants/x230_edp/data.vbt"
|
||||
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/xx30/ifd.bin"
|
||||
CONFIG_ME_BIN_PATH="@BLOB_DIR@/xx30/me.bin"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# CONFIG_USE_BLOBS is not set
|
||||
CONFIG_VENDOR_LENOVO=y
|
||||
CONFIG_NO_POST=y
|
||||
CONFIG_CBFS_SIZE=0xB80000
|
||||
CONFIG_CBFS_SIZE=0xBE4FFF
|
||||
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/xx30/ifd.bin"
|
||||
CONFIG_ME_BIN_PATH="@BLOB_DIR@/xx30/me.bin"
|
||||
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/xx30/gbe.bin"
|
||||
|
Loading…
Reference in New Issue
Block a user