Re: [PATCH v2] rpi: Copy eth MAC address from fw DT to loaded DT

2024-03-20 Thread Peter Robinson
Hi Martin, > I reworked the commit message because I noticed the upstream Linux kernel has > a > difference with the Raspberry Pi fork of the kernel regarding the algorithm > used to determine the MAC address of the smsc95xx. So looking at this on an original 3B because that's what I had booted

Re: [PATCH v2] rpi: Copy eth MAC address from fw DT to loaded DT

2024-03-19 Thread Martin Wetterwald
I reworked the commit message because I noticed the upstream Linux kernel has a difference with the Raspberry Pi fork of the kernel regarding the algorithm used to determine the MAC address of the smsc95xx. There is no smsc95xx.macaddr in the upstream kernel, and using the upstream kernel is

[PATCH v2] rpi: Copy eth MAC address from fw DT to loaded DT

2024-03-19 Thread Martin Wetterwald
Raspberry Pi B models before model 4 don't have an EEPROM nor an OTP to store the permanent factory MAC address of the NIC. So the firmware that runs initially computes the factory MAC address of the board and patches the DTB to give that information to the next stage. The MAC is put in the