All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolay Dimitrov <picmaster@mail.bg>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: Re: [meta-fsl-arm][PATCH 3/4] linux-fslc-mx6 (3.14-1.0.x): Add recipe
Date: Thu, 18 Jun 2015 19:38:31 +0300	[thread overview]
Message-ID: <5582F407.5010803@mail.bg> (raw)
In-Reply-To: <CAP9ODKopdwfbPr51-KuHUDVRfNjRw3DPkDV=U6tcpzkCQW_nHw@mail.gmail.com>

Hi Otavio,

On 06/18/2015 07:21 PM, Otavio Salvador wrote:
> On Thu, Jun 18, 2015 at 12:32 PM, Nikolay Dimitrov
> <picmaster@mail.bg> wrote:
>> On 06/18/2015 04:58 PM, Otavio Salvador wrote:
>>>
>>> On Thu, Jun 18, 2015 at 10:40 AM, Daiane Angolini
>>> <daiane.list@gmail.com> wrote:
>>>>
>>>> On Wed, Jun 17, 2015 at 4:45 PM, Otavio Salvador
>>>> <otavio@ossystems.com.br> wrote:
>>>>>
>>>>> On Wed, Jun 17, 2015 at 4:25 PM, Nikolay Dimitrov
>>>>> <picmaster@mail.bg> wrote:
>>>>>>
>>>>>> So, in terms of functionality this kernel sits somewhere
>>>>>> between mainline and FSL releases, is that correct?
>>>>>
>>>>>
>>>>> Yes; it is FSL release + stable releases + vendor/community
>>>>> fixes
>>>>
>>>>
>>>> I've been thinking about this issue. And this provider (for
>>>> imx6 only) may make sense to have "fslc" sufix, exactly
>>>> because it has freescale + community patches
>>>>
>>>> However, the other (currently linux-fslc) does not make sense.
>>>>  Maybe linux-cmt makes more sense today.
>>>>
>>>> I remember one of the arguments to not use only "linux" and
>>>> use a prefix was that it's not a pure mainline provider (it
>>>> clones from github) and because it leave the "linux" only for
>>>> internal kernels
>>>>
>>>> Any other suggestion?
>>>
>>>
>>> I think we need to consider some things here:
>>>
>>> linux-fslc is a kernel tree we maintain u-boot-fslc is a u-boot
>>> tree we maintain
>>>
>>> both have same goals and the idea is to provide a place to share
>>>  patches and backports.
>>>
>>> The motivation to make the 3.14 is because FSL is not taking the
>>>  fixes and security updates from stable, so a place to merge
>>> those seems to be beneficial. I don't want a plethora of names
>>> as it makes harder for people to contribute and share work so I
>>> propose two solutions:
>>>
>>> linux-fslc_4.0.bb linux-fslc-mx6_3.14-1.0.x.bb
>>>
>>> or
>>>
>>> linux-fslc_4.0.bb linux-fslc_3.14-1.0.x-mx6.bb
>>>
>>> Both works.
>>
>>
>> Thanks for sharing your ideas, this helps me to understand somewhat
>> better the motivation behind creating these linux kernel
>> providers.
>>
>> So, my comments are not to oppose any changes/improvements at all,
>> but just to add a more global perspective on where the Yocto kernel
>> providers fit in the long chain between mainline and the OEM:
>>
>> 1. linux-mainline ----------------- Good generic imx6 support, no
>> support for ASRC, VPU. Regarding the GPU - Jon Nettleton is
>> working on the etnaviv code, so probably some day we'll have a
>> fully open GPU support there. Until then - no GPU support in
>> mainline, only basic FB on hdmi/lvds (parallel lcd probably also
>> works, but I haven't tested it). Supported by the kernel
>> developers.
>>
>> 2. linux-fslc ------------- Almost mainline. Here we collect
>> patches that either will take very long to be applied in mainline,
>> or are inappropriate for mainline (but still useful for Yocto
>> users). As stability and features should be as good mainline, if
>> not slightly better due to custom fixes for Yocto. Supported by
>> Yocto community.
>>
>> 3. linux-as-proposed-by-otavio ------------------------------
>> Man-in-the middle. Forward-ported FSL code, back-ported important
>> patches from mainline. Probably something like "linux-imx-next".
>> Who will support this code?
>>
>> 4. linux-imx ------------ THE FSL kernel. Freescale's team is
>> doing a great job, and there are more or less regular releases with
>> good overall quality. It's quite normal/expected that this kernel
>> version will always lag behind mainline. One thing which bothers
>> me is that there's no way for the community to interact with the
>> FSL BSP team, which means no transparent way to
>> submit/track/resolve issues. This same role is currently being
>> played by the Yocto community due to several individuals who have
>> internal access to the FSL BSP team and can help pushing through
>> issues. Supported by Yocto community (including FSL engineers).
>>
>>
>> So, even if I like the idea that #3 will have newer code than #4,
>> the main question is who will support it (support means both
>> development and validation)?
>
> #2 linux-fslc is a tree to host fslc modified kernels. It has no
> compromise to be mainline only.
>
> #3 allow us to share work among vendors and bring fixes while reusing
> the work done by FSL BSP team, board vendors and community.
>
> #4 has no support; as soon you port it to your board it is
> non-supported kernel. As soon you move away of their BSP release it
> is non-supported kernel and plus it does not have patches applied
> once tagged (nor security or fixes) so any change needs to wait for
> next GA.
>
> To be honest, FSL does not apply fixes until next GA so there is no
> way to improve their kernel, u-boot, whatever. We try to fill the gap
> here and avoid work duplication.
>
> The amount of duplicated work done by board vendors is insane, I am
> trying to improve it as much as I can.

I see, and fully agree with the explanations. My current understanding
(could be wrong) is that the current FSL drivers in 3.14.28 are not
possible to be rebased to newer mainline kernels, is that correct?

That's why I commented about the possible confusion, as for me it's good
to see in the kernel name whether it has or has not support for the SoC
bells/whistles (-mainline/-fslc vs -imx).

If my assumption is wrong and these drivers *can* be rebased while
retaining compatibility with the binary blobs, than probably #2 and #3
start to look like something that can be merged (what Daiane said also).

Regards,
Nikolay


  reply	other threads:[~2015-06-18 16:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-17 18:02 [meta-fsl-arm][PATCH 1/4] core-image-weston: Fail gracefully if using incompatible DISTRO_FEATURES Otavio Salvador
2015-06-17 18:02 ` [meta-fsl-arm][PATCH 2/4] fsl-default-providers.inc: Move content to imx-base.inc and mxs-base.inc Otavio Salvador
2015-06-17 18:33   ` Nikolay Dimitrov
2015-06-17 18:38     ` Otavio Salvador
2015-06-17 19:27       ` Nikolay Dimitrov
2015-06-17 18:02 ` [meta-fsl-arm][PATCH 3/4] linux-fslc-mx6 (3.14-1.0.x): Add recipe Otavio Salvador
2015-06-17 18:28   ` Nikolay Dimitrov
2015-06-17 18:30     ` Otavio Salvador
2015-06-17 18:38       ` Nikolay Dimitrov
2015-06-17 18:39         ` Otavio Salvador
2015-06-17 19:25           ` Nikolay Dimitrov
2015-06-17 19:32             ` Daiane Angolini
2015-06-17 19:45             ` Otavio Salvador
2015-06-18 13:40               ` Daiane Angolini
2015-06-18 13:58                 ` Otavio Salvador
2015-06-18 15:32                   ` Nikolay Dimitrov
2015-06-18 16:21                     ` Otavio Salvador
2015-06-18 16:38                       ` Nikolay Dimitrov [this message]
2015-06-18 16:47                         ` Otavio Salvador
2015-06-18 16:47                     ` Ann Thornton
2015-06-18 17:10                   ` Nikolay Dimitrov
2015-06-18 17:40                     ` Otavio Salvador
2015-06-17 18:02 ` [meta-fsl-arm][PATCH 4/4] imx-base.inc: Use linux-fslc-mx6 for all i.MX6 by default Otavio Salvador

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=5582F407.5010803@mail.bg \
    --to=picmaster@mail.bg \
    --cc=meta-freescale@yoctoproject.org \
    --cc=otavio@ossystems.com.br \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.