Add Kconfig options for Linux as payload
These allow to define a kernel image, initrd and command line. Change-Id: I40155b812728a176b6d15871e1e6c96e4ad693c8 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/3893 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
This commit is contained in:
31
src/Kconfig
31
src/Kconfig
@@ -539,6 +539,16 @@ config PAYLOAD_ELF
|
||||
You will be able to specify the location and file name of the
|
||||
payload image later.
|
||||
|
||||
config PAYLOAD_LINUX
|
||||
bool "A Linux payload"
|
||||
help
|
||||
Select this option if you have a Linux bzImage 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.
|
||||
|
||||
config PAYLOAD_SEABIOS
|
||||
bool "SeaBIOS"
|
||||
depends on ARCH_X86
|
||||
@@ -616,6 +626,13 @@ config PAYLOAD_FILE
|
||||
help
|
||||
The path and filename of the ELF executable file to use as payload.
|
||||
|
||||
config PAYLOAD_FILE
|
||||
string "Linux path and filename"
|
||||
depends on PAYLOAD_LINUX
|
||||
default "bzImage"
|
||||
help
|
||||
The path and filename of the bzImage kernel to use as payload.
|
||||
|
||||
config PAYLOAD_FILE
|
||||
depends on PAYLOAD_SEABIOS
|
||||
default "$(obj)/seabios/out/bios.bin.elf"
|
||||
@@ -640,6 +657,20 @@ config COMPRESSED_PAYLOAD_LZMA
|
||||
In order to reduce the size payloads take up in the ROM chip
|
||||
coreboot can compress them using the LZMA algorithm.
|
||||
|
||||
config LINUX_COMMAND_LINE
|
||||
string "Linux command line"
|
||||
depends on PAYLOAD_LINUX
|
||||
default ""
|
||||
help
|
||||
A command line to add to the Linux kernel.
|
||||
|
||||
config LINUX_INITRD
|
||||
string "Linux initrd"
|
||||
depends on PAYLOAD_LINUX
|
||||
default ""
|
||||
help
|
||||
An initrd image to add to the Linux kernel.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Debugging"
|
||||
|
Reference in New Issue
Block a user