Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ipxe landing zone #405

Merged
merged 2 commits into from
Jun 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions configs/config.pcengines_apu2_tb_ipxe
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
CONFIG_LOCALVERSION="v4.11.0.1"
CONFIG_VENDOR_PCENGINES=y
CONFIG_PAYLOAD_CONFIGFILE="$(top)/src/mainboard/$(MAINBOARDDIR)/seabios_config"
CONFIG_BOARD_PCENGINES_APU2=y
CONFIG_PXE_ROM_ID="8086,157b"
CONFIG_NO_GFX_INIT=y
CONFIG_USER_TPM2=y
CONFIG_DEFAULT_CONSOLE_LOGLEVEL_1=y
CONFIG_SEABIOS_REVISION=y
CONFIG_SEABIOS_REVISION_ID="rel-1.12.1.3"
CONFIG_SEABIOS_BOOTORDER_FILE="$(top)/src/mainboard/$(MAINBOARDDIR)/variants/$(CONFIG_VARIANT_DIR)/bootorder"
CONFIG_SEABIOS_DEBUG_LEVEL=0
CONFIG_PXE=y
CONFIG_BUILD_IPXE=y
CONFIG_IPXE_LZ=y
# CONFIG_PXE_SERIAL_CONSOLE is not set
CONFIG_PXE_CUSTOM_BUILD_ID="12345678"
CONFIG_PXE_ADD_SCRIPT=y
CONFIG_PXE_SCRIPT="payloads/external/iPXE/menu.ipxe"
CONFIG_MEMTEST_SECONDARY_PAYLOAD=y
CONFIG_SORTBOOTORDER_SECONDARY_PAYLOAD=y
CONFIG_MEMTEST_REVISION=y
CONFIG_MEMTEST_REVISION_ID="0bd34c22604660e4283316331f3e7bf8a3863753"
1 change: 1 addition & 0 deletions payloads/external/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ payloads/external/iPXE/ipxe/ipxe.rom ipxe: $(DOTCONFIG) $(PXE_CONFIG_SCRIPT)
PXE_ROM_PCI_ID=$(PXE_ROM_PCI_ID) \
CONFIG_IPXE_MASTER=$(CONFIG_IPXE_MASTER) \
CONFIG_IPXE_STABLE=$(CONFIG_IPXE_STABLE) \
CONFIG_IPXE_LZ=$(CONFIG_IPXE_LZ) \
CONSOLE_SERIAL=$(IPXE_SERIAL_CONSOLE) \
IPXE_UART=$(IPXE_UART) \
CONFIG_TTYS0_BAUD=$(CONFIG_TTYS0_BAUD) \
Expand Down
5 changes: 5 additions & 0 deletions payloads/external/iPXE/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ config IPXE_MASTER
help
Newest iPXE version.

config IPXE_LZ
bool "landing_zone"
help
iPXE with support for TrenchBoot's Landing Zone.

endchoice

config PXE_ROM_FILE
Expand Down
5 changes: 5 additions & 0 deletions payloads/external/iPXE/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,15 @@ STABLE_COMMIT_ID=ebf2eaf515e46abd43bc798e7e4ba77bfe529218

TAG-$(CONFIG_IPXE_MASTER)=origin/master
TAG-$(CONFIG_IPXE_STABLE)=$(STABLE_COMMIT_ID)
TAG-$(CONFIG_IPXE_LZ)=origin/landing_zone

project_name=iPXE
project_dir=ipxe
ifeq ($(CONFIG_IPXE_LZ),y)
project_git_repo=https://github.com/3mdeb/ipxe.git
else
project_git_repo=https://git.ipxe.org/ipxe.git
endif

unexport KCONFIG_AUTOHEADER
unexport KCONFIG_AUTOCONFIG
Expand Down