All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux v5.10 for i.MX8 development
@ 2021-09-20 21:30 Ankur Tyagi
  2021-09-21  8:36 ` [meta-freescale] " Andrey Zhizhikin
  0 siblings, 1 reply; 10+ messages in thread
From: Ankur Tyagi @ 2021-09-20 21:30 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1821 bytes --]

Hi,

We are currently using Linux v5.4 for i.MX8 provided by recipe linux-fslc-imx_5.4.bb ** because as mentioned in recipe as well, branch "5.4-2.3.x-imx" from repo "linux-fslc" get changes merged from branch "imx_5.4.70_2.3.0" of linux-imx repo ( https://source.codeaurora.org/external/imx/linux-imx/log/?h=imx_5.4.70_2.3.0) ( https://source.codeaurora.org/external/imx/linux-imx/log/?h=imx_5.4.70_2.3.0 )

Now we are planning to upgrade to Linux v5.10 and here I have few questions:

* Recipe linux-fslc-lts_5.10.bb doesn't support i.MX8 https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... ( https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-kernel/linux/linux-fslc-lts_5.10.bb#L27 ) Neither I can see any merge from NXP linux-imx branch "lf-5.10.y" into linux-fslc branch "5.10.x+fslc". Is there any plan for that merge? If yes, any timeline by which it will happen? If no, then can I use "imx_v8_defconfig" from linux-imx repo to build kernel using linux-fslc repo?
* i.MX8 is supported in linux-imx_5.10.bb recipe https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... ( https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-kernel/linux/linux-imx_5.10.bb#L33 ) which is using kernel from branch "lf-5.10.y" provided by linux-imx repo but this repo is NXP internal and doesn't get updated with stable Linux kernel. It is providing v5.10.35 ( https://source.codeaurora.org/external/imx/linux-imx/log/?h=lf-5.10.y )

So ideally, just like v5.4 would like to use linux-fslc repo for v5.10 development as well.

Will appreciate any guidance around appropriate repo for v5.10 development for i.MX8

thanks
Ankur

[-- Attachment #2: Type: text/html, Size: 2735 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-freescale] Linux v5.10 for i.MX8 development
  2021-09-20 21:30 Linux v5.10 for i.MX8 development Ankur Tyagi
@ 2021-09-21  8:36 ` Andrey Zhizhikin
  2021-09-21  9:43   ` Ankur Tyagi
  2021-09-21 17:11   ` Tim Harvey
  0 siblings, 2 replies; 10+ messages in thread
From: Andrey Zhizhikin @ 2021-09-21  8:36 UTC (permalink / raw)
  To: Ankur Tyagi; +Cc: meta-freescale

Hello Ankur,

On Mon, Sep 20, 2021 at 11:30 PM Ankur Tyagi <ankur.tyagi@gallagher.com> wrote:
>
> Hi,
>
> We are currently using Linux v5.4 for i.MX8 provided by recipe linux-fslc-imx_5.4.bb because as mentioned in recipe as well, branch "5.4-2.3.x-imx" from repo "linux-fslc" get changes merged from branch "imx_5.4.70_2.3.0" of linux-imx repo (https://source.codeaurora.org/external/imx/linux-imx/log/?h=imx_5.4.70_2.3.0)
>
> Now we are planning to upgrade to Linux v5.10 and here I have few questions:
>
> 1. Recipe linux-fslc-lts_5.10.bb doesn't support i.MX8 https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... Neither I can see any merge from NXP linux-imx branch "lf-5.10.y" into linux-fslc branch "5.10.x+fslc".

When you say that i.MX8 is not supported - to which SoC you're
referring to? Mainline kernel on the [master] branch of this layer
does provide a descent support for all i.MX8M derivatives, but I'm not
entirely sure of the state for i.MX8 family SoC support since I do not
have that HW.

Can you specify which derivative you're talking about?

> Is there any plan for that merge? If yes, any timeline by which it will happen?

I've looked into updating NXP branch [lf-5.10.y], and it is not
trivial... I'm now short on time to have a full swing of merging the
latest stable update on top of it, but probably would get to this
eventually. If there are any volunteers here that are willing to
undertake this task - this would be really appreciated.

> If no, then can I use "imx_v8_defconfig" from linux-imx repo to build kernel using linux-fslc repo?

You can use the `defconfig` file, which is present in the layer to
build [linux-fslc] for i.MX8 machine. It resides in
recipes-kernel/linux/linux-fslc/armv8a/defconfig and is synchronized
with stable kernel release 5.14.

If you however opt-in for [linux-fslc-lts] kernel package, then the
kernel config file would be taken from
recipes-kernel/linux/linux-fslc-lts/armv8a/defconfig, which is also
synchronized with 5.10 from stable.

Are there any specific configuration options you need from
imx_v8_defconfig, which should be present in the defconfig for
mainline recipes?

> i.MX8 is supported in linux-imx_5.10.bb recipe https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... which is using kernel from branch "lf-5.10.y" provided by linux-imx repo but this repo is NXP internal and doesn't get updated with stable Linux kernel. It is providing v5.10.35 (https://source.codeaurora.org/external/imx/linux-imx/log/?h=lf-5.10.y)

Correct, but as I've already pointed out - the merge of stable updates
to this kernel base is not trivial... :/

>
> So ideally, just like v5.4 would like to use linux-fslc repo for v5.10 development as well.
>
>
> Will appreciate any guidance around appropriate repo for v5.10 development for i.MX8

As one of the things to try out: you can switch the BSP flavor to use
"mainline" instead of "nxp", which would take all upstream components
instead of those provided by NXP. Be aware, that if you rely on any
functionality which is present in NXP BSP only (e.g. GPU/VPU) - this
would be unavailable in Mainline BSP.

>
> thanks
> Ankur
> 
>


-- 
Regards,
Andrey.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-freescale] Linux v5.10 for i.MX8 development
  2021-09-21  8:36 ` [meta-freescale] " Andrey Zhizhikin
@ 2021-09-21  9:43   ` Ankur Tyagi
  2021-09-30  8:44     ` Andrey Zhizhikin
  2021-09-21 17:11   ` Tim Harvey
  1 sibling, 1 reply; 10+ messages in thread
From: Ankur Tyagi @ 2021-09-21  9:43 UTC (permalink / raw)
  To: Andrey Zhizhikin; +Cc: meta-freescale

Hello Andrey,

> Hello Ankur,
>
> On Mon, Sep 20, 2021 at 11:30 PM Ankur Tyagi <ankur.tyagi@gallagher.com> wrote:
> >
> > Hi,
> >
> > We are currently using Linux v5.4 for i.MX8 provided by recipe linux-fslc-imx_5.4.bb because as mentioned in recipe as well, branch "5.4-2.3.x-imx" from repo "linux-fslc" get changes merged from branch "imx_5.4.70_2.3.0" of linux-imx repo (https://source.codeaurora.org/external/imx/linux-imx/log/?h=imx_5.4.70_2.3.0)
> >
> > Now we are planning to upgrade to Linux v5.10 and here I have few questions:
> >
> > 1. Recipe linux-fslc-lts_5.10.bb doesn't support i.MX8 https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... Neither I can see any merge from NXP linux-imx branch "lf-5.10.y" into linux-fslc branch "5.10.x+fslc".
>
> When you say that i.MX8 is not supported - to which SoC you're
> referring to? Mainline kernel on the [master] branch of this layer
> does provide a descent support for all i.MX8M derivatives, but I'm not
> entirely sure of the state for i.MX8 family SoC support since I do not
> have that HW.

I was referring to COMPATIBLE_MACHINE in linux-fslc-lts_5.10.bb recipe.
It doesn't have mx8 in it (sorry above link is broken)

> Can you specify which derivative you're talking about?

We are using i.MX8 Dual core A35

> > Is there any plan for that merge? If yes, any timeline by which it will happen?
>
> I've looked into updating NXP branch [lf-5.10.y], and it is not
> trivial... I'm now short on time to have a full swing of merging the
> latest stable update on top of it, but probably would get to this
> eventually. If there are any volunteers here that are willing to
> undertake this task - this would be really appreciated.
>
> > If no, then can I use "imx_v8_defconfig" from linux-imx repo to build kernel using linux-fslc repo?
>
> You can use the `defconfig` file, which is present in the layer to
> build [linux-fslc] for i.MX8 machine. It resides in
> recipes-kernel/linux/linux-fslc/armv8a/defconfig and is synchronized
> with stable kernel release 5.14.
>
> If you however opt-in for [linux-fslc-lts] kernel package, then the
> kernel config file would be taken from
> recipes-kernel/linux/linux-fslc-lts/armv8a/defconfig, which is also
> synchronized with 5.10 from stable.

Thank you for sharing this insight, this is helpful

> Are there any specific configuration options you need from
> imx_v8_defconfig, which should be present in the defconfig for
> mainline recipes?

I haven't done any comparison yet between imx_v8_defconfig from 5.4-2.3.x-imx branch
and mainline defconfig but now I will do that since I know which defconfig is to be used :)

> > i.MX8 is supported in linux-imx_5.10.bb recipe https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... which is using kernel from branch "lf-5.10.y" provided by linux-imx repo but this repo is NXP internal and doesn't get updated with stable Linux kernel. It is providing v5.10.35 (https://source.codeaurora.org/external/imx/linux-imx/log/?h=lf-5.10.y)
>
> Correct, but as I've already pointed out - the merge of stable updates
> to this kernel base is not trivial... :/
> >
> > So ideally, just like v5.4 would like to use linux-fslc repo for v5.10 development as well.
> >
> >
> > Will appreciate any guidance around appropriate repo for v5.10 development for i.MX8
>
> As one of the things to try out: you can switch the BSP flavor to use
> "mainline" instead of "nxp", which would take all upstream components
> instead of those provided by NXP. Be aware, that if you rely on any
> functionality which is present in NXP BSP only (e.g. GPU/VPU) - this
> would be unavailable in Mainline BSP.

We don't need GPU/VPU so will try your suggestion to use linux-fslc kernel
and defconfig from linux-fslc-lts/armv8a and see how it goes.

Once again, thanks for your response and suggestions.

> >
> > thanks
> > Ankur
> > 
> >
>
>
> --
> Regards,
> Andrey.

Regards
Ankur
________________________________
 This email is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise us of our error by return e-mail then delete this email and any attached files. You may not copy, disclose or use the contents in any way. The views expressed in this email may not be those of Gallagher Group Ltd or subsidiary companies thereof.
________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-freescale] Linux v5.10 for i.MX8 development
  2021-09-21  8:36 ` [meta-freescale] " Andrey Zhizhikin
  2021-09-21  9:43   ` Ankur Tyagi
@ 2021-09-21 17:11   ` Tim Harvey
  2021-09-21 19:09     ` Andrey Zhizhikin
  1 sibling, 1 reply; 10+ messages in thread
From: Tim Harvey @ 2021-09-21 17:11 UTC (permalink / raw)
  To: Andrey Zhizhikin; +Cc: Ankur Tyagi, meta-freescale

On Tue, Sep 21, 2021 at 1:36 AM Andrey Zhizhikin <andrey.z@gmail.com> wrote:
>
> Hello Ankur,
>
> On Mon, Sep 20, 2021 at 11:30 PM Ankur Tyagi <ankur.tyagi@gallagher.com> wrote:
> >
> > Hi,
> >
> > We are currently using Linux v5.4 for i.MX8 provided by recipe linux-fslc-imx_5.4.bb because as mentioned in recipe as well, branch "5.4-2.3.x-imx" from repo "linux-fslc" get changes merged from branch "imx_5.4.70_2.3.0" of linux-imx repo (https://source.codeaurora.org/external/imx/linux-imx/log/?h=imx_5.4.70_2.3.0)
> >
> > Now we are planning to upgrade to Linux v5.10 and here I have few questions:
> >
> > 1. Recipe linux-fslc-lts_5.10.bb doesn't support i.MX8 https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... Neither I can see any merge from NXP linux-imx branch "lf-5.10.y" into linux-fslc branch "5.10.x+fslc".
>
> When you say that i.MX8 is not supported - to which SoC you're
> referring to? Mainline kernel on the [master] branch of this layer
> does provide a descent support for all i.MX8M derivatives, but I'm not
> entirely sure of the state for i.MX8 family SoC support since I do not
> have that HW.

Andrey,

By decent support for i.MX8M derivatives you mean no USB, no PCI, no
DSI, no MIPI right? :)

I haven't looked at the yocto kernel recipes but I spend a lot of time
with the mainline kernel that I'm sure they are based on. While most
of the power-domain stuff landed in 5.13 we are still waiting for
blk-ctl which is needed to finish out the power-domain and reset
control for all of those blocks unfortunately.

>
> Can you specify which derivative you're talking about?
>
> > Is there any plan for that merge? If yes, any timeline by which it will happen?
>
> I've looked into updating NXP branch [lf-5.10.y], and it is not
> trivial... I'm now short on time to have a full swing of merging the
> latest stable update on top of it, but probably would get to this
> eventually. If there are any volunteers here that are willing to
> undertake this task - this would be really appreciated.

Could you explain the difference between NXP's 'lf-' and 'imx-'
branches? I can never understand their branch naming scheme nor their
commit log prefix scheme.

Best regards,

Tim

>
> > If no, then can I use "imx_v8_defconfig" from linux-imx repo to build kernel using linux-fslc repo?
>
> You can use the `defconfig` file, which is present in the layer to
> build [linux-fslc] for i.MX8 machine. It resides in
> recipes-kernel/linux/linux-fslc/armv8a/defconfig and is synchronized
> with stable kernel release 5.14.
>
> If you however opt-in for [linux-fslc-lts] kernel package, then the
> kernel config file would be taken from
> recipes-kernel/linux/linux-fslc-lts/armv8a/defconfig, which is also
> synchronized with 5.10 from stable.
>
> Are there any specific configuration options you need from
> imx_v8_defconfig, which should be present in the defconfig for
> mainline recipes?
>
> > i.MX8 is supported in linux-imx_5.10.bb recipe https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... which is using kernel from branch "lf-5.10.y" provided by linux-imx repo but this repo is NXP internal and doesn't get updated with stable Linux kernel. It is providing v5.10.35 (https://source.codeaurora.org/external/imx/linux-imx/log/?h=lf-5.10.y)
>
> Correct, but as I've already pointed out - the merge of stable updates
> to this kernel base is not trivial... :/
>
> >
> > So ideally, just like v5.4 would like to use linux-fslc repo for v5.10 development as well.
> >
> >
> > Will appreciate any guidance around appropriate repo for v5.10 development for i.MX8
>
> As one of the things to try out: you can switch the BSP flavor to use
> "mainline" instead of "nxp", which would take all upstream components
> instead of those provided by NXP. Be aware, that if you rely on any
> functionality which is present in NXP BSP only (e.g. GPU/VPU) - this
> would be unavailable in Mainline BSP.
>
> >
> > thanks
> > Ankur
> >
> >
>
>
> --
> Regards,
> Andrey.
>
> 
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-freescale] Linux v5.10 for i.MX8 development
  2021-09-21 17:11   ` Tim Harvey
@ 2021-09-21 19:09     ` Andrey Zhizhikin
  2021-09-22  1:42       ` Tom Hochstein
  0 siblings, 1 reply; 10+ messages in thread
From: Andrey Zhizhikin @ 2021-09-21 19:09 UTC (permalink / raw)
  To: Tim Harvey; +Cc: Ankur Tyagi, meta-freescale

Hello Tim,

On Tue, Sep 21, 2021 at 7:11 PM Tim Harvey <tharvey@gateworks.com> wrote:
>
> On Tue, Sep 21, 2021 at 1:36 AM Andrey Zhizhikin <andrey.z@gmail.com> wrote:
> >
> > Hello Ankur,
> >
> > On Mon, Sep 20, 2021 at 11:30 PM Ankur Tyagi <ankur.tyagi@gallagher.com> wrote:
> > >
> > > Hi,
> > >
> > > We are currently using Linux v5.4 for i.MX8 provided by recipe linux-fslc-imx_5.4.bb because as mentioned in recipe as well, branch "5.4-2.3.x-imx" from repo "linux-fslc" get changes merged from branch "imx_5.4.70_2.3.0" of linux-imx repo (https://source.codeaurora.org/external/imx/linux-imx/log/?h=imx_5.4.70_2.3.0)
> > >
> > > Now we are planning to upgrade to Linux v5.10 and here I have few questions:
> > >
> > > 1. Recipe linux-fslc-lts_5.10.bb doesn't support i.MX8 https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... Neither I can see any merge from NXP linux-imx branch "lf-5.10.y" into linux-fslc branch "5.10.x+fslc".
> >
> > When you say that i.MX8 is not supported - to which SoC you're
> > referring to? Mainline kernel on the [master] branch of this layer
> > does provide a descent support for all i.MX8M derivatives, but I'm not
> > entirely sure of the state for i.MX8 family SoC support since I do not
> > have that HW.
>
> Andrey,
>
> By decent support for i.MX8M derivatives you mean no USB, no PCI, no
> DSI, no MIPI right? :)

It depends on the definition of "decency". :)

Actually, I was referring to 5.14.y kernel, and at least from what I
know USB support is present, although I did not test the performance
of it.

Of course, there are few pieces that are missing in upstream kernel,
which are present in the vendor one, but there are different opinion
on the topic of "Vendor vs Vanilla" kernel, some tend to favor one for
the other.

My take on this is: if the functionality I need is present in upstream
- I tend to use it, otherwise I take a vendor kernel (but would look
for an option to have at least latest LTS patchset applied on it).
This is strictly IMHO, and might not reflect the opinion of the
others. :)

>
> I haven't looked at the yocto kernel recipes but I spend a lot of time
> with the mainline kernel that I'm sure they are based on. While most
> of the power-domain stuff landed in 5.13 we are still waiting for
> blk-ctl which is needed to finish out the power-domain and reset
> control for all of those blocks unfortunately.

Correct, linux-fslc recipe on [master] branch does provide
linux-5.14.y now with handful of patches on top. I'm not aware of
those missing pieces you referred here, but your input here is pretty
valuable! If you have any other constraints you're aware of - please
share it here, or in the layer on GitHub.

>
> >
> > Can you specify which derivative you're talking about?
> >
> > > Is there any plan for that merge? If yes, any timeline by which it will happen?
> >
> > I've looked into updating NXP branch [lf-5.10.y], and it is not
> > trivial... I'm now short on time to have a full swing of merging the
> > latest stable update on top of it, but probably would get to this
> > eventually. If there are any volunteers here that are willing to
> > undertake this task - this would be really appreciated.
>
> Could you explain the difference between NXP's 'lf-' and 'imx-'
> branches? I can never understand their branch naming scheme nor their
> commit log prefix scheme.

This was always a mystery to me as well... I guess I would need to
make a disclaimer here: I'm neither employed nor affiliated with NXP,
so I cannot answer this. :)

If there is a person from NXP on this list, then perhaps he/she can
comment on this point.

>
> Best regards,
>
> Tim
>
> >
> > > If no, then can I use "imx_v8_defconfig" from linux-imx repo to build kernel using linux-fslc repo?
> >
> > You can use the `defconfig` file, which is present in the layer to
> > build [linux-fslc] for i.MX8 machine. It resides in
> > recipes-kernel/linux/linux-fslc/armv8a/defconfig and is synchronized
> > with stable kernel release 5.14.
> >
> > If you however opt-in for [linux-fslc-lts] kernel package, then the
> > kernel config file would be taken from
> > recipes-kernel/linux/linux-fslc-lts/armv8a/defconfig, which is also
> > synchronized with 5.10 from stable.
> >
> > Are there any specific configuration options you need from
> > imx_v8_defconfig, which should be present in the defconfig for
> > mainline recipes?
> >
> > > i.MX8 is supported in linux-imx_5.10.bb recipe https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... which is using kernel from branch "lf-5.10.y" provided by linux-imx repo but this repo is NXP internal and doesn't get updated with stable Linux kernel. It is providing v5.10.35 (https://source.codeaurora.org/external/imx/linux-imx/log/?h=lf-5.10.y)
> >
> > Correct, but as I've already pointed out - the merge of stable updates
> > to this kernel base is not trivial... :/
> >
> > >
> > > So ideally, just like v5.4 would like to use linux-fslc repo for v5.10 development as well.
> > >
> > >
> > > Will appreciate any guidance around appropriate repo for v5.10 development for i.MX8
> >
> > As one of the things to try out: you can switch the BSP flavor to use
> > "mainline" instead of "nxp", which would take all upstream components
> > instead of those provided by NXP. Be aware, that if you rely on any
> > functionality which is present in NXP BSP only (e.g. GPU/VPU) - this
> > would be unavailable in Mainline BSP.
> >
> > >
> > > thanks
> > > Ankur
> > >
> > >
> >
> >
> > --
> > Regards,
> > Andrey.
> >
> > 
> >



-- 
Cheers,
Andrey.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-freescale] Linux v5.10 for i.MX8 development
  2021-09-21 19:09     ` Andrey Zhizhikin
@ 2021-09-22  1:42       ` Tom Hochstein
  2021-09-22 15:25         ` Tim Harvey
  0 siblings, 1 reply; 10+ messages in thread
From: Tom Hochstein @ 2021-09-22  1:42 UTC (permalink / raw)
  To: andrey.z, tharvey; +Cc: Ankur Tyagi, meta-freescale

On Tue, Sep 21, 2021 at 2:10 PM Andrey Zhizhikin <andrey.z@gmail.com> wrote:
> 
> On Tue, Sep 21, 2021 at 7:11 PM Tim Harvey <tharvey@gateworks.com> wrote:
> > 
> > Could you explain the difference between NXP's 'lf-' and 'imx-'
> > branches? I can never understand their branch naming scheme nor their
> > commit log prefix scheme.
> 
> This was always a mystery to me as well... I guess I would need to
> make a disclaimer here: I'm neither employed nor affiliated with NXP,
> so I cannot answer this. :)
> 
> If there is a person from NXP on this list, then perhaps he/she can
> comment on this point.

For the 'lf' releases certain shared components like kernel are aligned with other NXP product lines, like QorIQ and s32, not just i.MX.

Tom

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-freescale] Linux v5.10 for i.MX8 development
  2021-09-22  1:42       ` Tom Hochstein
@ 2021-09-22 15:25         ` Tim Harvey
  2021-09-22 16:43           ` Tom Hochstein
  0 siblings, 1 reply; 10+ messages in thread
From: Tim Harvey @ 2021-09-22 15:25 UTC (permalink / raw)
  To: Tom Hochstein; +Cc: andrey.z, Ankur Tyagi, meta-freescale

On Tue, Sep 21, 2021 at 6:42 PM Tom Hochstein <tom.hochstein@nxp.com> wrote:
>
> On Tue, Sep 21, 2021 at 2:10 PM Andrey Zhizhikin <andrey.z@gmail.com> wrote:
> >
> > On Tue, Sep 21, 2021 at 7:11 PM Tim Harvey <tharvey@gateworks.com> wrote:
> > >
> > > Could you explain the difference between NXP's 'lf-' and 'imx-'
> > > branches? I can never understand their branch naming scheme nor their
> > > commit log prefix scheme.
> >
> > This was always a mystery to me as well... I guess I would need to
> > make a disclaimer here: I'm neither employed nor affiliated with NXP,
> > so I cannot answer this. :)
> >
> > If there is a person from NXP on this list, then perhaps he/she can
> > comment on this point.
>
> For the 'lf' releases certain shared components like kernel are aligned with other NXP product lines, like QorIQ and s32, not just i.MX.
>

Tom,

Thanks for this info! Someone else also mentioned to me that the NXP
'lf' releases are typically once every two years vs the 'imx' releases
which are typically quarterly.

Do you have any feedback on the prefix used in the commit messages
used in both uboot-imx repos such as 'MLK', 'MA', 'LFU', 'LF',
'MMFMWK', 'MGS'? An understanding of those would make it easier for
those of us who are working hard to mainline uboot/linux support.

Best regards,

Tim

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-freescale] Linux v5.10 for i.MX8 development
  2021-09-22 15:25         ` Tim Harvey
@ 2021-09-22 16:43           ` Tom Hochstein
  0 siblings, 0 replies; 10+ messages in thread
From: Tom Hochstein @ 2021-09-22 16:43 UTC (permalink / raw)
  To: tharvey; +Cc: andrey.z, Ankur Tyagi, meta-freescale


On Tue, Sep 22, 2021 at 10:25 AM Tim Harvey <tharvey@gateworks.com> wrote:
> 
> Do you have any feedback on the prefix used in the commit messages used in
> both uboot-imx repos such as 'MLK', 'MA', 'LFU', 'LF', 'MMFMWK', 'MGS'? An
> understanding of those would make it easier for those of us who are working
> hard to mainline uboot/linux support.

Hi Tim,

Sure.

MLK - MCU Linux Kernel
MA - MCU Android
LFU - Linux Factory U-boot
LF - Linux Factory
MMFMWK - MultiMedia Framework (guessing on the meaning of FMWK)
MGS - MCU GPU

Tom

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-freescale] Linux v5.10 for i.MX8 development
  2021-09-21  9:43   ` Ankur Tyagi
@ 2021-09-30  8:44     ` Andrey Zhizhikin
  2021-09-30 19:52       ` Ankur Tyagi
  0 siblings, 1 reply; 10+ messages in thread
From: Andrey Zhizhikin @ 2021-09-30  8:44 UTC (permalink / raw)
  To: Ankur Tyagi; +Cc: meta-freescale

Hello Ankur,

On Tue, Sep 21, 2021 at 11:43 AM Ankur Tyagi <Ankur.Tyagi@gallagher.com> wrote:
>
> Hello Andrey,
>
> > Hello Ankur,
> >
> > On Mon, Sep 20, 2021 at 11:30 PM Ankur Tyagi <ankur.tyagi@gallagher.com> wrote:
> > >
> > > Hi,
> > >
> > > We are currently using Linux v5.4 for i.MX8 provided by recipe linux-fslc-imx_5.4.bb because as mentioned in recipe as well, branch "5.4-2.3.x-imx" from repo "linux-fslc" get changes merged from branch "imx_5.4.70_2.3.0" of linux-imx repo (https://source.codeaurora.org/external/imx/linux-imx/log/?h=imx_5.4.70_2.3.0)

If you're still interested in migrating to the new linux-fslc-imx
kernel, it has been integrated into meta-freescale with this PR:
https://github.com/Freescale/meta-freescale/pull/876

Current recipe now picks up [lf-5.10.52-2.1.0] branch from NXP kernel
repo and has latest stable patch applied.

> > >
> > > Now we are planning to upgrade to Linux v5.10 and here I have few questions:
> > >
> > > 1. Recipe linux-fslc-lts_5.10.bb doesn't support i.MX8 https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... Neither I can see any merge from NXP linux-imx branch "lf-5.10.y" into linux-fslc branch "5.10.x+fslc".
> >
> > When you say that i.MX8 is not supported - to which SoC you're
> > referring to? Mainline kernel on the [master] branch of this layer
> > does provide a descent support for all i.MX8M derivatives, but I'm not
> > entirely sure of the state for i.MX8 family SoC support since I do not
> > have that HW.
>
> I was referring to COMPATIBLE_MACHINE in linux-fslc-lts_5.10.bb recipe.
> It doesn't have mx8 in it (sorry above link is broken)
>
> > Can you specify which derivative you're talking about?
>
> We are using i.MX8 Dual core A35
>
> > > Is there any plan for that merge? If yes, any timeline by which it will happen?
> >
> > I've looked into updating NXP branch [lf-5.10.y], and it is not
> > trivial... I'm now short on time to have a full swing of merging the
> > latest stable update on top of it, but probably would get to this
> > eventually. If there are any volunteers here that are willing to
> > undertake this task - this would be really appreciated.
> >
> > > If no, then can I use "imx_v8_defconfig" from linux-imx repo to build kernel using linux-fslc repo?
> >
> > You can use the `defconfig` file, which is present in the layer to
> > build [linux-fslc] for i.MX8 machine. It resides in
> > recipes-kernel/linux/linux-fslc/armv8a/defconfig and is synchronized
> > with stable kernel release 5.14.
> >
> > If you however opt-in for [linux-fslc-lts] kernel package, then the
> > kernel config file would be taken from
> > recipes-kernel/linux/linux-fslc-lts/armv8a/defconfig, which is also
> > synchronized with 5.10 from stable.
>
> Thank you for sharing this insight, this is helpful
>
> > Are there any specific configuration options you need from
> > imx_v8_defconfig, which should be present in the defconfig for
> > mainline recipes?
>
> I haven't done any comparison yet between imx_v8_defconfig from 5.4-2.3.x-imx branch
> and mainline defconfig but now I will do that since I know which defconfig is to be used :)
>
> > > i.MX8 is supported in linux-imx_5.10.bb recipe https://github.com/Freescale/meta-freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... which is using kernel from branch "lf-5.10.y" provided by linux-imx repo but this repo is NXP internal and doesn't get updated with stable Linux kernel. It is providing v5.10.35 (https://source.codeaurora.org/external/imx/linux-imx/log/?h=lf-5.10.y)
> >
> > Correct, but as I've already pointed out - the merge of stable updates
> > to this kernel base is not trivial... :/
> > >
> > > So ideally, just like v5.4 would like to use linux-fslc repo for v5.10 development as well.
> > >
> > >
> > > Will appreciate any guidance around appropriate repo for v5.10 development for i.MX8
> >
> > As one of the things to try out: you can switch the BSP flavor to use
> > "mainline" instead of "nxp", which would take all upstream components
> > instead of those provided by NXP. Be aware, that if you rely on any
> > functionality which is present in NXP BSP only (e.g. GPU/VPU) - this
> > would be unavailable in Mainline BSP.
>
> We don't need GPU/VPU so will try your suggestion to use linux-fslc kernel
> and defconfig from linux-fslc-lts/armv8a and see how it goes.
>
> Once again, thanks for your response and suggestions.
>
> > >
> > > thanks
> > > Ankur
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > Links: You receive all messages sent to this group.
> > > View/Reply Online (#24752): https://lists.yoctoproject.org/g/meta-freescale/message/24752
> > > Mute This Topic: https://lists.yoctoproject.org/mt/85752797/3617192
> > > Group Owner: meta-freescale+owner@lists.yoctoproject.org
> > > Unsubscribe: https://lists.yoctoproject.org/g/meta-freescale/unsub [andrey.z@gmail.com]
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > >
> >
> >
> > --
> > Regards,
> > Andrey.
>
> Regards
> Ankur
> ________________________________
>  This email is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise us of our error by return e-mail then delete this email and any attached files. You may not copy, disclose or use the contents in any way. The views expressed in this email may not be those of Gallagher Group Ltd or subsidiary companies thereof.
> ________________________________



-- 
Regards,
Andrey.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [meta-freescale] Linux v5.10 for i.MX8 development
  2021-09-30  8:44     ` Andrey Zhizhikin
@ 2021-09-30 19:52       ` Ankur Tyagi
  0 siblings, 0 replies; 10+ messages in thread
From: Ankur Tyagi @ 2021-09-30 19:52 UTC (permalink / raw)
  To: Andrey Zhizhikin; +Cc: meta-freescale, Simon Lawrence

Hello Andrey,

> -----Original Message-----
> From: Andrey Zhizhikin <andrey.z@gmail.com>
> Sent: Thursday, 30 September 2021 9:44 PM
> To: Ankur Tyagi <Ankur.Tyagi@gallagher.com>
> Cc: meta-freescale@lists.yoctoproject.org
> Subject: Re: [meta-freescale] Linux v5.10 for i.MX8 development
> 
> Hello Ankur,
> 
> On Tue, Sep 21, 2021 at 11:43 AM Ankur Tyagi <Ankur.Tyagi@gallagher.com> wrote:
> >
> > Hello Andrey,
> >
> > > Hello Ankur,
> > >
> > > On Mon, Sep 20, 2021 at 11:30 PM Ankur Tyagi <ankur.tyagi@gallagher.com> wrote:
> > > >
> > > > Hi,
> > > >
> > > > We are currently using Linux v5.4 for i.MX8 provided by recipe linux-fslc-imx_5.4.bb because as mentioned in recipe as well,
> branch "5.4-2.3.x-imx" from repo "linux-fslc" get changes merged from branch "imx_5.4.70_2.3.0" of linux-imx repo
> (https://source.codeaurora.org/external/imx/linux-imx/log/?h=imx_5.4.70_2.3.0)
> 
> If you're still interested in migrating to the new linux-fslc-imx
> kernel, it has been integrated into meta-freescale with this PR:
> https://github.com/Freescale/meta-freescale/pull/876
> 
> Current recipe now picks up [lf-5.10.52-2.1.0] branch from NXP kernel
> repo and has latest stable patch applied.

Thank you so much for your message, indeed interested :-)

> > > >
> > > > Now we are planning to upgrade to Linux v5.10 and here I have few questions:
> > > >
> > > > 1. Recipe linux-fslc-lts_5.10.bb doesn't support i.MX8 https://github.com/Freescale/meta-
> freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... Neither I can see any merge from NXP linux-imx branch
> "lf-5.10.y" into linux-fslc branch "5.10.x+fslc".
> > >
> > > When you say that i.MX8 is not supported - to which SoC you're
> > > referring to? Mainline kernel on the [master] branch of this layer
> > > does provide a descent support for all i.MX8M derivatives, but I'm not
> > > entirely sure of the state for i.MX8 family SoC support since I do not
> > > have that HW.
> >
> > I was referring to COMPATIBLE_MACHINE in linux-fslc-lts_5.10.bb recipe.
> > It doesn't have mx8 in it (sorry above link is broken)
> >
> > > Can you specify which derivative you're talking about?
> >
> > We are using i.MX8 Dual core A35
> >
> > > > Is there any plan for that merge? If yes, any timeline by which it will happen?
> > >
> > > I've looked into updating NXP branch [lf-5.10.y], and it is not
> > > trivial... I'm now short on time to have a full swing of merging the
> > > latest stable update on top of it, but probably would get to this
> > > eventually. If there are any volunteers here that are willing to
> > > undertake this task - this would be really appreciated.
> > >
> > > > If no, then can I use "imx_v8_defconfig" from linux-imx repo to build kernel using linux-fslc repo?
> > >
> > > You can use the `defconfig` file, which is present in the layer to
> > > build [linux-fslc] for i.MX8 machine. It resides in
> > > recipes-kernel/linux/linux-fslc/armv8a/defconfig and is synchronized
> > > with stable kernel release 5.14.
> > >
> > > If you however opt-in for [linux-fslc-lts] kernel package, then the
> > > kernel config file would be taken from
> > > recipes-kernel/linux/linux-fslc-lts/armv8a/defconfig, which is also
> > > synchronized with 5.10 from stable.
> >
> > Thank you for sharing this insight, this is helpful
> >
> > > Are there any specific configuration options you need from
> > > imx_v8_defconfig, which should be present in the defconfig for
> > > mainline recipes?
> >
> > I haven't done any comparison yet between imx_v8_defconfig from 5.4-2.3.x-imx branch
> > and mainline defconfig but now I will do that since I know which defconfig is to be used :)
> >
> > > > i.MX8 is supported in linux-imx_5.10.bb recipe https://github.com/Freescale/meta-
> freescale/blob/325ad529187fb1309b0a889c5196c8df039aeea9/recipes-ke... which is using kernel from branch "lf-5.10.y" provided by
> linux-imx repo but this repo is NXP internal and doesn't get updated with stable Linux kernel. It is providing v5.10.35
> (https://source.codeaurora.org/external/imx/linux-imx/log/?h=lf-5.10.y)
> > >
> > > Correct, but as I've already pointed out - the merge of stable updates
> > > to this kernel base is not trivial... :/
> > > >
> > > > So ideally, just like v5.4 would like to use linux-fslc repo for v5.10 development as well.
> > > >
> > > >
> > > > Will appreciate any guidance around appropriate repo for v5.10 development for i.MX8
> > >
> > > As one of the things to try out: you can switch the BSP flavor to use
> > > "mainline" instead of "nxp", which would take all upstream components
> > > instead of those provided by NXP. Be aware, that if you rely on any
> > > functionality which is present in NXP BSP only (e.g. GPU/VPU) - this
> > > would be unavailable in Mainline BSP.
> >
> > We don't need GPU/VPU so will try your suggestion to use linux-fslc kernel
> > and defconfig from linux-fslc-lts/armv8a and see how it goes.
> >
> > Once again, thanks for your response and suggestions.
> >
> > > >
> > > > thanks
> > > > Ankur
> > > > -=-=-=-=-=-=-=-=-=-=-=-
> > > > Links: You receive all messages sent to this group.
> > > > View/Reply Online (#24752): https://lists.yoctoproject.org/g/meta-freescale/message/24752
> > > > Mute This Topic: https://lists.yoctoproject.org/mt/85752797/3617192
> > > > Group Owner: meta-freescale+owner@lists.yoctoproject.org
> > > > Unsubscribe: https://lists.yoctoproject.org/g/meta-freescale/unsub [andrey.z@gmail.com]
> > > > -=-=-=-=-=-=-=-=-=-=-=-
> > > >
> > >
> > >
> > > --
> > > Regards,
> > > Andrey.
> >
> > Regards
> > Ankur
> > ________________________________
> >  This email is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise
> us of our error by return e-mail then delete this email and any attached files. You may not copy, disclose or use the contents in any
> way. The views expressed in this email may not be those of Gallagher Group Ltd or subsidiary companies thereof.
> > ________________________________
> 
> 
> 
> --
> Regards,
> Andrey.

Regards
Ankur

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-09-30 19:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-20 21:30 Linux v5.10 for i.MX8 development Ankur Tyagi
2021-09-21  8:36 ` [meta-freescale] " Andrey Zhizhikin
2021-09-21  9:43   ` Ankur Tyagi
2021-09-30  8:44     ` Andrey Zhizhikin
2021-09-30 19:52       ` Ankur Tyagi
2021-09-21 17:11   ` Tim Harvey
2021-09-21 19:09     ` Andrey Zhizhikin
2021-09-22  1:42       ` Tom Hochstein
2021-09-22 15:25         ` Tim Harvey
2021-09-22 16:43           ` Tom Hochstein

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.