mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 23:26:44 +00:00
0a823cb491
Laptops can include optional USB keyboard support (default off unless the board also sets the default to 'y'). The setting is in the configuration GUI. CONFIG_USER_USB_KEYBOARD is now the user-controlled setting on those boards. 'CONFIG_USB_KEYBOARD' is no longer used to avoid any conflict with prior releases that expect this to be a compile-time setting only (conflicts risk total lock out requiring hardware flash, so some caution is justified IMO). Boards previously exporting CONFIG_USB_KEYBOARD now export CONFIG_USB_KEYBOARD_REQUIRED. Those boards don't have built-in keyboards, USB keyboard is always enabled. (librem_mini, librem_mini_v2, librem_11, librem_l1um, librem_l1um_v2, talos-2, kgpe-d16_workstation-usb_keyboard, x230-hotp-maximized_usb-kb). Librem laptops now export CONFIG_SUPPORT_USB_KEYBOARD to enable optional support. The default is still 'off'. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# Configuration for a Talos 2 running Qubes and other OSes
|
|
# The board uses BE coreboot and LE Linux kernel and initrd
|
|
CONFIG_TARGET_ARCH=ppc64
|
|
|
|
export CONFIG_COREBOOT=y
|
|
export CONFIG_COREBOOT_VERSION=talos_2
|
|
export CONFIG_LINUX_VERSION=5.5-openpower
|
|
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-talos-2.config
|
|
CONFIG_COREBOOT_ROM=coreboot.rom.signed.ecc
|
|
CONFIG_COREBOOT_BOOTBLOCK=bootblock.signed.ecc
|
|
CONFIG_LINUX_CONFIG=config/linux-talos-2.config
|
|
|
|
CONFIG_CRYPTSETUP2=y
|
|
CONFIG_LVM2=y
|
|
CONFIG_KEXEC=y
|
|
CONFIG_UTIL_LINUX=y
|
|
CONFIG_MBEDTLS=y
|
|
CONFIG_POPT=y
|
|
CONFIG_QRENCODE=y
|
|
CONFIG_TPMTOTP=y
|
|
CONFIG_GPG2=y
|
|
CONFIG_PCIUTILS=y
|
|
CONFIG_FLASHROM=y
|
|
CONFIG_FLASHTOOLS=y
|
|
CONFIG_POWERPC_UTILS=y
|
|
|
|
#Whiptail in console mode
|
|
CONFIG_SLANG=y
|
|
CONFIG_NEWT=y
|
|
|
|
CONFIG_LINUX_USB=y
|
|
CONFIG_LINUX_BUNDLED=y
|
|
|
|
#SSH client/server
|
|
CONFIG_DROPBEAR=y
|
|
|
|
# for OpenBMC VGA console
|
|
export CONFIG_USE_AGETTY=y
|
|
export CONFIG_USB_KEYBOARD_REQUIRED=y
|
|
export CONFIG_BOOT_EXTRA_TTYS="tty0"
|
|
|
|
export CONFIG_TPM=y
|
|
export CONFIG_BOOTSCRIPT=/bin/talos-init
|
|
export CONFIG_BOOT_REQ_HASH=n
|
|
export CONFIG_BOOT_REQ_ROLLBACK=n
|
|
export CONFIG_BOOT_KERNEL_REMOVE="quiet"
|
|
export CONFIG_BOOT_KERNEL_ADD="console=tty0 console=hvc0 rootdelay=3 rootwait panic=10"
|
|
export CONFIG_BOOT_DEV="/dev/nvme0n1p2"
|
|
export CONFIG_BOARD_NAME="Talos 2"
|
|
export CONFIG_FLASHROM_OPTIONS="--noverify-all -p linux_mtd"
|
|
|
|
BOARD_TARGETS := ppc_tgz
|