2015-07-01 00:58:56 +02:00
|
|
|
if PAYLOAD_TIANOCORE
|
|
|
|
|
|
|
|
config PAYLOAD_FILE
|
2016-06-03 00:42:29 +02:00
|
|
|
string "Tianocore binary"
|
2022-02-04 08:41:16 +01:00
|
|
|
default "$(obj)/UEFIPAYLOAD.fd"
|
2015-07-01 00:58:56 +02:00
|
|
|
help
|
2021-05-10 18:02:13 +02:00
|
|
|
The result of a UefiPayloadPkg build
|
2015-07-01 00:58:56 +02:00
|
|
|
|
2016-06-03 00:42:29 +02:00
|
|
|
choice
|
2019-07-20 07:06:03 +02:00
|
|
|
prompt "Tianocore payload"
|
2021-05-10 18:02:13 +02:00
|
|
|
default TIANOCORE_UEFIPAYLOAD
|
2016-06-03 00:42:29 +02:00
|
|
|
help
|
2021-05-10 18:02:13 +02:00
|
|
|
Select which type of payload Tianocore will build (default is UefiPayload)
|
|
|
|
UefiPayload: MrChromebox's customized fork of Tianocore which works on most
|
|
|
|
x86_64 devices
|
|
|
|
Upstream: Use upstream Tianocore payload from https://github.com/tianocore/edk2
|
2021-10-28 23:46:17 +02:00
|
|
|
CorebootPayload: MrChromebox's customized fork of the deprecated CorebootPayloadPkg
|
|
|
|
Tianocore build target. It may work better on some older hardware (eg, x230)
|
|
|
|
which does not work properly with the UefiPayloadPkg options.
|
2016-06-03 00:42:29 +02:00
|
|
|
|
2019-07-20 07:06:03 +02:00
|
|
|
config TIANOCORE_UEFIPAYLOAD
|
|
|
|
bool "UEFIPayload"
|
2021-05-10 18:02:13 +02:00
|
|
|
help
|
|
|
|
Select this option to build using MrChromebox's custom Tianocore fork,
|
|
|
|
which incorporates fixes/improvements from System 76's and 9elements' trees.
|
|
|
|
|
|
|
|
config TIANOCORE_UPSTREAM
|
|
|
|
bool "Upstream"
|
2016-06-03 00:42:29 +02:00
|
|
|
help
|
2019-07-20 07:06:03 +02:00
|
|
|
Select this option if you want to use upstream EDK2 to build Tianocore.
|
2016-06-03 00:42:29 +02:00
|
|
|
|
2021-10-28 23:46:17 +02:00
|
|
|
config TIANOCORE_COREBOOTPAYLOAD
|
|
|
|
bool "CorebootPayload"
|
|
|
|
help
|
|
|
|
Select this option to build using MrChromebox's older (now deprecated)
|
|
|
|
CorebootPayloadPkg-based Tianocore branch
|
|
|
|
|
2022-02-04 08:41:16 +01:00
|
|
|
config TIANOCORE_CUSTOM
|
|
|
|
bool "Custom"
|
|
|
|
help
|
|
|
|
Specify your own edk2 repository and branch to use.
|
|
|
|
|
2016-06-03 00:42:29 +02:00
|
|
|
endchoice
|
|
|
|
|
2022-02-04 08:41:16 +01:00
|
|
|
config TIANOCORE_REPOSITORY
|
|
|
|
string "URL to git repository for edk2"
|
|
|
|
default "https://github.com/tianocore/edk2" if TIANOCORE_UPSTREAM
|
|
|
|
default "https://github.com/mrchromebox/edk2" if TIANOCORE_UEFIPAYLOAD || TIANOCORE_COREBOOTPAYLOAD
|
|
|
|
help
|
|
|
|
coreboot supports an array of build options which can be found below. These options
|
|
|
|
will only have an effect if the relevant options exist in the target repository.
|
|
|
|
|
|
|
|
config TIANOCORE_TAG_OR_REV
|
2016-06-03 00:42:29 +02:00
|
|
|
string "Insert a commit's SHA-1 or a branch name"
|
2022-02-04 08:41:16 +01:00
|
|
|
default "origin/uefipayload_202107" if TIANOCORE_UEFIPAYLOAD
|
|
|
|
default "origin/master" if TIANOCORE_UPSTREAM
|
|
|
|
default "origin/coreboot_fb" if TIANOCORE_COREBOOTPAYLOAD
|
2016-06-03 00:42:29 +02:00
|
|
|
help
|
2022-02-04 08:41:16 +01:00
|
|
|
The commit's SHA-1 or branch name of the revision to use. This must exist in
|
|
|
|
TIANOCORE_REPOSITORY, and in the case of a branch name, prefixed with origin i.e.
|
|
|
|
"origin/uefipayload_202202"
|
2016-06-03 00:42:29 +02:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Tianocore build"
|
|
|
|
default TIANOCORE_RELEASE
|
|
|
|
help
|
|
|
|
Select whether to generate a debug or release build for
|
|
|
|
Tianocore; default is to generate a release build.
|
|
|
|
|
|
|
|
config TIANOCORE_DEBUG
|
|
|
|
bool "Generate Tianocore debug build"
|
|
|
|
help
|
|
|
|
Generate a debug build.
|
|
|
|
|
|
|
|
config TIANOCORE_RELEASE
|
|
|
|
bool "Generate Tianocore release build"
|
|
|
|
help
|
|
|
|
Generate a release build.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2022-06-08 16:01:20 +02:00
|
|
|
if TIANOCORE_UEFIPAYLOAD || TIANOCORE_CUSTOM || TIANOCORE_UPSTREAM
|
2021-06-02 22:19:38 +02:00
|
|
|
|
2022-02-04 08:41:16 +01:00
|
|
|
config TIANOCORE_ABOVE_4G_MEMORY
|
|
|
|
bool "Enable above 4G memory"
|
|
|
|
default n
|
2021-06-02 22:19:38 +02:00
|
|
|
help
|
2022-02-04 08:41:16 +01:00
|
|
|
Select this option to enable Above 4G Decode. This will allow the
|
|
|
|
payload to use all of the memory, rather than an maximum of 4G.
|
|
|
|
|
|
|
|
Disabling memory above 4G is useful for bootloaders that are not
|
|
|
|
fully 64-bit aware such as Qubes R4.0.4 bootloader.
|
2021-06-02 22:19:38 +02:00
|
|
|
|
2019-02-22 05:41:59 +01:00
|
|
|
|
|
|
|
config TIANOCORE_BOOTSPLASH_FILE
|
|
|
|
string "Tianocore Bootsplash path and filename"
|
|
|
|
default "bootsplash.bmp"
|
|
|
|
help
|
2022-02-04 08:41:16 +01:00
|
|
|
Select this option if you have a bootsplash image that you would
|
|
|
|
like to be used. If this option is not selected, the default
|
|
|
|
coreboot logo (European Brown Hare) will used.
|
|
|
|
|
2019-02-22 05:41:59 +01:00
|
|
|
The path and filename of the file to use as graphical bootsplash
|
2022-02-04 08:41:16 +01:00
|
|
|
image. The file must be an uncompressed BMP, in BMP 3 format.
|
|
|
|
|
|
|
|
Linux can create these with the below command:
|
|
|
|
`convert splosh.bmp BMP3:splash.bmp`
|
2021-01-08 06:37:40 +01:00
|
|
|
|
|
|
|
This image will also be used as the BGRT boot image, which may
|
2022-02-04 08:41:16 +01:00
|
|
|
persist through your OS boot process.
|
2021-01-08 06:37:40 +01:00
|
|
|
|
|
|
|
See ACPI spec 6.3, 5.2.22 Boot Graphics Resource Table (BGRT), and
|
|
|
|
Microsoft's documentation on BGRT positioning:
|
|
|
|
Docs/Windows/Windows Drivers/Bring up guide/Boot screen components
|
|
|
|
|
|
|
|
Accordingly, the image used should be no taller/wider than 40% of
|
|
|
|
the display panel's native pixel height/width (or resolution set).
|
2019-02-22 05:41:59 +01:00
|
|
|
|
|
|
|
If an absolute path is not given, the path will assumed to be
|
|
|
|
relative to the coreboot root directory.
|
|
|
|
|
2022-02-09 09:25:39 +01:00
|
|
|
config TIANOCORE_BOOT_MANAGER_ESCAPE
|
|
|
|
bool "Use Escape key for Boot Manager"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Use Escape as the hot-key to access the Boot Manager. This replaces
|
|
|
|
the default key of F2.
|
|
|
|
|
2022-02-04 08:41:16 +01:00
|
|
|
config TIANOCORE_BOOT_TIMEOUT
|
2022-03-03 09:05:12 +01:00
|
|
|
int "Set the timeout for boot menu prompt"
|
2022-02-04 08:41:16 +01:00
|
|
|
default 2
|
2021-07-12 20:35:51 +02:00
|
|
|
help
|
2022-02-04 08:41:16 +01:00
|
|
|
The length of time in seconds for which the boot splash/menu prompt will be displayed.
|
|
|
|
For boards with an internal display, the default value of 2s is generally sufficient.
|
|
|
|
For boards with an external display, a value of 5s is generally sufficient.
|
2021-07-12 20:35:51 +02:00
|
|
|
|
2022-02-04 08:41:16 +01:00
|
|
|
config TIANOCORE_CBMEM_LOGGING
|
|
|
|
bool "Enable Tianocore logging to CBMEM"
|
|
|
|
help
|
|
|
|
Select this option if you want to enable Tianocore logging to CBMEM.
|
|
|
|
You may want to increase the default cbmem buffer size when selecting
|
|
|
|
this option, especially if using a debug (vs release) build.
|
|
|
|
Selecting this option will increase the payload size in CBFS by 0x10000.
|
2021-07-12 20:35:51 +02:00
|
|
|
|
2022-02-09 09:27:29 +01:00
|
|
|
config TIANOCORE_FOLLOW_BGRT_SPEC
|
|
|
|
bool "Center logo 38.2% from the top of screen"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Follow the BGRT Specification implemented by Microsoft and
|
2022-02-09 09:30:07 +01:00
|
|
|
the Boot Logo 38.2% will be vertically centered 38.2% from
|
|
|
|
the top of the display.
|
|
|
|
|
|
|
|
config TIANOCORE_HAVE_EFI_SHELL
|
|
|
|
bool "Include EFI Shell"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include the EFI shell Binary
|
2022-02-09 09:27:29 +01:00
|
|
|
|
2022-02-10 10:21:50 +01:00
|
|
|
config TIANOCORE_PRIORITIZE_INTERNAL
|
|
|
|
bool "Prioritize internal boot devices"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Prioritize internal boot devices over external devices
|
|
|
|
|
2022-02-09 09:31:24 +01:00
|
|
|
config TIANOCORE_PS2_SUPPORT
|
|
|
|
bool "Support PS/2 Keyboards"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include support for PS/2 keyboards
|
|
|
|
|
2022-02-13 22:19:19 +01:00
|
|
|
config TIANOCORE_SD_MMC_TIMEOUT
|
|
|
|
int "Timeout in μs for initializing SD Card reader"
|
|
|
|
default 1000
|
|
|
|
help
|
|
|
|
The amount of time allowed to initialize the SD Card reader and/or eMMC drive.
|
|
|
|
Most only require 1000μs, but certain readers can take 1000000μs.
|
|
|
|
|
2021-06-02 22:24:00 +02:00
|
|
|
endif
|
|
|
|
|
2021-10-28 23:46:17 +02:00
|
|
|
if TIANOCORE_COREBOOTPAYLOAD
|
|
|
|
|
|
|
|
config TIANOCORE_USE_8254_TIMER
|
|
|
|
bool "TianoCore 8254 Timer"
|
|
|
|
help
|
|
|
|
Use 8254 Timer for legacy support.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2022-02-23 16:55:24 +01:00
|
|
|
if TIANOCORE_CUSTOM
|
|
|
|
|
|
|
|
config TIANOCORE_CUSTOM_BUILD_PARAMS
|
|
|
|
string "TianoCore additional custom build parameters"
|
|
|
|
help
|
|
|
|
Custom TianoCore forks may have different sets of parameters passed
|
|
|
|
to build command. You may specify additional parameters to the custom
|
|
|
|
TianoCore build
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2015-07-01 00:58:56 +02:00
|
|
|
endif
|