mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 02:39:59 +00:00
Add flashrom to Talos II boards
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
This commit is contained in:
parent
a2475e2c53
commit
572c99e898
@ -21,6 +21,7 @@ CONFIG_QRENCODE=y
|
||||
CONFIG_TPMTOTP=y
|
||||
CONFIG_GPG2=y
|
||||
CONFIG_PCIUTILS=y
|
||||
CONFIG_FLASHROM=y
|
||||
CONFIG_FLASHTOOLS=y
|
||||
|
||||
#Whiptail in console mode
|
||||
@ -46,3 +47,4 @@ export CONFIG_BOOT_KERNEL_REMOVE="quiet"
|
||||
export CONFIG_BOOT_KERNEL_ADD="console=tty0 console=hvc0 rootdelay=3 rootwait panic=10"
|
||||
export CONFIG_BOOT_DEV="/dev/sda1"
|
||||
export CONFIG_BOARD_NAME="Talos 2 Server"
|
||||
export CONFIG_FLASHROM_OPTIONS="--noverify-all -p linux_mtd"
|
||||
|
@ -21,6 +21,7 @@ CONFIG_QRENCODE=y
|
||||
CONFIG_TPMTOTP=y
|
||||
CONFIG_GPG2=y
|
||||
CONFIG_PCIUTILS=y
|
||||
CONFIG_FLASHROM=y
|
||||
CONFIG_FLASHTOOLS=y
|
||||
|
||||
#whiptail in graphical mode
|
||||
@ -46,3 +47,4 @@ export CONFIG_BOOT_KERNEL_REMOVE="quiet"
|
||||
export CONFIG_BOOT_KERNEL_ADD="console=tty0 console=hvc0 rootdelay=3 rootwait panic=10"
|
||||
export CONFIG_BOOT_DEV="/dev/sda1"
|
||||
export CONFIG_BOARD_NAME="Talos 2 Workstation"
|
||||
export CONFIG_FLASHROM_OPTIONS="--noverify-all -p linux_mtd"
|
||||
|
@ -8,15 +8,28 @@ flashrom_tar := $(flashrom_dir).tar.gz
|
||||
flashrom_url := https://github.com/flashrom/flashrom/archive/$(flashrom_version).tar.gz
|
||||
flashrom_hash := 4873ad50f500629c244fc3fbee64b56403a82307d7f555dfa235336a200c336c
|
||||
|
||||
flashrom_target := \
|
||||
$(MAKE_JOBS) \
|
||||
$(CROSS_TOOLS) \
|
||||
# Default options for flashrom
|
||||
flashrom_cfg := \
|
||||
WARNERROR=no \
|
||||
CONFIG_NOTHING=yes \
|
||||
CONFIG_INTERNAL=yes \
|
||||
CONFIG_DUMMY=yes \
|
||||
CONFIG_AST1100=yes \
|
||||
|
||||
ifeq "$(CONFIG_TARGET_ARCH)" "ppc64"
|
||||
flashrom_cfg := \
|
||||
WARNERROR=no \
|
||||
CONFIG_NOTHING=yes \
|
||||
CONFIG_LINUX_MTD=yes \
|
||||
CONFIG_DUMMY=yes \
|
||||
CONFIG_AST1100=yes
|
||||
endif
|
||||
|
||||
flashrom_target := \
|
||||
$(MAKE_JOBS) \
|
||||
$(CROSS_TOOLS) \
|
||||
$(flashrom_cfg)
|
||||
|
||||
flashrom_output := \
|
||||
flashrom
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user