Ethernet on i.MX8MM with mainline U-Boot
Hi Peng,
I tried to get Ethernet running on i.MX8MM with mainline U-Boot and your latest patches for SoC-support.
I added the missing clocks, but something still seems to be wrong. It seems like the clock parents are not set correctly.
If I run "dm tree", I see that the enet_axi is a child of clock-osc-24m, but I would expect it to be under sys_pll1_266m as specified in the devicetree.
Do you have an idea what could be wrong or some working code to look at?
Thanks for your help!
Regards,
Frieder
Hi Frider,
Quoted 14 lines
-----Original Message-----
From: Schrempf Frieder <[email protected]>
Sent: 2019年9月17日 21:49
To: Peng Fan <[email protected]>
Cc: u-boot at lists.denx.de
Subject: Ethernet on i.MX8MM with mainline U-BootHi Peng,
I tried to get Ethernet running on i.MX8MM with mainline U-Boot and your latest patches for SoC-support.
I added the missing clocks, but something still seems to be wrong. It seems like the clock parents are not set correctly.
Quoted 4 lines
If I run "dm tree", I see that the
enet_axiis a child of clock-osc-24m, but I would expect it to be undersys_pll1_266mas specified in the devicetree.Do you have an idea what could be wrong or some working code to look at?
I think it might be clk_set_defaults not work for U-Boot proper. I have not tried enet. Will give a look.
Regards,
Peng.
Quoted 5 lines
Thanks for your help!
Regards,
Frieder