ipxe update, continued ...
cover ipxe update, continued ...
Hi,
So, here we go with the next version. Removed the patch files, added them to a git branch instead, so we just update the submodule accordingly.
qemu update is also here:
git://git.kraxel.org/qemu rebase/roms-next
ipxe branch is here:
git://git.kraxel.org/ipxe qemu
When going this route we should mirror the qemu ipxe branch at qemu-project.org, so the submodule update will actually work.
Comments?
cheers,
Gerd
Gerd Hoffmann (7):
ipxe: update from 35c53797 to 24112d9 (upstream/master)
ipxe: update to 87981bb (qemu)
ipxe: rm local config in cleanup
ipxe: disable load file protocol
ipxe: add qemu branding
ipxe: don't override GITVERSION
ipxe: update binaries
pc-bios/efi-e1000.rom | Bin 197120 -> 192512 bytes pc-bios/efi-eepro100.rom | Bin 197632 -> 192512 bytes pc-bios/efi-ne2k_pci.rom | Bin 195584 -> 190976 bytes pc-bios/efi-pcnet.rom | Bin 195584 -> 190976 bytes pc-bios/efi-rtl8139.rom | Bin 200192 -> 194560 bytes pc-bios/efi-virtio.rom | Bin 194048 -> 188928 bytes roms/Makefile | 9 +++++---- roms/config.ipxe.branding.h | 2 ++ roms/config.ipxe.general.h | 1 + roms/ipxe | 2 +- 10 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 roms/config.ipxe.branding.h
Signature · 1 line
1.8.3.1
PATCH 1/7 ipxe: update from 35c53797 to 24112d9 (upstream/master)
git shortlog
============
Alex Williamson (1):
[dhcp] Extract timing parameters out to config/dhcp.h
Bernd Wiebelt (1):
[tg3] Add support for BCM57766
Christian Hesse (3):
[intel] Add PCI device IDs for Intel I218-LM and I218-V [build] Add missing "const" qualifiers
[ath9k] Remove confusing logic inversion in an ANI variable
Ed Swierk (1):
[intel] Update PCI device IDs for Intel 82599 and X540 10G NICs
Laszlo Ersek (1):
[virtio] Downgrade per-iobuf debug messages to DBGC2
Michael Brown (228):
[device] Provide a driver-private data field for root devices [iobuf] Add iob_split() to split an I/O buffer into portions [rndis] Add generic RNDIS device abstraction
[hyperv] Add support for Hyper-V hypervisor
[hyperv] Add support for VMBus devices
[hyperv] Add support for NetVSC paravirtual network devices [rndis] Send RNDIS_INITIALISE_MSG
[rndis] Send RNDIS_HALT_MSG
[hyperv] Tear down NetVSC RX buffer GPADL after closing VMBus device [rndis] Clear receive filter when closing the device
[hyperv] Receive all VMBus messages in a poll
[hyperv] Increase TX ring size
[hyperv] Assume that VMBus xfer page ranges correspond to RNDIS messages [rndis] Ignore start-of-day RNDIS_INDICATE_STATUS_MSG with status 0x40020006 [hyperv] Tidy up debug output
[hyperv] Require support for VMBus version 3.0 or newer
[build] Include Hyper-V driver in the all-drivers build
[pci] Allow drivers to specify a PCI class
[romprefix] Ensure UNDI loader can be included by all ROM types [usb] Add basic support for USB devices
[usb] Add basic support for USB hubs
[usb] Add support for xHCI host controllers
[ncm] Add support for CDC-NCM USB Ethernet devices
[usb] Report xHCI host controller events
[ncm] Use large multi-packet buffers by default
[tftp] Explicitly abort connection whenever parent interface is closed [uri] Allow tftp_uri() to construct a URI with a custom port [pxe] Use tftp_uri() to construct PXE TFTP URIs
[pxe] Maintain a queue for received PXE UDP packets
[ncm] Reserve headroom in received packets
[usb] Try multiple USB device configurations
[usb] Handle CDC union functional descriptors
[usb] Parse endpoint descriptor bInterval field
[usb] Allow usb_stream() to enforce a terminating short packet [ecm] Add support for CDC-ECM USB Ethernet devices
[xhci] Delay after (possibly) forcing port link state to RxDetect [build] Move branding information to config/branding.h
[build] Use PRODUCT_SHORT_NAME for end-user visible strings [build] Allow product URI to be customised via config/branding.h [build] Allow error message URI to be customised via config/branding.h [build] Allow command help text URI to be customised via config/branding.h [build] Allow setting help text URI to be customised via config/branding.h [build] Allow product tag line to be customised via config/branding.h [rndis] Add rndis_rx_err()
[usb] Handle port status changes received after failing to find a driver [efi] Disallow R_X86_64_32 relocations
[build] Apply the "-fno-PIE -nopie" workaround only to i386 builds [usb] Provide generic framework for refilling receive endpoints [usb] Use generic refill framework for USB hub interrupt endpoints [ecm] Use generic refill framework for bulk IN and interrupt endpoints [ncm] Use generic refill framework for bulk IN and interrupt endpoints [libc] Remove unused string functions
[libc] Rewrite string functions
[test] Add self-tests for more string functions
[test] Add constant-length memset() self-tests
[libc] Reduce size of memset()
[usb] Add generic USB network device framework
[ecm] Use generic USB network device framework
[ncm] Use generic USB network device framework
[timer] Rewrite the 8254 Programmable Interval Timer support [xhci] Leak memory if controller fails to disable slot
[xhci] Abort commands on timeout
[test] Add IPv4 self-tests
[legal] Add missing copyright header to net/ipv4.c
[ipv4] Rewrite inet_aton()
[libc] Rewrite strtoul()
[hyperv] Check for required features
[prefix] Use .bss16 as temporary stack space for calls to install_block [zbin] Use LZMA compression
[zbin] Perform extra normalisation after completing decompression [prefix] Call decompressor in flat real mode when DEBUG=libprefix is enabled [zbin] Allow decompressor to generate debug output via BIOS console [zbin] Fix check for existence of most recent output byte
[zbin] Remove now-unused unnrv2b.S decompressor
[legal] Update GPLv2 licence text
[legal] Include full licence text for all GPL2_OR_LATER files [mucurses] Add missing FILE_LICENCE declarations
[legal] Add support for the Unmodified Binary Distribution Licence [legal] Add UBDL relicensing tool
[legal] Relicense files under GPL2_OR_LATER_OR_UBDL
[legal] Relicense files under GPL2_OR_LATER_OR_UBDL
[legal] Relicense files under GPL2_OR_LATER_OR_UBDL
[legal] Relicense files under GPL2_OR_LATER_OR_UBDL
[libc] Rewrite unrelicensable portions of stddef.h
[libc] Rewrite unrelicensable portions of ctype.h
[libc] Rewrite setjmp() and longjmp()
[libc] Rewrite byte-swapping code
[elf] Rewrite ELF header
[list] Relicense list.h
[iscsi] Rewrite unrelicensable portions of iscsi.c
[pci] Remove outdated and mostly-unused pci_ids.h file
[pci] Rewrite unrelicensable portions of pci.h
[settings] Use list_first_entry() when unregistering child settings [settings] Rewrite unrelicensable portions of settings.c
[menu] Abstract out the generic concept of a jump scroller [settings] Use generic jump scrolling abstraction
[malloc] Move valgrind headers out of arch/x86
[malloc] Rewrite unrelicensable portions of malloc.c
[build] Remove unused IMPORT_SYMBOL() and EXPORT_SYMBOL() macros [build] Remove unused __keepme macro
[pxe] Remove obsolete references to pxeparent_dhcp
[build] Remove obsolete and unused portions of config.c
[build] Use REQUIRE_OBJECT() to drag in per-object configuration [build] Fix the REQUIRE_SYMBOL mechanism
[i386] Move real_to_user() to realmode.h
[linux] Rewrite headers included in all builds
[retry] Rewrite unrelicensable portions of retry.c
[retry] Colourise debug output
[legal] Relicense files under GPL2_OR_LATER_OR_UBDL
[xhci] Enable USB3 ports on Intel PCH8/PCH9 controllers
[xhci] Undo PCH-specific quirk fixes when removing device
[xen] Set the "feature-rx-notify" flag for netfront devices [http] Abstract out HTTP Digest hash algorithm operations
[http] Support MD5-sess Digest authentication
[dm96xx] Add driver for Davicom DM96xx USB Ethernet NICs
[legal] Relicense Davicom DM96xx drivers
[mii] Add generic mii_check_link() function
[smsc75xx] Add driver for SMSC/Microchip LAN75xx USB Ethernet NICs [legal] Relicense files under GPL2_OR_LATER_OR_UBDL
[tcp] Implement support for TCP Selective Acknowledgements (SACK) [smsc75xx] Move RX FIFO overflow message to DBGLVL_EXTRA
[tcpip] Fix dubious calculation of min_port
[libc] Add ffs(), ffsl(), and ffsll()
[usb] Add the concept of a USB bus maximum transfer size
[ncm] Respect maximum transfer size of the bus
[usb] Add functions for manual device address assignment
[xhci] Forcibly disable SMIs if BIOS fails to release ownership [autoboot] Match against parent devices when matching by bus type and location [usb] Add config/usb.h for USB configuration options
[xhci] Do not release ownership back to BIOS when booting an OS [ehci] Add support for EHCI host controllers
[netdevice] Add missing bus types to netdev_fetch_bustype() [usb] Fix USB timeouts to match specification
[libprefix] Fix building on 64-bit FreeBSD 8.4
[xhci] Ring doorbell as part of endpoint reset
[usb] Reset endpoints without waiting for a new transfer to be enqueued [usb] Add clear_tt() hub method to clear transaction translator buffer [usb] Clear transaction translator buffers when applicable [ehci] Support USB1 devices attached via transaction translators [usb] Improve debug messages for failed control transactions [xhci] Support USB1 devices attached via transaction translators [libc] Fix typo in longjmp()
[libc] Add x86_64 versions of setjmp() and longjmp()
[test] Add setjmp()/longjmp() self-tests
[test] Simplify digest algorithm self-tests
[crypto] Add SHA-224 algorithm
[crypto] Add SHA-512 algorithm
[crypto] Add SHA-384 algorithm
[crypto] Add SHA-512/256 algorithm
[crypto] Add SHA-512/224 algorithm
[efi] Ensure drivers are disconnected when ExitBootServices() is called [peerdist] Add support for decoding PeerDist Content Information [xhci] Always reset root hub ports
[romprefix] Allow autoboot device filter to be disabled
[util] Add ability to dump PCI device ID list
[efi] Add EFI entropy source
[efi] Add EFI time source
[efi] Provide a dummy data block in nii_initialise()
[efi] Poll media status only if advertised as supported
[efi] Poll for TX completions only when there is an outstanding TX buffer [efi] Use the EFI_RNG_PROTOCOL as an entropy source if available [eepro100] Remove duplicate PCI_ROM() line
[prism2] Remove duplicate PCI_ROM() lines
[build] Allow building PCI ROMs with device ID lists
[build] Fix compiler warning on OpenBSD 5.7
[build] Work around binutils quirk on OpenBSD 5.7
[build] Use a single call to parserom.pl to speed up building [intel] Report any unexpected interrupt causes
[intel] Force RX polling on VMware emulated 82545em
[realtek] Do not attempt to access EEPROM on RTL8169 chips [rtl818x] Obviate RTL_ROM() hack
[build] Construct all-drivers list based on driver class
[test] Include IPv6 support when performing settings self-tests [base16] Add buffer size parameter to base16_encode() and base16_decode() [base64] Add buffer size parameter to base64_encode() and base64_decode() [settings] Add "base64" setting type
[vram] Add "vram" built-in setting to dump video RAM
[usb] Include setup packet within I/O buffer for message transfers [pci] Provide PCI_CLASS() to calculate a scalar PCI class value [usb] Detect missed disconnections
[usb] Maintain a list of all USB buses
[usb] Maintain single lists of halted endpoints and changed ports [ehci] Poll child companion controllers after disowning port [usb] Add find_usb_bus_by_location() helper function
[ehci] Allow UHCI/OHCI controllers to locate the EHCI companion controller [uhci] Add support for UHCI host controllers
[usb] Provide usb_endpoint_name() for use by host controller drivers [xhci] Use meaningful device names in debug messages
[ehci] Use meaningful device names in debug messages
[uhci] Use meaningful device names in debug messages
[ipv6] Disambiguate received ICMPv6 errors
[usb] Add USB_INTERRUPT_OUT internal type
[usb] Add generic USB human interface device (HID) framework [usb] Add basic support for USB keyboards
[usb] Do not call usb_hotplug() when registering a new hub
[usb] Always clear recorded disconnections after performing hotplug actions [intel] Expose intel_diag() for use by other Intel NIC drivers [intel] Allow for the use of advanced TX descriptors
[intel] Add support for mailbox used by virtual functions [intel] Add intelxvf driver for Intel 10 GigE virtual function NICs [int13con] Add basic ability to log to a local disk via INT 13 [intel] Add intelxvf_stats() to dump packet statistics registers [intel] Fix operation when physical function has jumbo frames enabled [neighbour] Return success when deferring a packet
[xhci] Fix length of allocated slot array
[build] Fix .ids.o creation for drivers not in the all-drivers build [xhci] Fix comparison of signed and unsigned integers
[ipoib] Fix REMAC cache discarder
[xhci] Record device-specific quirks in xHCI device structure [xhci] Ignore invalid protocol speed ID values on Intel Skylake platforms [pci] Use flat real mode to call INT 1a,b101
[tcp] Do not shrink window when discarding received packets [mromprefix] Report a dummy size at offset 0x02 of .mrom payload [ethernet] Add minimal support for receiving LLC frames [netdevice] Add a generic concept of a "blocked link"
[stp] Add support for detecting Spanning Tree Protocol non-forwarding ports [stp] Fix interpretaton of hello time
[dhcp] Defer discovery if link is blocked
[pxe] Always reconstruct packet for PXENV_GET_CACHED_INFO [serial] Add general abstraction of a 16550-compatible UART [gdb] Use new UART abstraction in GDB serial transport
[serial] Use new UART abstraction in serial console driver [ipoib] Mark REMAC cache as expensive
[ipoib] Attempt to generate ARPs as needed to repopulate REMAC cache [gdb] Allow gdbstub to be started on an arbitrary serial port [xen] Wait for and clear XenStore event before receiving data [tcp] Gracefully close connections during shutdown
[ipoib] Transmit multicast packets as broadcasts
Olaf Hering (1):
[build] Sort objects in blib.a
Robin Smidsrød (2):
[vbox] Enable some more features now that we have LZMA compression [build] Rewrite parserom.pl to support multiple source files
Thomas Miletich (1):
[intel] Add PCI ID for I218-LM
Wissam Shoukair (1):
[comboot] Implement INT22,0x000c
--- roms/ipxe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
roms/ipxe +1 -1
@@ -1 +1 @@ -Subproject commit 35c5379760aa1fea5e38f7a78b090f92bb7813ee +Subproject commit 24112d91a0ab4c29794bc7750cbfc4166bc9026a
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH 1/7] ipxe: update from 35c53797 to 24112d9 (upstream/master)
The one commit we absolutely need from this update, for the sake of PXE booting with OVMF, is:
Quoted 164 lines · Gerd Hoffmann
git shortlog
============Alex Williamson (1):
[dhcp] Extract timing parameters out toconfig/dhcp.hBernd Wiebelt (1):
[tg3] Add support for BCM57766Christian Hesse (3):
[intel] Add PCI device IDs for Intel I218-LM and I218-V [build] Add missing "const" qualifiers
[ath9k] Remove confusing logic inversion in an ANI variableEd Swierk (1):
[intel] Update PCI device IDs for Intel 82599 and X540 10G NICsLaszlo Ersek (1):
[virtio] Downgrade per-iobuf debug messages to DBGC2Michael Brown (228):
[device] Provide a driver-private data field for root devices [iobuf] Addiob_split()to split an I/O buffer into portions [rndis] Add generic RNDIS device abstraction
[hyperv] Add support for Hyper-V hypervisor
[hyperv] Add support for VMBus devices
[hyperv] Add support for NetVSC paravirtual network devices [rndis] SendRNDIS_INITIALISE_MSG
[rndis] SendRNDIS_HALT_MSG
[hyperv] Tear down NetVSC RX buffer GPADL after closing VMBus device [rndis] Clear receive filter when closing the device
[hyperv] Receive all VMBus messages in a poll
[hyperv] Increase TX ring size
[hyperv] Assume that VMBus xfer page ranges correspond to RNDIS messages [rndis] Ignore start-of-dayRNDIS_INDICATE_STATUS_MSGwith status0x40020006[hyperv] Tidy up debug output
[hyperv] Require support for VMBus version 3.0 or newer
[build] Include Hyper-V driver in the all-drivers build
[pci] Allow drivers to specify a PCI class
[romprefix] Ensure UNDI loader can be included by all ROM types [usb] Add basic support for USB devices
[usb] Add basic support for USB hubs
[usb] Add support for xHCI host controllers
[ncm] Add support for CDC-NCM USB Ethernet devices
[usb] Report xHCI host controller events
[ncm] Use large multi-packet buffers by default
[tftp] Explicitly abort connection whenever parent interface is closed [uri] Allowtftp_uri()to construct a URI with a custom port [pxe] Usetftp_uri()to construct PXE TFTP URIs
[pxe] Maintain a queue for received PXE UDP packets
[ncm] Reserve headroom in received packets
[usb] Try multiple USB device configurations
[usb] Handle CDC union functional descriptors
[usb] Parse endpoint descriptor bInterval field
[usb] Allowusb_stream()to enforce a terminating short packet [ecm] Add support for CDC-ECM USB Ethernet devices
[xhci] Delay after (possibly) forcing port link state to RxDetect [build] Move branding information toconfig/branding.h
[build] UsePRODUCT_SHORT_NAMEfor end-user visible strings [build] Allow product URI to be customised viaconfig/branding.h[build] Allow error message URI to be customised viaconfig/branding.h[build] Allow command help text URI to be customised viaconfig/branding.h[build] Allow setting help text URI to be customised viaconfig/branding.h[build] Allow product tag line to be customised viaconfig/branding.h[rndis] Addrndis_rx_err()
[usb] Handle port status changes received after failing to find a driver [efi] DisallowR_X86_64_32relocations
[build] Apply the "-fno-PIE -nopie" workaround only to i386 builds [usb] Provide generic framework for refilling receive endpoints [usb] Use generic refill framework for USB hub interrupt endpoints [ecm] Use generic refill framework for bulk IN and interrupt endpoints [ncm] Use generic refill framework for bulk IN and interrupt endpoints [libc] Remove unused string functions
[libc] Rewrite string functions
[test] Add self-tests for more string functions
[test] Add constant-lengthmemset()self-tests
[libc] Reduce size ofmemset()
[usb] Add generic USB network device framework
[ecm] Use generic USB network device framework
[ncm] Use generic USB network device framework
[timer] Rewrite the 8254 Programmable Interval Timer support [xhci] Leak memory if controller fails to disable slot
[xhci] Abort commands on timeout
[test] Add IPv4 self-tests
[legal] Add missing copyright header tonet/ipv4.c
[ipv4] Rewriteinet_aton()
[libc] Rewritestrtoul()
[hyperv] Check for required features
[prefix] Use .bss16 as temporary stack space for calls toinstall_block[zbin] Use LZMA compression
[zbin] Perform extra normalisation after completing decompression [prefix] Call decompressor in flat real mode when DEBUG=libprefix is enabled [zbin] Allow decompressor to generate debug output via BIOS console [zbin] Fix check for existence of most recent output byte
[zbin] Remove now-unusedunnrv2b.Sdecompressor
[legal] Update GPLv2 licence text
[legal] Include full licence text for allGPL2_OR_LATERfiles [mucurses] Add missingFILE_LICENCEdeclarations
[legal] Add support for the Unmodified Binary Distribution Licence [legal] Add UBDL relicensing tool
[legal] Relicense files underGPL2_OR_LATER_OR_UBDL
[legal] Relicense files underGPL2_OR_LATER_OR_UBDL
[legal] Relicense files underGPL2_OR_LATER_OR_UBDL
[legal] Relicense files underGPL2_OR_LATER_OR_UBDL
[libc] Rewrite unrelicensable portions ofstddef.h
[libc] Rewrite unrelicensable portions ofctype.h
[libc] Rewritesetjmp()andlongjmp()
[libc] Rewrite byte-swapping code
[elf] Rewrite ELF header
[list] Relicenselist.h
[iscsi] Rewrite unrelicensable portions ofiscsi.c
[pci] Remove outdated and mostly-unusedpci_ids.hfile
[pci] Rewrite unrelicensable portions ofpci.h
[settings] Uselist_first_entry()when unregistering child settings [settings] Rewrite unrelicensable portions ofsettings.c
[menu] Abstract out the generic concept of a jump scroller [settings] Use generic jump scrolling abstraction
[malloc] Move valgrind headers out ofarch/x86
[malloc] Rewrite unrelicensable portions ofmalloc.c
[build] Remove unusedIMPORT_SYMBOL()andEXPORT_SYMBOL()macros [build] Remove unused__keepmemacro
[pxe] Remove obsolete references topxeparent_dhcp
[build] Remove obsolete and unused portions ofconfig.c
[build] UseREQUIRE_OBJECT()to drag in per-object configuration [build] Fix theREQUIRE_SYMBOLmechanism
[i386] Movereal_to_user()torealmode.h
[linux] Rewrite headers included in all builds
[retry] Rewrite unrelicensable portions ofretry.c
[retry] Colourise debug output
[legal] Relicense files underGPL2_OR_LATER_OR_UBDL
[xhci] Enable USB3 ports on Intel PCH8/PCH9 controllers
[xhci] Undo PCH-specific quirk fixes when removing device
[xen] Set the "feature-rx-notify" flag for netfront devices [http] Abstract out HTTP Digest hash algorithm operations
[http] Support MD5-sess Digest authentication
[dm96xx] Add driver for Davicom DM96xx USB Ethernet NICs
[legal] Relicense Davicom DM96xx drivers
[mii] Add genericmii_check_link()function
[smsc75xx] Add driver for SMSC/Microchip LAN75xx USB Ethernet NICs [legal] Relicense files underGPL2_OR_LATER_OR_UBDL
[tcp] Implement support for TCP Selective Acknowledgements (SACK) [smsc75xx] Move RX FIFO overflow message toDBGLVL_EXTRA
[tcpip] Fix dubious calculation ofmin_port
[libc] Addffs(),ffsl(), andffsll()
[usb] Add the concept of a USB bus maximum transfer size
[ncm] Respect maximum transfer size of the bus
[usb] Add functions for manual device address assignment
[xhci] Forcibly disable SMIs if BIOS fails to release ownership [autoboot] Match against parent devices when matching by bus type and location [usb] Addconfig/usb.hfor USB configuration options
[xhci] Do not release ownership back to BIOS when booting an OS [ehci] Add support for EHCI host controllers
[netdevice] Add missing bus types tonetdev_fetch_bustype()[usb] Fix USB timeouts to match specification
[libprefix] Fix building on 64-bit FreeBSD 8.4
[xhci] Ring doorbell as part of endpoint reset
[usb] Reset endpoints without waiting for a new transfer to be enqueued [usb] Addclear_tt()hub method to clear transaction translator buffer [usb] Clear transaction translator buffers when applicable [ehci] Support USB1 devices attached via transaction translators [usb] Improve debug messages for failed control transactions [xhci] Support USB1 devices attached via transaction translators [libc] Fix typo inlongjmp()
[libc] Addx86_64versions ofsetjmp()andlongjmp()
Quoted 8 lines
[test] Add setjmp()/longjmp() self-tests
[test] Simplify digest algorithm self-tests
[crypto] Add SHA-224 algorithm
[crypto] Add SHA-512 algorithm
[crypto] Add SHA-384 algorithm
[crypto] Add SHA-512/256 algorithm
[crypto] Add SHA-512/224 algorithm
[efi] Ensure drivers are disconnected whenExitBootServices()is called
this one, commit 755d2b8f6be681a2e620534b237471b75f28ed8c.
[snip]
roms/ipxe line 1
Quoted 13 lines
Signed-off-by Gerd Hoffmann <[email protected]>--- roms/ipxe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)roms/ipxe +1
-1@@ -1 +1 @@ -Subproject commit 35c5379760aa1fea5e38f7a78b090f92bb7813ee +Subproject commit 24112d91a0ab4c29794bc7750cbfc4166bc9026a
PATCH 2/7 ipxe: update to 87981bb (qemu)
In reply to Gerd HoffmannAdd two patches we've been struggling to get upstream. They are available from "git://git.qemu.org/ipxe.git qemu"
git shortlog
------------
Gerd Hoffmann (1):
[efi] make load file protocol optional
Laszlo Ersek (1):
efi_snp: improve compliance with the EFI_SIMPLE_NETWORK_PROTOCOL spec
--- roms/ipxe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
roms/ipxe +1 -1
@@ -1 +1 @@ -Subproject commit 24112d91a0ab4c29794bc7750cbfc4166bc9026a +Subproject commit 87981bb66f5f496f124469fb6c13aa13ee00061e
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH 2/7] ipxe: update to 87981bb (qemu)
Quoted 23 lines · Gerd Hoffmann
Add two patches we've been struggling to get upstream. They are available from "
git://git.qemu.org/ipxe.gitqemu"git shortlog
------------Gerd Hoffmann (1):
[efi] make load file protocol optionalLaszlo Ersek (1):
efi_snp: improve compliance with theEFI_SIMPLE_NETWORK_PROTOCOLspecSigned-off-by Gerd Hoffmann <[email protected]>--- roms/ipxe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)roms/ipxe +0
-0
roms/ipxe line 1
Quoted 2 lines
roms/ipxe +1
-1@@ -1 +1 @@ -Subproject commit 24112d91a0ab4c29794bc7750cbfc4166bc9026a +Subproject commit 87981bb66f5f496f124469fb6c13aa13ee00061e
I cloned this repo (more precisely, for the time being, your repo:git://git.kraxel.org/ipxe qemu), and checked the two patches in 24112d91..87981bb6:
ca65a1f efi_snp: improve compliance with the
EFI_SIMPLE_NETWORK_PROTOCOL spec
87981bb [efi] make load file protocol optional
They look good. They are the other two patches (in total: 3 patches) that we need for PXE booting with OVMF. These patches have been submitted to ipxe-devel several times (thank you for that), unfortunately eliciting no feedback. So it's justified to carry them here.
PATCH 3/7 ipxe: rm local config in cleanup
In reply to Gerd Hoffmannipxe build now generates empty local header files in case they are not preset. Let's remove them on cleanup to make sure we store a fresh copy on the next build.
--- roms/Makefile | 1 + 1 file changed, 1 insertion(+)
roms/Makefile +1 -0
@@ -153,5 +153,6 @@ clean: $(MAKE) -C sgabios clean rm -f sgabios/.depend $(MAKE) -C ipxe/src veryclean + (cd ipxe; rm -f src/config/local/*.h) $(MAKE) -C SLOF clean rm -rf u-boot/build.e500
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH 3/7] ipxe: rm local config in cleanup
Quoted 2 lines · Gerd Hoffmann
ipxe build now generates empty local header files in case they are not preset.
ITYM "prese[n]t". (Although, pre-set seems to make some sense as well, so I'm not fully sure.)
Quoted 14 lines
Let's remove them on cleanup to make sure we store a fresh copy on the next build.
Signed-off-by Gerd Hoffmann <[email protected]>--- roms/Makefile | 1 + 1 file changed, 1 insertion(+)roms/Makefile +0
-0
roms/Makefile clean: · line 158
Quoted 6 lines
roms/Makefile +1
-0@@ -153,5 +153,6 @@ clean: $(MAKE) -C sgabios clean rm -f sgabios/.depend $(MAKE) -C ipxe/src veryclean + (cd ipxe; rm -f src/config/local/*.h) $(MAKE) -C SLOF clean rm -rf u-boot/build.e500
I'll let you decide about the (non-)typo.
PATCH 4/7 ipxe: disable load file protocol
In reply to Gerd HoffmannActivate the opt-out added by one ipxe patch.
--- roms/config.ipxe.general.h | 1 + 1 file changed, 1 insertion(+)
roms/config.ipxe.general.h +1 -0
@@ -2,3 +2,4 @@#define BANNER_TIMEOUT 30#undef ROM_BANNER_TIMEOUT#define ROM_BANNER_TIMEOUT 0 +#undef EFI_PROTO_LOAD_FILE
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH 4/7] ipxe: disable load file protocol
Quoted 1 line · Gerd Hoffmann
Activate the opt-out added by one ipxe patch.
No need to designate the exact commit hash (it will change after the next rebase), but I'd prefer if you referred to the ipxe patch by subject:
[efi] make load file protocol optional
Quoted 12 lines
Signed-off-by Gerd Hoffmann <[email protected]>--- roms/config.ipxe.general.h | 1 + 1 file changed, 1 insertion(+)roms/config.ipxe.general.h +0
-0
roms/config.ipxe.general.h line 5
Quoted 4 lines
roms/config.ipxe.general.h +1
-0@@ -2,3 +2,4 @@#define BANNER_TIMEOUT 30#undef ROM_BANNER_TIMEOUT#define ROM_BANNER_TIMEOUT 0 +#undef EFI_PROTO_LOAD_FILE
With that commit message change:
PATCH 5/7 ipxe: add qemu branding
In reply to Gerd HoffmannApply qemu-project.org branding, so the official builds can easily be identified in the banner.
--- roms/Makefile | 4 ++-- roms/config.ipxe.branding.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 roms/config.ipxe.branding.h
roms/Makefile +2 -2
@@ -120,12 +120,12 @@ efi-rom-%: build-pxe-roms build-efi-roms -ec ipxe/src/bin-x86_64-efi/$(VID)$(DID).efidrv \ -o ../pc-bios/efi-$*.rom -build-pxe-roms: ipxe/src/config/local/general.h +build-pxe-roms: ipxe/src/config/local/general.h ipxe/src/config/local/branding.h $(MAKE) -C ipxe/src GITVERSION="" \ CROSS_COMPILE=$(x86_64_cross_prefix) \ $(patsubst %,bin/%.rom,$(pxerom_targets)) -build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h +build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h ipxe/src/config/local/branding.h $(MAKE) -C ipxe/src GITVERSION="" \ CROSS_COMPILE=$(x86_64_cross_prefix) \ $(patsubst %,bin-i386-efi/%.efidrv,$(pxerom_targets)) \
roms/config.ipxe.branding.h new file +2 -0
@@ -0,0 +1,2 @@ +#undef PRODUCT_NAME +#define PRODUCT_NAME "iPXE for qemu-project.org"
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH 5/7] ipxe: add qemu branding
Quoted 36 lines · Gerd Hoffmann
Apply qemu-project.org branding, so the official builds can easily be identified in the banner.
Signed-off-by Gerd Hoffmann <[email protected]>--- roms/Makefile | 4 ++-- roms/config.ipxe.branding.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 roms/config.ipxe.branding.hroms/Makefile +2
-2@@ -120,12 +120,12 @@ efi-rom-%: build-pxe-roms build-efi-roms -ec ipxe/src/bin-x86_64-efi/$(VID)$(DID).efidrv \ -o ../pc-bios/efi-$*.rom -build-pxe-roms: ipxe/src/config/local/general.h +build-pxe-roms: ipxe/src/config/local/general.h ipxe/src/config/local/branding.h $(MAKE) -C ipxe/src GITVERSION="" \ CROSS_COMPILE=$(x86_64_cross_prefix) \ $(patsubst %,bin/%.rom,$(pxerom_targets)) -build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h +build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h ipxe/src/config/local/branding.h $(MAKE) -C ipxe/src GITVERSION="" \ CROSS_COMPILE=$(x86_64_cross_prefix) \ $(patsubst %,bin-i386-efi/%.efidrv,$(pxerom_targets)) \roms/config.ipxe.branding.h new file +0
-0
roms/config.ipxe.branding.h line 2
Quoted 2 lines
roms/config.ipxe.branding.h new file +2
-0@@ -0,0 +1,2 @@ +#undef PRODUCT_NAME +#define PRODUCT_NAME "iPXE for qemu-project.org"
PATCH 6/7 ipxe: don't override GITVERSION
In reply to Gerd HoffmannWe had build problems due to the git version checking in the ipxe build system in the past. Don't remember the details, but the problem seems to be gone now, so lets remove the workaround.
--- roms/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
roms/Makefile +2 -2
@@ -121,12 +121,12 @@ efi-rom-%: build-pxe-roms build-efi-roms -o ../pc-bios/efi-$*.rom build-pxe-roms: ipxe/src/config/local/general.h ipxe/src/config/local/branding.h - $(MAKE) -C ipxe/src GITVERSION="" \ + $(MAKE) -C ipxe/src \ CROSS_COMPILE=$(x86_64_cross_prefix) \ $(patsubst %,bin/%.rom,$(pxerom_targets)) build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h ipxe/src/config/local/branding.h - $(MAKE) -C ipxe/src GITVERSION="" \ + $(MAKE) -C ipxe/src \ CROSS_COMPILE=$(x86_64_cross_prefix) \ $(patsubst %,bin-i386-efi/%.efidrv,$(pxerom_targets)) \ $(patsubst %,bin-x86_64-efi/%.efidrv,$(pxerom_targets))
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH 6/7] ipxe: don't override GITVERSION
Quoted 19 lines · Gerd Hoffmann
We had build problems due to the git version checking in the ipxe build system in the past. Don't remember the details, but the problem seems to be gone now, so lets remove the workaround.
Signed-off-by Gerd Hoffmann <[email protected]>--- roms/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)roms/Makefile +0
-1@@ -121,12 +121,12 @@ efi-rom-%: build-pxe-roms build-efi-roms -o ../pc-bios/efi-$*.rom build-pxe-roms: ipxe/src/config/local/general.h ipxe/src/config/local/branding.h - $(MAKE) -C ipxe/src GITVERSION="" \
roms/Makefile efi-rom-%: build-pxe-roms build-efi-roms · line 132
Quoted 10 lines
roms/Makefile +2
-1+ $(MAKE) -C ipxe/src \ CROSS_COMPILE=$(x86_64_cross_prefix) \ $(patsubst %,bin/%.rom,$(pxerom_targets)) build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h ipxe/src/config/local/branding.h - $(MAKE) -C ipxe/src GITVERSION="" \ + $(MAKE) -C ipxe/src \ CROSS_COMPILE=$(x86_64_cross_prefix) \ $(patsubst %,bin-i386-efi/%.efidrv,$(pxerom_targets)) \ $(patsubst %,bin-x86_64-efi/%.efidrv,$(pxerom_targets))
Probably fixed in:
commit 6153c09c41034250408f3596555fcaae715da46c
Author: Florian Schmaus <[email protected]> Date: Mon Jul 28 16:47:48 2014 +0100
[build] Set GITVERSION only if there is a git repository
(This ipxe commit precedes 35c5379760aa1fea5e38f7a78b090f92bb7813ee, *from* which patch 1/7 updates the submodule, ie. we could have probably removed the workaround earlier, but it's fine now too.)
PATCH 7/7 ipxe: update binaries
In reply to Gerd Hoffmann--- pc-bios/efi-e1000.rom | Bin 197120 -> 192512 bytes pc-bios/efi-eepro100.rom | Bin 197632 -> 192512 bytes pc-bios/efi-ne2k_pci.rom | Bin 195584 -> 190976 bytes pc-bios/efi-pcnet.rom | Bin 195584 -> 190976 bytes pc-bios/efi-rtl8139.rom | Bin 200192 -> 194560 bytes pc-bios/efi-virtio.rom | Bin 194048 -> 188928 bytes 6 files changed, 0 insertions(+), 0 deletions(-)
pc-bios/efi-e1000.rom binary +0 -0
pc-bios/efi-eepro100.rom binary +0 -0
pc-bios/efi-ne2k_pci.rom binary +0 -0
pc-bios/efi-pcnet.rom binary +0 -0
pc-bios/efi-rtl8139.rom binary +0 -0
pc-bios/efi-virtio.rom binary +0 -0
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH 7/7] ipxe: update binaries
Quoted 9 lines · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>--- pc-bios/efi-e1000.rom | Bin 197120 -> 192512 bytes pc-bios/efi-eepro100.rom | Bin 197632 -> 192512 bytes pc-bios/efi-ne2k_pci.rom | Bin 195584 -> 190976 bytes pc-bios/efi-pcnet.rom | Bin 195584 -> 190976 bytes pc-bios/efi-rtl8139.rom | Bin 200192 -> 194560 bytes pc-bios/efi-virtio.rom | Bin 194048 -> 188928 bytes 6 files changed, 0 insertions(+), 0 deletions(-)
Shouldn't you also rebuild (well, commit) the non-EFI (ie. pxe-*) binaries too? The rebase in patch #1, the QEMU branding in patch #5, and the now-visible git version from patch #6, all seem to affect the pxe-* binaries as well.
Thank you!
Laszlo
Re: [Qemu-devel] [PATCH 7/7] ipxe: update binaries
Quoted 11 lines · Laszlo Ersek
Quoted 9 lines · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>--- pc-bios/efi-e1000.rom | Bin 197120 -> 192512 bytes pc-bios/efi-eepro100.rom | Bin 197632 -> 192512 bytes pc-bios/efi-ne2k_pci.rom | Bin 195584 -> 190976 bytes pc-bios/efi-pcnet.rom | Bin 195584 -> 190976 bytes pc-bios/efi-rtl8139.rom | Bin 200192 -> 194560 bytes pc-bios/efi-virtio.rom | Bin 194048 -> 188928 bytes 6 files changed, 0 insertions(+), 0 deletions(-)
Quoted 4 lines
Shouldn't you also rebuild (well, commit) the non-EFI (ie. pxe-*) binaries too? The rebase in patch #1, the QEMU branding in patch #5, and the now-visible git version from patch #6, all seem to affect the pxe-* binaries as well.
We didn't do that in the past, because of size problems and because the pxe-* versions are only used by old machine types.
Lets have a look:
pc-bios/pxe-e1000.rom | Bin 67072 -> 62976 bytes pc-bios/pxe-eepro100.rom | Bin 61440 -> 62976 bytes pc-bios/pxe-ne2k_pci.rom | Bin 61440 -> 62464 bytes pc-bios/pxe-pcnet.rom | Bin 61440 -> 62464 bytes pc-bios/pxe-rtl8139.rom | Bin 61440 -> 63488 bytes pc-bios/pxe-virtio.rom | Bin 60416 -> 61952 bytes
So, the update doesn't work for e1000, where the size goes from > 64k to < 64k, which in turn changes the pci rom bar size from 128k to 64k ...
cheers,
Gerd
Laszlo Ersek
Reviewed-byRe: [Qemu-devel] [PATCH 7/7] ipxe: update binaries
Quoted 29 lines · Gerd Hoffmann
Quoted 11 lines · Laszlo Ersek
Quoted 9 lines · Gerd Hoffmann
Signed-off-by Gerd Hoffmann <[email protected]>--- pc-bios/efi-e1000.rom | Bin 197120 -> 192512 bytes pc-bios/efi-eepro100.rom | Bin 197632 -> 192512 bytes pc-bios/efi-ne2k_pci.rom | Bin 195584 -> 190976 bytes pc-bios/efi-pcnet.rom | Bin 195584 -> 190976 bytes pc-bios/efi-rtl8139.rom | Bin 200192 -> 194560 bytes pc-bios/efi-virtio.rom | Bin 194048 -> 188928 bytes 6 files changed, 0 insertions(+), 0 deletions(-)Quoted 4 lines
Shouldn't you also rebuild (well, commit) the non-EFI (ie. pxe-*) binaries too? The rebase in patch #1, the QEMU branding in patch #5, and the now-visible git version from patch #6, all seem to affect the pxe-* binaries as well.
We didn't do that in the past, because of size problems and because the pxe-* versions are only used by old machine types.
Lets have a look:
pc-bios/pxe-e1000.rom | Bin 67072 -> 62976 bytes pc-bios/pxe-eepro100.rom | Bin 61440 -> 62976 bytes pc-bios/pxe-ne2k_pci.rom | Bin 61440 -> 62464 bytes pc-bios/pxe-pcnet.rom | Bin 61440 -> 62464 bytes pc-bios/pxe-rtl8139.rom | Bin 61440 -> 63488 bytes pc-bios/pxe-virtio.rom | Bin 60416 -> 61952 bytes
Quoted 2 lines
So, the update doesn't work for e1000, where the size goes from > 64k to < 64k, which in turn changes the pci rom bar size from 128k to 64k ...
Fair enough, thanks for the background info.
Quoted 4 lines · Gerd Hoffmann
Hi,
So, here we go with the next version. Removed the patch files, added them to a git branch instead, so we just update the submodule accordingly.
I think that's a good idea, and (IIRC) it should address Andreas's comments from last time.
Quoted 9 lines
qemu update is also here:
git://git.kraxel.org/qemurebase/roms-nextipxe branch is here:
git://git.kraxel.org/ipxeqemuWhen going this route we should mirror the qemu ipxe branch at qemu-project.org, so the submodule update will actually work.
Agreed.
Quoted 2 lines
Comments?
I'll comment on the individual patches.
Thanks
Laszlo
Quoted 25 lines
cheers,
GerdGerd Hoffmann (7):
ipxe: update from35c53797to 24112d9 (upstream/master)
ipxe: update to 87981bb (qemu)
ipxe: rm local config in cleanup
ipxe: disable load file protocol
ipxe: add qemu branding
ipxe: don't override GITVERSION
ipxe: update binariespc-bios/efi-e1000.rom | Bin 197120 -> 192512 bytes pc-bios/efi-eepro100.rom | Bin 197632 -> 192512 bytes pc-bios/efi-ne2k_pci.rom | Bin 195584 -> 190976 bytes pc-bios/efi-pcnet.rom | Bin 195584 -> 190976 bytes pc-bios/efi-rtl8139.rom | Bin 200192 -> 194560 bytes pc-bios/efi-virtio.rom | Bin 194048 -> 188928 bytes roms/Makefile | 9 +++++---- roms/config.ipxe.branding.h | 2 ++ roms/config.ipxe.general.h | 1 + roms/ipxe | 2 +- 10 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 roms/config.ipxe.branding.h
Michael, Zoltan,
Quoted 28 lines · Gerd Hoffmann
Hi,
So, here we go with the next version. Removed the patch files, added them to a git branch instead, so we just update the submodule accordingly.
qemu update is also here:
git://git.kraxel.org/qemurebase/roms-nextipxe branch is here:
git://git.kraxel.org/ipxeqemuWhen going this route we should mirror the qemu ipxe branch at qemu-project.org, so the submodule update will actually work.
Comments?
cheers,
GerdGerd Hoffmann (7):
ipxe: update from35c53797to 24112d9 (upstream/master)
ipxe: update to 87981bb (qemu)
ipxe: rm local config in cleanup
ipxe: disable load file protocol
ipxe: add qemu branding
ipxe: don't override GITVERSION
ipxe: update binaries
Quoted 13 lines
pc-bios/efi-e1000.rom | Bin 197120 -> 192512 bytes pc-bios/efi-eepro100.rom | Bin 197632 -> 192512 bytes pc-bios/efi-ne2k_pci.rom | Bin 195584 -> 190976 bytes pc-bios/efi-pcnet.rom | Bin 195584 -> 190976 bytes pc-bios/efi-rtl8139.rom | Bin 200192 -> 194560 bytes pc-bios/efi-virtio.rom | Bin 194048 -> 188928 bytes roms/Makefile | 9 +++++---- roms/config.ipxe.branding.h | 2 ++ roms/config.ipxe.general.h | 1 + roms/ipxe | 2 +- 10 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 roms/config.ipxe.branding.h
can you guys perhaps fetch the binaries and re-run your PXE tests? Adding your Tested-by tags would be a nice touch.
Thanks
Laszlo
Quoted 5 lines · Gerd Hoffmann
Hi,
So, here we go with the next version. Removed the patch files, added them to a git branch instead, so we just update the submodule accordingly.
Quoted 8 lines
qemu update is also here:
git://git.kraxel.org/qemurebase/roms-nextipxe branch is here:
git://git.kraxel.org/ipxeqemuWhen going this route we should mirror the qemu ipxe branch at qemu-project.org, so the submodule update will actually work.
Ping Stefan, any chance to mirror that branch @ qemu-project.org?
thanks,
Gerd