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