iPxe
This commit is contained in:
parent
34de290431
commit
bec9fb1bf1
4 changed files with 92 additions and 0 deletions
BIN
iPXE/IPXE.pdf
Normal file
BIN
iPXE/IPXE.pdf
Normal file
Binary file not shown.
47
iPXE/README.md
Normal file
47
iPXE/README.md
Normal file
|
@ -0,0 +1,47 @@
|
|||
First find ethernet using:
|
||||
|
||||
```
|
||||
lspci
|
||||
```
|
||||
|
||||
mine is:
|
||||
|
||||
```
|
||||
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
|
||||
```
|
||||
|
||||
then:
|
||||
|
||||
```
|
||||
lspci -s 00:19.0 -nnn
|
||||
```
|
||||
|
||||
mine is:
|
||||
|
||||
```
|
||||
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) [8086:1502] (rev 04)
|
||||
```
|
||||
|
||||
After that,
|
||||
|
||||
```
|
||||
git clone git://git.ipxe.org/ipxe.git
|
||||
```
|
||||
|
||||
copy general.h to ipxe/src/config/local/ ,
|
||||
|
||||
copy netboot.ipxe to ipxe/src/ and
|
||||
|
||||
then build the ipxe rom; in my case:
|
||||
|
||||
```
|
||||
sudo make clean; sudo make -j3 bin/80861502.rom EMBED=./netboot.ipxe
|
||||
```
|
||||
|
||||
after compile add the ipxe rom to your coreboot rom this way:
|
||||
|
||||
```
|
||||
sudo cbfstool coreboot.rom add -f 80861502.rom -n pci8086.1502.rom -t raw
|
||||
```
|
||||
|
||||
Flash the new coreboot rom and enjoy.
|
36
iPXE/general.h
Normal file
36
iPXE/general.h
Normal file
|
@ -0,0 +1,36 @@
|
|||
#undef PXE_STACK /* PXE stack in iPXE - you want this! */
|
||||
#undef PXE_MENU /* PXE menu booting */
|
||||
#undef DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
|
||||
#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
|
||||
#undef SANBOOT_PROTO_AOE /* AoE protocol */
|
||||
#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
|
||||
#undef SANBOOT_PROTO_FCP /* Fibre Channel protocol */
|
||||
#undef CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
|
||||
#undef CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */
|
||||
#undef CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */
|
||||
#undef IMAGE_NBI /* NBI image support */
|
||||
#undef IMAGE_ELF /* ELF image support */
|
||||
#undef IMAGE_MULTIBOOT /* MultiBoot image support */
|
||||
#undef IMAGE_PXE /* PXE image support */
|
||||
#define IMAGE_SCRIPT /* iPXE script image support */
|
||||
#define IMAGE_BZIMAGE /* Linux bzImage image support */
|
||||
#undef IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
|
||||
#undef IMAGE_EFI /* EFI image support */
|
||||
#undef IMAGE_SDI /* SDI image support */
|
||||
#undef NVO_CMD /* Non-volatile option storage commands */
|
||||
#define CONFIG_CMD /* Option configuration console */
|
||||
#undef FCMGMT_CMD /* Fibre Channel management commands */
|
||||
#undef ROUTE_CMD /* Routing table management commands */
|
||||
#define IMAGE_CMD /* Image management commands */
|
||||
#undef SANBOOT_CMD /* SAN boot commands */
|
||||
#undef MENU_CMD /* Menu commands */
|
||||
#undef LOGIN_CMD /* Login command */
|
||||
#undef SYNC_CMD /* Sync command */
|
||||
#undef NSLOOKUP_CMD /* DNS resolving command */
|
||||
#undef TIME_CMD /* Time commands */
|
||||
#undef DIGEST_CMD /* Image crypto digest commands */
|
||||
#undef LOTEST_CMD /* Loopback testing commands */
|
||||
#undef VLAN_CMD /* VLAN commands */
|
||||
#undef PXE_CMD /* PXE commands */
|
||||
#undef REBOOT_CMD /* Reboot command */
|
||||
#undef IMAGE_TRUST_CMD /* Image trust management commands */
|
9
iPXE/netboot.ipxe
Normal file
9
iPXE/netboot.ipxe
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!ipxe
|
||||
prompt --key 0x02 --timeout 5000 Press Ctrl-B for the iPXE command line... || goto netboot
|
||||
dhcp
|
||||
console --x 1024 --y 768 --picture http://boot.ipxe.org/ipxe.png --keep
|
||||
shell
|
||||
|
||||
:netboot
|
||||
dhcp
|
||||
chain --autofree http://boot.netboot.xyz/ipxe/netboot.xyz.lkrn
|
Loading…
Add table
Add a link
Reference in a new issue