Pinebook Pro instability problem and fix.

Emmanuel Vadot manu at bidouilliste.com
Fri Feb 21 10:30:54 UTC 2020


On Thu, 20 Feb 2020 21:10:55 +0100
Søren Schmidt <soren.schmidt at gmail.com> wrote:

> Hi gang!
> 
> I have been wrestling my Pinebook Pro instability problem for some time.
> The problem was that if I just let it boot it would occasionally hang silently, just lock up totally unresponsive, if I changed the clock speed it would run stable.
> I finally figured out the problem and its actually quite simple.
> On boot we set all the regulators initially to their lowest possible voltage, this in my case is too low to make the little cpu?s run reliably.
> U-boot sets the lcpu voltage to 900mv and speed to 816Mhz, on boot we re-adjust the voltage to 750mv which is too low for my cpus to work reliably @ 816Mhz.
> I?ve added support for the regulator-init-microvolt setting and set that to 900000mv as per spec in the DTS, and that solves the issue.
> Now running all 6 cores with changeable frequencies and no problems what so ever.

 Yes this problem was introduced by me and it's one of the problem for
booting rock64 right now (the other being i2c).
 Both are fixed and I need to upstream them.
 The problem with regulator-init-microvolt is that it's not always
present so for now I just don't init the regulator if it's already
enabled.

> Patches on request if needed?

 Put them on phab, I'll have a look

> -Søren
> 
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"


-- 
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>


More information about the freebsd-arm mailing list