From 706c6b162e2acee6ca4666f8e340cf1920f96ade Mon Sep 17 00:00:00 2001 From: MD Danish Anwar Date: Tue, 24 Jun 2025 12:34:57 +0530 Subject: pru*-fw: Add AM64x pru firmwares Add support for packaging AM64x PRU firmwares separately Previously, AM64x platforms used the same PRU firmware binaries as AM65x (the "am65x-sr2-*" files). This patch updates the recipes to package dedicated AM64x PRU firmware binaries, ensuring that AM64x devices use the correct firmware files. The following changes are made: - Add AM64x-specific firmware binaries to the TARGET lists in the prueth-fw, pruhsr-fw, pruprp-fw, and prusw-fw recipes. - Update COMPATIBLE_MACHINE in pruprp-fw to include "am64xx". - Add new PRU PRP firmware binaries for AM64x, as AM64x now supports PRP mode. Signed-off-by: MD Danish Anwar Signed-off-by: Ryan Eatmon --- meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb | 6 ++++++ meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb | 6 ++++++ meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb | 8 +++++++- meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb | 6 ++++++ 4 files changed, 25 insertions(+), 1 deletion(-) diff --git a/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb index b85355e4..d3654ac5 100644 --- a/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb +++ b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb @@ -23,6 +23,12 @@ TARGET = " \ am65x-sr2-rtu1-prueth-fw.elf \ am65x-sr2-txpru0-prueth-fw.elf \ am65x-sr2-txpru1-prueth-fw.elf \ + am64x-sr2-pru0-prueth-fw.elf \ + am64x-sr2-pru1-prueth-fw.elf \ + am64x-sr2-rtu0-prueth-fw.elf \ + am64x-sr2-rtu1-prueth-fw.elf \ + am64x-sr2-txpru0-prueth-fw.elf \ + am64x-sr2-txpru1-prueth-fw.elf \ " do_install() { diff --git a/meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb b/meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb index 3b06de9c..aa94f287 100644 --- a/meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb +++ b/meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb @@ -20,6 +20,12 @@ TARGET = " \ am65x-sr2-rtu1-pruhsr-fw.elf \ am65x-sr2-txpru0-pruhsr-fw.elf \ am65x-sr2-txpru1-pruhsr-fw.elf \ + am64x-sr2-pru0-pruhsr-fw.elf \ + am64x-sr2-pru1-pruhsr-fw.elf \ + am64x-sr2-rtu0-pruhsr-fw.elf \ + am64x-sr2-rtu1-pruhsr-fw.elf \ + am64x-sr2-txpru0-pruhsr-fw.elf \ + am64x-sr2-txpru1-pruhsr-fw.elf \ " do_install() { diff --git a/meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb b/meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb index 9d5136c2..4e1dd0e3 100644 --- a/meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb +++ b/meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb @@ -5,7 +5,7 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc PE = "1" PR = "${INC_PR}.0" -COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx" +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx|am64xx" TARGET = " \ am335x-pru0-pruprp-fw.elf \ @@ -14,6 +14,12 @@ TARGET = " \ am437x-pru1-pruprp-fw.elf \ am57xx-pru0-pruprp-fw.elf \ am57xx-pru1-pruprp-fw.elf \ + am64x-sr2-pru0-pruprp-fw.elf \ + am64x-sr2-pru1-pruprp-fw.elf \ + am64x-sr2-rtu0-pruprp-fw.elf \ + am64x-sr2-rtu1-pruprp-fw.elf \ + am64x-sr2-txpru0-pruprp-fw.elf \ + am64x-sr2-txpru1-pruprp-fw.elf \ " do_install() { diff --git a/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb b/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb index be407363..750183ba 100644 --- a/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb +++ b/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb @@ -19,6 +19,12 @@ TARGET = " \ am65x-sr2-rtu1-prusw-fw.elf \ am65x-sr2-txpru0-prusw-fw.elf \ am65x-sr2-txpru1-prusw-fw.elf \ + am64x-sr2-pru0-prusw-fw.elf \ + am64x-sr2-pru1-prusw-fw.elf \ + am64x-sr2-rtu0-prusw-fw.elf \ + am64x-sr2-rtu1-prusw-fw.elf \ + am64x-sr2-txpru0-prusw-fw.elf \ + am64x-sr2-txpru1-prusw-fw.elf \ " do_install() { -- cgit v1.2.3-54-g00ecf