mirror of
https://github.com/linuxboot/heads.git
synced 2025-03-17 17:45:22 +00:00
- Reuse good tweeks from gaspar-ilom's provided config/coreboot-t480-maximized.config - move config/coreboot-t480-maximized.config to config/coreboot-t480.config, delete config/coreboot-t480-maximized.config - rename boards/t480-hotp-maximized -> boards/t480-hotp, boards/t480-maximized/t480-maximized -> boards/t480-maximized/t480 - Adapt CircleCI board naming accordingly TODO: - discuss need of thunderbold firmware presence in fw, that were part of @notgivenby prior work and now gone. Should it be brought back? - Tweaks of config/coreboot-t480.config against prior commit, outside of blobs paths having change. Signed-off-by: Thierry Laurion <insurgo@riseup.net>
84 lines
2.5 KiB
Makefile
84 lines
2.5 KiB
Makefile
# Configuration for a T480 running Qubes 4.1 and other Linux Based OSes (through kexec)
|
|
#
|
|
# Includes
|
|
# - Deactivated+neutered ME and expanded consequent IFD BIOS regions
|
|
# - Forged TO:DO:TO:DO:TO:DO MAC address (if not extracting gbe.bin from backup with blobs/xx80/extract.sh)
|
|
# - Note that this MAC address can be modified under build/coreboot-VER/util/bincfg/gbe-82579LM.set
|
|
#
|
|
# - DOES NOT INCLUDE Nitrokey/Librem Key HOTP Security dongle remote attestation (in addition to TOTP remote attestation through Qr Code)
|
|
|
|
export CONFIG_COREBOOT=y
|
|
export CONFIG_COREBOOT_VERSION=t480
|
|
export CONFIG_LINUX_VERSION=6.1.8
|
|
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-t480.config
|
|
# TODO: Make a ThinkPad-common Linux config file.
|
|
CONFIG_LINUX_CONFIG=config/linux-t480.config
|
|
|
|
#On-demand hardware support (modules.cpio)
|
|
CONFIG_LINUX_USB=y
|
|
CONFIG_LINUX_E1000E=y
|
|
CONFIG_MOBILE_TETHERING=y
|
|
|
|
#Modules packed into tools.cpio
|
|
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
|
|
|
|
#platform locking finalization (PR0)
|
|
CONFIG_IO386=y
|
|
export CONFIG_FINALIZE_PLATFORM_LOCKING=y
|
|
|
|
|
|
#Remote attestation support
|
|
# TPM2 requirements
|
|
CONFIG_TPM2_TSS=y
|
|
CONFIG_OPENSSL=y
|
|
CONFIG_POPT=y
|
|
CONFIG_QRENCODE=y
|
|
CONFIG_TPMTOTP=y
|
|
#HOTP based remote attestation for supported USB Security dongle
|
|
#With/Without TPM support
|
|
#CONFIG_HOTPKEY=y
|
|
|
|
#Nitrokey Storage admin tool
|
|
CONFIG_NKSTORECLI=n
|
|
|
|
#GUI Support
|
|
#Console based Whiptail support(Console based, no FB):
|
|
#CONFIG_SLANG=y
|
|
#CONFIG_NEWT=y
|
|
#FBWhiptail based (Graphical):
|
|
CONFIG_CAIRO=y
|
|
CONFIG_FBWHIPTAIL=y
|
|
|
|
#Additional tools (tools.cpio):
|
|
#SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E)
|
|
CONFIG_DROPBEAR=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_BOOT_KERNEL_ADD=""
|
|
export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off"
|
|
export CONFIG_BOARD_NAME="Thinkpad T480-maximized"
|
|
export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal"
|
|
export CONFIG_AUTO_BOOT_TIMEOUT=5
|
|
|
|
#Include bits related to ivybridge ME blob download/neutering down to BUP+ROMP
|
|
BOARD_TARGETS := xx80_me_blobs
|