[U-Boot] Linux hangs due to commit v2015.10-15-g02cc27c on loading i2c-mv64xx

Michael Haas haas at computerlinguist.org
Sun Mar 20 16:56:32 CET 2016


Hello all,

I'm running Debian Jessie with Linux 4.3.0-0.bpo.1-armmp-lpae on my
a20-olinuxino-lime2.
I have noticed that my board hangs with my recent u-boot versions when I
load the i2c module.

git-bisect narrowed the problem down to the following commit:

02cc27c74f9b884b538bcd1b93342a4c05b5d608 is the first bad commit
commit 02cc27c74f9b884b538bcd1b93342a4c05b5d608
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Sat Oct 3 15:29:24 2015 +0200

    sunxi: power: Change axp209 LDO3 and LDO4 default to disabled
   
    LDO3 and LDO4 are normally either unused, or used to power csi
    attached camera sensors, and as such do not need to be enabled at
    boot time.
   
    Signed-off-by: Hans de Goede <hdegoede at redhat.com>
    Acked-by: Ian Campbell <ijc at hellion.org.uk>

:040000 040000 9ff2e54e613a4386473cdf66c3bc5dc830a31bc7
d5330c13ef2c86643499f476b7042748969fd523 MT>>>>>drivers


The axp209 is attached to the i2c bus, so that is likely the real
culprit. In my setup, the axp209 drivers are loaded before I insert
i2c-mv64xxx.

What would be the best course of action here?

* Revert the commit
* Enable LDO3 and LDO4 for the a20-olinuxino-lime2 only?
* Fix linux

Best,

Michael



More information about the U-Boot mailing list