This standalone patch fixes FdtDxe.c to handle newer Raspberry Pi device trees using the "ethernet0" alias (while retaining compatibility with older device trees).
Changes from v1: as per Leif's request, the patch now ensures that both "ethernet" and "ethernet0" aliases exist within the device tree. The code is unfortunately much more verbose than v1, since there is no convenient libfdt helper function for creating an alias. I have attempted to match the existing coding style, but I apologise in advance for any errors in so doing. Michael Brown (1): Platform/RPi3: Provide "ethernet[0]" aliases in device tree .../RaspberryPi/RPi3/Drivers/FdtDxe/FdtDxe.c | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) -- 2.21.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44318): https://edk2.groups.io/g/devel/message/44318 Mute This Topic: https://groups.io/mt/32585980/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-