Re: [U-Boot] Ethernet on i.MX8MM with mainline U-Boot

2019-09-18 Thread Peng Fan
Hi Frider,

> -Original Message-
> From: Schrempf Frieder 
> Sent: 2019年9月17日 21:49
> To: Peng Fan 
> Cc: u-boot@lists.denx.de
> Subject: 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?

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.

> 
> Thanks for your help!
> 
> Regards,
> Frieder
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] Ethernet on i.MX8MM with mainline U-Boot

2019-09-17 Thread Schrempf Frieder
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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot