getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1))

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Thu Jun 6 07:38:45 EST 2013


On Wed, Jun 05, 2013 at 10:24:15PM +0100, Luke Kenneth Casson Leighton wrote:
>   https://github.com/linux-sunxi/u-boot-sunxi
> 
>  And Then Some, stephen.  there are two versions of u-boot being used:
> one is the community-assembled [GPL-compliant] one, and the other
> includes a [as-of-a-few-days-ago-but-no-longer, yay!]
> formerly-GPL-violating one from allwinner.
> 
>  the community-based one *doesn't* have fex integration (i don't
> think, but henrik will know for sure), but the allwinner one
> definitely does.
> 
>  .... and then there's the boot0 and boot1 loaders, these *do* have
> fex integration: they're absolutely tiny and they're designed to fit
> into the 1st level cache.  the job of these bootloaders is to set up
> the DDR3 RAM timings (so that you can access DRAM!!) and to then
> decide whether to load from NAND, SD/MMC etc. and many other things.
> 
>  these boot0 and boot1 loaders are themselves configureable so that
> you can specify, through script.fex, what GPIO is to be the "reset
> key" and so on.  that's a much simplified story btw.
> 
>  so the point is: if anyone wishes me to propose to allwinner that
> they convert over to devicetree, or any other proposal which involves
> significant low-level changes to their working practices that could
> potentially have a massive knock-on effect onto their
> multi-million-dollar clients, it had better be a damn good story.

Well certainly anyone interested in being a customer of allwinner should
very much encourage them to get with it.  Having support upstream really
is very helpful when trying to use a chip.  Going off an inventing your
own thing rather than talking to the linux kernel developers first is
just a bad idea as far as long term support is concerned.  Had they asked
they would probably have been told devicetree would be a good idea to use.

Allwinner has some very nice chips, and it certainly would be nice if
they would start doing things "properly".

Texas instruments uses devicetree for their arm devices.  It's very nice.

I haven't checked what freescale is doing yet, although at least for
powerpc, freescale is very used to devicetree, so hopefully they are
doing that for their arm chips too.

Both are certainly pushing their drivers upstream for inclusion and seem
to be listening to feedback on how to best do things.

I haven't personally dealt with any nvidia arm devices, so I have no
idea how those are turning out, nor have I looked much at the marvell
ones yet (even though I have a cubox sitting on my desk I intend to play
around with).

Lots of others like qualcomm, samsung, and who knows who else.  No idea
how they are doing things either.

-- 
Len Sorensen


More information about the devicetree-discuss mailing list