mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-30 09:48:56 +00:00
6a3bb5897a
Set and export currently-used defaults in gui-init, but still allow for inidividual boards to override via config if desired. Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
# Configuration for a x230-nkstorecli (Nitrokey Storage client + HOTP support)
|
|
# running Qubes and other OSes
|
|
# Note that CBFS region is too small. So e1000e (ethernet) and dropbear (ssh client/server) has been disabled.
|
|
export CONFIG_COREBOOT=y
|
|
export CONFIG_COREBOOT_VERSION=4.8.1
|
|
export CONFIG_LINUX_VERSION=4.14.62
|
|
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-nkstorecli.config
|
|
CONFIG_LINUX_CONFIG=config/linux-x230.config
|
|
|
|
CONFIG_CRYPTSETUP=y
|
|
CONFIG_FLASHROM=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
|
|
CONFIG_DROPBEAR=n
|
|
CONFIG_NKSTORECLI=y
|
|
|
|
#CONFIG_SLANG=y
|
|
#CONFIG_NEWT=y
|
|
CONFIG_CAIRO=y
|
|
CONFIG_FBWHIPTAIL=y
|
|
CONFIG_HOTPKEY=y
|
|
|
|
CONFIG_LINUX_USB=y
|
|
CONFIG_LINUX_E1000E=n
|
|
|
|
export CONFIG_TPM=y
|
|
export CONFIG_BOOTSCRIPT=/bin/gui-init
|
|
export CONFIG_BOOT_REQ_HASH=n
|
|
export CONFIG_BOOT_REQ_ROLLBACK=n
|
|
export CONFIG_BOOT_KERNEL_ADD="intel_iommu=on intel_iommu=igfx_off"
|
|
export CONFIG_BOOT_KERNEL_REMOVE="quiet"
|
|
export CONFIG_BOOT_DEV="/dev/sda1"
|
|
export CONFIG_BOARD_NAME="Thinkpad X230-nkstorecli"
|
|
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal --ifd --image bios"
|
|
|
|
# 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.
|
|
#
|
|
# 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.
|