[U-Boot] [PATCH v2 3/5] sunxi: Add axp209 pmic support

Hans de Goede hdegoede at redhat.com
Thu Jul 17 12:37:06 CEST 2014


Hi,

On 07/16/2014 11:48 PM, Ian Campbell wrote:
> On Fri, 2014-06-13 at 22:55 +0200, Hans de Goede wrote:
>> From: Henrik Nordstrom <henrik at henriknordstrom.net>
>>
>> Add support for the x-powers axp209 pmic which is found on most A10, A13 and
>> A20 boards.
>>
>> And enable AXP209 support for the Cubietruck and Cubieboard boards.
> 
> Something about this breaks booting on my Cubietruck in FEL mode. I get:
> 
>         U-Boot SPL 2014.07-rc4-00122-g624959a (Jul 16 2014 - 22:34:59)
>         Error, wrong i2c adapter 0 max 0 possible
>         Error, wrong i2c adapter 0 max 0 possible
>         
> And then nothing.

If you look at the patch adding support for the i2c controller I needed
to make some changes to the link script, I probably forgot to make the
same changes to the fel link script...

> Non-FEL mode is unaffected.
> 
> I've pushed my wip branch to:
> 
>         git://gitorious.org/ijc/u-boot.git wip/sunxi-20140716
> 
> I was hoping to merge something like this set of patches upstream
> shortly.
> 
>> While changing the boards.cfg lines for the Cubietruck, add Ian and me as board
>> maintainers for the Cubietruck.
> 
> You actually factored that bit out in v2...

True, feel free to amend the commit msg, or let me know if you want a v3.

And thanks for looking into merging this into sunxi -next. I was planning to
drop you a mail about coordinating getting this added vs getting your ahci
patches added. I assume you ahci patches are good to go too, or ... ?

Next I want to start adding support for more boards. For starters I would
like to add all boards which also have a dts file in the upstream kernel.
Ideally I would start working on that once you're done with adding this
series + your ahci patches so that we don't get in each others way. Can you
send me a mail when you're done (for a while at least) then I'll try to
get a set of patches for this to the list based on top of your latest work.

Except for sun4i-a10-hackberry.dts and sun4i-a10-inet97fv2.dts I've hardware
to test on for all sun4i, sun5i and sun7i models which have a dts file, not
sure what to do with the 2 I cannot test.

Regards,

Hans


More information about the U-Boot mailing list