Debian Codegraph @

payloads/external/iPXE/Kconfig

raw
1 ## SPDX-License-Identifier: GPL-2.0-only
2
3 config PXE
4 prompt "Add a PXE ROM"
5 def_bool n
6 depends on ARCH_X86
7
8 if PXE
9 menu "PXE Options"
10
11 choice
12 prompt "PXE ROM to use"
13 default PXE_ROM
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
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"
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.
49
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
71 config IPXE_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
80 config IPXE_NO_PROMPT
81 bool "Do not show prompt to boot from PXE"
82 default n
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 IPXE_ADD_SCRIPT
88 bool "Embed an iPXE script for automated provisioning"
89 default n
90 help
91 Enable to embed a script that is run instead of an iPXE shell.
92
93 config IPXE_SCRIPT
94 string "Embedded iPXE script path and filename"
95 depends on IPXE_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
104 config IPXE_HAS_HTTPS
105 bool "Enable HTTPS protocol"
106 default y
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
111 config IPXE_TRUST_CMD
112 bool "Enable TRUST commands"
113 default y
114 help
115 Enable imgverify and imgtrust commands, which allow you to verify
116 digital signature of file prior loading it, and restrict to loading
117 trusted files only.
118
119 endif # BUILD_IPXE
120
121 endmenu
122
123 endif # PXE