After investigating a bit, I found out that I was unable to boot
sunxi-3.4 on A20 devices because I wasn't setting
CONFIG_OLD_SUNXI_KERNEL_COMPAT the right way.

What I did initially was to add it to sunxi-common.h (before any other
define), but it apparently didn't get taken in account in the SPL
context. Setting it in the device defconfig works for both the main
U-Boot binary and SPL. This seems like a very strange behaviour to me.
Would someone care to weigh-in and provide an explanation for this? I
thought that sunxi-common.h was supposed to be used in both contexts.

I am now looking for a way to enable it at build time, that is, through
some equivalent of menuconfig, that wouldn't require any interaction (so
that I can have it all scriptable).

Thanks!

-- 
Paul Kocialkowski, Replicant developer

Replicant is a fully free Android distribution running on several
devices, a free software mobile operating system putting the emphasis on
freedom and privacy/security.

Website: http://www.replicant.us/
Blog: http://blog.replicant.us/
Wiki/tracker/forums: http://redmine.replicant.us/

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to