Am Mittwoch, 12. November 2014 14:03:36 UTC+1 schrieb Jens Lucius:
>
> Is it possible to boot a mainline (or more recent) u-boot with sunxi 
> kernel 3.4?
>
> I tried to boot 2014.10 with no success. Then I saw the discussion around 
> OLD_SUNXI_KERNEL_COMPAT and from what I have seen it should be possible?
>
> I added 
>
> +S:OLD_SUNXI_KERNEL_COMPAT=y
>
>
>
Hi

Really sorry, seems it was my own fault, but you helped me find my mistake 
...  

I forgot to mention, that I use fitImage format for kernel, so I thought 
maybe that is causing the error so I switched to uImage. When using uImage 
I got the error

Could not find a valid device tree

As this error should have been fixed with your latest commit I had a look 
at the sunxi-common.h and everything looked fine, so I compared the option 
and of course it is not

+S:OLD_SUNXI_KERNEL_COMPAT=y

but

+S:CONFIG_OLD_SUNXI_KERNEL_COMPAT=y

With this I could boot the uImage and also boot the fitImage. So I can 
confirm your changes work with with the Olinuxino-A20 Micro with either 
uImage or fitImage.

Thanks for your help and great work on sunxi.

Jens

- One last feedback: when switching from sunxi-u-boot to mainline the name 
of the olimex boards change. The names have been cleared up in u-boot-sunxi 
in commit be4331143f23976a2e899255d31b794989fe1a47 but in mainline u-boot 
still the old names are used. I don't know if it is wise to change the 
names in mainline, but it should be somehow consistent.

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