packagegroups,ti-tisdk-makefile: am62xx dd pru-icss
PATCH 1/1 packagegroups,ti-tisdk-makefile: am62xx dd pru-icss
Now that the recipe for pru-icss supports am62xx we need to also turn on the dependencies that pull pru-icss into the images.
Signed-off-by Ryan Eatmon <[email protected]>
--- ...ackagegroup-arago-tisdk-addons-sdk-host.bb | 4 ++ .../packagegroup-arago-tisdk-addons.bb | 2 +- .../ti-tisdk-makefile/Makefile_pru-icss | 40 +++++++++++++++++++ .../ti-tisdk-makefile_1.0.bb | 5 +++ 4 files changed, 50 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb +4 -0
@@ -57,6 +57,10 @@ UTILS_append_am64xx = " \ pru-icss-src \ " +UTILS_append_am62xx = " \ + pru-icss-src \ +" + EXTRA_LIBS = "" EXTRA_LIBS_append_omap-a15 = " \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +1 -1
@@ -65,7 +65,7 @@ UTILS_append_k3 = " mmc-utils \ " UTILS_append_am64xx = " ti-rtos-firmware pru-icss" -UTILS_append_am62xx = " ti-rtos-firmware" +UTILS_append_am62xx = " ti-rtos-firmware pru-icss" UTILS_append_am65xx = " ti-rtos-firmware pru-icss pru-pwm-fw" UTILS_append_j7 = " ti-rtos-firmware" UTILS_append_j7-evm = " pru-icss"
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-icss +40 -0
@@ -107,6 +107,46 @@ pru-icss_install_am65x: pru-icss_install_common done; \ done +pru-icss_install_am64x: pru-icss_install_common + @cd example-applications; cd `find . -maxdepth 1 -type d -name "*pru-icss*"`; \ + for i in 0 1; \ + do \ + install -m 0644 ./examples/am64x/PRU_Halt/gen/PRU$${i}/PRU_Halt_$${i}.out \ + $(DESTDIR)/lib/firmware/pru; \ + install -m 644 ./examples/am64x/RTU_Halt/gen/RTU$${i}/RTU_Halt_$${i}.out \ + $(DESTDIR)/lib/firmware/pru; \ + done; \ + for i in 0 1 2; \ + do \ + for j in 0 1; \ + do \ + install -m 0644 ./examples/am64x/PRU_RPMsg_Echo_Interrupt$${j}/gen/icssg$${i}/PRU_RPMsg_Echo_Interrupt$${i}_$${j}.out \ + $(DESTDIR)/lib/firmware/pru; \ + install -m 0644 ./examples/am64x/RTU_RPMsg_Echo_Interrupt$${j}/gen/icssg$${i}/RTU_RPMsg_Echo_Interrupt$${i}_$${j}.out \ + $(DESTDIR)/lib/firmware/pru; \ + done; \ + done + +pru-icss_install_am62x: pru-icss_install_common + @cd example-applications; cd `find . -maxdepth 1 -type d -name "*pru-icss*"`; \ + for i in 0 1; \ + do \ + install -m 0644 ./examples/am62x/PRU_Halt/gen/PRU$${i}/PRU_Halt_$${i}.out \ + $(DESTDIR)/lib/firmware/pru; \ + install -m 644 ./examples/am62x/RTU_Halt/gen/RTU$${i}/RTU_Halt_$${i}.out \ + $(DESTDIR)/lib/firmware/pru; \ + done; \ + for i in 0 1 2; \ + do \ + for j in 0 1; \ + do \ + install -m 0644 ./examples/am62x/PRU_RPMsg_Echo_Interrupt$${j}/gen/icssg$${i}/PRU_RPMsg_Echo_Interrupt$${i}_$${j}.out \ + $(DESTDIR)/lib/firmware/pru; \ + install -m 0644 ./examples/am62x/RTU_RPMsg_Echo_Interrupt$${j}/gen/icssg$${i}/RTU_RPMsg_Echo_Interrupt$${i}_$${j}.out \ + $(DESTDIR)/lib/firmware/pru; \ + done; \ + done + pru-icss_install_j721e: pru-icss_install_common @cd example-applications; cd `find . -maxdepth 1 -type d -name "*pru-icss*"`; \ for i in 0 1; \
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb +5 -0
@@ -202,6 +202,10 @@ MAKEFILES_append_am64xx = " \ pru-icss \ " +MAKEFILES_append_am62xx = " \ + pru-icss \ +" + # Use this to export kernel arch to ARCH # # We need to be very careful here. This class will also overwrite UBOOT_ARCH
@@ -239,6 +243,7 @@ PRU_ICSS_INSTALL_TARGET_k2g = "pru-icss_install_k2g" PRU_ICSS_INSTALL_TARGET_am65xx = "pru-icss_install_am65x" PRU_ICSS_INSTALL_TARGET_j7 = "pru-icss_install_j721e" PRU_ICSS_INSTALL_TARGET_am64xx = "pru-icss_install_am64x" +PRU_ICSS_INSTALL_TARGET_am62xx = "pru-icss_install_am62x" # Path to toolchains for the various cores in TI SOCs #
Signature · 1 line
2.17.1