From: Tomasz Figa <tomasz.figa@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Cc: "jonsmirl@gmail.com" <jonsmirl@gmail.com>,
Luke Kenneth Casson Leighton <lkcl@lkcl.net>,
devicetree-discuss <devicetree-discuss@ozlabs.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
debian-arm@lists.debian.org,
Linux on small ARM machines <arm-netbook@lists.phcomp.co.uk>,
debian-release@lists.debian.org, debian-kernel@lists.debian.org
Subject: Re: getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1))
Date: Thu, 06 Jun 2013 00:11:30 +0200 [thread overview]
Message-ID: <3619282.JgdgeGHudI@flatron> (raw)
In-Reply-To: <CAKON4OyyRF4Z46RyJFDWUwo4L52Z8bgSH0CzDr2gDerw4iDwcw@mail.gmail.com>
On Wednesday 05 of June 2013 16:48:27 jonsmirl@gmail.com wrote:
> On Wed, Jun 5, 2013 at 3:46 PM, Luke Kenneth Casson Leighton
>
> <lkcl@lkcl.net> wrote:
> > On Fri, May 31, 2013 at 3:52 AM, Ben Hutchings <ben@decadent.org.uk>
wrote:
> > > The 3.8.y branch is over, so I think we have to move to 3.9, ready
> > > or
> > > not. I merged the work in progress from trunk to sid and am going
> > > through the config changes at the moment.
> > >
> > > I'm rather disappointed that nothing at all has been committed by
> > > ARM
> > > porters to either branch in the last month.
> >
> > *sigh* i didn't want to leave this as it stood, ben, purely for the
> >
> > reason that i don't want to see you discouraged! but, i also had to
> > think a bit about what potentially to say.
> >
> > the one SoC family that's going to become increasingly important to
> >
> > have both upstream and in debian is support for allwinner's
> > processors. with 40% world-wide tablet market share [*0], they must
> > be doing something right, and it's basically getting a staggering
> > price-performance value as well as having a set of interfaces and
> > level of integration that is really second to none.
> >
> > to begin to describe the problem in getting allwinner soc source code
> >
> > upstream is this: not only do we have the usual "let's get it out the
> > door as fast as possible" learning curve of a very young, very new and
> > bewilderingly-successful fabless SoC company, but we also have a
> > completely new type of very successful and comprehensive
> > device-tree-like dynamic configuration system to deal with, which
> > allwinner have called "fex" [*1].
> >
> > basically at the time when device-tree was being thought of,
> >
> > allwinner needed something that they could *right then* - not waiting
> > for developers to finish device-tree - they needed to be able to
> > reconfigure their customer's kernels *without* needing a recompile.
> > so they invented the script.fex system, which is a simple config.ini
> > file-format, compile it to binary, and get the bootloader to upload it
> > to memory and read it.
>
> Why don't you try converting the sunxi code over to device tree? I
> don't think it will be as hard as you may think it is. Start off by
> mapping the existing fex syntax into a DTS file. Send your DTS file to
> devicetree-discuss to get help with the correct syntax. Once this DTS
> template is constructed you can write a program to convert any fex
> file into it.
>
> Now boot with this DTB; that will get all of the existing info into
> the kernel's internal FDT. Then start converting your drivers over to
> use the of_ support for accessing the FDT. You've already done all of
> the hard work in making the drivers configurable at boot. As a
> transition tool allow the kernel to boot with both fex and DT untill
> you get all of the drivers converted.
>
> BTW, device tree has been in the kernel since 2007 (or earlier).
> About two years ago the ARM community decided to switch all new
> development onto it in order to stop the proliferation of
> platform/machine files. I believe the rule about no new non-DT ARM
> platforms has been in place for over eighteen months.
Well, it not only has been in the kernel, but has been extensively used
for PowerPC. Not even saying that the idea started even earlier,
originating from OpenFirmware.
Allwinner has just reinvented a wheel, without even considering the fact
that it has been already invented. This is actually not so uncommon plot,
because for such companies it is often easier to develop (or hack up) a
completely new solution without any supervision, than to extend an
existing solution that would need cooperation with community and (whoaa)
being compliant with open source policy.
IMHO this is completely wrong and can't be justified. Not even saying
about adopting such solution now that we already have a standard and
widely accepted one, which they could have used as well.
Best regards,
Tomasz
next prev parent reply other threads:[~2013-06-05 22:11 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
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 [this message]
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=3619282.JgdgeGHudI@flatron \
--to=tomasz.figa@gmail.com \
--cc=arm-netbook@lists.phcomp.co.uk \
--cc=debian-arm@lists.debian.org \
--cc=debian-kernel@lists.debian.org \
--cc=debian-release@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=lkcl@lkcl.net \
/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).