Skip to content

Support UEFI HTTP boot with IPv6 and DNS

Michael Chang via Grub-devel grub-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10net/http: Check result of grub_netbuff_put() in http_receive()grub-core/net/http.c+3 -10 replies
2/10efinet: Add structures for PXE messagesinclude/grub/efi/api.h+139 -60 replies
3/10efinet + bootp: add net_dhcp6 command supporting dhcpv6grub-core/net/bootp.c grub-core/net/drivers/efi/efinet.c grub-core/net/ip.c +2 more+1135 -80 replies
4/10grub.texi: Add net_dhcp6 documentdocs/grub.texi+30 -00 replies
5/10bootp: Process DHCPACK packet during HTTP Bootgrub-core/net/bootp.c include/grub/net.h+28 -10 replies
6/10efinet: Configure network from UEFI device pathgrub-core/net/drivers/efi/efinet.c include/grub/efi/api.h+311 -150 replies
7/10efinet: Set DNS server from UEFI protocolgrub-core/net/drivers/efi/efinet.c include/grub/efi/api.h+240 -00 replies
8/10kern/efi/efi: Print URI and DNS device path infogrub-core/kern/efi/efi.c+37 -00 replies
9/10kern/efi/efi: Correct endianness in IPv6 device pathgrub-core/kern/efi/efi.c+16 -160 replies
10/10bootp: Fix logical operator in DHCP option overload checkgrub-core/net/bootp.c+1 -10 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by.

PatchPeter JonesRobbie Harwood
1/10Co-authored-by
2/10Co-authored-by
3/10Co-authored-by Co-authored-by
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] Support UEFI HTTP boot with IPv6 and DNS

This patch series extends GRUB's network boot capabilities to support the following UEFI network boot functions:

- UEFI PXE with IPv6 support
- UEFI HTTP with IPv4 and IPv6 support
- UEFI HTTP with DNS resolution

Although GRUB already supports TFTP, HTTP, and DNS, it previously lacked the integration to configure its network stack based on the UEFI device path or related boot protocols when booting in these network environments. This series fills that gap by enabling GRUB to automatically configure the network stack from UEFI device paths or protocols, so they can work out-of-the-box.

Additionally, for completeness, a new command, net_dhcp6, is introduced to support IPv6, similar to the existing net_dhcp command for IPv4. This command auto-configures GRUB's IPv6 interfaces via DHCPv6, enabling automatic network interface setup and access to remote targets when booting locally.

The first and last two patches are general fixes to existing network functionality and can be reviewed or cherry-picked separately from the patch series.

Thanks,
Michael

Robbie Harwood (2):
net/http: Check result of grub_netbuff_put() in http_receive()
efinet: Add structures for PXE messages

Michael Chang (8):
efinet + bootp: add net_dhcp6 command supporting dhcpv6 grub.texi: Add net_dhcp6 document
bootp: Process DHCPACK packet during HTTP Boot
efinet: Configure network from UEFI device path
efinet: Set DNS server from UEFI protocol kern/efi/efi: Print URI and DNS device path info kern/efi/efi: Correct endianness in IPv6 device path
bootp: Fix logical operator in DHCP option overload check

 docs/grub.texi                     |  30 +
 grub-core/kern/efi/efi.c           |  69 ++-
 grub-core/net/bootp.c              | 945 ++++++++++++++++++++++++++++-
 grub-core/net/drivers/efi/efinet.c | 487 ++++++++++++++-
 grub-core/net/http.c               |   4 +-
 grub-core/net/ip.c                 |  39 ++
 grub-core/net/net.c                |  72 +++
 include/grub/efi/api.h             | 242 +++++++-
 include/grub/net.h                 |  80 +++
 9 files changed, 1930 insertions(+), 38 deletions(-)
Signature · 7 lines
2.47.1


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel