
5 Aug
2019
5 Aug
'19
10:08 p.m.
Hello Alex,
lib/efi_loader/efi_net.c contains pieces of the EFI_PXE_BASE_CODE_PROTOCOL. But it is incompletely implemented: all function pointers are NULL and so immediate failure is expected when using the protocol.
Do you remember why you introduced this protocol into U-Boot? It is not part of the EBBR specification.
It is not needed for booting via GRUB from disk but seems to be used to configure the network device in GRUB (grub_net_configure_by_dhcp_ack() seems only to consume pxe_mode->dhcp_ack).
If the UEFI subsystem is initialized before using the 'dhcp' command the DHCP results are ignored.
@Patrick: What do you use the protocol for? GRUB?
Best regards
Heinrich