2018-02-05 21:07:00 +00:00
|
|
|
# Configuration for a x230 running Qubes and other OSes
|
2018-03-12 01:27:19 +00:00
|
|
|
export CONFIG_COREBOOT=y
|
2018-02-05 20:59:26 +00:00
|
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-x230.config
|
2018-02-05 21:07:00 +00:00
|
|
|
CONFIG_LINUX_CONFIG=config/linux-x230.config
|
2018-02-05 16:56:15 +00:00
|
|
|
|
2017-07-03 03:01:04 +00:00
|
|
|
CONFIG_CRYPTSETUP=y
|
2018-03-11 02:12:52 +00:00
|
|
|
CONFIG_FLASHROM=y
|
2018-02-28 19:57:46 +00:00
|
|
|
CONFIG_FLASHTOOLS=y
|
2017-07-03 03:01:04 +00:00
|
|
|
CONFIG_GPG=y
|
|
|
|
CONFIG_KEXEC=y
|
|
|
|
CONFIG_UTIL_LINUX=y
|
|
|
|
CONFIG_LVM2=y
|
|
|
|
CONFIG_MBEDTLS=y
|
|
|
|
CONFIG_PCIUTILS=y
|
|
|
|
CONFIG_POPT=y
|
|
|
|
CONFIG_QRENCODE=y
|
|
|
|
CONFIG_TPMTOTP=y
|
|
|
|
CONFIG_DROPBEAR=y
|
|
|
|
|
2018-04-29 17:33:47 +00:00
|
|
|
#CONFIG_SLANG=y
|
|
|
|
#CONFIG_NEWT=y
|
|
|
|
CONFIG_CAIRO=y
|
|
|
|
CONFIG_FBWHIPTAIL=y
|
|
|
|
|
2017-07-03 03:01:04 +00:00
|
|
|
CONFIG_LINUX_USB=y
|
|
|
|
CONFIG_LINUX_E1000E=y
|
|
|
|
|
2018-02-28 19:57:46 +00:00
|
|
|
export CONFIG_TPM=y
|
2018-04-29 17:33:47 +00:00
|
|
|
export CONFIG_BOOTSCRIPT=/bin/gui-init
|
2018-02-28 19:57:46 +00:00
|
|
|
export CONFIG_BOOT_REQ_HASH=n
|
|
|
|
export CONFIG_BOOT_REQ_ROLLBACK=n
|
|
|
|
export CONFIG_BOOT_KERNEL_ADD="intel_iommu=on"
|
2018-04-29 17:33:47 +00:00
|
|
|
export CONFIG_BOOT_KERNEL_REMOVE=""
|
2018-02-28 19:57:46 +00:00
|
|
|
export CONFIG_BOOT_DEV="/dev/sda1"
|
2018-04-29 17:33:47 +00:00
|
|
|
export CONFIG_BOOT_GUI_MENU_NAME="x230 Heads Boot Menu"
|
2018-02-28 19:57:46 +00:00
|
|
|
export CONFIG_USB_BOOT_DEV="/dev/sdb1"
|
2018-04-18 20:41:22 +00:00
|
|
|
|
|
|
|
# This board has two SPI flash chips, an 8 MB that holds the IFD,
|
|
|
|
# the ME image and part of the coreboot image, and a 4 MB one that
|
|
|
|
# has the rest of the coreboot and the reset vector.
|
|
|
|
#
|
|
|
|
# When flashing via an external programmer it is easiest to have
|
|
|
|
# to separate files for these pieces.
|
|
|
|
all: $(build)/$(BOARD)/$(BOARD)-8.rom
|
|
|
|
$(build)/$(BOARD)/$(BOARD)-8.rom: $(build)/$(BOARD)/coreboot.rom
|
2018-05-02 15:38:39 +00:00
|
|
|
$(call do,DD 8MB,$@,dd of=$@ if=$< bs=65536 count=128 skip=0 status=none)
|
|
|
|
@sha256sum $@
|
2018-04-18 20:41:22 +00:00
|
|
|
|
|
|
|
all: $(build)/$(BOARD)/$(BOARD)-4.rom
|
|
|
|
$(build)/$(BOARD)/$(BOARD)-4.rom: $(build)/$(BOARD)/coreboot.rom
|
2018-05-02 15:38:39 +00:00
|
|
|
$(call do,DD 4MB,$@,dd of=$@ if=$< bs=65536 count=64 skip=128 status=none)
|
|
|
|
@sha256sum $@
|