mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-20 01:06:18 +00:00
flashtool can write to the winterfell ROM
This commit is contained in:
parent
7283a5397a
commit
2facd55e44
@ -5,7 +5,7 @@ CONFIG_LINUXBOOT_ROM=blobs/winterfell.rom
|
||||
CONFIG_LINUX_CONFIG=config/linux-linuxboot.config
|
||||
|
||||
# If you want to build with the go-based u-root instead of Heads
|
||||
CONFIG_UROOT=y
|
||||
CONFIG_UROOT ?= y
|
||||
|
||||
ifeq "$(CONFIG_UROOT)" "y"
|
||||
# The busybox will likely be redundant and can be trimmed for space.
|
||||
@ -16,6 +16,7 @@ else
|
||||
# These don't fit if u-root is turned on
|
||||
CONFIG_CRYPTSETUP=y
|
||||
CONFIG_FLASHROM=y
|
||||
CONFIG_FLASHTOOLS=y
|
||||
CONFIG_GPG=y
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_UTIL_LINUX=y
|
||||
|
26
modules/flashtools
Normal file
26
modules/flashtools
Normal file
@ -0,0 +1,26 @@
|
||||
modules-$(CONFIG_FLASHTOOLS) += flashtools
|
||||
|
||||
flashtools_depends := $(musl_dep)
|
||||
|
||||
flashtools_version := git
|
||||
flashtools_repo := ssh://git@github.com/osresearch/flashtools
|
||||
|
||||
flashtools_version := 0.0.1
|
||||
flashtools_dir := flashtools-$(flashtools_version)
|
||||
flashtools_tar := flashtools-$(flashtools_version).tar.gz
|
||||
flashtools_url := https://github.com/osresearch/flashtools/archive/v$(flashtools_version).tar.gz
|
||||
flashtools_hash := e8205aa3d19e536080f5974ed06ab9a88c4c3f37870c2f6a3a08a2f39302c22c
|
||||
|
||||
flashtools_target := \
|
||||
$(CROSS_TOOLS) \
|
||||
CFLAGS="-I$(INSTALL)/include" \
|
||||
LDFLAGS="-L$(INSTALL)/lib" \
|
||||
|
||||
flashtools_output := \
|
||||
flashtool \
|
||||
peek \
|
||||
poke \
|
||||
|
||||
flashtools_libraries := \
|
||||
|
||||
flashtools_configure :=
|
Loading…
x
Reference in New Issue
Block a user