Re: [Arm-netbook] getting allwinner SoC support upstream (was Re:Uploading linux (3.9.4-1))
Date: Fri Jun 07 2013 - 14:45:17 EST
On Thu, Jun 6, 2013 at 5:00 PM, Olof Johansson <olof@xxxxxxxxx> wrote:
> On Thu, Jun 6, 2013 at 8:13 AM, jonsmirl@xxxxxxxxx <jonsmirl@xxxxxxxxx> wrote:
>> On Wed, Jun 5, 2013 at 7:54 PM, luke.leighton <luke.leighton@xxxxxxxxx> wrote:
>>> augh. ok. solutions. what are the solutions here?
>> Luke if you really want to fix this a good solution is to have
>> Allwinner join Linaro and provide an engineer to the Linaro effort.
>> That engineer will get educated on the right way to do kernel
>> development and he can pass that knowledge back to Allwinner each day
>> as he learns it.
> There's no need for anybody to join Linaro to contribute upstream.
> That's a crazy notion.
indeed. this is a company that produced a 70-page "datasheet" when
freescale produced 4,500 for the iMX6. i passed on that link and i
believe it'll be an eye-opener to their engineers: education is what's
key here, and you don't need to pay vast sums to do it.
although the quantities they're selling are just ennorrrmous,
allowing them to undercut absolutely everybody because they can pay
absolute best rates to the Fab Houses (TSMC etc.) their profit margins
are going to be exceptionally slim.
so we cannot count on them having a spare $1m per year to give to
linaro, so yes, i tend to agree with what you're implying, olof, that
allwinner should be encouraged to participate more in upstream
could someone please describe to me what they should do, here? whom
should they best contact, what lists, what's the procedures, where's
the best-working-practices, where are the foundations with which they
can participate that have the formal procedures for proposals [similar
to python's PEP and debian's DEP]. that last was a not-very-subtle
and... please... i've yet to receive *any* answers to the question
"and what are the benefits that they would get by doing so"!!
> Listen, Allwinner isn't working in a vacuum, believe it or not. I've
> talked to them, so has Arnd and other people working on ARM, including
> Maxime Ripard, who's been reimplementing upstream support for their
> Everybody is interested in the right things happening, it's
> just a matter of figuring out how to do it. The right people are
> already talking.
.... but the Directors of Allwinner aren't been kept in the loop,
here: that's my job, to get them up-to-speed.
>> the cost of joining. The net result will likely be a reduction in the
>> amount they need to spend on in-house development since they will
>> learn how to better leverage other developer's work.
but you forget one thing: they only need *ever* produce *one*
board/kernel. they have a registered board type, it covers *all*
products and i mean *all* products. i don't mean that in the "usual"
way where most companies re-use a single machine type for multiple
devices and irritate the crap out of linux kernel developers when the
GPL source finally "leaks", i mean "thanks to script.fex they
LITERALLY only ever compile one binary and then customise script.fex
on a per-customer basis".
so the usual lessons really do not apply, here.
the only one i spotted was that they rather foolishly made duplicates
of sun5i_usb and renamed all the files (s/SUN5I/SUN7I/g) to make
sun7i_usb, then started editing. one of the developers created a
buffer overflow, which corrupted internal memory, and there are signs
that he then started experimenting switching off DMA trying to fix
if he'd done a proper job #ifdef CONFIG_SUN7I_USB #ifdef
CONFIG_SUN5I_USB in the same source code etc etc. and tested on
known-good [older] hardware he would have noticed that the
modifications failed on previously-known-good hardware and would have
spotted the buffer overflow error much sooner.
that _is_ something i will be bringing to the Director's attention,
that the "strategy" of cut-paste-itis has detrimental effects.
ok. so. apologies, bit of a digression there.
question for you olof [and others of course]: you've clearly listed
some benefits, which i'm very very grateful for. in light of what i
describe above [the "we only need ever write one kernel" strategy
which is serving Allwinner really really well apart from the
code-duplication mistake], do the benefits you list *still* apply, and
if so, could you please elaborate for me, assume i'm thick or
something [or at least not a programmer, which i am unfortunately so
might miss something]
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/