mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +00:00
f8cb3db775
Non-impactful action, first step for #1421 based on participation in testing of #1398 and prior non-tested PRs. EDIT: last minute readd of x220-maximized boards (x220-maximized and x220-hotp-maximized boards). x220 is still UNTESTED (legacy, manually extracting ifs, me and gbe). EDIT: last minute readd of t440p-maximized boards (t440p-maximized and t440p-hotp-maximized boards). Thanks to @srgrint for lat minute report that t440p and x220 were tested ---- Traces of commands used: ls qemu-linuxboot* leopard* r630* s2600wf* tioga* winterfell* t420* t520* t440p* w530* kgpe* p8z77* x220* x230-maximized-fhd_edp* | grep ":" | awk -F ":" {'print $1'}| while read board; do mv $board/$board.config $board/UNTESTED_$board.config; done ls qemu-linuxboot* leopard* r630* s2600wf* tioga* winterfell* t420* t520* t440p* w530* kgpe* p8z77* x220* x230-maximized-fhd_edp* | grep ":" | awk -F ":" {'print $1'}| while read dir; do mv $dir UNTESTED_$dir; done ls UNTESTED* | grep ":" | awk -F ":" {'print $1'}| awk -F "UNTESTED_" {'print $2'} | while read line; do sed 's/'"$line"'/UNTESTED_'"$line"'/g' ../.circleci/config.yml -i ; done quick fix of circleci: sed -i 's/UNTESTED_UNTESTED/UNTESTED/g' ../.circleci/config.yml sed -i 's/UNTESTED_UNTESTED/UNTESTED/g' ../.circleci/config.yml sed -i 's/UNTESTED_UNTESTED/UNTESTED/g' ../.circleci/config.yml Modify p8z77-m_pro-tpm1 hotp board config to include to their maximized counterpart
65 lines
2.2 KiB
Makefile
65 lines
2.2 KiB
Makefile
# Configuration for a kgpe-d16_server
|
|
# per https://www.raptorengineering.com/coreboot/kgpe-d16-bmc-port-status.php work, with patches merged into Heads
|
|
#
|
|
# Tested: ASMBV4 reprogrammed per https://www.raptorengineering.com/coreboot/kgpe-d16-bmc-port-status.php
|
|
#
|
|
# Status:
|
|
# - ASpeed text output given on VGA
|
|
# - All console output rerirected to sttyS0
|
|
# - TPM support in romstage (not bootblock) with TPM SLB9635 TT 1.2 by Infineon
|
|
# - Currently, no microcode is included with coreboot. This is due to to a bug
|
|
# in which newer Linux releases panics when the newest microcode is loaded by
|
|
# coreboot. AMD Opteron 6300 series users are STRONGLY encouraged to make
|
|
# sure their operating system loads microcode updates.
|
|
#
|
|
# - To connect to BMC: https://github.com/osresearch/heads/issues/134#issuecomment-368922440
|
|
# - Please contribute documentation on heads-wiki
|
|
# - Please support https://github.com/osresearch/heads/issues/719
|
|
export CONFIG_COREBOOT=y
|
|
export CONFIG_COREBOOT_VERSION=4.11
|
|
export CONFIG_LINUX_VERSION=5.10.5
|
|
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-kgpe-d16_server.config
|
|
CONFIG_LINUX_CONFIG=config/linux-kgpe-d16_server.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=y
|
|
|
|
CONFIG_LINUX_USB=y
|
|
CONFIG_LINUX_E1000E=y
|
|
export CONFIG_LINUX_USB_COMPANION_CONTROLLER=y
|
|
|
|
export CONFIG_TPM=y
|
|
#BOOT SCRIPT SELECTION
|
|
export CONFIG_BOOTSCRIPT=/bin/generic-init
|
|
#export CONFIG_BOOTSCRIPT_NETWORK=/bin/network-init-recovery
|
|
|
|
#CONSOLE SELECTION
|
|
#Single output to OpenBMC
|
|
#export CONFIG_BOOT_KERNEL_ADD="nohz=on console=ttyS1,115200n8 "
|
|
#Dual output to local console (tty0) and OpenBmc (ttyS1)
|
|
export CONFIG_BOOT_KERNEL_ADD="nohz=on console=ttyS1,115200n8 console=tty0"
|
|
export CONFIG_BOOT_RECOVERY_SERIAL="/dev/ttyS0"
|
|
export CONFIG_BOOT_STATIC_IP=192.168.2.3
|
|
|
|
export CONFIG_BOOT_REQ_HASH=n
|
|
export CONFIG_BOOT_REQ_ROLLBACK=n
|
|
export CONFIG_BOOT_KERNEL_REMOVE="plymouth.ignore-serial-consoles"
|
|
export CONFIG_BOOT_DEV="/dev/sda1"
|
|
export CONFIG_BOARD_NAME="KGPE-D16 Server"
|
|
export CONFIG_USB_BOOT_DEV="/dev/sdb1"
|
|
|
|
export CONFIG_FLASHROM_OPTIONS="--force --noverify -p internal"
|
|
#export CONFIG_BOOT_STATIC_IP=192.168.1.2
|