[bug] boot failure on pinebook pro due to rk8xx changes in 2022.07

Jan Palus jpalus at fastmail.com
Mon Jul 18 15:39:43 CEST 2022

u-boot 2022.07 successfully finds and loads kernel (5.18.3) on my
Pinebook Pro however boot process fails when loading rk808 module:

  rk3x-i2c ff3c0000.i2c: timeout, ipd: 0x00, state: 1
  rk808 0-001b: failed to read the chip id at 0x17
  rk808: probe of 0-001b failed with error -110

git bisect indicates first commit to cause regression:

  commit ad607512f5757f4485968efd5bcf2c0245a8a235 (refs/bisect/bad)
  Author: Chris Morgan <macromorgan at hotmail.com>
  Date:   Fri May 27 20:18:19 2022
      power: pmic: rk8xx: Support sysreset shutdown method
      Add support for sysreset shutdown for this PMIC. The values were pulled
      from the various datasheets, but for now it has only been tested on
      the rk817 (for an Odroid Go Advance).
      Signed-off-by: Chris Morgan <macromorgan at hotmail.com>
      Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com>
      Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Reverting this commit fixes the issue and upon rk808 module load
following is logged:

  rk808 0-001b: chip id: 0x0

More information about the U-Boot mailing list