[build] Add named configuration for VirtualBox

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Robin Smidsrød
2014-08-21 16:05:29 +01:00
committed by Michael Brown
parent ead70bf920
commit 64dc45a4dc
9 changed files with 49 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
Build using this command line:
make CONFIG=vbox EMBED=config/vbox/embedded.ipxe bin/intel--virtio-net--pcnet32.rom
Max size of a VirtualBox ROM is 56KB, 57344 bytes. There should be no need
to pad the image as long as the binary is smaller or equal to this size.
The embedded script is required because VirtualBox uses the ROM as an ISA
ROM, which will not perform any autoboot behavior. The bundled embedded
script reproduces the default autoboot behavior.
To use the ROM in VirtualBox you need to enable it using this command:
vboxmanage setextradata global \
VBoxInternal/Devices/pcbios/0/Config/LanBootRom \
path/to/intel--virtio-net--pcnet32.rom