mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-30 01:38:56 +00:00
23735d729a
Co-authored-by: Sebastian McMillan <22755892+SebastianMcMillan@users.noreply.github.com> Co-authored-by: Andrew Montoya <halossqwerty@gmail.com>
24 lines
797 B
Plaintext
24 lines
797 B
Plaintext
# Minimal configuration for a t430 to support flashrom, USB and networking
|
|
BOARD=t430.flash
|
|
|
|
export CONFIG_COREBOOT=y
|
|
CONFIG_FLASHROM=y
|
|
CONFIG_FLASHTOOLS=y
|
|
CONFIG_PCIUTILS=y
|
|
|
|
CONFIG_LINUX_CONFIG=config/linux-x230-flash.config
|
|
CONFIG_LINUX_USB=y
|
|
CONFIG_LINUX_E1000E=y
|
|
|
|
export CONFIG_BOOTSCRIPT=/bin/t430-flash.init
|
|
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal --ifd --image bios"
|
|
|
|
# This board is "special" in that we only want the top 4 MB of the ROM
|
|
# for flashing into SPI flash 1 on the mainboard. This is enough to
|
|
# allow the board to boot into a minimal Heads and read the full
|
|
# ROM from an external USB media.
|
|
all: $(build)/$(BOARD)/$(BOARD).rom
|
|
$(build)/$(BOARD)/$(BOARD).rom: $(build)/$(BOARD)/coreboot.rom
|
|
dd of=$@ if=$< bs=65536 count=64 skip=128
|
|
sha256sum $@
|