mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
853541c6a9
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
37 lines
1.0 KiB
Makefile
37 lines
1.0 KiB
Makefile
# Minimal configuration for a x230 to support flashrom and USB
|
|
# 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.
|
|
|
|
export CONFIG_COREBOOT=y
|
|
export CONFIG_COREBOOT_VERSION=24.02.01
|
|
export CONFIG_LINUX_VERSION=6.1.8
|
|
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-UNMAINTAINED_x230-legacy-flash.config
|
|
CONFIG_LINUX_CONFIG=config/linux-x230-flash.config
|
|
|
|
#Add bare minimal tools for flashing boards
|
|
CONFIG_BASH=n
|
|
CONFIG_FLASHPROG=y
|
|
CONFIG_ZSTD=n
|
|
#CONFIG_GPG=y
|
|
#CONFIG_FLASHTOOLS=y
|
|
CONFIG_PCIUTILS=y
|
|
#CONFIG_MBEDTLS=y
|
|
#CONFIG_QRENCODE=y
|
|
#CONFIG_TPMTOTP=y
|
|
#CONFIG_DROPBEAR=y
|
|
|
|
|
|
#Additional hardware support
|
|
CONFIG_LINUX_USB=y
|
|
#CONFIG_LINUX_E1000E=y
|
|
|
|
export CONFIG_BOOTSCRIPT=/bin/xx30-flash.init
|
|
export CONFIG_BOARD_NAME="ThinkPad X230-legacy-flash"
|
|
export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal --ifd --image bios"
|
|
|
|
CONFIG_LEGACY_FLASH=y
|
|
|
|
BOARD_TARGETS := legacy_flash
|