All of lore.kernel.org
 help / color / mirror / Atom feed
* [dunfell-next PATCH v2] prusw-fw-am65x-sr2: Add recipe for ICSSG Switch mode firmware for AM65x SR2.0
@ 2021-10-20  9:05 Vignesh Raghavendra
  2021-10-20 10:14 ` Yogesh Siraswar
  2021-10-20 19:16 ` [meta-ti] " Denys Dmytriyenko
  0 siblings, 2 replies; 4+ messages in thread
From: Vignesh Raghavendra @ 2021-10-20  9:05 UTC (permalink / raw)
  To: yogeshs
  Cc: denis, praneeth, meta-ti, Vignesh Raghavendra, Grygorii Strashko,
	Kishon Vijay Abraham I

From: Vignesh Raghavedra <vigneshr@ti.com>

Add AM65x SR2.0 ICSSG Switch firmware. Base version is 02.02.09.06

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
v2:

Drop DUAL EMAC firmware recipe update as its now auto rev'd

 .../prusw-fw/prusw-fw-am65x-sr2_git.bb        | 34 +++++++++++++++++++
 recipes-kernel/linux/kernel-rdepends.inc      |  2 +-
 2 files changed, 35 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb

diff --git a/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb b/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
new file mode 100644
index 000000000000..8cb450acc2b6
--- /dev/null
+++ b/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
@@ -0,0 +1,34 @@
+SUMMARY = "PRU Ethernet Switch firmware for AM65xx SR2.0"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PV = "${PRUETH_FW_AM65X_SR2_VERSION}"
+PR = "${INC_PR}.0"
+
+CLEANBROKEN = "1"
+
+COMPATIBLE_MACHINE = "am65xx-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/git"
+
+TARGET = " \
+    am65x-sr2-pru0-prusw-fw.elf \
+    am65x-sr2-pru1-prusw-fw.elf \
+    am65x-sr2-rtu0-prusw-fw.elf \
+    am65x-sr2-rtu1-prusw-fw.elf \
+    am65x-sr2-txpru0-prusw-fw.elf \
+    am65x-sr2-txpru1-prusw-fw.elf \
+"
+
+do_install() {
+	install -d ${D}${base_libdir}/firmware/ti-pruss
+	for f in ${TARGET}; do
+		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
+	done
+}
+
+FILES_${PN} = "${base_libdir}/firmware"
+
+INSANE_SKIP_${PN} = "arch"
diff --git a/recipes-kernel/linux/kernel-rdepends.inc b/recipes-kernel/linux/kernel-rdepends.inc
index 743b352c0b55..5e5241c9129d 100644
--- a/recipes-kernel/linux/kernel-rdepends.inc
+++ b/recipes-kernel/linux/kernel-rdepends.inc
@@ -34,7 +34,7 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am57xx-hs-evm = " prueth-fw prusw-fw
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti43x = " prueth-fw pruhsr-fw pruprp-fw"
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti33x = " prueth-fw pruhsr-fw pruprp-fw"
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx = " prueth-fw-am65x"
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx-evm = " prueth-fw-am65x-sr2"
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx-evm = " prueth-fw-am65x-sr2 prusw-fw-am65x-sr2"
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am64xx-evm = " prueth-fw-am65x-sr2"
 
 # Add run-time dependency for Cadence MHDP firmware to the rootfs
-- 
2.33.1


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

* Re: [dunfell-next PATCH v2] prusw-fw-am65x-sr2: Add recipe for ICSSG Switch mode firmware for AM65x SR2.0
  2021-10-20  9:05 [dunfell-next PATCH v2] prusw-fw-am65x-sr2: Add recipe for ICSSG Switch mode firmware for AM65x SR2.0 Vignesh Raghavendra
@ 2021-10-20 10:14 ` Yogesh Siraswar
  2021-10-21  0:41   ` Vignesh Raghavendra
  2021-10-20 19:16 ` [meta-ti] " Denys Dmytriyenko
  1 sibling, 1 reply; 4+ messages in thread
From: Yogesh Siraswar @ 2021-10-20 10:14 UTC (permalink / raw)
  To: Vignesh Raghavendra
  Cc: denis, praneeth, meta-ti, Grygorii Strashko,
	Kishon Vijay Abraham I



On 10/20/2021 4:05 AM, Vignesh Raghavendra wrote:
> From: Vignesh Raghavedra <vigneshr@ti.com>
> 
> Add AM65x SR2.0 ICSSG Switch firmware. Base version is 02.02.09.06
> 
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> ---
> v2:
> 
> Drop DUAL EMAC firmware recipe update as its now auto rev'd
> 
>   .../prusw-fw/prusw-fw-am65x-sr2_git.bb        | 34 +++++++++++++++++++
>   recipes-kernel/linux/kernel-rdepends.inc      |  2 +-
>   2 files changed, 35 insertions(+), 1 deletion(-)
>   create mode 100644 recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
> 
> diff --git a/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb b/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
> new file mode 100644
> index 000000000000..8cb450acc2b6
> --- /dev/null
> +++ b/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
> @@ -0,0 +1,34 @@
> +SUMMARY = "PRU Ethernet Switch firmware for AM65xx SR2.0"
> +
> +require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
> +
> +PV = "${PRUETH_FW_AM65X_SR2_VERSION}"

Will the PRUSW FW version always be same as PRUETH FW?

> +PR = "${INC_PR}.0"
> +
> +CLEANBROKEN = "1"
> +
> +COMPATIBLE_MACHINE = "am65xx-evm"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +S = "${WORKDIR}/git"
> +
> +TARGET = " \
> +    am65x-sr2-pru0-prusw-fw.elf \
> +    am65x-sr2-pru1-prusw-fw.elf \
> +    am65x-sr2-rtu0-prusw-fw.elf \
> +    am65x-sr2-rtu1-prusw-fw.elf \
> +    am65x-sr2-txpru0-prusw-fw.elf \
> +    am65x-sr2-txpru1-prusw-fw.elf \
> +"
> +
> +do_install() {
> +	install -d ${D}${base_libdir}/firmware/ti-pruss
> +	for f in ${TARGET}; do
> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
> +	done
> +}
> +
> +FILES_${PN} = "${base_libdir}/firmware"
> +
> +INSANE_SKIP_${PN} = "arch"
> diff --git a/recipes-kernel/linux/kernel-rdepends.inc b/recipes-kernel/linux/kernel-rdepends.inc
> index 743b352c0b55..5e5241c9129d 100644
> --- a/recipes-kernel/linux/kernel-rdepends.inc
> +++ b/recipes-kernel/linux/kernel-rdepends.inc
> @@ -34,7 +34,7 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am57xx-hs-evm = " prueth-fw prusw-fw
>   RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti43x = " prueth-fw pruhsr-fw pruprp-fw"
>   RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti33x = " prueth-fw pruhsr-fw pruprp-fw"
>   RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx = " prueth-fw-am65x"
> -RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx-evm = " prueth-fw-am65x-sr2"
> +RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx-evm = " prueth-fw-am65x-sr2 prusw-fw-am65x-sr2"
>   RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am64xx-evm = " prueth-fw-am65x-sr2"
>   
>   # Add run-time dependency for Cadence MHDP firmware to the rootfs
> 

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

* Re: [meta-ti] [dunfell-next PATCH v2] prusw-fw-am65x-sr2: Add recipe for ICSSG Switch mode firmware for AM65x SR2.0
  2021-10-20  9:05 [dunfell-next PATCH v2] prusw-fw-am65x-sr2: Add recipe for ICSSG Switch mode firmware for AM65x SR2.0 Vignesh Raghavendra
  2021-10-20 10:14 ` Yogesh Siraswar
@ 2021-10-20 19:16 ` Denys Dmytriyenko
  1 sibling, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2021-10-20 19:16 UTC (permalink / raw)
  To: vigneshr
  Cc: yogeshs, praneeth, meta-ti, Grygorii Strashko,
	Kishon Vijay Abraham I

On Wed, Oct 20, 2021 at 02:35:22PM +0530, Vignesh Raghavendra via lists.yoctoproject.org wrote:
> From: Vignesh Raghavedra <vigneshr@ti.com>
> 
> Add AM65x SR2.0 ICSSG Switch firmware. Base version is 02.02.09.06
> 
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> ---
> v2:
> 
> Drop DUAL EMAC firmware recipe update as its now auto rev'd

AUTOREV only happens for nightly builds, but you still need to update recipe 
versions for official releases...


>  .../prusw-fw/prusw-fw-am65x-sr2_git.bb        | 34 +++++++++++++++++++
>  recipes-kernel/linux/kernel-rdepends.inc      |  2 +-
>  2 files changed, 35 insertions(+), 1 deletion(-)
>  create mode 100644 recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
> 
> diff --git a/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb b/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
> new file mode 100644
> index 000000000000..8cb450acc2b6
> --- /dev/null
> +++ b/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
> @@ -0,0 +1,34 @@
> +SUMMARY = "PRU Ethernet Switch firmware for AM65xx SR2.0"
> +
> +require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
> +
> +PV = "${PRUETH_FW_AM65X_SR2_VERSION}"
> +PR = "${INC_PR}.0"
> +
> +CLEANBROKEN = "1"
> +
> +COMPATIBLE_MACHINE = "am65xx-evm"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +S = "${WORKDIR}/git"
> +
> +TARGET = " \
> +    am65x-sr2-pru0-prusw-fw.elf \
> +    am65x-sr2-pru1-prusw-fw.elf \
> +    am65x-sr2-rtu0-prusw-fw.elf \
> +    am65x-sr2-rtu1-prusw-fw.elf \
> +    am65x-sr2-txpru0-prusw-fw.elf \
> +    am65x-sr2-txpru1-prusw-fw.elf \
> +"
> +
> +do_install() {
> +	install -d ${D}${base_libdir}/firmware/ti-pruss
> +	for f in ${TARGET}; do
> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
> +	done
> +}
> +
> +FILES_${PN} = "${base_libdir}/firmware"
> +
> +INSANE_SKIP_${PN} = "arch"
> diff --git a/recipes-kernel/linux/kernel-rdepends.inc b/recipes-kernel/linux/kernel-rdepends.inc
> index 743b352c0b55..5e5241c9129d 100644
> --- a/recipes-kernel/linux/kernel-rdepends.inc
> +++ b/recipes-kernel/linux/kernel-rdepends.inc
> @@ -34,7 +34,7 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am57xx-hs-evm = " prueth-fw prusw-fw
>  RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti43x = " prueth-fw pruhsr-fw pruprp-fw"
>  RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti33x = " prueth-fw pruhsr-fw pruprp-fw"
>  RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx = " prueth-fw-am65x"
> -RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx-evm = " prueth-fw-am65x-sr2"
> +RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx-evm = " prueth-fw-am65x-sr2 prusw-fw-am65x-sr2"
>  RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am64xx-evm = " prueth-fw-am65x-sr2"
>  
>  # Add run-time dependency for Cadence MHDP firmware to the rootfs
> -- 
> 2.33.1
> 

-- 
Regards,
Denys Dmytriyenko <denis@denix.org>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964

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

* Re: [dunfell-next PATCH v2] prusw-fw-am65x-sr2: Add recipe for ICSSG Switch mode firmware for AM65x SR2.0
  2021-10-20 10:14 ` Yogesh Siraswar
@ 2021-10-21  0:41   ` Vignesh Raghavendra
  0 siblings, 0 replies; 4+ messages in thread
From: Vignesh Raghavendra @ 2021-10-21  0:41 UTC (permalink / raw)
  To: Siraswar, Yogesh
  Cc: denis, praneeth, meta-ti, Grygorii Strashko,
	Kishon Vijay Abraham I



On 10/20/21 3:44 PM, Siraswar, Yogesh wrote:
> 
> 
> On 10/20/2021 4:05 AM, Vignesh Raghavendra wrote:
>> From: Vignesh Raghavedra <vigneshr@ti.com>
>>
>> Add AM65x SR2.0 ICSSG Switch firmware. Base version is 02.02.09.06
>>
>> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
>> ---
>> v2:
>>
>> Drop DUAL EMAC firmware recipe update as its now auto rev'd
>>
>>   .../prusw-fw/prusw-fw-am65x-sr2_git.bb        | 34 +++++++++++++++++++
>>   recipes-kernel/linux/kernel-rdepends.inc      |  2 +-
>>   2 files changed, 35 insertions(+), 1 deletion(-)
>>   create mode 100644 recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
>>
>> diff --git a/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
>> b/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
>> new file mode 100644
>> index 000000000000..8cb450acc2b6
>> --- /dev/null
>> +++ b/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
>> @@ -0,0 +1,34 @@
>> +SUMMARY = "PRU Ethernet Switch firmware for AM65xx SR2.0"
>> +
>> +require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
>> +
>> +PV = "${PRUETH_FW_AM65X_SR2_VERSION}"
> 
> Will the PRUSW FW version always be same as PRUETH FW?
> 

That's correct. Both firmwares are built from same source currently.


Regards
Vignesh

[...]

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

end of thread, other threads:[~2021-10-21  0:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-20  9:05 [dunfell-next PATCH v2] prusw-fw-am65x-sr2: Add recipe for ICSSG Switch mode firmware for AM65x SR2.0 Vignesh Raghavendra
2021-10-20 10:14 ` Yogesh Siraswar
2021-10-21  0:41   ` Vignesh Raghavendra
2021-10-20 19:16 ` [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.