Burning iPXE into Intel network adapters

Intel provides a utility called BootUtil.exe which allows you to update the expansion ROM images on many Intel network adapters.

Preparing the tools

A USB key

Download and save the two files:

  • A FreeDOS boot disk image, dosboot.img
  • Intel's BootUtil.exe ROM-burning tool, available as part of PREBOOT.EXE

Copy your iPXE ROM image to the FreeDOS boot disk:

  mcopy -i dosboot.img bin/808610de.rom ::

where bin/808610de.rom is the iPXE ROM image that you have built.

Unpack PREBOOT.EXE and copy BootUtil.exe to the FreeDOS boot disk. PREBOOT.EXE is a Windows application; if you don't have a Windows installation available then you should be able to extract the files using cabextract:

  cabextract -d preboot PREBOOT.EXE
  mcopy -i dosboot.img preboot/APPS/BootUtil/DOS/BootUtil.exe ::

Transfer the bootable disk image to a USB key:

  dd if=dosboot.img of=/dev/sdX

where /dev/sdX is the device representing your USB key. Please note that this will erase any existing contents of the USB key.

Burning the iPXE ROM

Boot from the USB key. At the DOS A:\> prompt, type:

  bootutil -e

You should see a list of all Intel network adapters in your system, such as:

  Port Network Address Series  WOL Flash Firmware      Version
  ==== =============== ======= === =================== =======
    1   001B210A7760   Gigabit YES PXE                 1.0.13
    2   00270e0d5678   Gigabit YES PXE                 1.0.8

Identify the network adapter that you want to update. For this example, we shall update adapter number 1 (which has address 001B210A7760).

Update the ROM on your selected network adapter:

  bootutil -nic 1 -restoreimage -file 808610de.rom

where -nic 1 specifies your chosen network adapter, and 808610de.rom is the iPXE ROM image that you have built. You should see something like:

  A:\>bootutil -nic 1 -restoreimage -file 808610de.rom
  Intel(R) Ethernet Flash Firmware Utility
  BootUtil version
  Copyright (C) 2003-2010 Intel Corporation
  Programming flash on port 1 with flash firmware image
  Create restore image of NIC 1 before proceeding? (Y)es or (No): y
  Saving flash firmware image on port 1 to file 10DE4007.NIC...saved
  Flash update successful
  Restoring image on NIC 1 from file 8086107C.IBA..done
  Port Network Address Series  WOL Flash Firmware      Version
  ==== =============== ======= === =================== =======
    1   001B210A7760   Gigabit YES PXE                 1.2.0
    2   00270e0d5678   Gigabit YES PXE                 1.0.8

Reboot the machine and enter the BIOS setup. You should see iPXE show up as an option in your BIOS's boot selection menu.

Congratulations on successfully burning iPXE into your network card!

A boot ROM

howto/romburning/intel.txt · Last modified: 2010/10/22 17:08 by mcb30
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL http://ipxe.org
References to "iPXE" may not be altered or removed.