2021-07-26 14:02:42 -04:00
|
|
|
# Configuration for a X230 running Qubes 4.1 and other Linux Based OSes (through kexec)
|
2020-10-19 12:50:24 -04:00
|
|
|
#
|
|
|
|
# Deactivated to fit in coreboot's CONFIG_CBFS_SIZE=0x700000 :
|
|
|
|
# dropbear support(ssh client/server)
|
|
|
|
# e1000e (ethernet driver)
|
2018-03-11 18:27:19 -07:00
|
|
|
export CONFIG_COREBOOT=y
|
2024-07-10 12:17:41 -04:00
|
|
|
export CONFIG_COREBOOT_VERSION=24.02.01
|
2023-05-23 10:29:11 -04:00
|
|
|
export CONFIG_LINUX_VERSION=5.10.5
|
2020-07-10 09:44:01 -04:00
|
|
|
|
2023-01-31 11:46:32 -05:00
|
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-legacy.config
|
2022-06-10 09:52:07 -04:00
|
|
|
CONFIG_LINUX_CONFIG=config/linux-x230-legacy.config
|
2018-02-05 11:56:15 -05:00
|
|
|
|
2021-07-26 14:02:42 -04:00
|
|
|
#Additional hardware support
|
|
|
|
CONFIG_LINUX_USB=y
|
|
|
|
CONFIG_LINUX_E1000E=n
|
|
|
|
|
|
|
|
CONFIG_CRYPTSETUP2=y
|
2018-03-10 18:12:52 -08:00
|
|
|
CONFIG_FLASHROM=y
|
2018-02-28 14:57:46 -05:00
|
|
|
CONFIG_FLASHTOOLS=y
|
2018-10-04 21:32:04 -04:00
|
|
|
CONFIG_GPG2=y
|
2017-07-02 23:01:04 -04:00
|
|
|
CONFIG_KEXEC=y
|
|
|
|
CONFIG_UTIL_LINUX=y
|
|
|
|
CONFIG_LVM2=y
|
|
|
|
CONFIG_MBEDTLS=y
|
|
|
|
CONFIG_PCIUTILS=y
|
2021-07-26 14:02:42 -04:00
|
|
|
|
|
|
|
#Remote attestation support
|
|
|
|
#TPM based requirements
|
|
|
|
export CONFIG_TPM=y
|
2017-07-02 23:01:04 -04:00
|
|
|
CONFIG_POPT=y
|
|
|
|
CONFIG_QRENCODE=y
|
|
|
|
CONFIG_TPMTOTP=y
|
2021-07-26 14:02:42 -04:00
|
|
|
#HOTP based remote attestation for supported USB Security dongle
|
|
|
|
#With/Without TPM support
|
|
|
|
CONFIG_HOTPKEY=n
|
2017-07-02 23:01:04 -04:00
|
|
|
|
2021-07-26 14:02:42 -04:00
|
|
|
#Nitrokey Storage admin tool
|
|
|
|
CONFIG_NKSTORECLI=n
|
2018-10-11 13:06:33 +02:00
|
|
|
|
2021-07-26 14:02:42 -04:00
|
|
|
#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
|
2020-10-19 12:50:24 -04:00
|
|
|
|
2021-07-26 14:02:42 -04:00
|
|
|
#Additional tools:
|
|
|
|
#SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E)
|
2020-10-19 12:50:24 -04:00
|
|
|
CONFIG_DROPBEAR=n
|
2017-07-02 23:01:04 -04:00
|
|
|
|
2018-10-11 13:06:33 +02:00
|
|
|
export CONFIG_BOOTSCRIPT=/bin/gui-init
|
2018-02-28 14:57:46 -05:00
|
|
|
export CONFIG_BOOT_REQ_HASH=n
|
|
|
|
export CONFIG_BOOT_REQ_ROLLBACK=n
|
2023-11-08 11:47:18 -05:00
|
|
|
export CONFIG_BOOT_KERNEL_ADD=""
|
|
|
|
export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off"
|
2018-02-28 14:57:46 -05:00
|
|
|
export CONFIG_BOOT_DEV="/dev/sda1"
|
2023-01-31 11:46:32 -05:00
|
|
|
export CONFIG_BOARD_NAME="Thinkpad X230-legacy"
|
2019-07-30 21:46:34 -05:00
|
|
|
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal --ifd --image bios"
|
2018-04-18 16:41:22 -04:00
|
|
|
|
|
|
|
# This board has two SPI flash chips, an 8 MB that holds the IFD,
|
|
|
|
# the ME image and part of the coreboot image, and a 4 MB one that
|
|
|
|
# has the rest of the coreboot and the reset vector.
|
|
|
|
#
|
2018-06-04 09:02:22 +02:00
|
|
|
# Only flashing to the bios region is safe to do. The easiest is to
|
|
|
|
# flash internally when the IFD is unlocked for writing, and x230-flash
|
|
|
|
# is installed first.
|