Skip to contentSkip to conversation

ICSSG PRUETH firmware update for 8.1

PATCH New Vignesh Raghavendra 1 participant 3 messages Oct 19, 2021

lore
Share & tools
lore
#0 lore raw

cover ICSSG PRUETH firmware update for 8.1

First patch updates DUAL EMAC firmware to 02.02.09.06 release bringing in TSN features
Second patch adds new recipe to patch ICSSG switch firmwares, which are new in 8.1

Vignesh Raghavedra (2):
prueth-fw-am65x-sr2: Update firmware to 02.02.09.06
prusw-fw-am65x-sr2: Add recipe for ICSSG Switch mode firmware for

    AM65x SR2.0
 .../prueth-fw/prueth-fw-am65x-sr2_git.bb      |  4 +-
 .../prusw-fw/prusw-fw-am65x-sr2_git.bb        | 39 +++++++++++++++++++
 recipes-kernel/linux/kernel-rdepends.inc      |  2 +-
 3 files changed, 42 insertions(+), 3 deletions(-)
 create mode 100644 recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
Signature · 1 line
2.33.1
#1 lore raw

PATCH 1/2 prueth-fw-am65x-sr2: Update firmware to 02.02.09.06

From: Vignesh Raghavedra <[email protected]>

Update AM65x SR2.0 prueth firmware to 02.02.09.06 that adds support for TSN features.

---
 recipes-bsp/prueth-fw/prueth-fw-am65x-sr2_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/prueth-fw/prueth-fw-am65x-sr2_git.bb +2 -2
index 67e8cd07a180..a0a4546a915a 100644
@@ -3,7 +3,7 @@ SUMMARY = "PRU Ethernet firmware for AM65xx SR2.0"
 LICENSE = "TI-TFL"
 LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
 
-PV = "02.02.09.03"
+PV = "02.02.09.06"
 
 CLEANBROKEN = "1"
 
@@ -11,7 +11,7 @@ COMPATIBLE_MACHINE = "am65xx-evm|am64xx-evm"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-SRCREV = "f3d2c7cafc906adc9a2f4543aa2fee556483545d"
+SRCREV = "10bcf8564c6e9277e7f402fb02cf941956d0d3eb"
 BRANCH ?= "ti-linux-firmware"
 
 SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
Signature · 1 line
2.33.1
#2 lore raw

PATCH 2/2 prusw-fw-am65x-sr2: Add recipe for ICSSG Switch mode firmware for AM65x SR2.0

In reply to Vignesh Raghavendra

From: Vignesh Raghavedra <[email protected]>

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

---
 .../prusw-fw/prusw-fw-am65x-sr2_git.bb        | 39 +++++++++++++++++++
 recipes-kernel/linux/kernel-rdepends.inc      |  2 +-
 2 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb new file +39 -0
new file mode 100644
index 000000000000..03cbe1d77475
@@ -0,0 +1,39 @@
+SUMMARY = "PRU Ethernet Switch firmware for AM65xx SR2.0"
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
+
+PV = "02.02.09.06"
+
+CLEANBROKEN = "1"
+
+COMPATIBLE_MACHINE = "am65xx-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRCREV = "10bcf8564c6e9277e7f402fb02cf941956d0d3eb"
+BRANCH ?= "ti-linux-firmware"
+
+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
+
+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"
recipes-kernel/linux/kernel-rdepends.inc +1 -1
index 743b352c0b55..5e5241c9129d 100644
@@ -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
Signature · 1 line
2.33.1