[PATCH] mx6cuboxi: fix ethernet after synchronise device-tree
festevam at gmail.com
Thu Jul 28 13:11:44 CEST 2022
On Thu, Jul 28, 2022 at 4:08 AM Josua Mayer <josua at solid-run.com> wrote:
> Please hold off merging this patch until someone tested it, I can not do so this week.
> @Tom Can you confirm if this fixes the networking on your Cubox?
> Also note that the phy-handle property may or may not be required, I am not sure.
> Josua Mayer
> On Thu, Jul 28, 2022 at 7:05 AM Josua Mayer <josua at solid-run.com> wrote:
>> The i.MX6 Cubox-i and HummingBoards can have different PHYs at varying
>> addresses. U-Boot needs to auto-detect which phy is actually present,
>> and at which address it is responding.
>> Auto-detection from multiple phy nodes specified in device-tree does not
>> currently work correct. As a work-around merge all three possible phys
>> into one node with the special address 0xffffffff which indicates to the
>> generic phy driver to probe all addresses.
>> Also fixup this fake address before booting Linux, *if* booting with
>> U-Boot's internal dtb.
>> Signed-off-by: Josua Mayer <josua at solid-run.com>
>> Fixes: d0399a46e7cd
>> arch/arm/dts/imx6qdl-sr-som.dtsi | 30 +++++++++-------------------
Should you patch the u-boot.dtsi variant instead
This way the next time the DTS re-sync is done, the problem does not
More information about the U-Boot