On Fri, 20 Mar 2015 17:51:03 +0100
Paul Kocialkowski <[email protected]> wrote:

> 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).

U-Boot uses to have separate menuconfig invocations for the SPL and the
main binary for a while. This turned out to be very user unfriendly and
confusing, but now this mishap should be already resolved:

    http://lists.denx.de/pipermail/u-boot/2015-February/205512.html

Try to upgrade to the latest U-Boot git master branch and check if it
works better.

-- 
Best regards,
Siarhei Siamashka

-- 
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.

Reply via email to