From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Stephen Warren <swarren@wwwdotorg.org>
Cc: devicetree-discuss <devicetree-discuss@ozlabs.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
debian-arm@lists.debian.org,
"jonsmirl@gmail.com" <jonsmirl@gmail.com>,
Linux on small ARM machines <arm-netbook@lists.phcomp.co.uk>,
ARM Linux Mailing List <linux-arm-kernel@lists.infradead.org>,
debian-kernel@lists.debian.org
Subject: Re: getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1))
Date: Wed, 5 Jun 2013 22:24:15 +0100 [thread overview]
Message-ID: <CAPweEDz=hFxXW3XF9CSNZpEFSjayb5an1E8Xze1_uQcCZONVxg@mail.gmail.com> (raw)
In-Reply-To: <51AFA6DD.3000202@wwwdotorg.org>
[ please remove debian-release from future replies! my mistake -
please don't propagate it, thanks ]
On Wed, Jun 5, 2013 at 10:00 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 06/05/2013 02:46 PM, jonsmirl@gmail.com wrote:
>> On Wed, Jun 5, 2013 at 3:46 PM, Luke Kenneth Casson Leighton
>> <lkcl@lkcl.net <mailto:lkcl@lkcl.net>> wrote:
> ...
>> the detect line, which is the write-protect line, to setting the DRAM
>> clock timings, saying which kernel driver must be loaded to support
>> the touchscreen, enabling debugging, JTAG, naming the GPIOs for easy
>> and convenient use in the kernel code: basically there isn't a single
>> piece of hardware on the allwinner SoC family which *isn't*
>> reconfigureable through script.fex... and they've even integrated it
>> into u-boot *and* their low-level (early) bootloader as well [which
>>
>>
>> Device tree support has been integrated into uboot for about five years now.
>
> There are two aspects to DT support in U-Boot:
>
> 1) Having U-Boot pass a DT to the kernel, possibly manipulating a few
> properties on the way, e.g. RAM size. As you say, this has been around a
> while.
>
> 2) Having U-Boot itself read a DT and configure itself, just like the
> kernel does. This is relatively new, and only supported by a few boards
> (all Tegra to some extent, and a couple each Samsung Exynos and Xilinx
> boards). I suspect/guess this is the kind of thing that Luke was
> referring to re: U-Boot fex integration.
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.
l.
next prev parent reply other threads:[~2013-06-05 21:24 UTC|newest]
Thread overview: 109+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAPweEDx3mAy40BZrzrKPRbvg7vKMj7KevDQ3m_v4p6Yo50eSGg@mail.gmail.com>
[not found] ` <CAPweEDx3mAy40BZrzrKPRbvg7vKMj7KevDQ3m_v4p6Yo50eSGg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-05 20:46 ` getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1)) jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
2013-06-05 21:00 ` Stephen Warren
2013-06-05 21:16 ` Russell King - ARM Linux
2013-06-05 22:07 ` Luke Kenneth Casson Leighton
2013-06-06 8:16 ` Jean-Christophe PLAGNIOL-VILLARD
2013-06-05 22:22 ` Tomasz Figa
2013-06-05 21:24 ` Luke Kenneth Casson Leighton [this message]
2013-06-05 21:38 ` Lennart Sorensen
2013-06-05 22:10 ` Russell King - ARM Linux
2013-06-05 21:59 ` Henrik Nordström
2013-06-05 22:47 ` [Arm-netbook] " luke.leighton
[not found] ` <CAPweEDxMpeJc-w=Yd7d2OT=UisRBp2rxf-MPMDUCOG3EyJz1GQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-05 23:07 ` jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
2013-06-05 23:26 ` luke.leighton
2013-06-05 23:28 ` [Arm-netbook] " jonsmirl
2013-06-05 23:40 ` Henrik Nordström
2013-06-05 23:54 ` luke.leighton
2013-06-06 0:01 ` [Arm-netbook] " Tomasz Figa
2013-06-06 9:27 ` Thomas Petazzoni
2013-06-06 10:02 ` Tomasz Figa
2013-06-07 18:26 ` luke.leighton
2013-06-07 18:59 ` Thomas Petazzoni
2013-06-07 19:14 ` luke.leighton
2013-06-07 21:29 ` luke.leighton
2013-06-08 8:28 ` Tomasz Figa
2013-06-08 9:08 ` luke.leighton
2013-06-09 22:09 ` luke.leighton
2013-06-09 22:31 ` Russell King - ARM Linux
2013-06-09 23:30 ` luke.leighton
2013-06-07 22:08 ` Maxime Ripard
2013-06-07 23:07 ` luke.leighton
[not found] ` <CAPweEDwFHY_AbBxjspm7BvfdFHsxL5H594cFN4ZVC6QFpu4QGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-07 23:09 ` Dennis Lan (dlan)
2013-06-07 23:17 ` luke.leighton
2013-06-06 9:49 ` Mark Brown
2013-06-06 12:24 ` luke.leighton
[not found] ` <CAPweEDzYLDzh_-OWU61dtVhajZ40QpQgZKHFYDsh3FgF=r9_ag-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-06 12:43 ` [Arm-netbook] " Tomasz Figa
2013-06-06 12:49 ` luke.leighton
2013-06-06 13:02 ` [Arm-netbook] " Tomasz Figa
2013-06-07 7:52 ` luke.leighton
2013-06-07 8:40 ` Vladimir Pantelic
[not found] ` <51B19C85.9090407-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-06-07 9:08 ` [Arm-netbook] " Russell King - ARM Linux
[not found] ` <CAPweEDx_1fvAv9sROtPreoyyj_yDAuYb040fM2zPc+tf22d=YA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-07 8:57 ` Tomasz Figa
2013-06-07 10:32 ` Bjørn Mork
2013-06-07 19:02 ` luke.leighton
2013-06-07 19:16 ` Tomasz Figa
[not found] ` <CAPweEDwmgr2JbH+txDDjR_gDA2R2C1v=AuVCUVTs7RriMhZNiA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-07 19:30 ` Russell King - ARM Linux
2013-06-07 21:34 ` luke.leighton
2013-06-07 14:30 ` Lennart Sorensen
2013-06-06 13:10 ` Russell King - ARM Linux
2013-06-07 8:02 ` luke.leighton
[not found] ` <CAPweEDyYt+pN+UaFuqWL5RrHpyuq_4So-tArmx3dr=0wLS+hwQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-07 8:49 ` Russell King - ARM Linux
2013-06-07 10:26 ` Henrik Nordström
2013-06-07 17:30 ` Stephen Warren
2013-06-06 14:02 ` Theodore Ts'o
[not found] ` <20130606140250.GA4839-AKGzg7BKzIDYtjvyW6yDsg@public.gmane.org>
2013-06-06 15:05 ` Olof Johansson
2013-06-06 0:19 ` Henrik Nordström
2013-06-06 12:22 ` luke.leighton
2013-06-06 12:51 ` Vladimir Pantelic
2013-06-07 7:40 ` [Arm-netbook] " luke.leighton
2013-06-07 7:48 ` Vladimir Pantelic
2013-06-07 8:06 ` luke.leighton
2013-06-07 8:18 ` [Arm-netbook] " Alexandre Belloni
2013-06-07 18:15 ` luke.leighton
2013-06-07 14:49 ` joem
2013-06-07 18:26 ` [Arm-netbook] " Russell King - ARM Linux
2013-06-07 19:18 ` Luke Kenneth Casson Leighton
2013-06-07 19:31 ` Ben Hutchings
[not found] ` <CAPweEDxXnRWYK4GhSkN-PzM1hLOZPiD1MUne1Q-4FT6PJRJUtw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-07 19:35 ` Russell King - ARM Linux
2013-06-07 21:41 ` Luke Kenneth Casson Leighton
2013-06-07 20:00 ` joem
2013-06-07 9:14 ` [Arm-netbook] " Russell King - ARM Linux
[not found] ` <CAPweEDyPffcN9cNJ10ZHt+AZJHTRdU0LMfCGM_756uAbf+NEBQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-06 13:15 ` Russell King - ARM Linux
2013-06-06 18:51 ` Henrik Nordström
2013-06-06 15:13 ` [Arm-netbook] " jonsmirl
2013-06-06 16:00 ` Olof Johansson
2013-06-06 17:28 ` Maxime Ripard
2013-06-06 18:55 ` Lennart Sorensen
2013-06-06 20:22 ` Arnd Bergmann
2013-06-07 18:56 ` luke.leighton
2013-06-07 18:50 ` luke.leighton
2013-06-07 18:57 ` Wookey
2013-06-07 19:08 ` luke.leighton
2013-06-07 21:13 ` luke.leighton
2013-06-07 9:17 ` Barry Song
2013-06-07 18:45 ` luke.leighton
2013-06-07 18:54 ` Olof Johansson
2013-06-07 19:04 ` luke.leighton
[not found] ` <CAPweEDzeyJh+DKX=8tzrT9AnG9NqLp8nWkWFmB2Wy+JnBkqEdg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-07 19:31 ` Russell King - ARM Linux
[not found] ` <CAPweEDw1BabE0cmT5fxZ3Z9p9EH508M3Nzcqk2VcO0oz-qYsvg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-05 23:40 ` jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
2013-06-05 23:52 ` luke.leighton
2013-06-06 0:15 ` Henrik Nordström
2013-06-06 12:19 ` [Arm-netbook] " luke.leighton
2013-06-06 18:44 ` Henrik Nordström
2013-06-05 22:54 ` Stephen Warren
2013-06-05 23:15 ` Henrik Nordström
2013-06-06 1:56 ` Stefan Monnier
2013-06-05 21:15 ` Luke Kenneth Casson Leighton
2013-06-05 21:47 ` Henrik Nordström
2013-06-05 22:20 ` [Arm-netbook] " luke.leighton
2013-06-06 0:23 ` Henrik Nordström
2013-06-05 21:52 ` Tomasz Figa
2013-06-05 22:38 ` Luke Kenneth Casson Leighton
2013-06-05 23:27 ` Tomasz Figa
2013-06-05 23:46 ` Luke Kenneth Casson Leighton
2013-06-06 15:30 ` Lennart Sorensen
2013-06-05 20:48 ` jonsmirl
2013-06-05 22:11 ` Tomasz Figa
2013-06-05 22:56 ` Luke Kenneth Casson Leighton
[not found] ` <CAPweEDwyX4=Sme9kyDU64k9h3SPUHuErD8gEqfdYLGwBOocZDQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-06 0:35 ` Greg KH
[not found] ` <CAKON4OyyRF4Z46RyJFDWUwo4L52Z8bgSH0CzDr2gDerw4iDwcw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-06 9:29 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPweEDz=hFxXW3XF9CSNZpEFSjayb5an1E8Xze1_uQcCZONVxg@mail.gmail.com' \
--to=lkcl@lkcl.net \
--cc=arm-netbook@lists.phcomp.co.uk \
--cc=debian-arm@lists.debian.org \
--cc=debian-kernel@lists.debian.org \
--cc=devicetree-discuss@ozlabs.org \
--cc=jonsmirl@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=swarren@wwwdotorg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).