Hi,

On Thursday, 15.03.2018 at 09:23, Andre Przywara wrote:
> Yeah, I think I need to remove the molly guards in ATF when setting up
> the PMIC. The code checks whether the PMIC registers it touches contain
> certain values, to make sure it is in a sensible state.
> Now with Linux driving the PMIC itself and new boards using more rails,
> a reboot (which does not reset the PMIC!) lets ATF find the PMIC in some
> "unknown" state. Power-cycling fixes this, as you observed.
> 
> Can you please file an issue in my ATF github, so that I don't forget to
> fix it [1]?

Done.

> >     Failed (-5)
> >     Warning: HDMI PHY init timeout!
> >     Warning: HDMI PHY init timeout!
> 
> This ....
> 
> >     In:    serial
> >     Out:   serial
> >     Err:   serial
> >     Net:   No ethernet found.
> 
> and this are results of the PMIC not being setup properly.
> 
> >     starting USB...
> >     No controllers found
> >     Hit any key to stop autoboot:  0
> > 
> > If I try to manually "modprobe dwmac-sun8i" once booted then the module
> > loads but nothing appears in the kernel log and I get no network interface,
> > so presumably it can't see the device.
> 
> That should be independent, though.
> 
> > 
> > This is with the DTB from 4.16-rc5.
> 
> Are you sure that the .dtb is actually correct for the board? Maybe
> there is some additional or different power supply for the PHY?

No idea.

You did mention that only the kernel DTBs see the Ethernet device,
so with U-boot 2018.83 I the "No ethernet found" is expected? I'll try with
the latest DTB updates you sent to the list earlier to see if that changes
anything on the Ethernet front.

-mato

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to