Martin Roth | 21c0650 | 2016-02-04 19:52:27 -0700 | [diff] [blame] | 1 | menu "Payload" |
| 2 | |
| 3 | choice |
| 4 | prompt "Add a payload" |
| 5 | default PAYLOAD_NONE if !ARCH_X86 |
| 6 | default PAYLOAD_SEABIOS if ARCH_X86 |
| 7 | |
| 8 | config PAYLOAD_NONE |
| 9 | bool "None" |
| 10 | help |
| 11 | Select this option if you want to create an "empty" coreboot |
| 12 | ROM image for a certain mainboard, i.e. a coreboot ROM image |
| 13 | which does not yet contain a payload. |
| 14 | |
| 15 | For such an image to be useful, you have to use 'cbfstool' |
| 16 | to add a payload to the ROM image later. |
| 17 | |
| 18 | config PAYLOAD_ELF |
| 19 | bool "An ELF executable payload" |
| 20 | help |
| 21 | Select this option if you have a payload image (an ELF file) |
| 22 | which coreboot should run as soon as the basic hardware |
| 23 | initialization is completed. |
| 24 | |
| 25 | You will be able to specify the location and file name of the |
| 26 | payload image later. |
| 27 | |
Antonello Dettori | 3d60932 | 2016-07-25 14:23:46 +0200 | [diff] [blame^] | 28 | config PAYLOAD_BAYOU |
| 29 | bool "Bayou" |
| 30 | help |
| 31 | Select this option if you want to set bayou as your primary |
| 32 | payload. |
| 33 | |
Martin Roth | 21c0650 | 2016-02-04 19:52:27 -0700 | [diff] [blame] | 34 | source "payloads/external/*/Kconfig.name" |
| 35 | |
| 36 | endchoice |
| 37 | |
| 38 | source "payloads/external/*/Kconfig" |
| 39 | |
Antonello Dettori | 3d60932 | 2016-07-25 14:23:46 +0200 | [diff] [blame^] | 40 | source "payloads/bayou/Kconfig" |
| 41 | |
Martin Roth | 21c0650 | 2016-02-04 19:52:27 -0700 | [diff] [blame] | 42 | config PAYLOAD_FILE |
| 43 | string "Payload path and filename" |
| 44 | depends on PAYLOAD_ELF |
| 45 | default "payload.elf" |
| 46 | help |
| 47 | The path and filename of the ELF executable file to use as payload. |
| 48 | |
| 49 | # TODO: Defined if no payload? Breaks build? |
| 50 | config COMPRESSED_PAYLOAD_LZMA |
| 51 | bool "Use LZMA compression for payloads" |
| 52 | default y |
| 53 | depends on !PAYLOAD_NONE && !PAYLOAD_LINUX |
| 54 | help |
| 55 | In order to reduce the size payloads take up in the ROM chip |
| 56 | coreboot can compress them using the LZMA algorithm. |
| 57 | |
Martin Roth | dbae4d0 | 2015-12-11 12:24:33 -0700 | [diff] [blame] | 58 | config PAYLOAD_OPTIONS |
| 59 | string |
| 60 | default "" |
| 61 | help |
| 62 | Additional cbfstool options for the payload |
| 63 | |
| 64 | config PAYLOAD_IS_FLAT_BINARY |
| 65 | def_bool n |
| 66 | help |
| 67 | Add the payload to cbfs as a flat binary type instead of as an |
| 68 | elf payload |
| 69 | |
Martin Roth | 5ad9aca | 2016-03-07 19:21:45 -0700 | [diff] [blame] | 70 | menu "Secondary Payloads" |
| 71 | |
Martin Roth | 4351ace | 2016-02-16 19:40:47 -0700 | [diff] [blame] | 72 | config COREINFO_SECONDARY_PAYLOAD |
| 73 | bool "Load coreinfo as a secondary payload" |
| 74 | default n |
| 75 | depends on ARCH_X86 |
| 76 | help |
| 77 | coreinfo can be loaded as a secondary payload under SeaBIOS, GRUB, |
| 78 | or any other payload that can load additional payloads. |
Martin Roth | 21c0650 | 2016-02-04 19:52:27 -0700 | [diff] [blame] | 79 | |
Martin Roth | be63a24 | 2016-02-28 15:56:27 -0800 | [diff] [blame] | 80 | config MEMTEST_SECONDARY_PAYLOAD |
| 81 | bool "Load Memtest86+ as a secondary payload" |
| 82 | default n |
Martin Roth | 5ad9aca | 2016-03-07 19:21:45 -0700 | [diff] [blame] | 83 | depends on ARCH_X86 |
Martin Roth | be63a24 | 2016-02-28 15:56:27 -0800 | [diff] [blame] | 84 | help |
| 85 | Memtest86+ can be loaded as a secondary payload under SeaBIOS, GRUB, |
| 86 | or any other payload that can load additional payloads. |
| 87 | |
Martin Roth | 4005d9b | 2016-04-26 09:51:41 -0600 | [diff] [blame] | 88 | choice |
| 89 | prompt "Memtest86+ version" |
| 90 | default MEMTEST_STABLE |
| 91 | depends on MEMTEST_SECONDARY_PAYLOAD |
| 92 | |
| 93 | config MEMTEST_STABLE |
| 94 | bool "Stable" |
| 95 | help |
| 96 | Stable Memtest86+ version. |
| 97 | |
| 98 | For reproducible builds, this option must be selected. |
| 99 | config MEMTEST_MASTER |
| 100 | bool "Master" |
| 101 | help |
| 102 | Newest Memtest86+ version. |
| 103 | |
| 104 | This option will fetch the newest version of the Memtest86+ code, |
| 105 | updating as new changes are committed. This makes the build |
| 106 | non-reproducible, as it can fetch different code each time. |
| 107 | endchoice |
| 108 | |
Iru Cai | 736aa74 | 2016-04-15 15:48:14 +0800 | [diff] [blame] | 109 | config NVRAMCUI_SECONDARY_PAYLOAD |
| 110 | bool "Load nvramcui as a secondary payload" |
| 111 | default n |
| 112 | depends on ARCH_X86 |
| 113 | help |
| 114 | nvramcui can be loaded as a secondary payload under SeaBIOS, GRUB, |
| 115 | or any other payload that can load additional payloads. |
| 116 | |
Antonello Dettori | 4f7d329 | 2016-05-27 23:44:47 +0200 | [diff] [blame] | 117 | config TINT_SECONDARY_PAYLOAD |
| 118 | bool "Load tint as a secondary payload" |
| 119 | default n |
| 120 | depends on ARCH_X86 |
| 121 | help |
| 122 | tint can be loaded as a secondary payload under SeaBIOS, GRUB, |
| 123 | or any other payload that can load additional payloads. |
| 124 | |
Martin Roth | 5ad9aca | 2016-03-07 19:21:45 -0700 | [diff] [blame] | 125 | endmenu # "Secondary Payloads" |
Martin Roth | 4351ace | 2016-02-16 19:40:47 -0700 | [diff] [blame] | 126 | endmenu |