2022-02-17 20:20:43 -05:00
|
|
|
# Minimal configuration for a t430 to support flashrom and USB
|
2023-08-16 13:20:25 -04:00
|
|
|
# This top SPI flash image needed to flash legacy board counterpart internally
|
|
|
|
# This image can be flashed through 1vyrain and skulls
|
|
|
|
# IDEALLY you should flash maximized top and bottom rom images exteranlly once instead.
|
2020-05-15 18:52:11 +01:00
|
|
|
|
|
|
|
export CONFIG_COREBOOT=y
|
2023-02-15 11:47:30 -05:00
|
|
|
export CONFIG_COREBOOT_VERSION=4.19
|
2023-05-23 10:29:11 -04:00
|
|
|
export CONFIG_LINUX_VERSION=5.10.5
|
2020-07-10 09:44:01 -04:00
|
|
|
|
2023-08-16 13:20:25 -04:00
|
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-legacy-flash.config
|
|
|
|
CONFIG_LINUX_CONFIG=config/linux-x230-flash.config
|
|
|
|
|
|
|
|
#Add bare minimal tools for flashing boards
|
2023-03-01 16:07:03 -05:00
|
|
|
CONFIG_BASH=n
|
2020-05-15 18:52:11 +01:00
|
|
|
CONFIG_FLASHROM=y
|
2023-08-31 11:14:33 -04:00
|
|
|
CONFIG_ZSTD=n
|
2021-01-04 12:19:09 -05:00
|
|
|
#CONFIG_GPG=y
|
2022-02-17 20:20:43 -05:00
|
|
|
#CONFIG_FLASHTOOLS=y
|
2020-05-15 18:52:11 +01:00
|
|
|
CONFIG_PCIUTILS=y
|
2021-01-04 12:19:09 -05:00
|
|
|
#CONFIG_MBEDTLS=y
|
|
|
|
#CONFIG_QRENCODE=y
|
|
|
|
#CONFIG_TPMTOTP=y
|
|
|
|
#CONFIG_DROPBEAR=y
|
2020-05-15 18:52:11 +01:00
|
|
|
|
2023-08-16 13:20:25 -04:00
|
|
|
#Additional hardware support
|
2020-05-15 18:52:11 +01:00
|
|
|
CONFIG_LINUX_USB=y
|
2022-02-17 20:20:43 -05:00
|
|
|
#CONFIG_LINUX_E1000E=y
|
2020-05-15 18:52:11 +01:00
|
|
|
|
2023-03-13 13:21:29 -04:00
|
|
|
export CONFIG_BOOTSCRIPT=/bin/xx30-flash.init
|
2023-01-31 11:46:32 -05:00
|
|
|
export CONFIG_BOARD_NAME="ThinkPad T430-legacy-flash"
|
2020-05-15 18:52:11 +01:00
|
|
|
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal --ifd --image bios"
|
|
|
|
|
2023-11-14 12:14:18 -05:00
|
|
|
CONFIG_LEGACY_FLASH=y
|
|
|
|
|
2023-12-18 16:44:59 -05:00
|
|
|
BOARD_TARGETS := legacy_flash
|