mirror of
https://github.com/linuxboot/heads.git
synced 2025-03-14 08:16:44 +00:00
Add board config for T480
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
b101d312ef
commit
effa9f63e3
65
boards/t480-maximized/t480-maximized.config
Normal file
65
boards/t480-maximized/t480-maximized.config
Normal file
@ -0,0 +1,65 @@
|
||||
# Configuration for a ThinkPad T480.
|
||||
CONFIG_COREBOOT_CONFIG=config/coreboot-t480.config
|
||||
# TODO: Make a ThinkPad-common Linux config file.
|
||||
CONFIG_LINUX_CONFIG=config/linux-t480.config
|
||||
|
||||
export CONFIG_COREBOOT=y
|
||||
export CONFIG_COREBOOT_VERSION=t480
|
||||
export CONFIG_LINUX_VERSION=6.1.8
|
||||
|
||||
CONFIG_CRYPTSETUP2=y
|
||||
CONFIG_FLASHPROG=y
|
||||
CONFIG_FLASHTOOLS=y
|
||||
CONFIG_GPG2=y
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_UTIL_LINUX=y
|
||||
CONFIG_LVM2=y
|
||||
CONFIG_MBEDTLS=y
|
||||
CONFIG_PCIUTILS=y
|
||||
CONFIG_POPT=y
|
||||
CONFIG_QRENCODE=y
|
||||
CONFIG_TPMTOTP=y
|
||||
|
||||
#platform locking finalization (PR0)
|
||||
# Disable for first try, enable when rest works
|
||||
#CONFIG_IO386=y
|
||||
#export CONFIG_FINALIZE_PLATFORM_LOCKING=y
|
||||
|
||||
|
||||
# Dependencies for a graphical menu. Enable CONFIG_SLANG and CONFIG_NEWT instead
|
||||
# for a console-based menu.
|
||||
CONFIG_CAIRO=y
|
||||
CONFIG_FBWHIPTAIL=y
|
||||
|
||||
CONFIG_LINUX_USB=y
|
||||
CONFIG_MOBILE_TETHERING=y
|
||||
|
||||
export CONFIG_TPM=y
|
||||
#Enable DEBUG output, debug output probably a good idea for first tests
|
||||
export CONFIG_DEBUG_OUTPUT=y
|
||||
export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n
|
||||
#Enable TPM2 pcap output under /tmp
|
||||
export CONFIG_TPM2_CAPTURE_PCAP=n
|
||||
#Enable quiet mode: technical information logged under /tmp/debug.log, not quiet for first test
|
||||
export CONFIG_QUIET_MODE=n
|
||||
export CONFIG_BOOTSCRIPT=/bin/gui-init
|
||||
export CONFIG_BOOT_REQ_HASH=n
|
||||
export CONFIG_BOOT_REQ_ROLLBACK=n
|
||||
export CONFIG_BOARD_NAME="ThinkPad T480"
|
||||
export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal"
|
||||
|
||||
# COPIED FROM T440p! NEEDS ADAPTION!!!!
|
||||
# Make the Coreboot build depend on the following 3rd party blobs:
|
||||
$(build)/coreboot-$(CONFIG_COREBOOT_VERSION)/$(BOARD)/.build: \
|
||||
$(pwd)/blobs/haswell/mrc.bin $(pwd)/blobs/t440p/me.bin
|
||||
|
||||
$(pwd)/blobs/haswell/mrc.bin:
|
||||
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
|
||||
$(pwd)/blobs/haswell/obtain-mrc $(pwd)/blobs/haswell
|
||||
|
||||
$(pwd)/blobs/t440p/me.bin:
|
||||
COREBOOT_DIR="$(build)/$(coreboot_base_dir)" \
|
||||
$(pwd)/blobs/t440p/download-clean-me $(pwd)/blobs/t440p
|
||||
|
||||
# Generate split 4MB top / 8MB bottom ROMs
|
||||
#BOARD_TARGETS += split_8mb4mb Is there an other command for not splitting stuff at the end or is this the default option anyways?
|
7
boards/t480p-hotp-maximized/t480-hotp-maximized.config
Normal file
7
boards/t480p-hotp-maximized/t480-hotp-maximized.config
Normal file
@ -0,0 +1,7 @@
|
||||
# Inherit the rest from the base T440p config.
|
||||
include $(pwd)/boards/t480-maximized/t480-maximized.config
|
||||
|
||||
CONFIG_HOTPKEY=y
|
||||
export CONFIG_AUTO_BOOT_TIMEOUT=5
|
||||
|
||||
export CONFIG_BOARD_NAME="ThinkPad T480-hotp-maximized"
|
Loading…
x
Reference in New Issue
Block a user