On Tue, 2015-12-29 at 12:15 +0100, Karsten Merker wrote: > On Mon, Dec 28, 2015 at 02:45:33PM -0800, Vagrant Cascadian wrote: > > I'm trying to get a Cubieboard4 board booting. > > > > It looks like the Cubieboard4 has support in mainline linux since > at > > least 4.2 (so should work with jessie-backports), but I can't find > a > > u-boot that will boot it... > > > > I see that Karsten added a flash-kernel entry for it, but it isn't > > supported in mainline u-boot or sunxi u-boot... > > > > I'm wondering where to get a u-boot that'll work with the flash > -kernel > > entry, as it would be nice to not have to treat the Cubieboard4 as > a > > special snowflake with some ancient vendor u-boot that doesn't > support > > device trees and other features needed for modern kernels. > > Sorry for the confusion. IIRC somebody from #linux-sunxi had > mentioned that they had a build of mainline u-boot working on the > CC-A80, so I added the flash-kernel machine stanza when the > mainline kernel support was available. > > Generic A80 support (Clocks, PIO, RSB, UART, MMC) is available in > mainline u-boot since v2015.07, but you are of course right - a > CC-A80-specific config has indeed not yet entered the mainline > u-boot git, so adding the flash-kernel stanza was probably a bit > premature.
I'd expect that a pretty trivial modification to configs/Merrii_A80_Optimus_defconfig (to switch the CONFIG_DEFAULT_DEVICE_TREE option over) would result in something useful, but I've not tried it (need to setup my CB4, apply h/sink etc). Posting on linux-sunxi and/or the u-boot list might result in further insights. Ian.