All of lore.kernel.org
 help / color / mirror / Atom feed
* [kirkstone][PATCH v3 0/2] Remove PRU Ethernet firmwares for legacy devices
@ 2023-10-09  7:09 Ravi Gunasekaran
  2023-10-09  7:09 ` [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares Ravi Gunasekaran
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Ravi Gunasekaran @ 2023-10-09  7:09 UTC (permalink / raw)
  To: meta-ti, reatmon; +Cc: praneeth, srk, r-gunasekaran

Linux kernel 6.1 does not have support for PRU-ICSSM driver.
So remove packaging of all the PRU-ICSSM firmwares for kernel 6.1
based SDKs.

In the v2 version, it was suggested to have the changes in the SDK layer.
But after discussion with meta-ti(Ryan) and meta-processor-sdk(Gyan)
maintainers, it was decided to introduce a new .inc file that removes the
packaging of the firmware and include it in the kernel recipes that don't
have support for PRU-ICSSM in meta-ti. This series attempts to take that
approach.

The support for PRU-ICSSM driver will be available in mainline and TI kernel
towards the end of 2024. So until such time, this approach will be followed.

v2:https://serenity.dal.design.ti.com/patchwork/project/meta-ti/patch/20230908113836.12413-1-r-gunasekaran@ti.com/
v1:https://serenity.dal.design.ti.com/patchwork/project/meta-ti/patch/20230908114439.13213-1-r-gunasekaran@ti.com/

Ravi Gunasekaran (2):
  preuth-fw: Remove packaging of PRU-ICSSM firmwares
  linux-ti-staging_6.1: Remove packaging of PRU-ICSSM firmwares

 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb | 1 +
 meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc           | 3 +++
 2 files changed, 4 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc


base-commit: 041271c30496bd1457cd2bd38e7d9b2f7b14372f
-- 
2.17.1



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

* [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares
  2023-10-09  7:09 [kirkstone][PATCH v3 0/2] Remove PRU Ethernet firmwares for legacy devices Ravi Gunasekaran
@ 2023-10-09  7:09 ` Ravi Gunasekaran
  2023-10-09 20:20   ` [meta-ti] " Denys Dmytriyenko
  2023-10-09  7:09 ` [kirkstone][PATCH v3 2/2] linux-ti-staging_6.1: " Ravi Gunasekaran
  2023-10-09 17:23 ` [kirkstone][PATCH v3 0/2] Remove PRU Ethernet firmwares for legacy devices Bajjuri, Praneeth
  2 siblings, 1 reply; 12+ messages in thread
From: Ravi Gunasekaran @ 2023-10-09  7:09 UTC (permalink / raw)
  To: meta-ti, reatmon; +Cc: praneeth, srk, r-gunasekaran

PRU-ICSS on AM33x, AM43x, supports different ethernet modes such
as Ethernet, HSR and PRP by means of different firmwares and the
driver loads one of the these firmware. The PRU-ICSS linux driver
may not be available for all kernel versions.

So add an .inc file that avoids the packaging of such firmwares
in the SDK, so that it can be referenced by kernel recipes that
don't support PRU-ICSS.

Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
---
 meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc

diff --git a/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
new file mode 100644
index 00000000..6698c9ed
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
@@ -0,0 +1,3 @@
+# Do not package firmwares for kernels that don't support PRUETH
+RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti43x = " prueth-fw pruhsr-fw pruprp-fw"
+RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti33x = " prueth-fw pruhsr-fw pruprp-fw"
-- 
2.17.1



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

* [kirkstone][PATCH v3 2/2] linux-ti-staging_6.1: Remove packaging of PRU-ICSSM firmwares
  2023-10-09  7:09 [kirkstone][PATCH v3 0/2] Remove PRU Ethernet firmwares for legacy devices Ravi Gunasekaran
  2023-10-09  7:09 ` [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares Ravi Gunasekaran
@ 2023-10-09  7:09 ` Ravi Gunasekaran
  2023-10-09 17:23 ` [kirkstone][PATCH v3 0/2] Remove PRU Ethernet firmwares for legacy devices Bajjuri, Praneeth
  2 siblings, 0 replies; 12+ messages in thread
From: Ravi Gunasekaran @ 2023-10-09  7:09 UTC (permalink / raw)
  To: meta-ti, reatmon; +Cc: praneeth, srk, r-gunasekaran

Support for PRU-ICSSM driver is not available in linux
kernel version 6.1. So do not package the firmwares in the SDK.

Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
---
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb
index 60c03e1d..5a13fa94 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb
@@ -9,6 +9,7 @@ inherit kernel
 require recipes-kernel/linux/setup-defconfig.inc
 require recipes-kernel/linux/kernel-rdepends.inc
 require recipes-kernel/linux/ti-kernel.inc
+require recipes-kernel/linux/prueth-fw.inc
 include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
 include ${@ 'recipes-kernel/linux/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
 
-- 
2.17.1



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

* Re: [kirkstone][PATCH v3 0/2] Remove PRU Ethernet firmwares for legacy devices
  2023-10-09  7:09 [kirkstone][PATCH v3 0/2] Remove PRU Ethernet firmwares for legacy devices Ravi Gunasekaran
  2023-10-09  7:09 ` [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares Ravi Gunasekaran
  2023-10-09  7:09 ` [kirkstone][PATCH v3 2/2] linux-ti-staging_6.1: " Ravi Gunasekaran
@ 2023-10-09 17:23 ` Bajjuri, Praneeth
  2023-10-09 20:03   ` [meta-ti] " Denys Dmytriyenko
  2 siblings, 1 reply; 12+ messages in thread
From: Bajjuri, Praneeth @ 2023-10-09 17:23 UTC (permalink / raw)
  To: Ravi Gunasekaran, meta-ti, reatmon; +Cc: srk



On 10/9/2023 2:09 AM, Ravi Gunasekaran wrote:
> Linux kernel 6.1 does not have support for PRU-ICSSM driver.
> So remove packaging of all the PRU-ICSSM firmwares for kernel 6.1
> based SDKs.
> 
> In the v2 version, it was suggested to have the changes in the SDK layer.
> But after discussion with meta-ti(Ryan) and meta-processor-sdk(Gyan)
> maintainers, it was decided to introduce a new .inc file that removes the
> packaging of the firmware and include it in the kernel recipes that don't
> have support for PRU-ICSSM in meta-ti. This series attempts to take that
> approach.
> 
> The support for PRU-ICSSM driver will be available in mainline and TI kernel
> towards the end of 2024. So until such time, this approach will be followed.
> 
> v2:https://serenity.dal.design.ti.com/patchwork/project/meta-ti/patch/20230908113836.12413-1-r-gunasekaran@ti.com/
> v1:https://serenity.dal.design.ti.com/patchwork/project/meta-ti/patch/20230908114439.13213-1-r-gunasekaran@ti.com/

For future reference, please do not post internal links.
Instead, use https://lists.yoctoproject.org/g/meta-ti/messages



> 
> Ravi Gunasekaran (2):
>    preuth-fw: Remove packaging of PRU-ICSSM firmwares
>    linux-ti-staging_6.1: Remove packaging of PRU-ICSSM firmwares
> 
>   meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb | 1 +
>   meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc           | 3 +++
>   2 files changed, 4 insertions(+)
>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
> 
> 
> base-commit: 041271c30496bd1457cd2bd38e7d9b2f7b14372f


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

* Re: [meta-ti] [kirkstone][PATCH v3 0/2] Remove PRU Ethernet firmwares for legacy devices
  2023-10-09 17:23 ` [kirkstone][PATCH v3 0/2] Remove PRU Ethernet firmwares for legacy devices Bajjuri, Praneeth
@ 2023-10-09 20:03   ` Denys Dmytriyenko
  0 siblings, 0 replies; 12+ messages in thread
From: Denys Dmytriyenko @ 2023-10-09 20:03 UTC (permalink / raw)
  To: praneeth; +Cc: Ravi Gunasekaran, meta-ti, reatmon, srk

On Mon, Oct 09, 2023 at 12:23:08PM -0500, praneeth via lists.yoctoproject.org wrote:
> 
> 
> On 10/9/2023 2:09 AM, Ravi Gunasekaran wrote:
> >Linux kernel 6.1 does not have support for PRU-ICSSM driver.
> >So remove packaging of all the PRU-ICSSM firmwares for kernel 6.1
> >based SDKs.
> >
> >In the v2 version, it was suggested to have the changes in the SDK layer.
> >But after discussion with meta-ti(Ryan) and meta-processor-sdk(Gyan)
> >maintainers, it was decided to introduce a new .inc file that removes the
> >packaging of the firmware and include it in the kernel recipes that don't
> >have support for PRU-ICSSM in meta-ti. This series attempts to take that
> >approach.
> >
> >The support for PRU-ICSSM driver will be available in mainline and TI kernel
> >towards the end of 2024. So until such time, this approach will be followed.
> >
> >v2:https://serenity.dal.design.ti.com/patchwork/project/meta-ti/patch/20230908113836.12413-1-r-gunasekaran@ti.com/
> >v1:https://serenity.dal.design.ti.com/patchwork/project/meta-ti/patch/20230908114439.13213-1-r-gunasekaran@ti.com/
> 
> For future reference, please do not post internal links.
> Instead, use https://lists.yoctoproject.org/g/meta-ti/messages

Or public Patchwork:
https://patchwork.yoctoproject.org/project/ti/patch/20230908114439.13213-1-r-gunasekaran@ti.com/

-- 
Denys


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

* Re: [meta-ti] [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares
  2023-10-09  7:09 ` [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares Ravi Gunasekaran
@ 2023-10-09 20:20   ` Denys Dmytriyenko
  2023-10-09 21:25     ` Ryan Eatmon
  2023-10-20 22:20     ` Ryan Eatmon
  0 siblings, 2 replies; 12+ messages in thread
From: Denys Dmytriyenko @ 2023-10-09 20:20 UTC (permalink / raw)
  To: r-gunasekaran; +Cc: meta-ti, reatmon, praneeth, srk, afd

On Mon, Oct 09, 2023 at 12:39:25PM +0530, Ravi Gunasekaran via lists.yoctoproject.org wrote:
> PRU-ICSS on AM33x, AM43x, supports different ethernet modes such
> as Ethernet, HSR and PRP by means of different firmwares and the
> driver loads one of the these firmware. The PRU-ICSS linux driver
> may not be available for all kernel versions.
> 
> So add an .inc file that avoids the packaging of such firmwares
> in the SDK, so that it can be referenced by kernel recipes that
> don't support PRU-ICSS.
> 
> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
> ---
>  meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc | 3 +++
>  1 file changed, 3 insertions(+)
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
> 
> diff --git a/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
> new file mode 100644
> index 00000000..6698c9ed
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
> @@ -0,0 +1,3 @@
> +# Do not package firmwares for kernels that don't support PRUETH
> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti43x = " prueth-fw pruhsr-fw pruprp-fw"
> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti33x = " prueth-fw pruhsr-fw pruprp-fw"

This is asking for trouble - there's no way to un-do :remove downstream (e.g. 
any of the Distro, SDK, Product Line or Customer layers)

It is not recommended to use :remove (and :append to a lesser degree) on a 
regular basis when it can be done differently.

Moreover, what is a difference from v2? It is a more convoluted way to drop 
those FW images from getting installed, but it is still done unconditionally 
here in meta-ti - are there any benefits of doing it this way?

-- 
Denys


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

* Re: [meta-ti] [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares
  2023-10-09 20:20   ` [meta-ti] " Denys Dmytriyenko
@ 2023-10-09 21:25     ` Ryan Eatmon
  2023-10-09 21:33       ` Andrew Davis
  2023-10-20 22:20     ` Ryan Eatmon
  1 sibling, 1 reply; 12+ messages in thread
From: Ryan Eatmon @ 2023-10-09 21:25 UTC (permalink / raw)
  To: Denys Dmytriyenko, r-gunasekaran; +Cc: meta-ti, praneeth, srk, afd



On 10/9/2023 3:20 PM, Denys Dmytriyenko wrote:
> On Mon, Oct 09, 2023 at 12:39:25PM +0530, Ravi Gunasekaran via lists.yoctoproject.org wrote:
>> PRU-ICSS on AM33x, AM43x, supports different ethernet modes such
>> as Ethernet, HSR and PRP by means of different firmwares and the
>> driver loads one of the these firmware. The PRU-ICSS linux driver
>> may not be available for all kernel versions.
>>
>> So add an .inc file that avoids the packaging of such firmwares
>> in the SDK, so that it can be referenced by kernel recipes that
>> don't support PRU-ICSS.
>>
>> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
>> ---
>>   meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc | 3 +++
>>   1 file changed, 3 insertions(+)
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>> new file mode 100644
>> index 00000000..6698c9ed
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>> @@ -0,0 +1,3 @@
>> +# Do not package firmwares for kernels that don't support PRUETH
>> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti43x = " prueth-fw pruhsr-fw pruprp-fw"
>> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti33x = " prueth-fw pruhsr-fw pruprp-fw"
> 
> This is asking for trouble - there's no way to un-do :remove downstream (e.g.
> any of the Distro, SDK, Product Line or Customer layers)
> 
> It is not recommended to use :remove (and :append to a lesser degree) on a
> regular basis when it can be done differently.
> 
> Moreover, what is a difference from v2? It is a more convoluted way to drop
> those FW images from getting installed, but it is still done unconditionally
> here in meta-ti - are there any benefits of doing it this way?

 From my understanding...   This firmware was supported under 5.10.  It 
is not being supported for 6.1 but will be supported next year some time.

So I was trying to communicate via the recipes that overall it is 
supported, but for this blip it is removed.

Either way we are adding some odd conditionals to support the logic. 
Two choices:

1) Enabled by default, disable in the kernels were it is not supported.
2) Disabled by default, enable in 5.10 and in the future.

Thoughts?


-- 
Ryan Eatmon                reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


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

* Re: [meta-ti] [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares
  2023-10-09 21:25     ` Ryan Eatmon
@ 2023-10-09 21:33       ` Andrew Davis
  2023-10-10  4:23         ` Ravi Gunasekaran
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Davis @ 2023-10-09 21:33 UTC (permalink / raw)
  To: Ryan Eatmon, Denys Dmytriyenko, r-gunasekaran; +Cc: meta-ti, praneeth, srk

On 10/9/23 4:25 PM, Ryan Eatmon wrote:
> 
> 
> On 10/9/2023 3:20 PM, Denys Dmytriyenko wrote:
>> On Mon, Oct 09, 2023 at 12:39:25PM +0530, Ravi Gunasekaran via lists.yoctoproject.org wrote:
>>> PRU-ICSS on AM33x, AM43x, supports different ethernet modes such
>>> as Ethernet, HSR and PRP by means of different firmwares and the
>>> driver loads one of the these firmware. The PRU-ICSS linux driver
>>> may not be available for all kernel versions.
>>>
>>> So add an .inc file that avoids the packaging of such firmwares
>>> in the SDK, so that it can be referenced by kernel recipes that
>>> don't support PRU-ICSS.
>>>
>>> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
>>> ---
>>>   meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc | 3 +++
>>>   1 file changed, 3 insertions(+)
>>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>>
>>> diff --git a/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>> new file mode 100644
>>> index 00000000..6698c9ed
>>> --- /dev/null
>>> +++ b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>> @@ -0,0 +1,3 @@
>>> +# Do not package firmwares for kernels that don't support PRUETH
>>> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti43x = " prueth-fw pruhsr-fw pruprp-fw"
>>> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti33x = " prueth-fw pruhsr-fw pruprp-fw"
>>
>> This is asking for trouble - there's no way to un-do :remove downstream (e.g.
>> any of the Distro, SDK, Product Line or Customer layers)
>>
>> It is not recommended to use :remove (and :append to a lesser degree) on a
>> regular basis when it can be done differently.
>>
>> Moreover, what is a difference from v2? It is a more convoluted way to drop
>> those FW images from getting installed, but it is still done unconditionally
>> here in meta-ti - are there any benefits of doing it this way?
> 
>  From my understanding...   This firmware was supported under 5.10.  It is not being supported for 6.1 but will be supported next year some time.
> 
> So I was trying to communicate via the recipes that overall it is supported, but for this blip it is removed.
> 
> Either way we are adding some odd conditionals to support the logic. Two choices:
> 
> 1) Enabled by default, disable in the kernels were it is not supported.
> 2) Disabled by default, enable in 5.10 and in the future.
> 

3) Install firmware unconditionally

linux-firmware has plenty of firmware shipped that different version of the
kernel can/cannot use. Why is this one little firmware so important to *not*
ship right now?

Andrew

> Thoughts?
> 
> 


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

* Re: [meta-ti] [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares
  2023-10-09 21:33       ` Andrew Davis
@ 2023-10-10  4:23         ` Ravi Gunasekaran
  0 siblings, 0 replies; 12+ messages in thread
From: Ravi Gunasekaran @ 2023-10-10  4:23 UTC (permalink / raw)
  To: Andrew Davis, Ryan Eatmon, Denys Dmytriyenko
  Cc: meta-ti, praneeth, srk, Ravi Gunasekaran



On 10/10/23 3:03 AM, Andrew Davis wrote:
> On 10/9/23 4:25 PM, Ryan Eatmon wrote:
>>
>>
>> On 10/9/2023 3:20 PM, Denys Dmytriyenko wrote:
>>> On Mon, Oct 09, 2023 at 12:39:25PM +0530, Ravi Gunasekaran via lists.yoctoproject.org wrote:
>>>> PRU-ICSS on AM33x, AM43x, supports different ethernet modes such
>>>> as Ethernet, HSR and PRP by means of different firmwares and the
>>>> driver loads one of the these firmware. The PRU-ICSS linux driver
>>>> may not be available for all kernel versions.
>>>>
>>>> So add an .inc file that avoids the packaging of such firmwares
>>>> in the SDK, so that it can be referenced by kernel recipes that
>>>> don't support PRU-ICSS.
>>>>
>>>> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
>>>> ---
>>>>   meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc | 3 +++
>>>>   1 file changed, 3 insertions(+)
>>>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>>>
>>>> diff --git a/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>>> new file mode 100644
>>>> index 00000000..6698c9ed
>>>> --- /dev/null
>>>> +++ b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>>> @@ -0,0 +1,3 @@
>>>> +# Do not package firmwares for kernels that don't support PRUETH
>>>> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti43x = " prueth-fw pruhsr-fw pruprp-fw"
>>>> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti33x = " prueth-fw pruhsr-fw pruprp-fw"
>>>
>>> This is asking for trouble - there's no way to un-do :remove downstream (e.g.
>>> any of the Distro, SDK, Product Line or Customer layers)
>>>
>>> It is not recommended to use :remove (and :append to a lesser degree) on a
>>> regular basis when it can be done differently.
>>>
>>> Moreover, what is a difference from v2? It is a more convoluted way to drop
>>> those FW images from getting installed, but it is still done unconditionally
>>> here in meta-ti - are there any benefits of doing it this way?
>>
>>  From my understanding...   This firmware was supported under 5.10.  It is not being supported for 6.1 but will be supported next year some time.
>>
>> So I was trying to communicate via the recipes that overall it is supported, but for this blip it is removed.
>>
>> Either way we are adding some odd conditionals to support the logic. Two choices:
>>
>> 1) Enabled by default, disable in the kernels were it is not supported.
>> 2) Disabled by default, enable in 5.10 and in the future.
>>
> 
> 3) Install firmware unconditionally
> 
> linux-firmware has plenty of firmware shipped that different version of the
> kernel can/cannot use. Why is this one little firmware so important to *not*
> ship right now?
> 

The concern was raised by the Customer Apps team as the feature is not supported. And the
presence of the firmwares may give an impression to the customer that feature is supported.

> Andrew
> 
>> Thoughts?
>>
>>

-- 
Regards,
Ravi


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

* Re: [meta-ti] [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares
  2023-10-09 20:20   ` [meta-ti] " Denys Dmytriyenko
  2023-10-09 21:25     ` Ryan Eatmon
@ 2023-10-20 22:20     ` Ryan Eatmon
  2023-10-23  4:49       ` Ravi Gunasekaran
  1 sibling, 1 reply; 12+ messages in thread
From: Ryan Eatmon @ 2023-10-20 22:20 UTC (permalink / raw)
  To: Denys Dmytriyenko, r-gunasekaran; +Cc: meta-ti, praneeth, srk, afd



On 10/9/2023 3:20 PM, Denys Dmytriyenko wrote:
> On Mon, Oct 09, 2023 at 12:39:25PM +0530, Ravi Gunasekaran via lists.yoctoproject.org wrote:
>> PRU-ICSS on AM33x, AM43x, supports different ethernet modes such
>> as Ethernet, HSR and PRP by means of different firmwares and the
>> driver loads one of the these firmware. The PRU-ICSS linux driver
>> may not be available for all kernel versions.
>>
>> So add an .inc file that avoids the packaging of such firmwares
>> in the SDK, so that it can be referenced by kernel recipes that
>> don't support PRU-ICSS.
>>
>> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
>> ---
>>   meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc | 3 +++
>>   1 file changed, 3 insertions(+)
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>> new file mode 100644
>> index 00000000..6698c9ed
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>> @@ -0,0 +1,3 @@
>> +# Do not package firmwares for kernels that don't support PRUETH
>> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti43x = " prueth-fw pruhsr-fw pruprp-fw"
>> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti33x = " prueth-fw pruhsr-fw pruprp-fw"
> 
> This is asking for trouble - there's no way to un-do :remove downstream (e.g.
> any of the Distro, SDK, Product Line or Customer layers)
> 
> It is not recommended to use :remove (and :append to a lesser degree) on a
> regular basis when it can be done differently.
> 
> Moreover, what is a difference from v2? It is a more convoluted way to drop
> those FW images from getting installed, but it is still done unconditionally
> here in meta-ti - are there any benefits of doing it this way?


Ravi, I hate to ask this of you as most of the waffling is from me.

But I agree with Denys.  I think what we need is the v2 patch, but with 
better wording (like what you have in v3) that explains the situation.

Can you put together a new v4 that looks like that?




-- 
Ryan Eatmon                reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


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

* Re: [meta-ti] [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares
  2023-10-20 22:20     ` Ryan Eatmon
@ 2023-10-23  4:49       ` Ravi Gunasekaran
  2023-10-23 13:56         ` Ryan Eatmon
  0 siblings, 1 reply; 12+ messages in thread
From: Ravi Gunasekaran @ 2023-10-23  4:49 UTC (permalink / raw)
  To: Ryan Eatmon, Denys Dmytriyenko; +Cc: meta-ti, praneeth, srk, afd



On 10/21/23 3:50 AM, Ryan Eatmon wrote:
> 
> 
> On 10/9/2023 3:20 PM, Denys Dmytriyenko wrote:
>> On Mon, Oct 09, 2023 at 12:39:25PM +0530, Ravi Gunasekaran via lists.yoctoproject.org wrote:
>>> PRU-ICSS on AM33x, AM43x, supports different ethernet modes such
>>> as Ethernet, HSR and PRP by means of different firmwares and the
>>> driver loads one of the these firmware. The PRU-ICSS linux driver
>>> may not be available for all kernel versions.
>>>
>>> So add an .inc file that avoids the packaging of such firmwares
>>> in the SDK, so that it can be referenced by kernel recipes that
>>> don't support PRU-ICSS.
>>>
>>> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
>>> ---
>>>   meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc | 3 +++
>>>   1 file changed, 3 insertions(+)
>>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>>
>>> diff --git a/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>> new file mode 100644
>>> index 00000000..6698c9ed
>>> --- /dev/null
>>> +++ b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>> @@ -0,0 +1,3 @@
>>> +# Do not package firmwares for kernels that don't support PRUETH
>>> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti43x = " prueth-fw pruhsr-fw pruprp-fw"
>>> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti33x = " prueth-fw pruhsr-fw pruprp-fw"
>>
>> This is asking for trouble - there's no way to un-do :remove downstream (e.g.
>> any of the Distro, SDK, Product Line or Customer layers)
>>
>> It is not recommended to use :remove (and :append to a lesser degree) on a
>> regular basis when it can be done differently.
>>
>> Moreover, what is a difference from v2? It is a more convoluted way to drop
>> those FW images from getting installed, but it is still done unconditionally
>> here in meta-ti - are there any benefits of doing it this way?
> 
> 
> Ravi, I hate to ask this of you as most of the waffling is from me.
> 
> But I agree with Denys.  I think what we need is the v2 patch, but with better wording (like what you have in v3) that explains the situation.
> 
> Can you put together a new v4 that looks like that?
> 
> 

Thanks for revisiting this patch. 

Based on Andrew's comment on installing the firmware unconditionally, I informed the
concerned parties that approach to selectively package firmwares is little messy.
It's been more than a week and haven't heard back anything.

So I would like to drop this patch, unless there is a strong request for it.

> 
> 

-- 
Regards,
Ravi


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

* Re: [meta-ti] [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares
  2023-10-23  4:49       ` Ravi Gunasekaran
@ 2023-10-23 13:56         ` Ryan Eatmon
  0 siblings, 0 replies; 12+ messages in thread
From: Ryan Eatmon @ 2023-10-23 13:56 UTC (permalink / raw)
  To: Ravi Gunasekaran, Denys Dmytriyenko; +Cc: meta-ti, praneeth, srk, afd



On 10/22/2023 11:49 PM, Ravi Gunasekaran wrote:
> 
> 
> On 10/21/23 3:50 AM, Ryan Eatmon wrote:
>>
>>
>> On 10/9/2023 3:20 PM, Denys Dmytriyenko wrote:
>>> On Mon, Oct 09, 2023 at 12:39:25PM +0530, Ravi Gunasekaran via lists.yoctoproject.org wrote:
>>>> PRU-ICSS on AM33x, AM43x, supports different ethernet modes such
>>>> as Ethernet, HSR and PRP by means of different firmwares and the
>>>> driver loads one of the these firmware. The PRU-ICSS linux driver
>>>> may not be available for all kernel versions.
>>>>
>>>> So add an .inc file that avoids the packaging of such firmwares
>>>> in the SDK, so that it can be referenced by kernel recipes that
>>>> don't support PRU-ICSS.
>>>>
>>>> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
>>>> ---
>>>>    meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc | 3 +++
>>>>    1 file changed, 3 insertions(+)
>>>>    create mode 100644 meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>>>
>>>> diff --git a/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>>> new file mode 100644
>>>> index 00000000..6698c9ed
>>>> --- /dev/null
>>>> +++ b/meta-ti-bsp/recipes-kernel/linux/prueth-fw.inc
>>>> @@ -0,0 +1,3 @@
>>>> +# Do not package firmwares for kernels that don't support PRUETH
>>>> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti43x = " prueth-fw pruhsr-fw pruprp-fw"
>>>> +RDEPENDS:${KERNEL_PACKAGE_NAME}-base:remove:ti33x = " prueth-fw pruhsr-fw pruprp-fw"
>>>
>>> This is asking for trouble - there's no way to un-do :remove downstream (e.g.
>>> any of the Distro, SDK, Product Line or Customer layers)
>>>
>>> It is not recommended to use :remove (and :append to a lesser degree) on a
>>> regular basis when it can be done differently.
>>>
>>> Moreover, what is a difference from v2? It is a more convoluted way to drop
>>> those FW images from getting installed, but it is still done unconditionally
>>> here in meta-ti - are there any benefits of doing it this way?
>>
>>
>> Ravi, I hate to ask this of you as most of the waffling is from me.
>>
>> But I agree with Denys.  I think what we need is the v2 patch, but with better wording (like what you have in v3) that explains the situation.
>>
>> Can you put together a new v4 that looks like that?
>>
>>
> 
> Thanks for revisiting this patch.
> 
> Based on Andrew's comment on installing the firmware unconditionally, I informed the
> concerned parties that approach to selectively package firmwares is little messy.
> It's been more than a week and haven't heard back anything.
> 
> So I would like to drop this patch, unless there is a strong request for it.

Sounds good.  We can revisit later if needed.



-- 
Ryan Eatmon                reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


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

end of thread, other threads:[~2023-10-23 13:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-09  7:09 [kirkstone][PATCH v3 0/2] Remove PRU Ethernet firmwares for legacy devices Ravi Gunasekaran
2023-10-09  7:09 ` [kirkstone][PATCH v3 1/2] preuth-fw: Remove packaging of PRU-ICSSM firmwares Ravi Gunasekaran
2023-10-09 20:20   ` [meta-ti] " Denys Dmytriyenko
2023-10-09 21:25     ` Ryan Eatmon
2023-10-09 21:33       ` Andrew Davis
2023-10-10  4:23         ` Ravi Gunasekaran
2023-10-20 22:20     ` Ryan Eatmon
2023-10-23  4:49       ` Ravi Gunasekaran
2023-10-23 13:56         ` Ryan Eatmon
2023-10-09  7:09 ` [kirkstone][PATCH v3 2/2] linux-ti-staging_6.1: " Ravi Gunasekaran
2023-10-09 17:23 ` [kirkstone][PATCH v3 0/2] Remove PRU Ethernet firmwares for legacy devices Bajjuri, Praneeth
2023-10-09 20:03   ` [meta-ti] " Denys Dmytriyenko

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.