UEFI - Cannot detect EFI_SIMPLE_NETWORK_PROTOCOL or UDP
Posted: Thu Dec 17, 2020 5:13 am
Hi,
I'm trying to make some "simple" networking from UEFI.
I have tried using EFI_SIMPLE_NETWORK_PROTOCOL and EFI_UDP4_PROTOCOL.
When I try in QEMU it seems like I detect things correct, at least I am retrieving the correct MAC-Address that QEMU uses (I have not succeeded sending packages yet, but).
When I try the same code on hardware (on a Thinkpad x270) UEFI do not even locate any of these in the first place with the use of the LocateHandleBuffer() method.
It just return EFI_NOT_FOUND.
I have used a couple of days trying figuring it out, but it is very hard to find any information or examples.
Any idea why I cannot detect these on hardware?
Cheers Jørn
I'm trying to make some "simple" networking from UEFI.
I have tried using EFI_SIMPLE_NETWORK_PROTOCOL and EFI_UDP4_PROTOCOL.
When I try in QEMU it seems like I detect things correct, at least I am retrieving the correct MAC-Address that QEMU uses (I have not succeeded sending packages yet, but).
When I try the same code on hardware (on a Thinkpad x270) UEFI do not even locate any of these in the first place with the use of the LocateHandleBuffer() method.
It just return EFI_NOT_FOUND.
I have used a couple of days trying figuring it out, but it is very hard to find any information or examples.
Any idea why I cannot detect these on hardware?
Cheers Jørn