mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
acc6493492
sed -i '$a CONFIG_USBDEBUG=n' config/coreboot-*.config grep -R CONFIG_COREBOOT_VERSION boards/ | awk -F "/" {'print $2'} | while read board; do if ! sudo make BOARD=$board coreboot.save_in_oldconfig_format_in_place > /dev/null 2>&1; then echo $board failed;fi; done Note: Boards that are unmaintained accumulates settings addition per the sed call. Why deactivate: - Well, this is equivalent of cbmem -c which gives way too much information from attacker. TODO: add an helper later on so that builds aimed at testing coreboot version bump pass to release mode or something. As of this commit, we accept that bricks might happen and that troubleshooting will be made in a case basis?! Signed-off-by: Thierry Laurion <insurgo@riseup.net>
22 lines
680 B
Makefile
22 lines
680 B
Makefile
# CONFIG_INCLUDE_CONFIG_FILE is not set
|
|
CONFIG_ONBOARD_VGA_IS_PRIMARY=y
|
|
CONFIG_CBFS_SIZE=0x980000
|
|
# CONFIG_POST_IO is not set
|
|
# CONFIG_POST_DEVICE is not set
|
|
CONFIG_BOARD_EMULATION_QEMU_X86_Q35=y
|
|
# CONFIG_CONSOLE_SERIAL is not set
|
|
CONFIG_LINUX_COMMAND_LINE="debug console=ttyS0,115200 console=tty"
|
|
CONFIG_COREBOOT_ROMSIZE_KB_10240=y
|
|
CONFIG_PCIEXP_ASPM=y
|
|
CONFIG_PCIEXP_COMMON_CLOCK=y
|
|
CONFIG_UART_PCI_ADDR=0
|
|
CONFIG_DRIVERS_PS2_KEYBOARD=y
|
|
CONFIG_USER_TPM1=y
|
|
CONFIG_TPM_MEASURED_BOOT=y
|
|
CONFIG_DEFAULT_CONSOLE_LOGLEVEL_6=y
|
|
CONFIG_PAYLOAD_LINUX=y
|
|
CONFIG_PAYLOAD_FILE="@BOARD_BUILD_DIR@/bzImage"
|
|
CONFIG_LINUX_INITRD="@BOARD_BUILD_DIR@/initrd.cpio.xz"
|
|
CONFIG_USBDEBUG=y
|
|
CONFIG_USBDEBUG=n
|