2016-02-05 03:52:27 +01:00
|
|
|
menu "Payload"
|
|
|
|
|
2017-05-20 21:04:15 +02:00
|
|
|
config NO_DEFAULT_PAYLOAD
|
|
|
|
bool
|
|
|
|
|
2016-02-05 03:52:27 +01:00
|
|
|
choice
|
|
|
|
prompt "Add a payload"
|
2017-05-20 21:04:15 +02:00
|
|
|
default PAYLOAD_NONE if NO_DEFAULT_PAYLOAD || !ARCH_X86
|
2016-02-05 03:52:27 +01:00
|
|
|
default PAYLOAD_SEABIOS if ARCH_X86
|
|
|
|
|
|
|
|
config PAYLOAD_NONE
|
|
|
|
bool "None"
|
|
|
|
help
|
|
|
|
Select this option if you want to create an "empty" coreboot
|
|
|
|
ROM image for a certain mainboard, i.e. a coreboot ROM image
|
|
|
|
which does not yet contain a payload.
|
|
|
|
|
|
|
|
For such an image to be useful, you have to use 'cbfstool'
|
|
|
|
to add a payload to the ROM image later.
|
|
|
|
|
|
|
|
config PAYLOAD_ELF
|
|
|
|
bool "An ELF executable payload"
|
|
|
|
help
|
|
|
|
Select this option if you have a payload image (an ELF file)
|
|
|
|
which coreboot should run as soon as the basic hardware
|
|
|
|
initialization is completed.
|
|
|
|
|
|
|
|
You will be able to specify the location and file name of the
|
|
|
|
payload image later.
|
|
|
|
|
2016-07-25 14:23:46 +02:00
|
|
|
config PAYLOAD_BAYOU
|
|
|
|
bool "Bayou"
|
|
|
|
help
|
|
|
|
Select this option if you want to set bayou as your primary
|
|
|
|
payload.
|
|
|
|
|
2016-02-05 03:52:27 +01:00
|
|
|
source "payloads/external/*/Kconfig.name"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
source "payloads/external/*/Kconfig"
|
|
|
|
|
2016-07-25 14:23:46 +02:00
|
|
|
source "payloads/bayou/Kconfig"
|
|
|
|
|
2016-02-05 03:52:27 +01:00
|
|
|
config PAYLOAD_FILE
|
|
|
|
string "Payload path and filename"
|
|
|
|
depends on PAYLOAD_ELF
|
|
|
|
default "payload.elf"
|
|
|
|
help
|
|
|
|
The path and filename of the ELF executable file to use as payload.
|
|
|
|
|
2016-07-23 17:11:44 +02:00
|
|
|
choice
|
|
|
|
prompt "Payload compression algorithm"
|
|
|
|
default COMPRESSED_PAYLOAD_LZ4
|
|
|
|
depends on !PAYLOAD_NONE && !PAYLOAD_LINUX
|
|
|
|
help
|
|
|
|
Choose the compression algorithm for the chosen payloads.
|
|
|
|
You can choose between LZMA and LZ4.
|
|
|
|
|
2016-02-05 03:52:27 +01:00
|
|
|
config COMPRESSED_PAYLOAD_LZMA
|
|
|
|
bool "Use LZMA compression for payloads"
|
|
|
|
help
|
|
|
|
In order to reduce the size payloads take up in the ROM chip
|
|
|
|
coreboot can compress them using the LZMA algorithm.
|
|
|
|
|
2016-07-23 17:11:44 +02:00
|
|
|
config COMPRESSED_PAYLOAD_LZ4
|
|
|
|
bool "Use LZ4 compression for payloads"
|
|
|
|
help
|
|
|
|
In order to reduce the size payloads take up in the ROM chip
|
|
|
|
coreboot can compress them using the LZ4 algorithm.
|
|
|
|
endchoice
|
|
|
|
|
2015-12-11 20:24:33 +01:00
|
|
|
config PAYLOAD_OPTIONS
|
|
|
|
string
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Additional cbfstool options for the payload
|
|
|
|
|
|
|
|
config PAYLOAD_IS_FLAT_BINARY
|
|
|
|
def_bool n
|
|
|
|
help
|
|
|
|
Add the payload to cbfs as a flat binary type instead of as an
|
|
|
|
elf payload
|
|
|
|
|
2016-03-08 03:21:45 +01:00
|
|
|
menu "Secondary Payloads"
|
|
|
|
|
2016-02-17 03:40:47 +01:00
|
|
|
config COREINFO_SECONDARY_PAYLOAD
|
|
|
|
bool "Load coreinfo as a secondary payload"
|
|
|
|
default n
|
|
|
|
depends on ARCH_X86
|
|
|
|
help
|
|
|
|
coreinfo can be loaded as a secondary payload under SeaBIOS, GRUB,
|
|
|
|
or any other payload that can load additional payloads.
|
2016-02-05 03:52:27 +01:00
|
|
|
|
2016-02-29 00:56:27 +01:00
|
|
|
config MEMTEST_SECONDARY_PAYLOAD
|
|
|
|
bool "Load Memtest86+ as a secondary payload"
|
|
|
|
default n
|
2016-03-08 03:21:45 +01:00
|
|
|
depends on ARCH_X86
|
2016-02-29 00:56:27 +01:00
|
|
|
help
|
|
|
|
Memtest86+ can be loaded as a secondary payload under SeaBIOS, GRUB,
|
|
|
|
or any other payload that can load additional payloads.
|
|
|
|
|
2016-04-26 17:51:41 +02:00
|
|
|
choice
|
|
|
|
prompt "Memtest86+ version"
|
|
|
|
default MEMTEST_STABLE
|
|
|
|
depends on MEMTEST_SECONDARY_PAYLOAD
|
|
|
|
|
|
|
|
config MEMTEST_STABLE
|
|
|
|
bool "Stable"
|
|
|
|
help
|
|
|
|
Stable Memtest86+ version.
|
|
|
|
|
|
|
|
For reproducible builds, this option must be selected.
|
|
|
|
config MEMTEST_MASTER
|
|
|
|
bool "Master"
|
|
|
|
help
|
|
|
|
Newest Memtest86+ version.
|
|
|
|
|
|
|
|
This option will fetch the newest version of the Memtest86+ code,
|
|
|
|
updating as new changes are committed. This makes the build
|
|
|
|
non-reproducible, as it can fetch different code each time.
|
|
|
|
endchoice
|
|
|
|
|
2016-04-15 09:48:14 +02:00
|
|
|
config NVRAMCUI_SECONDARY_PAYLOAD
|
|
|
|
bool "Load nvramcui as a secondary payload"
|
|
|
|
default n
|
|
|
|
depends on ARCH_X86
|
|
|
|
help
|
|
|
|
nvramcui can be loaded as a secondary payload under SeaBIOS, GRUB,
|
|
|
|
or any other payload that can load additional payloads.
|
|
|
|
|
2016-05-27 23:44:47 +02:00
|
|
|
config TINT_SECONDARY_PAYLOAD
|
|
|
|
bool "Load tint as a secondary payload"
|
|
|
|
default n
|
|
|
|
depends on ARCH_X86
|
|
|
|
help
|
|
|
|
tint can be loaded as a secondary payload under SeaBIOS, GRUB,
|
|
|
|
or any other payload that can load additional payloads.
|
|
|
|
|
2016-03-08 03:21:45 +01:00
|
|
|
endmenu # "Secondary Payloads"
|
2016-02-17 03:40:47 +01:00
|
|
|
endmenu
|