2023-01-10 19:54:30 +00:00
|
|
|
# CONFIG_USE_BLOBS is not set
|
2023-06-21 18:14:47 +00:00
|
|
|
CONFIG_BOOTSPLASH_IMAGE=y
|
2023-11-09 14:45:06 +00:00
|
|
|
CONFIG_BOOTSPLASH_FILE="@BRAND_DIR@/bootsplash.jpg"
|
2023-07-13 18:03:40 +00:00
|
|
|
CONFIG_BOOTSPLASH_CONVERT=y
|
|
|
|
CONFIG_BOOTSPLASH_CONVERT_QUALITY=70
|
2023-01-10 19:54:30 +00:00
|
|
|
CONFIG_VENDOR_LENOVO=y
|
|
|
|
CONFIG_NO_POST=y
|
Adjust T440p default Coreboot defconfig options
Remove options that haven't deviated from defaults in the Coreboot
Kconfig, despite being saved by `make savedefconfig`. Also, add
`CONFIG_BOARD_LENOVO_THINKPAD_T440P`, which was missing from the `make
savedefconfig` output, causing Heads builds to fail. And finally, bump
`CONFIG_CBFS_SIZE` to `0x800000` (8 MiB to bytes to hexadecimal).
This value for the CBFS size is arbitrary. Originally, I had totaled the
size of all binary blobs, subtracted that from the T440p's ROM size (12
MiB), and used the remaining space as the CBFS size (~11.68 MiB).
However, this caused very long RAM initialization times (courtesy of
`cbmem -t`). And, an anecdote in
https://groups.google.com/a/chromium.org/g/chromium-os-reviews/c/lUqRrGUoEBY/m/ka7L1f2BS8gJ
suggested that this value needs to be a power of 2.
So, I picked a size I expected our Linux payload to fit into that was a
power of 2 that I also expected would leave enough space in the ROM for
the IFD, ME, GbE, and Coreboot.
Now, it takes less than a second for RAM initialization after
flashing/first boot (anecdotally, it seems the MRC needs to be
"trained?").
2023-01-11 02:29:55 +00:00
|
|
|
CONFIG_CBFS_SIZE=0x800000
|
2023-01-10 19:54:30 +00:00
|
|
|
CONFIG_IFD_BIN_PATH="@BLOB_DIR@/t440p/ifd.bin"
|
|
|
|
CONFIG_ME_BIN_PATH="@BLOB_DIR@/t440p/me.bin"
|
|
|
|
CONFIG_GBE_BIN_PATH="@BLOB_DIR@/t440p/gbe.bin"
|
|
|
|
CONFIG_HAVE_IFD_BIN=y
|
2023-06-21 19:42:23 +00:00
|
|
|
CONFIG_TPM_MEASURED_BOOT=y
|
2023-11-08 16:53:54 +00:00
|
|
|
CONFIG_LINUX_COMMAND_LINE="quiet loglevel=2"
|
2023-01-10 19:54:30 +00:00
|
|
|
CONFIG_HAVE_MRC=y
|
|
|
|
CONFIG_MRC_FILE="@BLOB_DIR@/haswell/mrc.bin"
|
2023-06-21 19:42:23 +00:00
|
|
|
# CONFIG_INTEL_CHIPSET_LOCKDOWN is not set
|
2023-01-10 19:54:30 +00:00
|
|
|
CONFIG_HAVE_ME_BIN=y
|
|
|
|
CONFIG_HAVE_GBE_BIN=y
|
2023-06-21 18:14:47 +00:00
|
|
|
CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y
|
|
|
|
CONFIG_BOOTSPLASH=y
|
2024-07-17 17:52:24 +00:00
|
|
|
CONFIG_USBDEBUG=y
|
2023-04-12 19:08:49 +00:00
|
|
|
CONFIG_BOOTMEDIA_LOCK_CONTROLLER=y
|
2023-01-10 19:54:30 +00:00
|
|
|
CONFIG_PAYLOAD_LINUX=y
|
|
|
|
CONFIG_PAYLOAD_FILE="@BOARD_BUILD_DIR@/bzImage"
|
2024-02-05 16:06:11 +00:00
|
|
|
CONFIG_LINUX_INITRD="@BOARD_BUILD_DIR@/initrd.cpio.xz"
|