1 ## SPDX-License-Identifier: GPL-2.0-only
3 config PAYLOAD_BUILD_GRUB2
9 default "payloads/external/GRUB2/grub2/build/default_payload.elf"
13 if PAYLOAD_BUILD_GRUB2
16 prompt "GRUB2 version"
32 Select this option if you have a specific commit or branch
33 that you want to use as the revision from which to
36 You will be able to specify the name of a branch or a commit id
40 config GRUB2_REVISION_ID
41 string "Insert a commit's SHA-1 or a branch name"
42 depends on GRUB2_REVISION
43 default "origin/master"
45 The commit's SHA-1 or branch name of the revision to use.
47 config GRUB2_EXTRA_MODULES
48 string "Extra modules to include in GRUB image"
50 Space-separated list of additional modules to include. Few common
53 * png/jpg for PNG/JPG images
54 * gfxmenu for graphical menus (you'll need a theme as well)
55 * gfxterm_background for setting background
57 config GRUB2_INCLUDE_RUNTIME_CONFIG_FILE
58 bool "Include GRUB2 runtime config file into ROM image"
59 depends on PAYLOAD_BUILD_GRUB2
62 The GRUB2 payload reads its runtime configuration file from etc/grub.cfg
63 stored in the CBFS on the flash ROM chip. Without that, it’ll just drop
66 This configuration may need to be coreboot specific.
68 Select this option, if you want to include the GRUB2 runtime
69 configuration file into CBFS as `etc/grub.cfg` automatically.
71 You will be able to specify the path of the configuration file later.
73 Without this option you would need to add this file manually with
74 build/cbfstool build/coreboot.rom add -f grub.cfg -n etc/grub.cfg -t raw
76 config GRUB2_RUNTIME_CONFIG_FILE
77 string "Path of grub.cfg"
78 depends on GRUB2_INCLUDE_RUNTIME_CONFIG_FILE
81 The path of the GRUB2 runtime configuration file to be added to CBFS.
88 default "payloads/external/SeaBIOS/seabios/out/bios.bin.elf"
90 config SEABIOS_BOOTORDER_FILE
91 default "payloads/external/GRUB2/bootorder-seagrub"
93 config SEAGRUB_ALLOW_SEABIOS_BOOTMENU
94 bool "Allow to access SeaBIOS boot menu before launching GRUB"
96 Enable this to allow the access to the boot menu of SeaBIOS. It
97 increases the flexibility but allows to entirely bypass GRUB, along
98 with all secure mechanism implemented in its runtime config.
99 Please use this with caution.