Patrick Georgi | 8480c0b | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 2 | |
Martin Roth | e51e104 | 2016-07-06 15:05:19 -0600 | [diff] [blame] | 3 | config PXE |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 4 | prompt "Add a PXE ROM" |
Martin Roth | e51e104 | 2016-07-06 15:05:19 -0600 | [diff] [blame] | 5 | def_bool n |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 6 | depends on ARCH_X86 |
Martin Roth | e51e104 | 2016-07-06 15:05:19 -0600 | [diff] [blame] | 7 | |
| 8 | if PXE |
| 9 | menu "PXE Options" |
| 10 | |
| 11 | choice |
| 12 | prompt "PXE ROM to use" |
| 13 | default PXE_ROM |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 14 | |
| 15 | config PXE_ROM |
| 16 | bool "Add an existing PXE ROM image" |
| 17 | help |
| 18 | Select this option if you have a PXE ROM image that you would |
| 19 | like to add to your ROM. |
| 20 | |
| 21 | config BUILD_IPXE |
| 22 | bool "Build and add an iPXE ROM" |
| 23 | help |
| 24 | Select this option to fetch and build a ROM from the iPXE project. |
| 25 | |
| 26 | endchoice |
| 27 | |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 28 | config PXE_ROM_FILE |
| 29 | string "PXE ROM filename" |
| 30 | depends on PXE_ROM |
| 31 | default "pxe.rom" |
| 32 | help |
| 33 | The path and filename of the file to use as PXE ROM. |
| 34 | |
| 35 | config PXE_ROM_ID |
| 36 | string "network card PCI IDs" |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 37 | default "10ec,8168" |
| 38 | help |
| 39 | The comma-separated PCI vendor and device ID that would associate |
| 40 | your PXE ROM to your network card. |
| 41 | |
| 42 | Example: 10ec,8168 |
| 43 | |
| 44 | In the above example 10ec is the PCI vendor ID (in hex, but without |
| 45 | the "0x" prefix) and 8168 specifies the PCI device ID of the |
| 46 | network card (also in hex, without "0x" prefix). |
| 47 | |
| 48 | Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices. |
Martin Roth | e51e104 | 2016-07-06 15:05:19 -0600 | [diff] [blame] | 49 | |
Felix Singer | 596c6f3 | 2023-11-05 01:56:07 +0000 | [diff] [blame^] | 50 | if BUILD_IPXE |
| 51 | |
| 52 | choice |
| 53 | prompt "iPXE version" |
| 54 | default IPXE_STABLE |
| 55 | |
| 56 | config IPXE_STABLE |
| 57 | bool "2022.1" |
| 58 | help |
| 59 | iPXE uses a rolling release with no stable version, for |
| 60 | reproducibility, use the last commit of a given month as the |
| 61 | 'stable' version. |
| 62 | This is iPXE from the end of January, 2022. |
| 63 | |
| 64 | config IPXE_MASTER |
| 65 | bool "master" |
| 66 | help |
| 67 | Newest iPXE version. |
| 68 | |
| 69 | endchoice |
| 70 | |
Michał Żygowski | 9839eff | 2018-06-26 13:12:49 +0200 | [diff] [blame] | 71 | config PXE_SERIAL_CONSOLE |
| 72 | bool "Enable iPXE serial console" |
| 73 | def_bool y |
| 74 | help |
| 75 | Enable/disable iPXE serial console. Since SeaBIOS supports serial |
| 76 | console this option might be helpful to avoid duplicated output. |
| 77 | |
| 78 | Unselect to let only SeaBIOS handle printing output. |
| 79 | |
Angel Pons | fa27686 | 2020-05-28 23:40:24 +0200 | [diff] [blame] | 80 | config PXE_NO_PROMPT |
Patrick Rudolph | 23cb12b | 2017-07-25 19:36:25 +0200 | [diff] [blame] | 81 | bool "Do not show prompt to boot from PXE" |
| 82 | default n |
Patrick Rudolph | 23cb12b | 2017-07-25 19:36:25 +0200 | [diff] [blame] | 83 | help |
| 84 | Don't wait for the user to press Ctrl-B. |
| 85 | The PXE still can be run as it shows up in SeaBIOS's payload list. |
| 86 | |
| 87 | config PXE_ADD_SCRIPT |
| 88 | bool "Embed an iPXE script for automated provisioning" |
Patrick Rudolph | 23cb12b | 2017-07-25 19:36:25 +0200 | [diff] [blame] | 89 | default n |
| 90 | help |
| 91 | Enable to embed a script that is run instead of an iPXE shell. |
| 92 | |
| 93 | config PXE_SCRIPT |
| 94 | string "Embedded iPXE script path and filename" |
| 95 | depends on PXE_ADD_SCRIPT |
| 96 | default "" |
| 97 | help |
| 98 | Path to a script that is embedded into the iPXE binary. |
| 99 | Example: startup.ipxe |
| 100 | |
| 101 | Uses the ipxe script instead showing the prompt: |
| 102 | "Press Ctrl-B to start iPXE..." |
| 103 | |
Felix Singer | c7f4736 | 2019-01-25 03:44:20 +0100 | [diff] [blame] | 104 | config PXE_HAS_HTTPS |
| 105 | bool "Enable HTTPS protocol" |
| 106 | default y |
Felix Singer | c7f4736 | 2019-01-25 03:44:20 +0100 | [diff] [blame] | 107 | help |
| 108 | Enable HTTPS protocol, which allows you to encrypt all communication |
| 109 | with a web server and to verify the server's identity |
| 110 | |
Felix Singer | 596c6f3 | 2023-11-05 01:56:07 +0000 | [diff] [blame^] | 111 | endif # BUILD_IPXE |
Martin Roth | e51e104 | 2016-07-06 15:05:19 -0600 | [diff] [blame] | 112 | endmenu |
Felix Singer | 596c6f3 | 2023-11-05 01:56:07 +0000 | [diff] [blame^] | 113 | |
| 114 | endif # PXE |