On Thu, April 16, 2020 2:31 pm, Jeffrey Walton wrote:
On Thu, Apr 16, 2020 at 10:55 AM Derek Atkins <derek(a)ihtfp.com>
wrote:
>
> One more thing I just noticed from the uboot output:
>
> PMIC: pmic_get() ret -19
>
> Looking at the commit I sent earlier, this appears to be part of the D1
> detection. So what does return code -19 mean?
Probably -ENODEV.
Maybe.
Interestingly, I just came across
https://gitlab.denx.de/u-boot/u-boot/-/tree/master/board%2Fwandboard which
has the following commit message:
Only the wandboard revD1 boards have PMIC, so when running on a wandboard
of different revision the following error is always shown on every boot:
pmic_get() ret -19
Instead of printing this error message, move it to debug level instead.
However, the board is labelled as D1 but isn't acting like a D1. *cries*
I wonder if I should email that author directly?
Jeff
-derek
--
Derek Atkins 617-623-3745
derek(a)ihtfp.com
www.ihtfp.com
Computer and Internet Security Consultant