iPXE
general.h
Go to the documentation of this file.
1 #ifndef CONFIG_GENERAL_H
2 #define CONFIG_GENERAL_H
3 
4 /** @file
5  *
6  * General configuration
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #include <config/defaults.h>
13 
14 /*
15  * Banner timeout configuration
16  *
17  * This controls the timeout for the "Press Ctrl-B for the iPXE
18  * command line" banner displayed when iPXE starts up. The value is
19  * specified in tenths of a second for which the banner should appear.
20  * A value of 0 disables the banner.
21  *
22  * ROM_BANNER_TIMEOUT controls the "Press Ctrl-B to configure iPXE"
23  * banner displayed only by ROM builds of iPXE during POST. This
24  * defaults to being twice the length of BANNER_TIMEOUT, to allow for
25  * BIOSes that switch video modes immediately before calling the
26  * initialisation vector, thus rendering the banner almost invisible
27  * to the user.
28  */
29 #define BANNER_TIMEOUT 20
30 #define ROM_BANNER_TIMEOUT ( 2 * BANNER_TIMEOUT )
31 
32 /*
33  * Network protocols
34  *
35  */
36 
37 #define NET_PROTO_IPV4 /* IPv4 protocol */
38 //#define NET_PROTO_IPV6 /* IPv6 protocol */
39 #undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */
40 #define NET_PROTO_STP /* Spanning Tree protocol */
41 #define NET_PROTO_LACP /* Link Aggregation control protocol */
42 #define NET_PROTO_EAPOL /* EAP over LAN protocol */
43 //#define NET_PROTO_LLDP /* Link Layer Discovery protocol */
44 
45 /*
46  * PXE support
47  *
48  */
49 //#undef PXE_STACK /* PXE stack in iPXE - you want this! */
50 //#undef PXE_MENU /* PXE menu booting */
51 
52 /*
53  * Download protocols
54  *
55  */
56 
57 #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
58 #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
59 #undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
60 #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
61 #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
62 #undef DOWNLOAD_PROTO_NFS /* Network File System Protocol */
63 //#undef DOWNLOAD_PROTO_FILE /* Local filesystem access */
64 
65 /*
66  * SAN boot protocols
67  *
68  */
69 
70 //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
71 //#undef SANBOOT_PROTO_AOE /* AoE protocol */
72 //#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
73 //#undef SANBOOT_PROTO_FCP /* Fibre Channel protocol */
74 //#undef SANBOOT_PROTO_HTTP /* HTTP SAN protocol */
75 
76 /*
77  * HTTP extensions
78  *
79  */
80 #define HTTP_AUTH_BASIC /* Basic authentication */
81 #define HTTP_AUTH_DIGEST /* Digest authentication */
82 //#define HTTP_AUTH_NTLM /* NTLM authentication */
83 //#define HTTP_ENC_PEERDIST /* PeerDist content encoding */
84 //#define HTTP_HACK_GCE /* Google Compute Engine hacks */
85 
86 /*
87  * 802.11 cryptosystems and handshaking protocols
88  *
89  */
90 #define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
91 #define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */
92 #define CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */
93 
94 /*
95  * 802.1x EAP authentication methods
96  *
97  */
98 #define EAP_METHOD_MD5 /* MD5-Challenge port authentication */
99 //#define EAP_METHOD_MSCHAPV2 /* MS-CHAPv2 port authentication */
100 
101 /*
102  * Name resolution modules
103  *
104  */
105 
106 #define DNS_RESOLVER /* DNS resolver */
107 
108 /*
109  * Image types
110  *
111  * Etherboot supports various image formats. Select whichever ones
112  * you want to use.
113  *
114  */
115 //#define IMAGE_NBI /* NBI image support */
116 //#define IMAGE_ELF /* ELF image support */
117 //#define IMAGE_MULTIBOOT /* MultiBoot image support */
118 //#define IMAGE_PXE /* PXE image support */
119 //#define IMAGE_SCRIPT /* iPXE script image support */
120 //#define IMAGE_BZIMAGE /* Linux bzImage image support */
121 //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
122 //#define IMAGE_EFI /* EFI image support */
123 //#define IMAGE_SDI /* SDI image support */
124 //#define IMAGE_PNM /* PNM image support */
125 #define IMAGE_PNG /* PNG image support */
126 #define IMAGE_DER /* DER image support */
127 #define IMAGE_PEM /* PEM image support */
128 //#define IMAGE_ZLIB /* ZLIB image support */
129 //#define IMAGE_GZIP /* GZIP image support */
130 //#define IMAGE_UCODE /* Microcode update image support */
131 
132 /*
133  * Command-line commands to include
134  *
135  */
136 #define AUTOBOOT_CMD /* Automatic booting */
137 #define NVO_CMD /* Non-volatile option storage commands */
138 #define CONFIG_CMD /* Option configuration console */
139 #define IFMGMT_CMD /* Interface management commands */
140 #define IWMGMT_CMD /* Wireless interface management commands */
141 #define IBMGMT_CMD /* Infiniband management commands */
142 #define FCMGMT_CMD /* Fibre Channel management commands */
143 #define ROUTE_CMD /* Routing table management commands */
144 #define IMAGE_CMD /* Image management commands */
145 #define DHCP_CMD /* DHCP management commands */
146 #define SANBOOT_CMD /* SAN boot commands */
147 #define MENU_CMD /* Menu commands */
148 #define LOGIN_CMD /* Login command */
149 #define SYNC_CMD /* Sync command */
150 #define SHELL_CMD /* Shell command */
151 //#define NSLOOKUP_CMD /* DNS resolving command */
152 //#define TIME_CMD /* Time commands */
153 //#define DIGEST_CMD /* Image crypto digest commands */
154 //#define LOTEST_CMD /* Loopback testing commands */
155 //#define VLAN_CMD /* VLAN commands */
156 //#define PXE_CMD /* PXE commands */
157 //#define REBOOT_CMD /* Reboot command */
158 //#define POWEROFF_CMD /* Power off command */
159 //#define IMAGE_TRUST_CMD /* Image trust management commands */
160 //#define PCI_CMD /* PCI commands */
161 //#define PARAM_CMD /* Request parameter commands */
162 //#define NEIGHBOUR_CMD /* Neighbour management commands */
163 //#define PING_CMD /* Ping command */
164 //#define CONSOLE_CMD /* Console command */
165 //#define IPSTAT_CMD /* IP statistics commands */
166 //#define PROFSTAT_CMD /* Profiling commands */
167 //#define NTP_CMD /* NTP commands */
168 //#define CERT_CMD /* Certificate management commands */
169 //#define IMAGE_MEM_CMD /* Read memory command */
170 #define IMAGE_ARCHIVE_CMD /* Archive image management commands */
171 #define SHIM_CMD /* EFI shim command (or dummy command) */
172 
173 /*
174  * ROM-specific options
175  *
176  */
177 #undef NONPNP_HOOK_INT19 /* Hook INT19 on non-PnP BIOSes */
178 #define AUTOBOOT_ROM_FILTER /* Autoboot only devices matching our ROM */
179 
180 /*
181  * Virtual network devices
182  *
183  */
184 #define VNIC_IPOIB /* Infiniband IPoIB virtual NICs */
185 //#define VNIC_XSIGO /* Infiniband Xsigo virtual NICs */
186 
187 /*
188  * Error message tables to include
189  *
190  */
191 #undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */
192 
193 /*
194  * Obscure configuration options
195  *
196  * You probably don't need to touch these.
197  *
198  */
199 
200 #undef BUILD_SERIAL /* Include an automatic build serial
201  * number. Add "bs" to the list of
202  * make targets. For example:
203  * "make bin/rtl8139.dsk bs" */
204 #undef BUILD_ID /* Include a custom build ID string,
205  * e.g "test-foo" */
206 #undef NULL_TRAP /* Attempt to catch NULL function calls */
207 #undef GDBSERIAL /* Remote GDB debugging over serial */
208 #undef GDBUDP /* Remote GDB debugging over UDP
209  * (both may be set) */
210 //#define EFI_DOWNGRADE_UX /* Downgrade UEFI user experience */
211 #define TIVOLI_VMM_WORKAROUND /* Work around the Tivoli VMM's garbling of SSE
212  * registers when iPXE traps to it due to
213  * privileged instructions */
214 
215 #include <config/named.h>
216 #include NAMED_CONFIG(general.h)
217 #include <config/local/general.h>
218 #include LOCAL_NAMED_CONFIG(general.h)
219 
220 #endif /* CONFIG_GENERAL_H */
Named configurations.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)