2022-02-18 01:20:43 +00:00
|
|
|
# Minimal configuration for a x230 to support flashrom and USB
|
2023-08-16 17:20:25 +00: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.
|
2018-03-08 09:33:04 +00:00
|
|
|
|
2018-03-12 01:27:19 +00:00
|
|
|
export CONFIG_COREBOOT=y
|
2024-07-10 16:17:41 +00:00
|
|
|
export CONFIG_COREBOOT_VERSION=24.02.01
|
2023-05-23 14:29:11 +00:00
|
|
|
export CONFIG_LINUX_VERSION=5.10.5
|
2020-07-10 13:44:01 +00:00
|
|
|
|
2023-11-10 15:59:52 +00:00
|
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-legacy-flash.config
|
2023-08-16 17:20:25 +00:00
|
|
|
CONFIG_LINUX_CONFIG=config/linux-x230-flash.config
|
|
|
|
|
|
|
|
#Add bare minimal tools for flashing boards
|
2023-03-01 21:07:03 +00:00
|
|
|
CONFIG_BASH=n
|
2024-09-01 19:02:42 +00:00
|
|
|
CONFIG_FLASHPROG=y
|
2023-08-31 15:14:33 +00:00
|
|
|
CONFIG_ZSTD=n
|
2019-01-10 15:06:40 +00:00
|
|
|
#CONFIG_GPG=y
|
2022-02-18 01:20:43 +00:00
|
|
|
#CONFIG_FLASHTOOLS=y
|
2018-03-08 09:33:04 +00:00
|
|
|
CONFIG_PCIUTILS=y
|
2018-05-07 20:45:47 +00:00
|
|
|
#CONFIG_MBEDTLS=y
|
|
|
|
#CONFIG_QRENCODE=y
|
|
|
|
#CONFIG_TPMTOTP=y
|
2018-07-27 14:04:53 +00:00
|
|
|
#CONFIG_DROPBEAR=y
|
2018-03-08 09:33:04 +00:00
|
|
|
|
2023-08-31 15:14:33 +00:00
|
|
|
|
2023-08-16 17:20:25 +00:00
|
|
|
#Additional hardware support
|
2018-03-08 09:33:04 +00:00
|
|
|
CONFIG_LINUX_USB=y
|
2022-02-18 01:20:43 +00:00
|
|
|
#CONFIG_LINUX_E1000E=y
|
2018-03-08 09:33:04 +00:00
|
|
|
|
2023-03-13 17:21:29 +00:00
|
|
|
export CONFIG_BOOTSCRIPT=/bin/xx30-flash.init
|
2023-01-31 16:46:32 +00:00
|
|
|
export CONFIG_BOARD_NAME="ThinkPad X230-legacy-flash"
|
2024-09-01 19:02:42 +00:00
|
|
|
export CONFIG_FLASH_OPTIONS="flashprog memory --progress --programmer internal --ifd --image bios"
|
2018-04-18 20:41:22 +00:00
|
|
|
|
2023-11-14 17:14:18 +00:00
|
|
|
CONFIG_LEGACY_FLASH=y
|
|
|
|
|
2023-12-18 21:44:59 +00:00
|
|
|
BOARD_TARGETS := legacy_flash
|