Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## This program is free software; you can redistribute it and/or modify |
| 5 | ## it under the terms of the GNU General Public License as published by |
| 6 | ## the Free Software Foundation; version 2 of the License. |
| 7 | ## |
| 8 | ## This program is distributed in the hope that it will be useful, |
| 9 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | ## GNU General Public License for more details. |
| 12 | ## |
| 13 | |
Martin Roth | e51e104 | 2016-07-06 15:05:19 -0600 | [diff] [blame] | 14 | config PXE |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 15 | prompt "Add a PXE ROM" |
Martin Roth | e51e104 | 2016-07-06 15:05:19 -0600 | [diff] [blame] | 16 | def_bool n |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 17 | depends on ARCH_X86 |
Martin Roth | e51e104 | 2016-07-06 15:05:19 -0600 | [diff] [blame] | 18 | |
| 19 | if PXE |
| 20 | menu "PXE Options" |
| 21 | |
| 22 | choice |
| 23 | prompt "PXE ROM to use" |
| 24 | default PXE_ROM |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 25 | |
| 26 | config PXE_ROM |
| 27 | bool "Add an existing PXE ROM image" |
| 28 | help |
| 29 | Select this option if you have a PXE ROM image that you would |
| 30 | like to add to your ROM. |
| 31 | |
| 32 | config BUILD_IPXE |
| 33 | bool "Build and add an iPXE ROM" |
| 34 | help |
| 35 | Select this option to fetch and build a ROM from the iPXE project. |
| 36 | |
| 37 | endchoice |
| 38 | |
| 39 | choice |
| 40 | prompt "iPXE version" |
| 41 | default IPXE_STABLE |
| 42 | depends on BUILD_IPXE |
| 43 | |
| 44 | config IPXE_STABLE |
Martin Roth | 994d8b4 | 2016-08-18 18:56:45 -0600 | [diff] [blame] | 45 | bool "2016.7" |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 46 | help |
| 47 | iPXE uses a rolling release with no stable version, for |
| 48 | reproducibility, use the last commit of a given month as the |
| 49 | 'stable' version. |
Martin Roth | 994d8b4 | 2016-08-18 18:56:45 -0600 | [diff] [blame] | 50 | This is iPXE from the end of July, 2016. |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 51 | |
| 52 | config IPXE_MASTER |
| 53 | bool "master" |
| 54 | help |
| 55 | Newest iPXE version. |
| 56 | |
| 57 | endchoice |
| 58 | |
| 59 | config PXE_ROM_FILE |
| 60 | string "PXE ROM filename" |
| 61 | depends on PXE_ROM |
| 62 | default "pxe.rom" |
| 63 | help |
| 64 | The path and filename of the file to use as PXE ROM. |
| 65 | |
| 66 | config PXE_ROM_ID |
| 67 | string "network card PCI IDs" |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 68 | default "10ec,8168" |
| 69 | help |
| 70 | The comma-separated PCI vendor and device ID that would associate |
| 71 | your PXE ROM to your network card. |
| 72 | |
| 73 | Example: 10ec,8168 |
| 74 | |
| 75 | In the above example 10ec is the PCI vendor ID (in hex, but without |
| 76 | the "0x" prefix) and 8168 specifies the PCI device ID of the |
| 77 | network card (also in hex, without "0x" prefix). |
| 78 | |
| 79 | 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] | 80 | |
| 81 | endmenu |
| 82 | endif |