Re: #meta-freescale Broken linux-fslc/5.4-2.3.x-imx repo on hardknott branch #meta-freescale
Andrey Zhizhikin
Hello Piotr,
On Mon, Aug 16, 2021 at 2:09 PM Piotr Piwko <piotr.piwko@...> wrote: That is the trick: [dunfell] uses 5.4-2.1.x-imx branch, where the proper check for the return of of_get_mac_address() is not implemented. [hardknott] uses 5.4-2.3.x-imx branch, which contains 845620ec5d3b to address it. Perhaps, this is the root cause of the behavior you're experiencing now when you switched branches. The order of MAC address fetch is described in [1], with the noteThe commit in question is coming from NXP directly and is not present regarding the U-Boot not setting "mac-address" bindings. I believe it is worth checking to make sure the MAC is set to valid one and not "All-zero".
Link: [1]: https://github.com/torvalds/linux/blob/7c60610d476766e128cc4284bb6349732cbd6606/drivers/of/of_net.c#L115 -- Regards, Andrey. |
|