From 37ef6ae6fe518e78a6b44b8633d4c38cc7792c3e Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 22 Feb 2022 04:13:51 +0000 Subject: meta-ti: move BIOS,XDC,XDAIS, CGT,DSP libs and components to meta-ti-extras Legacy platforms AM3/4/5/J6 build components for multimedia acceleration and other DSP showcasing using SYS/BIOS, XDC, XDAIS, CodeGen Tools and different DSP libraries. Move all of them to meta-ti-extras. Signed-off-by: Denys Dmytriyenko Signed-off-by: Ryan Eatmon --- meta-ti-bsp/licenses/Hewlett-Packard | 13 - meta-ti-bsp/licenses/Patrick-Powell | 4 - .../licenses/Thai-Open-Source-Software-Center | 31 -- meta-ti-bsp/recipes-bsp/dspdce-fw/dspdce-fw_git.bb | 65 ---- .../recipes-bsp/dsptop/debugss-module-drv_git.bb | 22 -- meta-ti-bsp/recipes-bsp/dsptop/dsptop.inc | 8 - meta-ti-bsp/recipes-bsp/dsptop/dsptop_git.bb | 27 -- meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb | 45 --- meta-ti-bsp/recipes-bsp/ipumm-fw/ipumm-fw_git.bb | 67 ---- meta-ti-bsp/recipes-bsp/pru/pru-icss_git.bb | 363 --------------------- .../pru/ti-pru-sw-edma-driver_1.00.00.bb | 31 -- meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x.inc | 9 - ...bbfd.h-suppress-GCC9-Wstringop-truncation.patch | 28 -- meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x/init | 48 --- meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x_git.bb | 49 --- .../recipes-devtools/gdbc6x/gdbserver-c6x_git.bb | 49 --- .../gdbc6x/gdbserverproxy-module-drv_git.bb | 31 -- .../recipes-multimedia/libdce/libdce_3.00.14.00.bb | 18 - meta-ti-bsp/recipes-ti/README | 1 - meta-ti-bsp/recipes-ti/bios/ti-sysbios.inc | 28 -- .../recipes-ti/bios/ti-sysbios_6.76.03.01.bb | 16 - .../codec-engine/ti-codec-engine_3.24.00.08.bb | 29 -- meta-ti-bsp/recipes-ti/ctoolslib/libaet_git.bb | 38 --- .../devtools/gcc-arm-baremetal_7-2018-q2-update.bb | 29 -- .../recipes-ti/devtools/ti-cg-xml_2.61.00.bb | 40 --- .../recipes-ti/devtools/ti-cgt-arm_18.12.5.bb | 44 --- .../recipes-ti/devtools/ti-cgt-pru_2.3.2.bb | 49 --- meta-ti-bsp/recipes-ti/devtools/ti-cgt470.inc | 24 -- meta-ti-bsp/recipes-ti/devtools/ti-cgt470_4.6.6.bb | 8 - .../recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb | 46 --- meta-ti-bsp/recipes-ti/devtools/ti-cgt6x_8.3.2.bb | 107 ------ meta-ti-bsp/recipes-ti/devtools/ti-cgt7x_1.2.0.bb | 49 --- .../recipes-ti/devtools/ti-xdctools-common.inc | 70 ---- .../recipes-ti/devtools/ti-xdctools-core.inc | 5 - meta-ti-bsp/recipes-ti/devtools/ti-xdctools.inc | 10 - .../recipes-ti/devtools/ti-xdctools_3.55.02.22.bb | 10 - meta-ti-bsp/recipes-ti/dsplib/dsplib-c64xp_git.bb | 6 - meta-ti-bsp/recipes-ti/dsplib/dsplib-c66x_git.bb | 8 - meta-ti-bsp/recipes-ti/dsplib/dsplib-c674x_git.bb | 8 - meta-ti-bsp/recipes-ti/dsplib/dsplib.inc | 78 ----- .../ti-framework-components.inc | 21 -- .../ti-framework-components_2.26.00.01.bb | 9 - .../ti-framework-components_3.40.02.07.bb | 9 - meta-ti-bsp/recipes-ti/imglib/imglib-c66x.inc | 34 -- .../recipes-ti/imglib/imglib-c66x_3.1.1.0.bb | 9 - meta-ti-bsp/recipes-ti/includes/ti-eula-unpack.inc | 15 - meta-ti-bsp/recipes-ti/includes/ti-paths.inc | 109 ------- meta-ti-bsp/recipes-ti/includes/ti-staging.inc | 6 - meta-ti-bsp/recipes-ti/includes/ti-unpack.inc | 83 ----- ...usterMgr-sys_errlist-has-been-deprecated-.patch | 40 --- .../recipes-ti/ipc/ti-ipc-examples-linux_git.bb | 49 --- meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples.inc | 31 -- meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples_git.bb | 44 --- meta-ti-bsp/recipes-ti/ipc/ti-ipc-rtos.inc | 73 ----- meta-ti-bsp/recipes-ti/ipc/ti-ipc-rtos_git.bb | 101 ------ meta-ti-bsp/recipes-ti/mathlib/mathlib-c66x_git.bb | 5 - .../recipes-ti/mathlib/mathlib-c674x_git.bb | 5 - meta-ti-bsp/recipes-ti/mathlib/mathlib.inc | 77 ----- .../recipes-ti/openmp-rtos/openmp-rtos_git.bb | 62 ---- meta-ti-bsp/recipes-ti/osal/ti-osal.inc | 24 -- meta-ti-bsp/recipes-ti/osal/ti-osal_1.24.00.09.bb | 9 - meta-ti-bsp/recipes-ti/swtools/swtools_git.bb | 52 --- .../uio-test-pruss/uio-test-pruss_git.bb | 38 --- meta-ti-bsp/recipes-ti/vlib/vlib-c66x.inc | 32 -- meta-ti-bsp/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb | 9 - meta-ti-bsp/recipes-ti/xdais/ti-xdais.inc | 25 -- .../recipes-ti/xdais/ti-xdais_6.26.01.03.bb | 11 - .../recipes-ti/xdais/ti-xdais_7.24.00.04.bb | 9 - meta-ti-extras/licenses/Hewlett-Packard | 13 + meta-ti-extras/licenses/Patrick-Powell | 4 + .../licenses/Thai-Open-Source-Software-Center | 31 ++ .../recipes-bsp/dspdce-fw/dspdce-fw_git.bb | 65 ++++ .../recipes-bsp/dsptop/debugss-module-drv_git.bb | 22 ++ meta-ti-extras/recipes-bsp/dsptop/dsptop.inc | 8 + meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb | 27 ++ meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb | 45 +++ .../recipes-bsp/ipumm-fw/ipumm-fw_git.bb | 67 ++++ meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb | 363 +++++++++++++++++++++ .../pru/ti-pru-sw-edma-driver_1.00.00.bb | 31 ++ meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x.inc | 9 + ...bbfd.h-suppress-GCC9-Wstringop-truncation.patch | 28 ++ meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/init | 48 +++ .../recipes-devtools/gdbc6x/gdbc6x_git.bb | 49 +++ .../recipes-devtools/gdbc6x/gdbserver-c6x_git.bb | 49 +++ .../gdbc6x/gdbserverproxy-module-drv_git.bb | 31 ++ .../recipes-multimedia/libdce/libdce_3.00.14.00.bb | 18 + meta-ti-extras/recipes-ti/README | 1 + meta-ti-extras/recipes-ti/bios/ti-sysbios.inc | 28 ++ .../recipes-ti/bios/ti-sysbios_6.76.03.01.bb | 16 + .../codec-engine/ti-codec-engine_3.24.00.08.bb | 29 ++ meta-ti-extras/recipes-ti/ctoolslib/libaet_git.bb | 38 +++ .../devtools/gcc-arm-baremetal_7-2018-q2-update.bb | 29 ++ .../recipes-ti/devtools/ti-cg-xml_2.61.00.bb | 40 +++ .../recipes-ti/devtools/ti-cgt-arm_18.12.5.bb | 44 +++ .../recipes-ti/devtools/ti-cgt-pru_2.3.2.bb | 49 +++ meta-ti-extras/recipes-ti/devtools/ti-cgt470.inc | 24 ++ .../recipes-ti/devtools/ti-cgt470_4.6.6.bb | 8 + .../recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb | 46 +++ .../recipes-ti/devtools/ti-cgt6x_8.3.2.bb | 107 ++++++ .../recipes-ti/devtools/ti-cgt7x_1.2.0.bb | 49 +++ .../recipes-ti/devtools/ti-xdctools-common.inc | 70 ++++ .../recipes-ti/devtools/ti-xdctools-core.inc | 5 + meta-ti-extras/recipes-ti/devtools/ti-xdctools.inc | 10 + .../recipes-ti/devtools/ti-xdctools_3.55.02.22.bb | 10 + .../recipes-ti/dsplib/dsplib-c64xp_git.bb | 6 + .../recipes-ti/dsplib/dsplib-c66x_git.bb | 8 + .../recipes-ti/dsplib/dsplib-c674x_git.bb | 8 + meta-ti-extras/recipes-ti/dsplib/dsplib.inc | 78 +++++ .../ti-framework-components.inc | 21 ++ .../ti-framework-components_2.26.00.01.bb | 9 + .../ti-framework-components_3.40.02.07.bb | 9 + meta-ti-extras/recipes-ti/imglib/imglib-c66x.inc | 34 ++ .../recipes-ti/imglib/imglib-c66x_3.1.1.0.bb | 9 + .../recipes-ti/includes/ti-eula-unpack.inc | 15 + meta-ti-extras/recipes-ti/includes/ti-paths.inc | 109 +++++++ meta-ti-extras/recipes-ti/includes/ti-staging.inc | 6 + meta-ti-extras/recipes-ti/includes/ti-unpack.inc | 83 +++++ ...usterMgr-sys_errlist-has-been-deprecated-.patch | 40 +++ .../recipes-ti/ipc/ti-ipc-examples-linux_git.bb | 49 +++ meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc | 31 ++ .../recipes-ti/ipc/ti-ipc-examples_git.bb | 44 +++ meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc | 73 +++++ meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb | 101 ++++++ .../recipes-ti/mathlib/mathlib-c66x_git.bb | 5 + .../recipes-ti/mathlib/mathlib-c674x_git.bb | 5 + meta-ti-extras/recipes-ti/mathlib/mathlib.inc | 77 +++++ .../recipes-ti/openmp-rtos/openmp-rtos_git.bb | 62 ++++ meta-ti-extras/recipes-ti/osal/ti-osal.inc | 24 ++ .../recipes-ti/osal/ti-osal_1.24.00.09.bb | 9 + meta-ti-extras/recipes-ti/swtools/swtools_git.bb | 52 +++ .../uio-test-pruss/uio-test-pruss_git.bb | 38 +++ meta-ti-extras/recipes-ti/vlib/vlib-c66x.inc | 32 ++ .../recipes-ti/vlib/vlib-c66x_3.2.1.0.bb | 9 + meta-ti-extras/recipes-ti/xdais/ti-xdais.inc | 25 ++ .../recipes-ti/xdais/ti-xdais_6.26.01.03.bb | 11 + .../recipes-ti/xdais/ti-xdais_7.24.00.04.bb | 9 + 136 files changed, 2602 insertions(+), 2602 deletions(-) delete mode 100644 meta-ti-bsp/licenses/Hewlett-Packard delete mode 100644 meta-ti-bsp/licenses/Patrick-Powell delete mode 100644 meta-ti-bsp/licenses/Thai-Open-Source-Software-Center delete mode 100644 meta-ti-bsp/recipes-bsp/dspdce-fw/dspdce-fw_git.bb delete mode 100644 meta-ti-bsp/recipes-bsp/dsptop/debugss-module-drv_git.bb delete mode 100644 meta-ti-bsp/recipes-bsp/dsptop/dsptop.inc delete mode 100644 meta-ti-bsp/recipes-bsp/dsptop/dsptop_git.bb delete mode 100644 meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb delete mode 100644 meta-ti-bsp/recipes-bsp/ipumm-fw/ipumm-fw_git.bb delete mode 100644 meta-ti-bsp/recipes-bsp/pru/pru-icss_git.bb delete mode 100644 meta-ti-bsp/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb delete mode 100644 meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x.inc delete mode 100644 meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x/0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch delete mode 100644 meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x/init delete mode 100644 meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x_git.bb delete mode 100644 meta-ti-bsp/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb delete mode 100644 meta-ti-bsp/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb delete mode 100644 meta-ti-bsp/recipes-multimedia/libdce/libdce_3.00.14.00.bb delete mode 100644 meta-ti-bsp/recipes-ti/README delete mode 100644 meta-ti-bsp/recipes-ti/bios/ti-sysbios.inc delete mode 100644 meta-ti-bsp/recipes-ti/bios/ti-sysbios_6.76.03.01.bb delete mode 100644 meta-ti-bsp/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb delete mode 100644 meta-ti-bsp/recipes-ti/ctoolslib/libaet_git.bb delete mode 100644 meta-ti-bsp/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb delete mode 100644 meta-ti-bsp/recipes-ti/devtools/ti-cg-xml_2.61.00.bb delete mode 100644 meta-ti-bsp/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb delete mode 100644 meta-ti-bsp/recipes-ti/devtools/ti-cgt-pru_2.3.2.bb delete mode 100644 meta-ti-bsp/recipes-ti/devtools/ti-cgt470.inc delete mode 100644 meta-ti-bsp/recipes-ti/devtools/ti-cgt470_4.6.6.bb delete mode 100644 meta-ti-bsp/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb delete mode 100644 meta-ti-bsp/recipes-ti/devtools/ti-cgt6x_8.3.2.bb delete mode 100644 meta-ti-bsp/recipes-ti/devtools/ti-cgt7x_1.2.0.bb delete mode 100644 meta-ti-bsp/recipes-ti/devtools/ti-xdctools-common.inc delete mode 100644 meta-ti-bsp/recipes-ti/devtools/ti-xdctools-core.inc delete mode 100644 meta-ti-bsp/recipes-ti/devtools/ti-xdctools.inc delete mode 100644 meta-ti-bsp/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb delete mode 100644 meta-ti-bsp/recipes-ti/dsplib/dsplib-c64xp_git.bb delete mode 100644 meta-ti-bsp/recipes-ti/dsplib/dsplib-c66x_git.bb delete mode 100644 meta-ti-bsp/recipes-ti/dsplib/dsplib-c674x_git.bb delete mode 100644 meta-ti-bsp/recipes-ti/dsplib/dsplib.inc delete mode 100644 meta-ti-bsp/recipes-ti/framework-components/ti-framework-components.inc delete mode 100644 meta-ti-bsp/recipes-ti/framework-components/ti-framework-components_2.26.00.01.bb delete mode 100644 meta-ti-bsp/recipes-ti/framework-components/ti-framework-components_3.40.02.07.bb delete mode 100644 meta-ti-bsp/recipes-ti/imglib/imglib-c66x.inc delete mode 100644 meta-ti-bsp/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb delete mode 100644 meta-ti-bsp/recipes-ti/includes/ti-eula-unpack.inc delete mode 100644 meta-ti-bsp/recipes-ti/includes/ti-paths.inc delete mode 100644 meta-ti-bsp/recipes-ti/includes/ti-staging.inc delete mode 100644 meta-ti-bsp/recipes-ti/includes/ti-unpack.inc delete mode 100644 meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch delete mode 100644 meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples-linux_git.bb delete mode 100644 meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples.inc delete mode 100644 meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples_git.bb delete mode 100644 meta-ti-bsp/recipes-ti/ipc/ti-ipc-rtos.inc delete mode 100644 meta-ti-bsp/recipes-ti/ipc/ti-ipc-rtos_git.bb delete mode 100644 meta-ti-bsp/recipes-ti/mathlib/mathlib-c66x_git.bb delete mode 100644 meta-ti-bsp/recipes-ti/mathlib/mathlib-c674x_git.bb delete mode 100644 meta-ti-bsp/recipes-ti/mathlib/mathlib.inc delete mode 100644 meta-ti-bsp/recipes-ti/openmp-rtos/openmp-rtos_git.bb delete mode 100644 meta-ti-bsp/recipes-ti/osal/ti-osal.inc delete mode 100644 meta-ti-bsp/recipes-ti/osal/ti-osal_1.24.00.09.bb delete mode 100644 meta-ti-bsp/recipes-ti/swtools/swtools_git.bb delete mode 100644 meta-ti-bsp/recipes-ti/uio-test-pruss/uio-test-pruss_git.bb delete mode 100644 meta-ti-bsp/recipes-ti/vlib/vlib-c66x.inc delete mode 100644 meta-ti-bsp/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb delete mode 100644 meta-ti-bsp/recipes-ti/xdais/ti-xdais.inc delete mode 100644 meta-ti-bsp/recipes-ti/xdais/ti-xdais_6.26.01.03.bb delete mode 100644 meta-ti-bsp/recipes-ti/xdais/ti-xdais_7.24.00.04.bb create mode 100644 meta-ti-extras/licenses/Hewlett-Packard create mode 100644 meta-ti-extras/licenses/Patrick-Powell create mode 100644 meta-ti-extras/licenses/Thai-Open-Source-Software-Center create mode 100644 meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb create mode 100644 meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb create mode 100644 meta-ti-extras/recipes-bsp/dsptop/dsptop.inc create mode 100644 meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb create mode 100644 meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb create mode 100644 meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb create mode 100644 meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb create mode 100644 meta-ti-extras/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb create mode 100644 meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x.inc create mode 100644 meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch create mode 100644 meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/init create mode 100644 meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb create mode 100644 meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb create mode 100644 meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb create mode 100644 meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.14.00.bb create mode 100644 meta-ti-extras/recipes-ti/README create mode 100644 meta-ti-extras/recipes-ti/bios/ti-sysbios.inc create mode 100644 meta-ti-extras/recipes-ti/bios/ti-sysbios_6.76.03.01.bb create mode 100644 meta-ti-extras/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb create mode 100644 meta-ti-extras/recipes-ti/ctoolslib/libaet_git.bb create mode 100644 meta-ti-extras/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb create mode 100644 meta-ti-extras/recipes-ti/devtools/ti-cg-xml_2.61.00.bb create mode 100644 meta-ti-extras/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb create mode 100644 meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.2.bb create mode 100644 meta-ti-extras/recipes-ti/devtools/ti-cgt470.inc create mode 100644 meta-ti-extras/recipes-ti/devtools/ti-cgt470_4.6.6.bb create mode 100644 meta-ti-extras/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb create mode 100644 meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb create mode 100644 meta-ti-extras/recipes-ti/devtools/ti-cgt7x_1.2.0.bb create mode 100644 meta-ti-extras/recipes-ti/devtools/ti-xdctools-common.inc create mode 100644 meta-ti-extras/recipes-ti/devtools/ti-xdctools-core.inc create mode 100644 meta-ti-extras/recipes-ti/devtools/ti-xdctools.inc create mode 100644 meta-ti-extras/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb create mode 100644 meta-ti-extras/recipes-ti/dsplib/dsplib-c64xp_git.bb create mode 100644 meta-ti-extras/recipes-ti/dsplib/dsplib-c66x_git.bb create mode 100644 meta-ti-extras/recipes-ti/dsplib/dsplib-c674x_git.bb create mode 100644 meta-ti-extras/recipes-ti/dsplib/dsplib.inc create mode 100644 meta-ti-extras/recipes-ti/framework-components/ti-framework-components.inc create mode 100644 meta-ti-extras/recipes-ti/framework-components/ti-framework-components_2.26.00.01.bb create mode 100644 meta-ti-extras/recipes-ti/framework-components/ti-framework-components_3.40.02.07.bb create mode 100644 meta-ti-extras/recipes-ti/imglib/imglib-c66x.inc create mode 100644 meta-ti-extras/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb create mode 100644 meta-ti-extras/recipes-ti/includes/ti-eula-unpack.inc create mode 100644 meta-ti-extras/recipes-ti/includes/ti-paths.inc create mode 100644 meta-ti-extras/recipes-ti/includes/ti-staging.inc create mode 100644 meta-ti-extras/recipes-ti/includes/ti-unpack.inc create mode 100644 meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch create mode 100644 meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb create mode 100644 meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc create mode 100644 meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb create mode 100644 meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc create mode 100644 meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb create mode 100644 meta-ti-extras/recipes-ti/mathlib/mathlib-c66x_git.bb create mode 100644 meta-ti-extras/recipes-ti/mathlib/mathlib-c674x_git.bb create mode 100644 meta-ti-extras/recipes-ti/mathlib/mathlib.inc create mode 100644 meta-ti-extras/recipes-ti/openmp-rtos/openmp-rtos_git.bb create mode 100644 meta-ti-extras/recipes-ti/osal/ti-osal.inc create mode 100644 meta-ti-extras/recipes-ti/osal/ti-osal_1.24.00.09.bb create mode 100644 meta-ti-extras/recipes-ti/swtools/swtools_git.bb create mode 100644 meta-ti-extras/recipes-ti/uio-test-pruss/uio-test-pruss_git.bb create mode 100644 meta-ti-extras/recipes-ti/vlib/vlib-c66x.inc create mode 100644 meta-ti-extras/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb create mode 100644 meta-ti-extras/recipes-ti/xdais/ti-xdais.inc create mode 100644 meta-ti-extras/recipes-ti/xdais/ti-xdais_6.26.01.03.bb create mode 100644 meta-ti-extras/recipes-ti/xdais/ti-xdais_7.24.00.04.bb diff --git a/meta-ti-bsp/licenses/Hewlett-Packard b/meta-ti-bsp/licenses/Hewlett-Packard deleted file mode 100644 index 569d009c..00000000 --- a/meta-ti-bsp/licenses/Hewlett-Packard +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright (c) 1994 - * Hewlett-Packard Company - * - * Permission to use, copy, modify, distribute and sell this software - * and its documentation for any purpose is hereby granted without fee, - * provided that the above copyright notice appear in all copies and - * that both that copyright notice and this permission notice appear - * in supporting documentation. Hewlett-Packard Company makes no - * representations about the suitability of this software for any - * purpose. It is provided "as is" without express or implied warranty. - * - */ diff --git a/meta-ti-bsp/licenses/Patrick-Powell b/meta-ti-bsp/licenses/Patrick-Powell deleted file mode 100644 index 9c6eac42..00000000 --- a/meta-ti-bsp/licenses/Patrick-Powell +++ /dev/null @@ -1,4 +0,0 @@ -Copyright Patrick Powell 1995 -This code is based on code written by Patrick Powell (papowell@astart.com) -It may be used for any purpose as long as this notice remains intact -on all source code distributions diff --git a/meta-ti-bsp/licenses/Thai-Open-Source-Software-Center b/meta-ti-bsp/licenses/Thai-Open-Source-Software-Center deleted file mode 100644 index 3a3972dd..00000000 --- a/meta-ti-bsp/licenses/Thai-Open-Source-Software-Center +++ /dev/null @@ -1,31 +0,0 @@ -Copyright (c) 2002, 2003, 2008 Thai Open Source Software Center Ltd -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - - Neither the name of the Thai Open Source Software Center Ltd nor - the names of its contributors may be used to endorse or promote - products derived from this software without specific prior written - permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/meta-ti-bsp/recipes-bsp/dspdce-fw/dspdce-fw_git.bb b/meta-ti-bsp/recipes-bsp/dspdce-fw/dspdce-fw_git.bb deleted file mode 100644 index 4e863099..00000000 --- a/meta-ti-bsp/recipes-bsp/dspdce-fw/dspdce-fw_git.bb +++ /dev/null @@ -1,65 +0,0 @@ -SUMMARY = "Firmware for DSP for an example application called copycodectest" -LICENSE = "TI-TSPA" -LIC_FILES_CHKSUM = "file://src/ti/framework/dce/dce.c;startline=1;endline=31;md5=2c6e9aba6ed75f22b1a2b7544b1c809d" - -COMPATIBLE_MACHINE = "dra7xx" - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp" - -SRC_URI = "git://git.ti.com/glsdk/dspdce.git;protocol=git" - -SRCREV = "de6e599f067b25c46cc0c8f74a22cc3b8aafbae8" - -PV = "1.00.00.07" - -S = "${WORKDIR}/git" - -require recipes-ti/includes/ti-paths.inc - -PR = "r4" -inherit update-alternatives - -DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native" - -export HWVERSION = "ES10" -export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti" - -export XDCVERSION = "ti-xdctools-tree" -export BIOSVERSION = "ti-sysbios-tree" -export IPCVERSION = "ti-ipc-tree" -export CEVERSION = "ti-codec-engine-tree" -export FCVERSION = "ti-framework-components-tree" -export XDAISVERSION = "ti-xdais-tree" -export OSALVERSION = "ti-osal-tree" - -export IPCSRC = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" -export C66XCGTOOLSPATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" - -do_configure() { - cd ${S} - make unconfig - make vayu_config -} - -do_compile() { - cd ${S} - make dspbin -} - -TARGET = "dra7-dsp1-fw.xe66" - -do_install() { - install -d ${D}${base_libdir}/firmware - install -m 0644 ${S}/dra7xx-c66x-dsp.xe66 ${D}${base_libdir}/firmware/${TARGET}.${BPN} -} - -ALTERNATIVE:${PN} = "dra7-dsp1-fw.xe66" -ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${base_libdir}/firmware/${TARGET}" -ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${base_libdir}/firmware/${TARGET}.${BPN}" -ALTERNATIVE_PRIORITY = "10" - -INSANE_SKIP:${PN} = "arch" - -FILES:${PN} += "${base_libdir}/firmware/*" diff --git a/meta-ti-bsp/recipes-bsp/dsptop/debugss-module-drv_git.bb b/meta-ti-bsp/recipes-bsp/dsptop/debugss-module-drv_git.bb deleted file mode 100644 index a250b825..00000000 --- a/meta-ti-bsp/recipes-bsp/dsptop/debugss-module-drv_git.bb +++ /dev/null @@ -1,22 +0,0 @@ -DESCRIPTION = "Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3" - -# This package builds a kernel module, use kernel PR as base and append a local -MACHINE_KERNEL_PR:append = "d" -PR = "${MACHINE_KERNEL_PR}" -PV:append = "+git${SRCPV}" - -S = "${WORKDIR}/git/debugss_module/debugss-mod" - -inherit module - -PLATFORM = "" -PLATFORM:dra7xx = "DRA7xx_PLATFORM" - -EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}' KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}" - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -include dsptop.inc diff --git a/meta-ti-bsp/recipes-bsp/dsptop/dsptop.inc b/meta-ti-bsp/recipes-bsp/dsptop/dsptop.inc deleted file mode 100644 index 31f775e2..00000000 --- a/meta-ti-bsp/recipes-bsp/dsptop/dsptop.inc +++ /dev/null @@ -1,8 +0,0 @@ -# This corresponds to version 1.4.0 -SRCREV = "816485e68430bbec643eac9498bfa5303eb2c2e1" -PV = "1.4.0" -INC_PR = "r2" - -SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}" - -BRANCH = "master" diff --git a/meta-ti-bsp/recipes-bsp/dsptop/dsptop_git.bb b/meta-ti-bsp/recipes-bsp/dsptop/dsptop_git.bb deleted file mode 100644 index 20818443..00000000 --- a/meta-ti-bsp/recipes-bsp/dsptop/dsptop_git.bb +++ /dev/null @@ -1,27 +0,0 @@ -DESCRIPTION = "TI dsptop utility." -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" - -DEPENDS = "libulm ncurses" - -PR = "${INC_PR}.2" - -S = "${WORKDIR}/git/dsptop" - -DEVICE = "" -DEVICE:dra7xx = "DRA7xx" - -EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"" - -do_install() { - oe_runmake install DESTDIR=${D} -} - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -RDEPENDS:${PN} = "debugss-module-drv bash" - -include dsptop.inc - -PARALLEL_MAKE = "" diff --git a/meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb b/meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb deleted file mode 100644 index f3e7ec3c..00000000 --- a/meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb +++ /dev/null @@ -1,45 +0,0 @@ -SUMMARY = "TI Usage & Load Monitor Implementation" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp" - -DEPENDS = "ti-cgt6x-native" -PR = "${INC_PR}.0" - -S = "${WORKDIR}/git/dsptop/ulm" - -DEVICE="" -DEVICE:dra7xx = "DRA7xx" - -EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" - -do_compile() { - oe_runmake arm XPORT_ONLY CC="${CC}" - oe_runmake dsp C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include -} - -do_install() { - install -d ${D}${includedir} - install -d ${D}${libdir} - install -d ${D}${datadir}/ti/ulm - cp -f tiulm.h ${D}${includedir} - cp -f release/libtiulm.a ${D}${libdir} - cp -f tiulm.h ${D}${datadir}/ti/ulm - cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm -} - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -FILES:${PN}-dev += "\ - ${datadir}/ti/ulm \ -" - -include dsptop.inc - -ALLOW_EMPTY:${PN} = "1" - -PARALLEL_MAKE= "" diff --git a/meta-ti-bsp/recipes-bsp/ipumm-fw/ipumm-fw_git.bb b/meta-ti-bsp/recipes-bsp/ipumm-fw/ipumm-fw_git.bb deleted file mode 100644 index 14d28258..00000000 --- a/meta-ti-bsp/recipes-bsp/ipumm-fw/ipumm-fw_git.bb +++ /dev/null @@ -1,67 +0,0 @@ -SUMMARY = "Firmware for IPU to suppor Accelerated MM decode and encode" -LICENSE = "TI-TSPA" - -LIC_FILES_CHKSUM = "file://Texas_Instruments_ipumm_Manifest.pdf;md5=5cc572579f07af266ab57fc17d762c7f" - -COMPATIBLE_MACHINE = "dra7xx" - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "mmip" - -RDEPENDS:${PN} = "libdce" - -SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git" - -SRCREV = "df4c50aecc9aad7ab3eb1ca9ebacfe473fcad7c5" - -S = "${WORKDIR}/git" - -PV = "3.00.15.00" -PR = "r7" - -require recipes-ti/includes/ti-paths.inc - -inherit update-alternatives - -DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos" - -export HWVERSION="ES10" -export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti" - -export XDCVERSION="ti-xdctools-tree" -export BIOSVERSION="ti-sysbios-tree" -export IPCVERSION="ti-ipc-tree" -export CEVERSION="ti-codec-engine-tree" -export FCVERSION="ti-framework-components-tree" -export XDAISVERSION="ti-xdais-tree" - -export TMS470CGTOOLPATH="${M4_TOOLCHAIN_INSTALL_DIR}" -export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" - -EXTRA_OEMAKE += "XDCDIST_TREE=${STAGING_DIR_NATIVE}/usr/share/ti/${XDCVERSION}" - -do_configure() { - oe_runmake unconfig - oe_runmake vayu_smp_config -} - -do_compile() { - oe_runmake -} - -TARGET = "dra7-ipu2-fw.xem4" -TARGET_MAP = "platform/ti/dce/baseimage/package/cfg/out/ipu/release/ipu.xem4.map" - -do_install() { - install -d ${D}${base_libdir}/firmware - install -m 0644 ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET}.${BPN} - install -m 0644 ${S}/${TARGET_MAP} ${D}${base_libdir}/firmware/${TARGET}.map -} - -ALTERNATIVE:${PN} = "dra7-ipu2-fw.xem4" -ALTERNATIVE_LINK_NAME[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}" -ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}.${BPN}" -ALTERNATIVE_PRIORITY = "20" - -FILES:${PN} += "${base_libdir}/firmware/*" diff --git a/meta-ti-bsp/recipes-bsp/pru/pru-icss_git.bb b/meta-ti-bsp/recipes-bsp/pru/pru-icss_git.bb deleted file mode 100644 index 779f96fd..00000000 --- a/meta-ti-bsp/recipes-bsp/pru/pru-icss_git.bb +++ /dev/null @@ -1,363 +0,0 @@ -DESCRIPTION = "Programmable Real-time Unit Software Package" -HOMEPAGE = "http://processors.wiki.ti.com/index.php/PRU-ICSS" -LICENSE = "BSD-3-Clause & PD" - -LIC_FILES_CHKSUM = "file://PRU-Package-v6.1-Manifest.html;md5=1e37797ebe9254922f4278bb6047211c" - -inherit update-alternatives - -BRANCH = "master" -SRC_URI = "git://git.ti.com/pru-software-support-package/pru-software-support-package.git;protocol=git;branch=${BRANCH}" -SRCREV = "8eee431384b6a1a9c96ae91a8e99485176b4d2b3" - -PV = "6.0.1" -PR = "r0" - -require recipes-ti/includes/ti-paths.inc - -COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -PACKAGES:prepend = " \ - ${PN}-halt \ - ${PN}-rpmsg-echo \ -" - -RDEPENDS:${PN}:append = " \ - ${PN}-halt \ - ${PN}-rpmsg-echo \ -" - -DEPENDS = "ti-cgt-pru-native" - -S = "${WORKDIR}/git" - -export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}" -export PRU_SSP = "${S}" - -SUBDIRS = "examples pru_cape/pru_fw lib/src labs" - -PLATFORM:ti33x = "am335x" -PLATFORM:ti43x = "am437x" -PLATFORM:omap-a15 = "am572x" -PLATFORM:am64xx = "am64x" -PLATFORM:am65xx = "am65x" -PLATFORM:j7 = "j721e" - -do_compile() { - for dir in ${SUBDIRS} - do - make -C ${S}/$dir - done -} - -do_install() { - CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - install -d ${D}${base_libdir}/firmware/pru - install -d ${D}${includedir} - cp ${CP_ARGS} ${S}/include/* ${D}${includedir} - install -d ${D}${libdir} - install -m 0644 ${S}/lib/rpmsg_lib.lib ${D}${libdir} -} - -FILES:${PN}-staticdev = "${libdir}" -FILES:${PN}-dev = "${includedir}" - -do_install:append:ti33x() { - install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \ - ${D}${base_libdir}/firmware/pru - for i in 0 1 - do - install -m 0644 ${S}/examples/am335x/PRU_RPMsg_Echo_Interrupt${i}/gen/PRU_RPMsg_Echo_Interrupt${i}.out \ - ${D}${base_libdir}/firmware/pru - done -} - -do_install:append:ti43x() { - install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \ - ${D}${base_libdir}/firmware/pru - for i in 0 1 - do - for j in 0 1 - do - install -m 0644 ${S}/examples/am437x/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \ - ${D}${base_libdir}/firmware/pru - done - done -} - -do_install:append:omap-a15() { - install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \ - ${D}${base_libdir}/firmware/pru - for i in 1 2 - do - for j in 0 1 - do - install -m 0644 ${S}/examples/am572x/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \ - ${D}${base_libdir}/firmware/pru - done - done -} - -do_install:append:am64xx(){ - for i in 0 1 - do - install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \ - ${D}${base_libdir}/firmware/pru - install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \ - ${D}${base_libdir}/firmware/pru - install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \ - ${D}${base_libdir}/firmware/pru - done - for i in 0 1 - do - for j in 0 1 - do - install -m 0644 ${S}/examples/${PLATFORM}/PRU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \ - ${D}${base_libdir}/firmware/pru - install -m 0644 ${S}/examples/${PLATFORM}/RTU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/RTU_RPMsg_Echo_Interrupt${i}_${j}.out \ - ${D}${base_libdir}/firmware/pru - done - done -} - -do_install:append:am65xx() { - for i in 0 1 - do - install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \ - ${D}${base_libdir}/firmware/pru - install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \ - ${D}${base_libdir}/firmware/pru - install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \ - ${D}${base_libdir}/firmware/pru - done - for i in 0 1 2 - do - for j in 0 1 - do - install -m 0644 ${S}/examples/am65x/PRU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \ - ${D}${base_libdir}/firmware/pru - install -m 0644 ${S}/examples/am65x/RTU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/RTU_RPMsg_Echo_Interrupt${i}_${j}.out \ - ${D}${base_libdir}/firmware/pru - - done - done -} - -do_install:append:j7() { - for i in 0 1 - do - install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \ - ${D}${base_libdir}/firmware/pru - install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \ - ${D}${base_libdir}/firmware/pru - install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \ - ${D}${base_libdir}/firmware/pru - done - for i in 0 1 - do - for j in 0 1 - do - install -m 0644 ${S}/examples/j721e/PRU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \ - ${D}${base_libdir}/firmware/pru - install -m 0644 ${S}/examples/j721e/RTU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/RTU_RPMsg_Echo_Interrupt${i}_${j}.out \ - ${D}${base_libdir}/firmware/pru - - done - done -} - - -FILES:${PN}-halt = "${base_libdir}/firmware/pru/PRU_Halt* ${base_libdir}/firmware/pru/RTU_Halt* ${base_libdir}/firmware/pru/TX_PRU_Halt*" -FILES:${PN}-rpmsg-echo = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt* ${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt*" - -# Set up names for the firmwares -PRU_ICSS_ALTERNATIVES:ti33x = "am335x-pru0-fw am335x-pru1-fw" -PRU_ICSS_ALTERNATIVES:ti43x = "am437x-pru0_0-fw am437x-pru0_1-fw am437x-pru1_0-fw am437x-pru1_1-fw" -PRU_ICSS_ALTERNATIVES:omap-a15 = "am57xx-pru1_0-fw am57xx-pru1_1-fw am57xx-pru2_0-fw am57xx-pru2_1-fw" -PRU_ICSS_ALTERNATIVES:am64xx = "am64x-pru0_0-fw am64x-pru0_1-fw am64x-pru1_0-fw am64x-pru1_1-fw am64x-rtu0_0-fw am64x-rtu0_1-fw am64x-rtu1_0-fw am64x-rtu1_1-fw" -PRU_ICSS_ALTERNATIVES:am65xx = "am65x-pru0_0-fw am65x-pru0_1-fw am65x-pru1_0-fw am65x-pru1_1-fw am65x-pru2_0-fw am65x-pru2_1-fw am65x-rtu0_0-fw am65x-rtu0_1-fw am65x-rtu1_0-fw am65x-rtu1_1-fw am65x-rtu2_0-fw am65x-rtu2_1-fw" -PRU_ICSS_ALTERNATIVES:j7 = "j7-pru0_0-fw j7-pru0_1-fw j7-pru1_0-fw j7-pru1_1-fw j7-rtu0_0-fw j7-rtu0_1-fw j7-rtu1_0-fw j7-rtu1_1-fw" - -# Set up link names for the firmwares -ALTERNATIVE_LINK_NAME[am335x-pru0-fw] = "${base_libdir}/firmware/am335x-pru0-fw" -ALTERNATIVE_LINK_NAME[am335x-pru1-fw] = "${base_libdir}/firmware/am335x-pru1-fw" - -ALTERNATIVE_LINK_NAME[am437x-pru0_0-fw] = "${base_libdir}/firmware/am437x-pru0_0-fw" -ALTERNATIVE_LINK_NAME[am437x-pru0_1-fw] = "${base_libdir}/firmware/am437x-pru0_1-fw" -ALTERNATIVE_LINK_NAME[am437x-pru1_0-fw] = "${base_libdir}/firmware/am437x-pru1_0-fw" -ALTERNATIVE_LINK_NAME[am437x-pru1_1-fw] = "${base_libdir}/firmware/am437x-pru1_1-fw" - -ALTERNATIVE_LINK_NAME[am57xx-pru1_0-fw] = "${base_libdir}/firmware/am57xx-pru1_0-fw" -ALTERNATIVE_LINK_NAME[am57xx-pru1_1-fw] = "${base_libdir}/firmware/am57xx-pru1_1-fw" -ALTERNATIVE_LINK_NAME[am57xx-pru2_0-fw] = "${base_libdir}/firmware/am57xx-pru2_0-fw" -ALTERNATIVE_LINK_NAME[am57xx-pru2_1-fw] = "${base_libdir}/firmware/am57xx-pru2_1-fw" - -ALTERNATIVE_LINK_NAME[am64x-pru0_0-fw] = "${base_libdir}/firmware/am64x-pru0_0-fw" -ALTERNATIVE_LINK_NAME[am64x-pru0_1-fw] = "${base_libdir}/firmware/am64x-pru0_1-fw" -ALTERNATIVE_LINK_NAME[am64x-pru1_0-fw] = "${base_libdir}/firmware/am64x-pru1_0-fw" -ALTERNATIVE_LINK_NAME[am64x-pru1_1-fw] = "${base_libdir}/firmware/am64x-pru1_1-fw" -ALTERNATIVE_LINK_NAME[am64x-rtu0_0-fw] = "${base_libdir}/firmware/am64x-rtu0_0-fw" -ALTERNATIVE_LINK_NAME[am64x-rtu0_1-fw] = "${base_libdir}/firmware/am64x-rtu0_1-fw" -ALTERNATIVE_LINK_NAME[am64x-rtu1_0-fw] = "${base_libdir}/firmware/am64x-rtu1_0-fw" -ALTERNATIVE_LINK_NAME[am64x-rtu1_1-fw] = "${base_libdir}/firmware/am64x-rtu1_1-fw" -ALTERNATIVE_LINK_NAME[am64x-txpru0_0-fw] = "${base_libdir}/firmware/am64x-txpru0_0-fw" -ALTERNATIVE_LINK_NAME[am64x-txpru0_1-fw] = "${base_libdir}/firmware/am64x-txpru0_1-fw" -ALTERNATIVE_LINK_NAME[am64x-txpru1_0-fw] = "${base_libdir}/firmware/am64x-txpru1_0-fw" -ALTERNATIVE_LINK_NAME[am64x-txpru1_1-fw] = "${base_libdir}/firmware/am64x-txpru1_1-fw" - -ALTERNATIVE_LINK_NAME[am65x-pru0_0-fw] = "${base_libdir}/firmware/am65x-pru0_0-fw" -ALTERNATIVE_LINK_NAME[am65x-pru0_1-fw] = "${base_libdir}/firmware/am65x-pru0_1-fw" -ALTERNATIVE_LINK_NAME[am65x-pru1_0-fw] = "${base_libdir}/firmware/am65x-pru1_0-fw" -ALTERNATIVE_LINK_NAME[am65x-pru1_1-fw] = "${base_libdir}/firmware/am65x-pru1_1-fw" -ALTERNATIVE_LINK_NAME[am65x-pru2_0-fw] = "${base_libdir}/firmware/am65x-pru2_0-fw" -ALTERNATIVE_LINK_NAME[am65x-pru2_1-fw] = "${base_libdir}/firmware/am65x-pru2_1-fw" -ALTERNATIVE_LINK_NAME[am65x-rtu0_0-fw] = "${base_libdir}/firmware/am65x-rtu0_0-fw" -ALTERNATIVE_LINK_NAME[am65x-rtu0_1-fw] = "${base_libdir}/firmware/am65x-rtu0_1-fw" -ALTERNATIVE_LINK_NAME[am65x-rtu1_0-fw] = "${base_libdir}/firmware/am65x-rtu1_0-fw" -ALTERNATIVE_LINK_NAME[am65x-rtu1_1-fw] = "${base_libdir}/firmware/am65x-rtu1_1-fw" -ALTERNATIVE_LINK_NAME[am65x-rtu2_0-fw] = "${base_libdir}/firmware/am65x-rtu2_0-fw" -ALTERNATIVE_LINK_NAME[am65x-rtu2_1-fw] = "${base_libdir}/firmware/am65x-rtu2_1-fw" -ALTERNATIVE_LINK_NAME[am65x-txpru0_0-fw] = "${base_libdir}/firmware/am65x-txpru0_0-fw" -ALTERNATIVE_LINK_NAME[am65x-txpru0_1-fw] = "${base_libdir}/firmware/am65x-txpru0_1-fw" -ALTERNATIVE_LINK_NAME[am65x-txpru1_0-fw] = "${base_libdir}/firmware/am65x-txpru1_0-fw" -ALTERNATIVE_LINK_NAME[am65x-txpru1_1-fw] = "${base_libdir}/firmware/am65x-txpru1_1-fw" -ALTERNATIVE_LINK_NAME[am65x-txpru2_0-fw] = "${base_libdir}/firmware/am65x-txpru2_0-fw" -ALTERNATIVE_LINK_NAME[am65x-txpru2_1-fw] = "${base_libdir}/firmware/am65x-txpru2_1-fw" - -ALTERNATIVE_LINK_NAME[j7-pru0_0-fw] = "${base_libdir}/firmware/j7-pru0_0-fw" -ALTERNATIVE_LINK_NAME[j7-pru0_1-fw] = "${base_libdir}/firmware/j7-pru0_1-fw" -ALTERNATIVE_LINK_NAME[j7-pru1_0-fw] = "${base_libdir}/firmware/j7-pru1_0-fw" -ALTERNATIVE_LINK_NAME[j7-pru1_1-fw] = "${base_libdir}/firmware/j7-pru1_1-fw" -ALTERNATIVE_LINK_NAME[j7-rtu0_0-fw] = "${base_libdir}/firmware/j7-rtu0_0-fw" -ALTERNATIVE_LINK_NAME[j7-rtu0_1-fw] = "${base_libdir}/firmware/j7-rtu0_1-fw" -ALTERNATIVE_LINK_NAME[j7-rtu1_0-fw] = "${base_libdir}/firmware/j7-rtu1_0-fw" -ALTERNATIVE_LINK_NAME[j7-rtu1_1-fw] = "${base_libdir}/firmware/j7-rtu1_1-fw" -ALTERNATIVE_LINK_NAME[j7-txpru0_0-fw] = "${base_libdir}/firmware/j7-txpru0_0-fw" -ALTERNATIVE_LINK_NAME[j7-txpru0_1-fw] = "${base_libdir}/firmware/j7-txpru0_1-fw" -ALTERNATIVE_LINK_NAME[j7-txpru1_0-fw] = "${base_libdir}/firmware/j7-txpru1_0-fw" -ALTERNATIVE_LINK_NAME[j7-txpru1_1-fw] = "${base_libdir}/firmware/j7-txpru1_1-fw" - -# Create the pru-icss-halt firmware alternatives -ALTERNATIVE:pru-icss-halt = "${PRU_ICSS_ALTERNATIVES}" - -# Only Halt firmware images are supported for the Tx_PRU cores -ALTERNATIVE:pru-icss-halt:append:am64xx = " am64x-txpru0_0-fw am64x-txpru0_1-fw am64x-txpru1_0-fw am64x-txpru1_1-fw" -ALTERNATIVE:pru-icss-halt:append:am65xx = " am65x-txpru0_0-fw am65x-txpru0_1-fw am65x-txpru1_0-fw am65x-txpru1_1-fw am65x-txpru2_0-fw am65x-txpru2_1-fw" -ALTERNATIVE:pru-icss-halt:append:j7 = " j7-txpru0_0-fw j7-txpru0_1-fw j7-txpru1_0-fw j7-txpru1_1-fw" - -ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" -ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" - -ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" -ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" -ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" -ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" - -ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" -ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" -ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" -ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" - -ALTERNATIVE_TARGET_pru-icss-halt[am64x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am64x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am64x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am64x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am64x-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am64x-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am64x-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am64x-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am64x-txpru0_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am64x-txpru0_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am64x-txpru1_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am64x-txpru1_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" - -ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru0_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru0_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru1_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru1_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru2_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru2_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" - -ALTERNATIVE_TARGET_pru-icss-halt[j7-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[j7-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[j7-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[j7-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru0_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru0_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" -ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru1_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" -ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru1_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" - - -ALTERNATIVE_PRIORITY_pru-icss-halt = "50" - -# Create the pru-icss-rpmsg-echo firmware alternatives -ALTERNATIVE:pru-icss-rpmsg-echo = "${PRU_ICSS_ALTERNATIVES}" - -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am335x-pru0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am335x-pru1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1.out" - -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out" - -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out" - -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out" - -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru2_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru2_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt2_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt2_1.out" - -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out" -ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out" - -ALTERNATIVE_PRIORITY_pru-icss-rpmsg-echo = "100" - -ALLOW_EMPTY:${PN} = "1" - -# This installs PRU firmware, so skip "arch" QA check -INSANE_SKIP:${PN}-halt = "arch" -INSANE_SKIP:${PN}-rpmsg-echo = "arch" diff --git a/meta-ti-bsp/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb b/meta-ti-bsp/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb deleted file mode 100644 index 98ab387c..00000000 --- a/meta-ti-bsp/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb +++ /dev/null @@ -1,31 +0,0 @@ -DESCRIPTION = "Builds eDMA module used by eDMA libraries for PRU sw example applications" -HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://edmautils.c;beginline=1;endline=23;md5=312e9cb8a37a044c617c98a9e980ad1b" - -COMPATIBLE_MACHINE = "omapl138" - -INHIBIT_PACKAGE_STRIP = "1" - -MACHINE_KERNEL_PR:append = "b" -PR = "${MACHINE_KERNEL_PR}" -PV:append = "+svn${SRCPV}" - -SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;protocol=https;user=anonymous;pswd=''" - -SRCREV = "33" - -S = "${WORKDIR}/trunk/peripheral_lib/edma_driver/module" - -inherit module - -EXTRA_OEMAKE += "KERNEL_DIR='${STAGING_KERNEL_DIR}'" - -do_compile:prepend () { - export CCTOOL_PREFIX="${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}" -} - -do_install () { - install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru - install -m 0755 ${S}/edmautils.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru/ -} diff --git a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x.inc b/meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x.inc deleted file mode 100644 index eeb18fb1..00000000 --- a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x.inc +++ /dev/null @@ -1,9 +0,0 @@ -# This corresponds to version 1.1.0 -SRCREV = "dd0c82fb5763a6b32dc6d68e561efb66ab8283d7" - -PV = "1.1.0" -INC_PR = "r7" - -SRC_URI = "git://git.ti.com/sdo-emu/gdbc6x.git;protocol=git;branch=${BRANCH}" - -BRANCH = "master" diff --git a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x/0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch b/meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x/0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch deleted file mode 100644 index 1cc23b32..00000000 --- a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x/0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 0aa294e2bbd37a42266e59cb67687e57bfba4a88 Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko -Date: Sat, 15 Feb 2020 15:59:37 -0500 -Subject: [PATCH] libbfd.h: suppress GCC9 -Wstringop-truncation - -Signed-off-by: Denys Dmytriyenko ---- - gdbc6x/bfd/libbfd.h | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/gdbc6x/bfd/libbfd.h b/gdbc6x/bfd/libbfd.h -index 72d3c50..3465f89 100644 ---- a/gdbc6x/bfd/libbfd.h -+++ b/gdbc6x/bfd/libbfd.h -@@ -34,6 +34,10 @@ - #pragma GCC diagnostic ignored "-Wcast-function-type" - #endif - -+#if __GNUC__ >= 9 -+#pragma GCC diagnostic ignored "-Wstringop-truncation" -+#endif -+ - #include "hashtab.h" - - /* Align an address upward to a boundary, expressed as a number of bytes. --- -2.7.4 - diff --git a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x/init b/meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x/init deleted file mode 100644 index 90210b82..00000000 --- a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x/init +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -GDB_DEVICE_NAME='/dev/gdbtty$i' -DSP_FIRMWARE_NAME='/lib/firmware/dra7-dsp$[$i+1]-fw.xe66' - -DSP_L2_GLOBAL_OFFSET="40000000" -DSP_L2_GLOBAL_SHIFT="00800000" - -case "$1" in - start) - - dsp_core_l2_offset=$DSP_L2_GLOBAL_OFFSET - - i=0 - while [ -c "`eval echo $GDB_DEVICE_NAME`" ] - do - dsp_firmware=`eval echo $DSP_FIRMWARE_NAME` - - if [ -f "`eval echo $DSP_FIRMWARE_NAME`" ] - then - eval echo "Initializing $GDB_DEVICE_NAME based on $DSP_FIRMWARE_NAME ..." - - gdb_data_local=`eval readelf -s "$DSP_FIRMWARE_NAME" | \ - grep 'gdb_globalData' | \ - awk '{print $2}'` - - echo "gdb_globalData (local) = $gdb_data_local" - printf "gdb_globalData (global) = %X\n" \ - $[0x$gdb_data_local + 0x$dsp_core_l2_offset] - - - printf "%X\n" $[0x$gdb_data_local + 0x$dsp_core_l2_offset] \ - >> `eval echo $GDB_DEVICE_NAME` - fi - i=$[$i + 1] - dsp_core_l2_offset=`printf "%X" $[0x$dsp_core_l2_offset + 0x$DSP_L2_GLOBAL_SHIFT]` - done - ;; - stop) - # Nothing to be done. - ;; - *) - echo "Usage: $0 {start|stop}" - exit 1 - ;; -esac - - diff --git a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x_git.bb b/meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x_git.bb deleted file mode 100644 index df9aaee9..00000000 --- a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbc6x_git.bb +++ /dev/null @@ -1,49 +0,0 @@ -DESCRIPTION = "GNU debugger for TI C6X DSP." -SECTION = "devel" -LICENSE = "GPLv3+" -LIC_FILES_CHKSUM = "file://debian/copyright;md5=bf0fe2872eb3dfeebb2cbe38206fe81f" - -DEPENDS = "ncurses bison-native texinfo flex-native gettext" - -COMPATIBLE_MACHINE = "dra7xx" - -PR = "${INC_PR}.1" - -SRC_URI:append = " \ - file://init \ - file://0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch;striplevel=2 \ -" - -S = "${WORKDIR}/git/gdbc6x" - -inherit update-rc.d -inherit gettext - -CFLAGS += "-fcommon" - -do_configure () { - cd ${S} - ./configure --program-suffix=c6x --target=tic6x-elf-tirtos --host=${HOST_SYS} --prefix=${S}/install_gdb -} - -do_install () { - make install - - # Custom install to prevent conflict with standard GDB. - install -d ${D}${bindir} - install -d ${D}${includedir} - install -m 755 ${S}/install_gdb/bin/gdbc6x ${D}${bindir} - cp -rf ${S}/install_gdb/include/* ${D}${includedir} - - install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/gdbserverproxy -} - -RDEPENDS:${PN} = "gdbserverproxy-module-drv bash" - -include gdbc6x.inc - -INITSCRIPT_NAME = "gdbserverproxy" -INITSCRIPT_PARAMS = "defaults 95" - -PARALLEL_MAKE = "" diff --git a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb b/meta-ti-bsp/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb deleted file mode 100644 index fab4fbd2..00000000 --- a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb +++ /dev/null @@ -1,49 +0,0 @@ -DESCRIPTION = "TI gdb-server to be used with c6xgdb." -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://../debian/copyright;md5=82c616b6c8f9c11c46feaaf8f9a11495" - -DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools-native" - -PR = "${INC_PR}.0" - -S = "${WORKDIR}/git/gdbserver-c6x/src" - -PLATFORM = "" -PLATFORM:dra7xx = "DRA7xx_PLATFORM" - -EXTRA_OEMAKE = "PLATFORM=${PLATFORM}" - -export XDAIS_DIR = "${XDAIS_INSTALL_DIR}" -export FC_DIR = "${FC_INSTALL_DIR}" -export TI_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export BIOS_DIR = "${SYSBIOS_INSTALL_DIR}" -export XDC_DIR = "${XDC_INSTALL_DIR}" - -# The following is to prevent an unused configure.ac from erroneously -# triggering the QA check for gettext. -EXTRA_OECONF = "--disable-nls" -do_configure() { - : -} - -do_install() { - install -d ${D}${datadir}/ti/gdbc6x/include - install -d ${D}${datadir}/ti/gdbc6x/lib - cp -f ../include/* ${D}${datadir}/ti/gdbc6x/include - cp -f ../lib/* ${D}${datadir}/ti/gdbc6x/lib -} - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -FILES:${PN}-dev += "\ - ${datadir}/ti/gdbc6x \ -" - -include gdbc6x.inc - -require recipes-ti/includes/ti-paths.inc - -ALLOW_EMPTY:${PN} = "1" - -PARALLEL_MAKE = "" diff --git a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb b/meta-ti-bsp/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb deleted file mode 100644 index 168e4be3..00000000 --- a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb +++ /dev/null @@ -1,31 +0,0 @@ -DESCRIPTION = "Interface for GDB to commincate witha TI C66X DSP" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=75859989545e37968a99b631ef42722e" - -# This package builds a kernel module, use kernel PR as base and append a local -MACHINE_KERNEL_PR:append = "b" -PR = "${MACHINE_KERNEL_PR}" -PV:append = "+git${SRCPV}" - -S = "${WORKDIR}/git/kernel_module/gdbproxy-mod" - -inherit module - -PLATFORM = "" -PLATFORM:dra7xx = "DRA7xx_PLATFORM" - -EXTRA_OEMAKE = "PLATFORM=${PLATFORM} KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}" - -# The following is to prevent an unused configure.ac from erroneously -# triggering the QA check for gettext. -EXTRA_OECONF = "--disable-nls" -do_configure() { - : -} - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -include gdbc6x.inc - -KERNEL_MODULE_AUTOLOAD += "gdbserverproxy" diff --git a/meta-ti-bsp/recipes-multimedia/libdce/libdce_3.00.14.00.bb b/meta-ti-bsp/recipes-multimedia/libdce/libdce_3.00.14.00.bb deleted file mode 100644 index 42482c11..00000000 --- a/meta-ti-bsp/recipes-multimedia/libdce/libdce_3.00.14.00.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Library for remotely invoking HW accelerated codecs on IVA-HD" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://libdce.h;beginline=1;endline=31;md5=0a398cf815b8b5f31f552266cd453dae" - -inherit autotools pkgconfig - -DEPENDS = "libdrm ti-ipc" - -SRC_URI = "git://git.omapzoom.org/repo/libdce.git;protocol=git" -SRCREV = "f72096090e3063e85ea77cae66b2d99a48d91727" - -PR = "r1" - -S = "${WORKDIR}/git" -EXTRA_OECONF += "IPC_HEADERS=${STAGING_INCDIR}/ti/ipc/mm" - -COMPATIBLE_HOST ?= "null" -COMPATIBLE_HOST:ti-soc = "(.*)" diff --git a/meta-ti-bsp/recipes-ti/README b/meta-ti-bsp/recipes-ti/README deleted file mode 100644 index b32c2842..00000000 --- a/meta-ti-bsp/recipes-ti/README +++ /dev/null @@ -1 +0,0 @@ -Note: some of the packages in this area are not actively maintained. diff --git a/meta-ti-bsp/recipes-ti/bios/ti-sysbios.inc b/meta-ti-bsp/recipes-ti/bios/ti-sysbios.inc deleted file mode 100644 index 0009dfcc..00000000 --- a/meta-ti-bsp/recipes-ti/bios/ti-sysbios.inc +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION = "TI SYS/BIOS v6 Kernel" -HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios" -SECTION = "devel" -LICENSE = "BSD" - -require ../includes/ti-paths.inc -require ../includes/ti-staging.inc -require ../includes/ti-eula-unpack.inc - -S = "${WORKDIR}/bios_${PV}" - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/${PV}/exports/bios_setuplinux_${PV}.bin;name=sysbiosbin" -BINFILE="bios_${PV}.bin" -TI_BIN_UNPK_CMDS="Y: q:workdir:Y" - -do_install() { - CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - install -d ${D}${SYSBIOS_INSTALL_DIR_RECIPE} - cp ${CP_ARGS} ${S}/* ${D}${SYSBIOS_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY:${PN} = "1" -FILES:${PN}-dev += "${SYSBIOS_INSTALL_DIR_RECIPE}" - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" -INSANE_SKIP:${PN}-dev = "arch ldflags staticdev file-rdeps" diff --git a/meta-ti-bsp/recipes-ti/bios/ti-sysbios_6.76.03.01.bb b/meta-ti-bsp/recipes-ti/bios/ti-sysbios_6.76.03.01.bb deleted file mode 100644 index d242510f..00000000 --- a/meta-ti-bsp/recipes-ti/bios/ti-sysbios_6.76.03.01.bb +++ /dev/null @@ -1,16 +0,0 @@ -require recipes-ti/bios/ti-sysbios.inc - -PE = "1" -PV = "6_76_03_01" -PR = "r0" - -LIC_FILES_CHKSUM = "file://manifest_bios_${PV}.html;md5=5cf40699c51b26d36fc01647c0b27fb1" - -SRC_URI[sysbiosbin.md5sum] = "647243209d66d5dd35503b0ec5a84ab9" -SRC_URI[sysbiosbin.sha256sum] = "b762b7f2343d26d367f952488e529046785128005158cc921c3baef08e97116a" - -TI_BIN_UNPK_CMDS = "" -TI_BIN_UNPK_ARGS = "--mode unattended --prefix ${WORKDIR}" - -BINFILE = "bios_${PV}.run" -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/${PV}/exports/${BINFILE};name=sysbiosbin" diff --git a/meta-ti-bsp/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb b/meta-ti-bsp/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb deleted file mode 100644 index 5851b899..00000000 --- a/meta-ti-bsp/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb +++ /dev/null @@ -1,29 +0,0 @@ -DESCRIPTION = "Codec Engine for TI ARM/DSP processors" -HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce" -SECTION = "devel" -LICENSE = "BSD" - -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-staging.inc - -PV = "3_24_00_08" -PR = "r0" - -LIC_FILES_CHKSUM = "file://codec_engine_${PV}_Manifest.html;md5=de7d9c2594a6f3868e42a33b6a748ce7" - -SRC_URI[cetarball.md5sum] = "d66a8ccbd6cdfe9f735af9f4a07e2b9b" -SRC_URI[cetarball.sha256sum] = "ed7b7399903bbf76af06ee6457836f344ad75b903618339bae82b3967f27ffa1" - -S = "${WORKDIR}/codec_engine_${PV}" - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce/${PV}/exports/codec_engine_${PV},lite.tar.gz;name=cetarball " - -do_install() { - CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - # Install/Stage the Source Tree - install -d ${D}${CE_INSTALL_DIR_RECIPE} - cp ${CP_ARGS} ${S}/* ${D}${CE_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY:${PN} = "1" -FILES:${PN}-dev += "${CE_INSTALL_DIR_RECIPE}" diff --git a/meta-ti-bsp/recipes-ti/ctoolslib/libaet_git.bb b/meta-ti-bsp/recipes-ti/ctoolslib/libaet_git.bb deleted file mode 100644 index c15ab229..00000000 --- a/meta-ti-bsp/recipes-ti/ctoolslib/libaet_git.bb +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY = "TI Emulation CTools AET library" -DESCRIPTION = "The AETLIB library provides programmatic access to the Advanced Event Triggering capability on C6x processor cores" - -LICENSE = "BSD" - -PV = "4.19.0.0" - -LIC_FILES_CHKSUM = "file://../ctoolslib_manifest.html;md5=b7dd369a2e07ef9a71795ee5a9bd01bd" - -SRC_URI = "git://git.ti.com/sdo-emu/ctoolslib.git;protocol=git;branch=opencl_aetlib_build" -SRCREV = "de7954abab0f0caa8a2c7b53095c30226d901a31" - -DEPENDS = "ti-cgt6x-native" -PR = "r0" - -S = "${WORKDIR}/git/aet" - -DEVICE="" -DEVICE:dra7xx = "DRA7xx" - -EXTRA_OEMAKE = "C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include" - -do_install() { - install -d ${D}${datadir}/ti/ctoolslib/aet - install -d ${D}${datadir}/ti/ctoolslib/aet/include - install -d ${D}${datadir}/ti/ctoolslib/aet/lib - cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${S}/include/* ${D}${datadir}/ti/ctoolslib/aet/include/ - install -m 0644 ${S}/build/c66/libaet.ae66 ${D}${datadir}/ti/ctoolslib/aet/lib/ -} - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -FILES:${PN}-dev += "\ - ${datadir}/ti/ctoolslib/aet \ -" - -ALLOW_EMPTY:${PN} = "1" diff --git a/meta-ti-bsp/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb b/meta-ti-bsp/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb deleted file mode 100644 index e0feb02c..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb +++ /dev/null @@ -1,29 +0,0 @@ -DESCRIPTION = "Baremetal GCC for ARM" -LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" - -LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=f77466c63f5787f4bd669c402aabe061" - -require recipes-ti/includes/ti-paths.inc - -SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2;name=gcc-arm-none" - -SRC_URI[gcc-arm-none.md5sum] = "299ebd3f1c2c90930d28ab82e5d8d6c0" -SRC_URI[gcc-arm-none.sha256sum] = "bb17109f0ee697254a5d4ae6e5e01440e3ea8f0277f2e8169bf95d07c7d5fe69" - -S = "${WORKDIR}/gcc-arm-none-eabi-7-2018-q2-update" - -# only x86_64 is supported -COMPATIBLE_HOST = "x86_64.*-linux" -COMPATIBLE_HOST:class-target = "null" - -do_install() { - install -d ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE} - cp -r ${S}/. ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE} -} - -FILES:${PN} = "${GCC_ARM_NONE_TOOLCHAIN_RECIPE}/*" - -INSANE_SKIP:${PN} = "already-stripped libdir staticdev build-deps file-rdeps" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-ti-bsp/recipes-ti/devtools/ti-cg-xml_2.61.00.bb b/meta-ti-bsp/recipes-ti/devtools/ti-cg-xml_2.61.00.bb deleted file mode 100644 index 8e36be6d..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/ti-cg-xml_2.61.00.bb +++ /dev/null @@ -1,40 +0,0 @@ -DESCRIPTION = "TI CG_XML" -HOMEPAGE = "http://software-dl.ti.com/ccs/non-esd/releases/other/applications_packages/cg_xml/index.htm" -SECTION = "devel" -LICENSE = "BSD" - -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-staging.inc -require recipes-ti/includes/ti-unpack.inc - -PV = "2.61.00" -PE = "1" -S = "${WORKDIR}/cg_xml_${PV}" - -SRC_URI = "\ - http://software-dl.ti.com/ccs/non-esd/releases/other/applications_packages/cg_xml/cg_xml_v${@'${PV}'.replace('.','_')}/cgxml-${PV}-linux-installer.run;name=cgxmlbin_linux \ -" -LIC_FILES_CHKSUM = "file://cg_xml_${PV}_Manifest.pdf;md5=fc02a39748ba50373f32b2f4a5e3a684" - -SRC_URI[cgxmlbin_linux.md5sum] = "6ce60caa97bbf15158d806fb062fadff" -SRC_URI[cgxmlbin_linux.sha256sum] = "da77cb10bd3d5de89e27e4ce8f4408a2e50775c8980225f9a828ddc242bb81f9" - -BINFILE="cgxml-${PV}-linux-installer.run" -TI_BIN_UNPK_CMDS="" -TI_BIN_UNPK_ARGS="--prefix ${S} --mode unattended" - -do_install() { - CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - install -d ${D}${CG_XML_INSTALL_DIR_RECIPE} - cp ${CP_ARGS} ${S}/* ${D}${CG_XML_INSTALL_DIR_RECIPE} -} - -FILES:${PN} += "${CG_XML_INSTALL_DIR_RECIPE}" - -INSANE_SKIP:${PN} = "arch ldflags file-rdeps" - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-ti-bsp/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb b/meta-ti-bsp/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb deleted file mode 100644 index b7b6d9b1..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb +++ /dev/null @@ -1,44 +0,0 @@ -SUMMARY = "TI ARM Code Generation Tools" -HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" -LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Patrick-Powell & AFL-3.0 & MIT & BSD-2-Clause & PD & BSD-4-Clause" - -LIC_FILES_CHKSUM = "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=79631eb21b2e5b7190cd3ff1dfd41108" - -require recipes-ti/includes/ti-unpack.inc -require recipes-ti/includes/ti-staging.inc -require recipes-ti/includes/ti-paths.inc - -S = "${WORKDIR}/ti-cgt-arm-${PV}" - -PE = "1" -PR = "r0" - -SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}" - -BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin" -TI_BIN_UNPK_ARGS = "--prefix ${S}" -TI_BIN_UNPK_CMDS = "" - -# only x86_64 is supported -COMPATIBLE_HOST = "x86_64.*-linux" -COMPATIBLE_HOST:class-target = "null" - -do_install() { - install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} - cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} -} - -SRC_URI[cgt_arm_installer.md5sum] = "e9e668332cf86c965b4da9d1d488426b" -SRC_URI[cgt_arm_installer.sha256sum] = "da976143128c619a278cb4214a4295c409d100f9e65ad2f4d0d1039db7cf98f4" - -BINFILE_NAME = "cgt_arm_installer" - -FILES:${PN} += "${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}" - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -INSANE_SKIP:${PN} += "arch staticdev file-rdeps" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-ti-bsp/recipes-ti/devtools/ti-cgt-pru_2.3.2.bb b/meta-ti-bsp/recipes-ti/devtools/ti-cgt-pru_2.3.2.bb deleted file mode 100644 index 8b3e2a07..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/ti-cgt-pru_2.3.2.bb +++ /dev/null @@ -1,49 +0,0 @@ -DESCRIPTION = "TI PRU Code Generation Tools" -HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" -LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD" - -LIC_FILES_CHKSUM = "file://ti-cgt-pru_${PV}/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc" -LIC_FILES_CHKSUM:class-target = "file://usr/share/doc/ti/cgt-pru/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc" - -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-unpack.inc - -BINFILE = "ti_cgt_pru_${PV}_linux_installer_x86.bin" -BINFILE_NAME = "cgt-pru-x86" -TI_BIN_UNPK_ARGS = "--prefix ${S}" -TI_BIN_UNPK_CMDS = "" - -BINFILE:class-target = "ti_cgt_pru_${PV}_armlinuxa8hf_busybox_installer.sh" -BINFILE_NAME:class-target = "cgt-pru-arm" - -SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/${PV}/${BINFILE};name=${BINFILE_NAME}" - -SRC_URI[cgt-pru-x86.md5sum] = "270a0ecca383f66cad3a0e2a738c6ab0" -SRC_URI[cgt-pru-x86.sha256sum] = "af1178a059d46d67d5672df053dd2fbebb0b89a513b17b8739dbe915b4a5d71a" - -SRC_URI[cgt-pru-arm.md5sum] = "fbf10083af1b0e5d69b018126603bb58" -SRC_URI[cgt-pru-arm.sha256sum] = "75ac84775a5624ea7e4fad4efc1acb7e869c79160550d48ba780068a3dce879c" - -do_install() { - install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE} - cp -r ${S}/ti-cgt-pru_${PV}/. \ - ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}/ -} - -do_install:class-target() { - ${WORKDIR}/${BINFILE} --prefix ${D} -} - -FILES:${PN} += "${datadir}/ti/*" - -FILES:${PN}-dbg = "${TI_CGT_PRU_INSTALL_DIR_RECIPE}/bin/.debug \ - ${TI_CGT_PRU_INSTALL_DIR_RECIPE}/lib/.debug \ -" - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -INSANE_SKIP:${PN} += "arch staticdev already-stripped file-rdeps" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-ti-bsp/recipes-ti/devtools/ti-cgt470.inc b/meta-ti-bsp/recipes-ti/devtools/ti-cgt470.inc deleted file mode 100644 index f0992aa7..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/ti-cgt470.inc +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION = "TI ARM Code Generation Tools" -HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/CodeGenerationTools.htm" -SECTION = "devel" -LICENSE = "TI" - -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=62f46f1125a152a2e213b414db7ac600" - -require ../includes/ti-paths.inc -require ../includes/ti-staging.inc -require ../includes/ti-eula-unpack.inc - -S = "${WORKDIR}/cgt470_${PV}" - -SRC_URI = "http://install.source.dir.local/ti_cgt_tms470_${PVwithdots}_setup_linux_x86.bin;name=cgt470bin" - -BINFILE="ti_cgt_tms470_${PVwithdots}_setup_linux_x86.bin" -TI_BIN_UNPK_CMDS="Y:qY:workdir: : " -TI_BIN_UNPK_WDEXT="/cgt470_${PV}" - -do_install() { - install -d ${D}${CODEGEN_ARM_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${CODEGEN_ARM_INSTALL_DIR_RECIPE} -} - diff --git a/meta-ti-bsp/recipes-ti/devtools/ti-cgt470_4.6.6.bb b/meta-ti-bsp/recipes-ti/devtools/ti-cgt470_4.6.6.bb deleted file mode 100644 index 6ff2cc48..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/ti-cgt470_4.6.6.bb +++ /dev/null @@ -1,8 +0,0 @@ -require ti-cgt470.inc - -PV = "4_6_6" -PVwithdots = "4.6.6" - -SRC_URI[cgt470bin.md5sum] = "29a316dc6b8c8c3a53e0d6c956acb62b" -SRC_URI[cgt470bin.sha256sum] = "a17bc7139f450672503c932ef53b00c425522890e031b4a7c9135fdf90815740" - diff --git a/meta-ti-bsp/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb b/meta-ti-bsp/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb deleted file mode 100644 index a7de8e38..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb +++ /dev/null @@ -1,46 +0,0 @@ -SUMMARY = "TI DSP Code Generation Tools" -DESCRIPTION = "Texas Instrument (TI) Code Generation Tools are custom \ -utilities targeted for TI embedded processors. This Digital Signal \ -Processor (DSP) suite contains tools needed to create and debug \ -applications for the C6000 DSP family. This includes tools such as: \ -compiler, linker, assembler, etc. This also includes C runtime \ -libraries and standard header files needed to produce a working DSP application." - -HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" -LICENSE = "TI-TSPA" - -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca" - -S = "${WORKDIR}/c6000_7.4.16" - -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-unpack.inc - -BINFILE = "ti_cgt_c6000_7.4.16_linux_installer_x86.bin" -BINFILE_NAME = "cgt6x_7.4.16_x86_installer" -TI_BIN_UNPK_ARGS = "--prefix ${WORKDIR} --mode unattended" -TI_BIN_UNPK_CMDS="" - -SRC_URI = "http://install.source.dir.local/${BINFILE};name=${BINFILE_NAME}" - -SRC_URI[cgt6x_7.4.16_x86_installer.md5sum] = "21ca55c5b1f6b2d8d4fb7570d5eb5513" -SRC_URI[cgt6x_7.4.16_x86_installer.sha256sum] = "baa0d1ef20397383f99f45068a6d160963a01419d42fbbb851263b54c91df82f" - -# only x86_64 is supported -COMPATIBLE_HOST = "x86_64.*-linux" -COMPATIBLE_HOST:class-target = "null" - -do_install() { - install -d ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} - cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${WORKDIR}/c6000_7.4.16/. ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} -} - -FILES:${PN} += "${TI_CGT6X_7_INSTALL_DIR_RECIPE}" - -INSANE_SKIP:${PN} += "arch staticdev textrel" - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-ti-bsp/recipes-ti/devtools/ti-cgt6x_8.3.2.bb b/meta-ti-bsp/recipes-ti/devtools/ti-cgt6x_8.3.2.bb deleted file mode 100644 index fd34657a..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/ti-cgt6x_8.3.2.bb +++ /dev/null @@ -1,107 +0,0 @@ -DESCRIPTION = "TI DSP Code Generation Tools" -HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" -LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Patrick-Powell & AFL-3.0 & MIT & BSD-2-Clause & PD" - -LIC_FILES_CHKSUM = "file://ti-cgt-c6000_${PV}/C6000CodeGenerationTools_8.3.x_manifest.html;md5=d06c6f9acebf78df4108a8535396e9f1" -LIC_FILES_CHKSUM:class-target = "file://usr/share/doc/ti/cgt-c6x/C6000CodeGenerationTools_8.3.x_manifest.html;md5=d06c6f9acebf78df4108a8535396e9f1" - -PE = "1" - -require recipes-ti/includes/ti-unpack.inc - -COMPATIBLE_HOST:class-target = "arm.*-linux" - -# For now we only have hardfp version for target class -python __anonymous() { - c = d.getVar("CLASSOVERRIDE") - - if c == "class-target": - tunes = d.getVar("TUNE_FEATURES") - if not tunes: - return - pkgn = d.getVar("PN") - pkgv = d.getVar("PV") - if "callconvention-hard" not in tunes: - bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) - raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) -} - -BINFILE = "ti_cgt_c6000_${PV}_linux_installer_x86.bin" -BINFILE_NAME = "cgt6x_x86_installer" -TI_BIN_UNPK_ARGS = "--prefix ${S}" -TI_BIN_UNPK_CMDS = "" - -BINFILE:class-target = "ti_cgt_c6000_${PV}_armlinuxa8hf_busybox_installer.sh" -BINFILE_NAME:class-target = "cgt6x_arm_installer" - -SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/C6000/${PV}/${BINFILE};name=${BINFILE_NAME}" - -SRC_URI[cgt6x_x86_installer.md5sum] = "f1f534e6a4bdee6df39e8d0cb458d161" -SRC_URI[cgt6x_x86_installer.sha256sum] = "1fba2a8f5532b33a23677771d686a866171ce7a0e567fed50d900d0ecd2e17e6" - -SRC_URI[cgt6x_arm_installer.md5sum] = "425d82308e71202ad004a36b7ec3cec9" -SRC_URI[cgt6x_arm_installer.sha256sum] = "70c387ddde379194fed712087be6cb0ca5f4f0e65d7f29bd7462c38ee011928f" - -do_install() { - install -d ${D}${bindir} - for binfile in ${S}/ti-cgt-c6000_${PV}/bin/*; do - install -m 755 ${binfile} ${D}${bindir} - done - - install -d ${D}${datadir}/ti/cgt-c6x/bin - for binfile in ${S}/ti-cgt-c6000_${PV}/bin/*; do - install -m 755 ${binfile} ${D}${datadir}/ti/cgt-c6x/bin - done - - CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - cp ${CP_ARGS} ${S}/ti-cgt-c6000_${PV}/include ${D}${datadir}/ti/cgt-c6x/include - - install -d ${D}${datadir}/ti/cgt-c6x/lib - for libfile in ${S}/ti-cgt-c6000_${PV}/lib/*.a; do - install -m 644 ${libfile} ${D}${datadir}/ti/cgt-c6x/lib - done - - for libfile in ${S}/ti-cgt-c6000_${PV}/lib/*.cmd; do - install -m 644 ${libfile} ${D}${datadir}/ti/cgt-c6x/lib - done - - for libfile in ${S}/ti-cgt-c6000_${PV}/lib/*.lib; do - install -m 644 ${libfile} ${D}${datadir}/ti/cgt-c6x/lib - done - - install -d ${D}${datadir}/man/man1 - for manfile in ${S}/ti-cgt-c6000_${PV}/man/man1/*; do - if [ -e ${manfile} ]; then - install -m 644 ${manfile} ${D}${datadir}/man/man1 - fi - done - - install -d ${D}${datadir}/doc/ti/cgt-c6x - for docfile in ${S}/ti-cgt-c6000_${PV}/*.txt; do - install -m 644 ${docfile} ${D}${datadir}/doc/ti/cgt-c6x - done - - for docfile in ${S}/ti-cgt-c6000_${PV}/*.html; do - install -m 644 ${docfile} ${D}${datadir}/doc/ti/cgt-c6x - done - - for docfile in ${S}/ti-cgt-c6000_${PV}/*.spdx; do - install -m 644 ${docfile} ${D}${datadir}/doc/ti/cgt-c6x - done - -} - -do_install:class-target() { - ${WORKDIR}/${BINFILE} --prefix ${D} -} - -FILES:${PN} += "${datadir}/ti/*" - -FILES:${PN}-dbg += "${datadir}/ti/cgt-c6x/bin/.debug" - -INSANE_SKIP:${PN} += "staticdev" -INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${datadir}/ti/cgt-c6x/lib/libc.a" - -BBCLASSEXTEND = "native nativesdk" - -COMPATIBLE_MACHINE:class-target = "(ti-soc)" diff --git a/meta-ti-bsp/recipes-ti/devtools/ti-cgt7x_1.2.0.bb b/meta-ti-bsp/recipes-ti/devtools/ti-cgt7x_1.2.0.bb deleted file mode 100644 index b45b52a3..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/ti-cgt7x_1.2.0.bb +++ /dev/null @@ -1,49 +0,0 @@ -SUMMARY = "TI DSP Code Generation Tools" -DESCRIPTION = "Texas Instruments (TI) Code Generation Tools are custom \ -utilities targeted for TI embedded processors. This Digital Signal \ -Processor (DSP) suite contains tools needed to create and debug \ -applications for the C7000 DSP family. This includes tools such as: \ -compiler, linker, assembler, etc. This also includes C runtime \ -libraries and standard header files needed to produce a working DSP application." -HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" -LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Patrick-Powell & AFL-3.0 & MIT & BSD-2-Clause & PD" - -LIC_FILES_CHKSUM = "file://ti-cgt-c7000_${PV}.STS/C7000_Code_Generation_Tools_1.x_manifest.html;md5=f1156d241d104c281bc64a6ec8eadc64" - -require recipes-ti/includes/ti-unpack.inc -require recipes-ti/includes/ti-paths.inc - -# only x86_64 is supported -COMPATIBLE_HOST = "x86_64.*-linux" -COMPATIBLE_HOST:class-target = "null" - -PE = "1" - -BINFILE = "ti_cgt_c7000_${PV}.STS_linux_installer_x86.bin" -BINFILE_NAME = "cgt7x_x86_installer" - -SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/C7000/${PV}.STS/${BINFILE};name=${BINFILE_NAME}" - -TI_BIN_UNPK_ARGS = "--prefix ${S}" -TI_BIN_UNPK_CMDS = "" - -SRC_URI[cgt7x_x86_installer.md5sum] = "813840908f333dd2a31f92edec71c1fb" -SRC_URI[cgt7x_x86_installer.sha256sum] = "21379811a8857489f72ca8ec45a46eb086ced0bdbb58e78f73a86e63984ab2f5" - -S = "${WORKDIR}/c7000_${PV}" - -do_install() { - install -d ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE} - cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${WORKDIR}/c7000_${PV}/ti-cgt-c7000_${PV}.STS/. ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE} -} - - -FILES:${PN} += "${TI_CGT7X_INSTALL_DIR_RECIPE}" - -INSANE_SKIP:${PN} += "arch staticdev textrel" - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-ti-bsp/recipes-ti/devtools/ti-xdctools-common.inc b/meta-ti-bsp/recipes-ti/devtools/ti-xdctools-common.inc deleted file mode 100644 index 3caf7b8d..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/ti-xdctools-common.inc +++ /dev/null @@ -1,70 +0,0 @@ -DESCRIPTION = "TI XDCtools (RTSC - Real Time Software Components - http://rtsc.eclipse.org)" -HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc" -SECTION = "devel" -LICENSE = "BSD & GPLv2" - -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-staging.inc - -do_install() { - CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - - install -d ${D}${XDC_INSTALL_DIR_RECIPE} - cp ${CP_ARGS} ${S}/* ${D}${XDC_INSTALL_DIR_RECIPE} -} - -FILES:${PN}-dev = "${XDC_INSTALL_DIR_RECIPE}" - -BBCLASSEXTEND = "native nativesdk" - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" -INSANE_SKIP:${PN}-dev = "libdir dev-elf arch file-rdeps" - -# Prevent internal libs from getting picked up -PRIVATE_LIBS = " \ -libncdb.so \ -libcdb.so \ -libjavaplugin_oji.so \ -libjavaplugin_jni.so \ -libjsound.so \ -libinstrument.so \ -libjawt.so \ -libzip.so \ -libjava_crw_demo.so \ -libjavaplugin_nscp_gcc29.so \ -libhprof.so \ -libcmm.so \ -libjdwp.so \ -libmlib_image.so \ -libjpeg.so \ -libverify.so \ -libjavaplugin_nscp.so \ -libmanagement.so \ -libunpack.so \ -librmi.so \ -libJdbcOdbc.so \ -libawt.so \ -libnet.so \ -libjaas_unix.so \ -libnio.so \ -libdcpr.so \ -libioser12.so \ -libjsoundalsa.so \ -libjava.so \ -libfontmanager.so \ -libdt_socket.so \ -libmawt.so \ -libjvm.so \ -libhpi.so \ -lib.so \ -libcairo.so.2 \ -libjli.so \ -libawt_xawt.so \ -" - -COMPATIBLE_HOST ?= "null" -COMPATIBLE_HOST:ti-soc = "(.*)" -COMPATIBLE_HOST:class-native = "(.*)" -COMPATIBLE_HOST:class-nativesdk = "(.*)" diff --git a/meta-ti-bsp/recipes-ti/devtools/ti-xdctools-core.inc b/meta-ti-bsp/recipes-ti/devtools/ti-xdctools-core.inc deleted file mode 100644 index 47f73b6d..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/ti-xdctools-core.inc +++ /dev/null @@ -1,5 +0,0 @@ -require ti-xdctools-common.inc - -S = "${WORKDIR}/xdctools_${PV}_core" - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/${PV}/exports/xdccore/xdctools_${PV}_core_linux.zip;name=xdczip" diff --git a/meta-ti-bsp/recipes-ti/devtools/ti-xdctools.inc b/meta-ti-bsp/recipes-ti/devtools/ti-xdctools.inc deleted file mode 100644 index 1415f83e..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/ti-xdctools.inc +++ /dev/null @@ -1,10 +0,0 @@ -require ti-xdctools-common.inc -require ../includes/ti-eula-unpack.inc - -S = "${WORKDIR}/xdctools_${PV}" - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/${PV}/exports/xdctools_setuplinux_${PV}.bin;name=xdcbin" - -BINFILE="xdctools_setuplinux_${PV}.bin" -TI_BIN_UNPK_CMDS="Y:workdir:Y" -TI_BIN_UNPK_WDEXT="/ti" diff --git a/meta-ti-bsp/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb b/meta-ti-bsp/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb deleted file mode 100644 index 6c3fdeb2..00000000 --- a/meta-ti-bsp/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb +++ /dev/null @@ -1,10 +0,0 @@ -require recipes-ti/devtools/ti-xdctools-core.inc - -PE = "1" -PV = "3_55_02_22" -PR = "r0" - -LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;beginline=1;endline=140;md5=2e742b9757bc9ce0241aadba9f627ab8" - -SRC_URI[xdczip.md5sum] = "bb9154d677ce4724a5eac73817b23a0f" -SRC_URI[xdczip.sha256sum] = "bf90dfbbe298458c736d81d5631db25b335e79146923a4a50fab217e02723e7b" diff --git a/meta-ti-bsp/recipes-ti/dsplib/dsplib-c64xp_git.bb b/meta-ti-bsp/recipes-ti/dsplib/dsplib-c64xp_git.bb deleted file mode 100644 index 1550a538..00000000 --- a/meta-ti-bsp/recipes-ti/dsplib/dsplib-c64xp_git.bb +++ /dev/null @@ -1,6 +0,0 @@ -include dsplib.inc - -MATHLIB_INSTALL_DIR = "${MATHLIB_C64P_INSTALL_DIR}/packages" -DSPLIB_INSTALL_DIR_RECIPE = "${DSPLIB_C64P_INSTALL_DIR_RECIPE}" -DSPLIB_INSTALL_DIR = "${DSPLIB_C64P_INSTALL_DIR}" -DSPLIB_BUILD_TARGET = "c64Px" diff --git a/meta-ti-bsp/recipes-ti/dsplib/dsplib-c66x_git.bb b/meta-ti-bsp/recipes-ti/dsplib/dsplib-c66x_git.bb deleted file mode 100644 index b28d8df6..00000000 --- a/meta-ti-bsp/recipes-ti/dsplib/dsplib-c66x_git.bb +++ /dev/null @@ -1,8 +0,0 @@ -include dsplib.inc - -MATHLIB_INSTALL_DIR = "${MATHLIB_C66_INSTALL_DIR}/packages" -DSPLIB_INSTALL_DIR_RECIPE = "${DSPLIB_C66_INSTALL_DIR_RECIPE}" -DSPLIB_INSTALL_DIR = "${DSPLIB_C66_INSTALL_DIR}" -DSPLIB_BUILD_TARGET = "c66x" - -DEPENDS += "mathlib-c66x" diff --git a/meta-ti-bsp/recipes-ti/dsplib/dsplib-c674x_git.bb b/meta-ti-bsp/recipes-ti/dsplib/dsplib-c674x_git.bb deleted file mode 100644 index 47974ea1..00000000 --- a/meta-ti-bsp/recipes-ti/dsplib/dsplib-c674x_git.bb +++ /dev/null @@ -1,8 +0,0 @@ -include dsplib.inc - -MATHLIB_INSTALL_DIR = "${MATHLIB_C674_INSTALL_DIR}/packages" -DSPLIB_INSTALL_DIR_RECIPE = "${DSPLIB_C674_INSTALL_DIR_RECIPE}" -DSPLIB_INSTALL_DIR = "${DSPLIB_C674_INSTALL_DIR}" -DSPLIB_BUILD_TARGET = "c674x" - -DEPENDS += "mathlib-c674x" diff --git a/meta-ti-bsp/recipes-ti/dsplib/dsplib.inc b/meta-ti-bsp/recipes-ti/dsplib/dsplib.inc deleted file mode 100644 index 85d79ae3..00000000 --- a/meta-ti-bsp/recipes-ti/dsplib/dsplib.inc +++ /dev/null @@ -1,78 +0,0 @@ -SUMMARY = "DSPLIB contains optimized signal processing functions for TI DSPs" -HOMEPAGE = "http://git.ti.com/ep-processor-libraries/dsplib" -LICENSE = "BSD-3-Clause" - -require ../includes/ti-paths.inc - -PV = "3_4_0_4" -PR = "r2" - -DEPENDS = "ti-cgt6x-native \ - ti-xdctools-native \ - ti-sysbios \ - doxygen-native \ - zip-native \ - swtools" - -S = "${WORKDIR}/git" - -DSPLIB_GIT_BRANCH = "master" -DSPLIB_GIT_PROTOCOL = "git" -DSPLIB_GIT_URI = "git://git.ti.com/ep-processor-libraries/dsplib.git" -DSPLIB_SRCREV = "0390b171042c602e07669fd28a371cc319b90161" - -SRC_URI = "${DSPLIB_GIT_URI};protocol=${DSPLIB_GIT_PROTOCOL};branch=${DSPLIB_GIT_BRANCH}" -SRCREV = "${DSPLIB_SRCREV}" - -LIC_FILES_CHKSUM = "file://ti/dsplib/src/common/c66/lnk.cmd;beginline=1;endline=37;md5=0f0c9c4d51d8af75419781591ace190b" - -export DSPLIB_WORK_DIR="${S}" -export CGTOOLS_INSTALL_DIR = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export C64PCODEGENTOOL="${CGTOOLS_INSTALL_DIR}" -export C674CODEGENTOOL="${CGTOOLS_INSTALL_DIR}" -export C66CODEGENTOOL ="${CGTOOLS_INSTALL_DIR}" -export SWTOOLS_PATH = "${SWTOOLS_INSTALL_DIR}/ti/mas/swtools" -export XDCBUILDCFG="${SWTOOLS_PATH}/config.bld" -export INCDIR="${MATHLIB_INSTALL_DIR}/" - -PATH:append = ":${XDC_INSTALL_DIR}" - -XDCPATH.="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;" -XDCPATH.="${SWTOOLS_INSTALL_DIR};${MATHLIB_INSTALL_DIR};${DSPLIB_WORK_DIR};" - -export XDCPATH - -DSPLIB_PACKAGE_NAME = "dsplib_${DSPLIB_BUILD_TARGET}_${PV}" - -do_compile() { - cd ${DSPLIB_WORK_DIR}/ti/dsplib; - xdc XDCARGS="${DSPLIB_BUILD_TARGET} bundle" XDCOPTIONS="-v" -} - -do_install() { - install -d ${D}${DSPLIB_INSTALL_DIR_RECIPE} - - find -name "${DSPLIB_PACKAGE_NAME}.zip" -exec unzip -o {} -d ${D}${DSPLIB_INSTALL_DIR_RECIPE} \; - cp -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib/. ${D}${DSPLIB_INSTALL_DIR_RECIPE} - rm -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib -} - -inherit deploy -addtask deploy before do_build after do_install - -do_deploy() { - install -d ${DEPLOYDIR} - # zip up files in ${D}${DSPLIB_INSTALL_DIR_RECIPE} - # and place the zip file in ${DEPLOYDIR} - mkdir ./${DSPLIB_PACKAGE_NAME} - cp -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/. ./${DSPLIB_PACKAGE_NAME} - zip -9 -y -r -q ${DEPLOYDIR}/${DSPLIB_PACKAGE_NAME}.zip ./${DSPLIB_PACKAGE_NAME} - rm -r ./${DSPLIB_PACKAGE_NAME} -} - -ALLOW_EMPTY:${PN} = "1" -FILES:${PN}-dev += "${DSPLIB_INSTALL_DIR_RECIPE}" - -INSANE_SKIP:${PN}-dev = "arch" -COMPATIBLE_HOST ?= "null" -COMPATIBLE_HOST:ti-soc = "(.*)" diff --git a/meta-ti-bsp/recipes-ti/framework-components/ti-framework-components.inc b/meta-ti-bsp/recipes-ti/framework-components/ti-framework-components.inc deleted file mode 100644 index e8b7c414..00000000 --- a/meta-ti-bsp/recipes-ti/framework-components/ti-framework-components.inc +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "TI Framework Components" -HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/fc" -SECTION = "devel" -LICENSE = "BSD" - -require recipes-ti/includes/ti-paths.inc - -S = "${WORKDIR}/framework_components_${PV}" - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/fc/${PV}/exports/framework_components_${PV},lite.tar.gz;name=fctarball" - -do_install() { - CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - install -d ${D}${FC_INSTALL_DIR_RECIPE} - cp ${CP_ARGS} ${S}/* ${D}${FC_INSTALL_DIR_RECIPE} -} - -INSANE_SKIP:${PN} = "ldflags" - -ALLOW_EMPTY:${PN} = "1" -FILES:${PN}-dev += "${FC_INSTALL_DIR_RECIPE}" diff --git a/meta-ti-bsp/recipes-ti/framework-components/ti-framework-components_2.26.00.01.bb b/meta-ti-bsp/recipes-ti/framework-components/ti-framework-components_2.26.00.01.bb deleted file mode 100644 index 1ec10b15..00000000 --- a/meta-ti-bsp/recipes-ti/framework-components/ti-framework-components_2.26.00.01.bb +++ /dev/null @@ -1,9 +0,0 @@ -require ti-framework-components.inc - -PV = "2_26_00_01" -PR = "r2" - -LIC_FILES_CHKSUM = "file://framework_components_2_26_00_01_manifest.html;md5=3250f9da7ee72284c07f8dd840400c75" - -SRC_URI[fctarball.md5sum] = "40b51cade2f9ae6e6f6dca73c17065af" -SRC_URI[fctarball.sha256sum] = "3f7a12a51dfe87310828a31518d7ef8f9039e59269c0ca24f74a68433c235048" diff --git a/meta-ti-bsp/recipes-ti/framework-components/ti-framework-components_3.40.02.07.bb b/meta-ti-bsp/recipes-ti/framework-components/ti-framework-components_3.40.02.07.bb deleted file mode 100644 index 56c00283..00000000 --- a/meta-ti-bsp/recipes-ti/framework-components/ti-framework-components_3.40.02.07.bb +++ /dev/null @@ -1,9 +0,0 @@ -require ti-framework-components.inc - -PV = "3_40_02_07" -PR = "r0" - -LIC_FILES_CHKSUM = "file://framework_components_${PV}_Manifest.html;md5=0dd131dd53300f517b14dba8824f8b0a" - -SRC_URI[fctarball.md5sum] = "36dd2312ea8d70aa2ae0a05a24dbf54e" -SRC_URI[fctarball.sha256sum] = "69082a0f86d12c24b39a1293ec35cf8007b850479898d5ae485ec1e8cf2e8c72" diff --git a/meta-ti-bsp/recipes-ti/imglib/imglib-c66x.inc b/meta-ti-bsp/recipes-ti/imglib/imglib-c66x.inc deleted file mode 100644 index ab5cbdb6..00000000 --- a/meta-ti-bsp/recipes-ti/imglib/imglib-c66x.inc +++ /dev/null @@ -1,34 +0,0 @@ -DESCRIPTION = "IMGLIB contains optimized general-purpose image/video processing routines for TI DSPs" -HOMEPAGE = "http://www.ti.com/tool/sprc264" -SECTION = "devel" -LICENSE = "BSD-3-Clause" - -require ../includes/ti-paths.inc -require ../includes/ti-staging.inc -require ../includes/ti-unpack.inc - -COMPATIBLE_MACHINE = "omap-a15" - -SRC_URI = "http://software-dl.ti.com/sdoemb/sdoemb_public_sw/imglib/${PV}/exports/${BINFILE};name=imglib" - -S = "${WORKDIR}/imglib-c66x-${PV}" - -BINFILE = "imglib_c66x_${PV}_Linux.bin" -TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}" -TI_BIN_UNPK_CMDS = "" - -do_install() { - CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - install -d ${D}${IMGLIB_C66_INSTALL_DIR_RECIPE} - cp ${CP_ARGS} ${S}/* ${D}${IMGLIB_C66_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY:${PN} = "1" -FILES:${PN}-dev += "${IMGLIB_C66_INSTALL_DIR_RECIPE}" - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -RDEPENDS:${PN}-dev += "perl" -INSANE_SKIP:${PN}-dev = "arch" diff --git a/meta-ti-bsp/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb b/meta-ti-bsp/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb deleted file mode 100644 index e614352c..00000000 --- a/meta-ti-bsp/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb +++ /dev/null @@ -1,9 +0,0 @@ -require imglib-c66x.inc - -PV = "3_1_1_0" -PR = "r1" - -LIC_FILES_CHKSUM = "file://packages/ti/imglib/src/common/IMG_profile.h;beginline=1;endline=35;md5=a21fc16da34b650ce33a9a7143908667" - -SRC_URI[imglib.md5sum] = "9d64f213e040899048446df5055deeca" -SRC_URI[imglib.sha256sum] = "f3153e51530f26cfc638efca7ca6ae1bbaf7736daf287fc972592372a676ed21" diff --git a/meta-ti-bsp/recipes-ti/includes/ti-eula-unpack.inc b/meta-ti-bsp/recipes-ti/includes/ti-eula-unpack.inc deleted file mode 100644 index ead06100..00000000 --- a/meta-ti-bsp/recipes-ti/includes/ti-eula-unpack.inc +++ /dev/null @@ -1,15 +0,0 @@ -# This file defines function used for unpacking the .bin file downloaded over -# the http and display EULA. -# BINFILE - name of the install jammer .bin file -# TARFILE - name of the tar file inside the install jammer -# TI_BIN_UNPK_CMDS - contains list of commands separated with colon to be -# passed while unpacking the bin file. The keyword -# workdir expands to WORKDIR and commands are appendded -# with '\n'. Eg. TI_BIN_UNPK_CMDS="Y:Y: qY:workdir" -# TI_BIN_UNPK_WDEXT - This variable extends workdir path, if user wants to put -# the output in some internal directory - -require recipes-ti/includes/ti-unpack.inc - -TI_BIN_UNPK_ARGS = "--mode console" - diff --git a/meta-ti-bsp/recipes-ti/includes/ti-paths.inc b/meta-ti-bsp/recipes-ti/includes/ti-paths.inc deleted file mode 100644 index 358d7dfd..00000000 --- a/meta-ti-bsp/recipes-ti/includes/ti-paths.inc +++ /dev/null @@ -1,109 +0,0 @@ -installdir = "${datadir}/ti" - -export TOOLCHAIN_PATH ?= "${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_SYS}" -# This is where do_install will put it -export AUDIO_SOC_INSTALL_DIR_RECIPE = "${installdir}/ti-audio-soc-example-tree" -export BIOSPSP_INSTALL_DIR_RECIPE = "${installdir}/ti-biospsp-tree" -export C6ACCEL_INSTALL_DIR_RECIPE = "${installdir}/ti-c6accel-tree" -export C6RUN_INSTALL_DIR_RECIPE = "${installdir}/ti-c6run-tree" -export CE_INSTALL_DIR_RECIPE = "${installdir}/ti-codec-engine-tree" -export CODEC_INSTALL_DIR_RECIPE = "${installdir}/ti-codecs-tree" -export CODEGEN_ARM_INSTALL_DIR_RECIPE= "${installdir}/ti-cgt470-tree" -export CODEGEN_INSTALL_DIR_RECIPE = "${installdir}/ti-cgt6x-tree" -export DSP_BENCHMARK_INSTALL_DIR_RECIPE = "${installdir}/ti-dsp-benchmark-tree" -export DSPLIB_C64P_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplib-c64p-tree" -export DSPLIB_C674_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplib-c674x-tree" -export DSPLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplib-c66x-tree" -export DVSDK_DEMOS_INSTALL_DIR_RECIPE= "${installdir}/ti-dvsdk-demos-tree" -export DVTB_INSTALL_DIR_RECIPE = "${installdir}/ti-dvtb-tree" -export EDMA3_LLD_INSTALL_DIR_RECIPE = "${installdir}/ti-edma3lld-tree" -export EDMA3_LLD_SYSBIOS_INSTALL_DIR_RECIPE = "${installdir}/ti-edma3lld-sysbios-tree" -export FASTMATHLIB_C674P_INSTALL_DIR_RECIPE = "${installdir}/ti-fastmathlib-c67x-tree" -export FC3_INSTALL_DIR_RECIPE = "${installdir}/ti-framework-components3-tree" -export FC_INSTALL_DIR_RECIPE = "${installdir}/ti-framework-components-tree" -export GFX_SDK_INSTALL_DIR_RECIPE = "${installdir}/ti-gfx-sdk-tree" -export HDVICP20_INSTALL_DIR_RECIPE = "${installdir}/ti-hdvicp20-tree" -export IMGLIB_C64P_INSTALL_DIR_RECIPE= "${installdir}/ti-imglib-tree" -export IPC_INSTALL_DIR_RECIPE = "${installdir}/ti-ipc-tree" -export LINK_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplink-tree" -export LPM_INSTALL_DIR_RECIPE = "${installdir}/ti-local-power-manager-tree" -export OMX_INSTALL_DIR_RECIPE = "${installdir}/ti-omx-tree" -export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree" -export RTFS_INSTALL_DIR_RECIPE = "${installdir}/ti-rtfs-tree" -export SYSBIOS_INSTALL_DIR_RECIPE = "${installdir}/ti-sysbios-tree" -export SYSLINK_INSTALL_DIR_RECIPE = "${installdir}/ti-syslink-tree" -export SWTOOLS_INSTALL_DIR_RECIPE = "${installdir}/ti-swtools-tree" -export UIA_INSTALL_DIR_RECIPE = "${installdir}/ti-uia-tree" -export VICPLIB_INSTALL_DIR_RECIPE = "${installdir}/ti-vicplib-tree" -export XDAIS_INSTALL_DIR_RECIPE = "${installdir}/ti-xdais-tree" -export XDC_INSTALL_DIR_RECIPE = "${installdir}/ti-xdctools-tree" -export PDK_INSTALL_DIR_RECIPE = "${installdir}/ti-pdk-tree" -export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree" -export M4_TOOLCHAIN_INSTALL_DIR_RECIPE = "${installdir}/ti-cgt-arm" -export GCC_ARM_NONE_TOOLCHAIN_RECIPE = "${installdir}/gcc-arm-none-eabi" -export TI_CGT_PRU_INSTALL_DIR_RECIPE = "${installdir}/cgt-pru" -export MATHLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c66x-tree" -export MATHLIB_C674_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c674x-tree" -export IMGLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-imglib-c66x-tree" -export VLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-vlib-c66x-tree" -export CG_XML_INSTALL_DIR_RECIPE = "${installdir}/ti-cg-xml-tree" -export OMP_INSTALL_DIR_RECIPE = "${installdir}/ti-omp-tree" -export MPM_INSTALL_DIR_RECIPE = "${installdir}/ti-mpm-tree" -export TI_CGT6X_7_INSTALL_DIR_RECIPE = "${installdir}/cgt6x-7" -export TI_CGT7X_INSTALL_DIR_RECIPE = "${installdir}/cgt-c7x" - - -# This is where the tools will end up in sysroot -export BIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}" -export BIOSPSP_INSTALL_DIR = "${STAGING_DIR_TARGET}${BIOSPSP_INSTALL_DIR_RECIPE}" -export C6ACCEL_INSTALL_DIR = "${STAGING_DIR_TARGET}${C6ACCEL_INSTALL_DIR_RECIPE}" -export C6RUN_INSTALL_DIR = "${STAGING_DIR_TARGET}${C6RUN_INSTALL_DIR_RECIPE}" -export CE_INSTALL_DIR = "${STAGING_DIR_TARGET}${CE_INSTALL_DIR_RECIPE}" -export CMEM_INSTALL_DIR = "${STAGING_DIR_TARGET}${CMEM_INSTALL_DIR_RECIPE}" -export CODEC_INSTALL_DIR = "${STAGING_DIR_TARGET}${CODEC_INSTALL_DIR_RECIPE}" -export CODEGEN_ARM_INSTALL_DIR= "${STAGING_DIR_TARGET}${CODEGEN_ARM_INSTALL_DIR_RECIPE}" -export CODEGEN_INSTALL_DIR = "${STAGING_DIR_TARGET}${CODEGEN_INSTALL_DIR_RECIPE}" -export DSP_BENCHMARK_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSP_BENCHMARK_INSTALL_DIR_RECIPE}" -export EDMA3_LLD_INSTALL_DIR = "${STAGING_DIR_TARGET}${EDMA3_LLD_INSTALL_DIR_RECIPE}" -export EDMA3_LLD_SYSBIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${EDMA3_LLD_SYSBIOS_INSTALL_DIR_RECIPE}" -export FASTMATHLIB_C674P_INSTALL_DIR = "${STAGING_DIR_TARGET}${FASTMATHLIB_C674P_INSTALL_DIR_RECIPE}" -export FC3_INSTALL_DIR = "${STAGING_DIR_TARGET}${FC3_INSTALL_DIR_RECIPE}" -export FC_INSTALL_DIR = "${STAGING_DIR_TARGET}${FC_INSTALL_DIR_RECIPE}" -export HDVICP20_INSTALL_DIR = "${STAGING_DIR_TARGET}${HDVICP20_INSTALL_DIR_RECIPE}" -export IMGLIB_C64P_INSTALL_DIR= "${STAGING_DIR_TARGET}${IMGLIB_C64P_INSTALL_DIR_RECIPE}" -export IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}${IPC_INSTALL_DIR_RECIPE}" -export LINK_INSTALL_DIR = "${STAGING_DIR_TARGET}${LINK_INSTALL_DIR_RECIPE}" -export LPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${LPM_INSTALL_DIR_RECIPE}" -export OMX_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMX_INSTALL_DIR_RECIPE}" -export SYSBIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECIPE}" -export SYSLINK_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSLINK_INSTALL_DIR_RECIPE}" -export UIA_INSTALL_DIR = "${STAGING_DIR_TARGET}${UIA_INSTALL_DIR_RECIPE}" -export XDAIS_INSTALL_DIR = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE}" -export XDC_INSTALL_DIR = "${STAGING_DIR_NATIVE}${XDC_INSTALL_DIR_RECIPE}" -export PDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}" -export OSAL_INSTALL_DIR = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}" -export M4_TOOLCHAIN_INSTALL_DIR = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}" -export GCC_ARM_NONE_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}" -export TI_CGT_PRU_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT_PRU_INSTALL_DIR_RECIPE}" -export SWTOOLS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SWTOOLS_INSTALL_DIR_RECIPE}" -export DSPLIB_C64P_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSPLIB_C64P_INSTALL_DIR_RECIPE}" -export DSPLIB_C674_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSPLIB_C674_INSTALL_DIR_RECIPE}" -export DSPLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSPLIB_C66_INSTALL_DIR_RECIPE}" -export MATHLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${MATHLIB_C66_INSTALL_DIR_RECIPE}" -export MATHLIB_C674_INSTALL_DIR = "${STAGING_DIR_TARGET}${MATHLIB_C674_INSTALL_DIR_RECIPE}" -export IMGLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${IMGLIB_C66_INSTALL_DIR_RECIPE}" -export VLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${VLIB_C66_INSTALL_DIR_RECIPE}" -export CG_XML_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CG_XML_INSTALL_DIR_RECIPE}" -export OMP_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMP_INSTALL_DIR_RECIPE}" -export MPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${MPM_INSTALL_DIR_RECIPE}" -export TI_CGT6X_7_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT6X_7_INSTALL_DIR_RECIPE}" -export GCC_LINARO_BAREMETAL_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE}" -export GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE}" -export TI_CGT7X_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT7X_INSTALL_DIR_RECIPE}" - - -DSPSUFFIX:omapl137 = "x674" -DSPSUFFIX:omapl138 = "x674" -DSPSUFFIX_ti816x = "xe674" -DSPSUFFIX_ti814x = "xe674" -DSPSUFFIX ?= "x64P" diff --git a/meta-ti-bsp/recipes-ti/includes/ti-staging.inc b/meta-ti-bsp/recipes-ti/includes/ti-staging.inc deleted file mode 100644 index f18d017c..00000000 --- a/meta-ti-bsp/recipes-ti/includes/ti-staging.inc +++ /dev/null @@ -1,6 +0,0 @@ -INHIBIT_PACKAGE_STRIP = "1" - -ALLOW_EMPTY:${PN} = "1" -ALLOW_EMPTY:${PN}-dev = "1" - - diff --git a/meta-ti-bsp/recipes-ti/includes/ti-unpack.inc b/meta-ti-bsp/recipes-ti/includes/ti-unpack.inc deleted file mode 100644 index 46bfb957..00000000 --- a/meta-ti-bsp/recipes-ti/includes/ti-unpack.inc +++ /dev/null @@ -1,83 +0,0 @@ -# This file defines function used for unpacking the .bin file downloaded over -# the http. -# BINFILE - name of the install jammer .bin file -# TARFILE - name of the tar file inside the install jammer -# TI_BIN_UNPK_ARGS - contains the arguments to be passed to the bin file. -# TI_BIN_UNPK_CMDS - contains list of commands separated with colon to be -# passed while unpacking the bin file. The keyword -# workdir expands to WORKDIR and commands are appendded -# with '\n'. Eg. TI_BIN_UNPK_CMDS="Y:Y: qY:workdir" -# TI_BIN_UNPK_WDEXT - This variable extends workdir path, if user wants to put -# the output in some internal directory - -python do_unpack () { - bb.build.exec_func('base_do_unpack', d) - bb.build.exec_func('ti_bin_do_unpack', d) -} - -TI_BIN_UNPK_WDEXT ?= "" -python ti_bin_do_unpack() { - import os - - # InstallJammer requires 32bit version of glibc - if not os.path.exists('/lib/ld-linux.so.2'): - bb.fatal("TI installer requires 32bit glibc libraries for proper operation\nrun 'yum install glibc.i686' on Fedora or 'apt-get install libc6:i386' on Ubuntu/Debian") - - localdata = bb.data.createCopy(d) - bb.data.update_data(localdata) - - binfile = localdata.getVar('BINFILE') - binfile = bb.data.expand(binfile, localdata) - - # Change to the working directory - save_cwd = os.getcwd() - workdir = localdata.getVar('WORKDIR') - workdir = bb.data.expand(workdir, localdata) - os.chdir(workdir) - - # Get unpack args - arg_string = localdata.getVar('TI_BIN_UNPK_ARGS') - arg_string = bb.data.expand(arg_string, localdata) - - # Get unpack commands - cmd_string = localdata.getVar('TI_BIN_UNPK_CMDS') - cmd_list = cmd_string.split( ":" ) - - # Make the InstallJammer binary executable so we can run it - os.chmod(binfile, 0o755) - - # Run the InstallJammer binary and accept the EULA - filename = "HOME=%s ./%s %s" % (workdir, binfile, arg_string) - - # Test executable by printing installer version or help screen (--version currently broken for some installers) - # - this is currently broken in some IJ installers - comment out for now - #if os.system(filename + " --version") != 0: - # print "ERROR: ti-eula-unpack: failed to execute binary installer" - # raise bb.build.FuncFailed() - - f = os.popen(filename,'w') - for cmd in cmd_list: - if cmd == "workdir": - wdext = localdata.getVar('TI_BIN_UNPK_WDEXT') - wdext = bb.data.expand(wdext, localdata) - cmd = workdir+wdext - f.write(cmd+'\n'); - f.close() - - # Expand the tarball that was created if required - tarfile = localdata.getVar('TARFILE') - if bool(tarfile) == True: - tarfile = bb.data.expand(tarfile, localdata) - tcmd = 'tar x --no-same-owner -f %s -C %s' % (tarfile, workdir) - if os.system(tcmd) != 0: - print("ERROR: ti-eula-unpack: failed to extract tarfile") - raise bb.build.FuncFailed() - - # Return to the previous directory - os.chdir(save_cwd) -} - -COMPATIBLE_HOST ?= "null" -COMPATIBLE_HOST:ti-soc = "(.*)" -COMPATIBLE_HOST:class-native = "(.*)" -COMPATIBLE_HOST:class-nativesdk = "(.*)" diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch b/meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch deleted file mode 100644 index ea514695..00000000 --- a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch +++ /dev/null @@ -1,40 +0,0 @@ -From cca4fd812959a0cd241dd3bbebfd461ece94c9b8 Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko -Date: Mon, 29 Mar 2021 19:42:00 -0400 -Subject: [PATCH] examples/ClusterMgr: sys_errlist[] has been deprecated in - glibc - -Use strerror() instead. - -Upstream-Status: Pending - -Signed-off-by: Denys Dmytriyenko ---- - src/examples/templates/ex46_graph/manager/ClusterMgr.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/examples/templates/ex46_graph/manager/ClusterMgr.c b/src/examples/templates/ex46_graph/manager/ClusterMgr.c -index 19216c9..a1fa679 100644 ---- a/src/examples/templates/ex46_graph/manager/ClusterMgr.c -+++ b/src/examples/templates/ex46_graph/manager/ClusterMgr.c -@@ -714,7 +714,7 @@ static pid_t ClusterMgr_system(char *cmd, bool wait) - pid = fork(); - - if (pid == -1) { -- LOG "CM_system: fork error: %s\n", sys_errlist[errno] LOGF -+ LOG "CM_system: fork error: %s\n", strerror(errno) LOGF - status = -1; - goto leave; - } -@@ -739,7 +739,7 @@ static pid_t ClusterMgr_system(char *cmd, bool wait) - else { - /* overlay a new executable */ - execvp(argv[0], argv); -- LOG "CM_system: execvp error: %s\n", sys_errlist[errno] LOGF -+ LOG "CM_system: execvp error: %s\n", strerror(errno) LOGF - status = -1; - } - --- -2.7.4 - diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples-linux_git.bb b/meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples-linux_git.bb deleted file mode 100644 index 81706592..00000000 --- a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples-linux_git.bb +++ /dev/null @@ -1,49 +0,0 @@ -DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running bios" -require ti-ipc-examples.inc - -SRC_URI += "file://0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch;patchdir=../git/ipc-examples" - -DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native" - -do_compile:append() { - - if [ "${PLATFORM}" != "UNKNOWN" ]; then - oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" - - if [ ! -z ${ALT_PLATFORM} ]; then - oe_runmake extract PLATFORM="${ALT_PLATFORM}" HOSTOS="linux" \ - IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" - fi - oe_runmake -C examples all HOSTOS="linux" \ - LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ - IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" - - if [ ! -z ${ALT_PLATFORM} ]; then - oe_runmake -C examples all HOSTOS="linux" \ - LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ - IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ - PLATFORM="${ALT_PLATFORM}" - fi - fi -} - -do_install:append() { - cd ${S_ipc-examples}/src - - if [ "${PLATFORM}" != "UNKNOWN" ]; then - # Install directory for linux examples - install -d ${D}${bindir}/ipc/examples - oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ - LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ - HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" - - if [ ! -z ${ALT_PLATFORM} ]; then - oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ - LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ - HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" \ - PLATFORM="${ALT_PLATFORM}" - fi - fi -} - -FILES:${PN} += "${bindir}/*" diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples.inc b/meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples.inc deleted file mode 100644 index 66cd5d32..00000000 --- a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples.inc +++ /dev/null @@ -1,31 +0,0 @@ -HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC" -require ti-ipc-common.inc -require ti-ipc-rtos.inc - -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea07bade1244ac9a" - -INSANE_SKIP:${PN} += "arch" - -ALLOW_EMPTY:${PN} = "1" - -IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" - -do_compile() { - - cd ${S_ipc-examples}/src - oe_runmake .examples \ - IPCTOOLS="${S_ipc-metadata}/src/etc" - - for alt_platform in ${ALT_PLATFORM}; do - oe_runmake .examples "PLATFORM=${alt_platform}" \ - IPCTOOLS="${S_ipc-metadata}/src/etc" - done -} - -do_install() { - cd ${S_ipc-examples}/src - IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` -} - -INHIBIT_PACKAGE_STRIP = "1" diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples_git.bb b/meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples_git.bb deleted file mode 100644 index bcc8674e..00000000 --- a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-examples_git.bb +++ /dev/null @@ -1,44 +0,0 @@ -DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running linux" -require ti-ipc-examples.inc - -DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native" - -do_compile:append() { - - if [ "${PLATFORM}" != "UNKNOWN" ]; then - oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" - - for alt_platform in ${ALT_PLATFORM}; do - oe_runmake extract PLATFORM="${alt_platform}" HOSTOS="bios" \ - IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" - done - oe_runmake -C examples all HOSTOS="bios" \ - IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" - for alt_platform in ${ALT_PLATFORM}; do - oe_runmake -C examples all HOSTOS="bios" \ - IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" PLATFORM="${alt_platform}" - done - fi -} - -do_install:append() { - if [ "${PLATFORM}" != "UNKNOWN" ]; then - # Install directory for bios examples - install -d ${D}/ipc_${IPC_VERSION}/examples/bios - oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ - HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" - oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ - HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" - - for alt_platform in ${ALT_PLATFORM}; do - oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ - HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \ - PLATFORM="${alt_platform}" - oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ - HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \ - PLATFORM="${alt_platform}" - done - fi -} - -FILES:${PN} += "ipc_*" diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-rtos.inc b/meta-ti-bsp/recipes-ti/ipc/ti-ipc-rtos.inc deleted file mode 100644 index 56667ad1..00000000 --- a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-rtos.inc +++ /dev/null @@ -1,73 +0,0 @@ -require recipes-ti/includes/ti-paths.inc - -TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git" -TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" -TI_IPC_EXAMPLES_GIT_PROTOCOL = "git" -TI_IPC_EXAMPLES_GIT_BRANCH = "master" -TI_IPC_EXAMPLES_NAME = "ipc-examples" - -SRC_URI += "${TI_IPC_EXAMPLES_GIT_URI};\ -destsuffix=${TI_IPC_EXAMPLES_DEST_SUFFIX};\ -protocol=${TI_IPC_EXAMPLES_GIT_PROTOCOL};\ -branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ -name=${TI_IPC_EXAMPLES_NAME}" - -TI_IPC_METADATA_GIT_URI = "git://git.ti.com/ipc/ipc-metadata.git" -TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" -TI_IPC_METADATA_GIT_PROTOCOL = "git" -TI_IPC_METADATA_GIT_BRANCH = "master" -TI_IPC_METADATA_NAME = "ipc-metadata" - -SRC_URI += "${TI_IPC_METADATA_GIT_URI};\ -destsuffix=${TI_IPC_METADATA_DEST_SUFFIX};\ -protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ -branch=${TI_IPC_METADATA_GIT_BRANCH};\ -name=${TI_IPC_METADATA_NAME}" - -# Corresponds to tag: 3.51.00.00 -TI_IPC_METADATA_SRCREV = "1bf668fd6b0ec2ef6956fa55b8484d0b21a9f9e2" -# Corresponds to tag: 3.51.00.00 -TI_IPC_EXAMPLES_SRCREV = "4707fcbbe0d136e781c4a7ffdc072be407c34358" - -SRCREV_FORMAT = "default" -SRCREV_ipc-metadata = "${TI_IPC_METADATA_SRCREV}" -SRCREV_ipc-examples = "${TI_IPC_EXAMPLES_SRCREV}" - -S_ipc-examples = "${WORKDIR}/git/ipc-examples" -S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" - -RELEASE_TYPE = "GA" -RELEASE_SUFFIX = "" - -PR = "${INC_PR}.r0" - -DEPENDS:append:omap-a15 = " ti-cgt6x-native \ - ti-cgt-arm-native \ - gcc-arm-baremetal-native \ -" -DEPENDS:append:omapl138 = " ti-cgt6x-native \ -" - -IPC_TARGETS = "" - -IPC_TARGETS:omap-a15 = "\ - gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ - ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ - ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ - ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \ -" - -IPC_TARGETS:omapl138 = "\ - ti.targets.elf.C674="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ -" - -PARALLEL_XDC = "${@oe.utils.parallel_make_argument(d, '--jobs=%d')}" -EXTRA_OEMAKE = "\ - PLATFORM=${PLATFORM} \ - XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \ - BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ - ${IPC_TARGETS} \ - ${PARALLEL_XDC} \ - JAVA_TOOL_OPTIONS=-Xss2560k \ -" - diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-rtos_git.bb b/meta-ti-bsp/recipes-ti/ipc/ti-ipc-rtos_git.bb deleted file mode 100644 index abef3195..00000000 --- a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-rtos_git.bb +++ /dev/null @@ -1,101 +0,0 @@ -require ti-ipc.inc -require ti-ipc-common.inc -require ti-ipc-rtos.inc - -DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native" - -PACKAGES =+ "${PN}-fw" -FILES:${PN}-fw = "${base_libdir}/firmware/*" -FILES:${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}" - -INSANE_SKIP:${PN}-fw += "arch" -INSANE_SKIP:${PN}-dev += "arch" - -ALLOW_EMPTY:${PN} = "1" - -IPC_PACKAGE_DIR = "${S}/ipc-package" - -do_compile() { - oe_runmake -f ipc-bios.mak clean - oe_runmake -f ipc-bios.mak release - - cd ${S_ipc-metadata} - oe_runmake .all-files IPC_INSTALL_DIR="${S}" \ - BUILD_HOST_OS="linux" \ - RELEASE_TYPE="${RELEASE_TYPE}" - - cd ${S_ipc-examples}/src - oe_runmake .examples \ - IPCTOOLS="${S_ipc-metadata}/src/etc" - for alt_platform in ${ALT_PLATFORM}; do - oe_runmake .examples \ - IPCTOOLS="${S_ipc-metadata}/src/etc" \ - PLATFORM=${alt_platform} - done - - if [ "${PLATFORM}" != "UNKNOWN" ]; then - oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}" - oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}" - - for alt_platform in ${ALT_PLATFORM}; do - oe_runmake extract PLATFORM=${alt_platform} HOSTOS="bios" IPC_INSTALL_DIR="${S}" - oe_runmake extract PLATFORM=${alt_platform} HOSTOS="linux" IPC_INSTALL_DIR="${S}" - done - fi - - IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` - install -d ${IPC_PACKAGE_DIR} - # Copy docs and other meta files - cp -pPrf ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d ${IPC_PACKAGE_DIR} - - # Copy example folders corresponding to the platforms - if [ "${PLATFORM}" != "UNKNOWN" ]; then - install -d ${IPC_PACKAGE_DIR}/examples - cp -pPf ${S_ipc-examples}/src/examples/*.* ${IPC_PACKAGE_DIR}/examples/ - cp -pPf ${S_ipc-examples}/src/examples/makefile ${IPC_PACKAGE_DIR}/examples/ - cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}* ${IPC_PACKAGE_DIR}/examples/ - for alt_platform in ${ALT_PLATFORM}; do - cp -pPrf ${S_ipc-examples}/src/examples/${alt_platform}* ${IPC_PACKAGE_DIR}/examples/ - done - find ${IPC_PACKAGE_DIR}/examples/ -name "*zip" -type f | xargs -I {} rm {} - fi -} - -do_install() { - CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` - # Copy docs and other meta files - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp ${CP_ARGS} ${IPC_PACKAGE_DIR}/* -d ${D}${IPC_INSTALL_DIR_RECIPE} - - install -d ${D}${base_libdir}/firmware/ipc - cp ${CP_ARGS} ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc || true -} - -KFDSPNUM = "0" - -KFPLAT = "" - -ALTERNATIVE_PRIORITY = "5" - -pkg_postinst:${PN}-fw:omap-a15 () { - update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 ${ALTERNATIVE_PRIORITY} - update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 ${ALTERNATIVE_PRIORITY} - update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${ALTERNATIVE_PRIORITY} - update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 ${ALTERNATIVE_PRIORITY} -} - -pkg_postrm:${PN}-fw:omap-a15 () { - update-alternatives --remove dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 - update-alternatives --remove dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 - update-alternatives --remove dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 - update-alternatives --remove dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 -} - -pkg_postinst:${PN}-fw:omapl138 () { - update-alternatives --install /lib/firmware/rproc-dsp-fw rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674 ${ALTERNATIVE_PRIORITY} -} - -pkg_postrm:${PN}-fw:omapl138 () { - update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674 -} diff --git a/meta-ti-bsp/recipes-ti/mathlib/mathlib-c66x_git.bb b/meta-ti-bsp/recipes-ti/mathlib/mathlib-c66x_git.bb deleted file mode 100644 index 22683855..00000000 --- a/meta-ti-bsp/recipes-ti/mathlib/mathlib-c66x_git.bb +++ /dev/null @@ -1,5 +0,0 @@ -include mathlib.inc - -MATHLIB_BUILD_TARGET = "c66x" -MATHLIB_INSTALL_DIR_RECIPE = "${MATHLIB_C66_INSTALL_DIR_RECIPE}" -MATHLIB_INSTALL_DIR = "${MATHLIB_C66_INSTALL_DIR}" diff --git a/meta-ti-bsp/recipes-ti/mathlib/mathlib-c674x_git.bb b/meta-ti-bsp/recipes-ti/mathlib/mathlib-c674x_git.bb deleted file mode 100644 index 1654baf2..00000000 --- a/meta-ti-bsp/recipes-ti/mathlib/mathlib-c674x_git.bb +++ /dev/null @@ -1,5 +0,0 @@ -include mathlib.inc - -MATHLIB_BUILD_TARGET = "c674x" -MATHLIB_INSTALL_DIR_RECIPE = "${MATHLIB_C674_INSTALL_DIR_RECIPE}" -MATHLIB_INSTALL_DIR = "${MATHLIB_C674_INSTALL_DIR}" diff --git a/meta-ti-bsp/recipes-ti/mathlib/mathlib.inc b/meta-ti-bsp/recipes-ti/mathlib/mathlib.inc deleted file mode 100644 index fe75c099..00000000 --- a/meta-ti-bsp/recipes-ti/mathlib/mathlib.inc +++ /dev/null @@ -1,77 +0,0 @@ -SUMMARY = "MATHLIB contains optimized floating-point math functions for TI DSPs" -HOMEPAGE = "http://git.ti.com/ep-processor-libraries/mathlib" -LICENSE = "BSD-3-Clause" - -require ../includes/ti-paths.inc - -PV = "3_1_2_4" -PR = "r2" - -DEPENDS = "ti-cgt6x-native \ - ti-xdctools-native \ - ti-sysbios \ - doxygen-native \ - zip-native \ - swtools" - -S = "${WORKDIR}/git" - -MATHLIB_GIT_BRANCH = "master" -MATHLIB_GIT_PROTOCOL = "git" -MATHLIB_GIT_URI = "git://git.ti.com/ep-processor-libraries/mathlib.git" -MATHLIB_SRCREV = "eadcc9547faf69789661b004bb0b5ef53bb69951" - -SRC_URI = "${MATHLIB_GIT_URI};protocol=${MATHLIB_GIT_PROTOCOL};branch=${MATHLIB_GIT_BRANCH}" -SRCREV = "${MATHLIB_SRCREV}" - -LIC_FILES_CHKSUM = "file://ti/mathlib/src/acosdp/acosdp.h;beginline=1;endline=35;md5=c133f7e139b46385906c861dd9552250" - -export MATHLIB_WORK_DIR="${S}" -export CGTOOLS_INSTALL_DIR = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export C64PCODEGENTOOL="${CGTOOLS_INSTALL_DIR}" -export C674CODEGENTOOL="${CGTOOLS_INSTALL_DIR}" -export C66CODEGENTOOL ="${CGTOOLS_INSTALL_DIR}" -export SWTOOLS_PATH = "${SWTOOLS_INSTALL_DIR}/ti/mas/swtools" -export XDCBUILDCFG="${SWTOOLS_PATH}/config.bld" - -PATH:append = ":${XDC_INSTALL_DIR}" - -XDCPATH.="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;" -XDCPATH.="${SWTOOLS_INSTALL_DIR};${MATHLIB_WORK_DIR};" - -export XDCPATH - -MATHLIB_PACKAGE_NAME = "mathlib_${MATHLIB_BUILD_TARGET}_${PV}" - -do_compile() { - cd ${MATHLIB_WORK_DIR}/ti/mathlib; - xdc XDCARGS="${MATHLIB_BUILD_TARGET} bundle" XDCOPTIONS="-v" -} - -do_install() { - install -d ${D}${MATHLIB_INSTALL_DIR_RECIPE} - - find -name "${MATHLIB_PACKAGE_NAME}.zip" -exec unzip -o {} -d ${D}${MATHLIB_INSTALL_DIR_RECIPE} \; - cp -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib/. ${D}${MATHLIB_INSTALL_DIR_RECIPE} - rm -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib -} - -inherit deploy -addtask deploy before do_build after do_install - -do_deploy() { - install -d ${DEPLOYDIR} - # zip up files in ${D}${MATHLIB_INSTALL_DIR_RECIPE} - # and place the zip file in ${DEPLOYDIR} - mkdir ./${MATHLIB_PACKAGE_NAME} - cp -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/. ./${MATHLIB_PACKAGE_NAME} - zip -9 -y -r -q ${DEPLOYDIR}/${MATHLIB_PACKAGE_NAME}.zip ./${MATHLIB_PACKAGE_NAME} - rm -r ./${MATHLIB_PACKAGE_NAME} -} - -ALLOW_EMPTY:${PN} = "1" -FILES:${PN}-dev += "${MATHLIB_INSTALL_DIR_RECIPE}" - -INSANE_SKIP:${PN}-dev = "arch" -COMPATIBLE_HOST ?= "null" -COMPATIBLE_HOST:ti-soc = "(.*)" diff --git a/meta-ti-bsp/recipes-ti/openmp-rtos/openmp-rtos_git.bb b/meta-ti-bsp/recipes-ti/openmp-rtos/openmp-rtos_git.bb deleted file mode 100644 index 59a9635d..00000000 --- a/meta-ti-bsp/recipes-ti/openmp-rtos/openmp-rtos_git.bb +++ /dev/null @@ -1,62 +0,0 @@ -DESCRIPTION = "TI OpenMP RTOS" -HOMEPAGE = "git://git.ti.com/openmp/ti-openmp-dsp-runtime.git" -LICENSE = "BSD" - -require recipes-ti/includes/ti-paths.inc - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp" -REQUIRED_DISTRO_FEATURES = "openmp" - -PV = "2_06_03_00" -PR = "r0" - -OPENMP_RTOS_GIT_URI = "git://git.ti.com/openmp/ti-openmp-dsp-runtime.git" -OPENMP_RTOS_GIT_PROTOCOL = "git" -OPENMP_RTOS_GIT_BRANCH = "master" - -BRANCH = "${OPENMP_RTOS_GIT_BRANCH}" -SRC_URI = "${OPENMP_RTOS_GIT_URI};protocol=${OPENMP_RTOS_GIT_PROTOCOL};branch=${BRANCH}" - -SRCREV = "c090eb664d9815a36ead0e14f31e102590680fb8" - -LIC_FILES_CHKSUM = "file://docs/license/omp_manifest_template.html;md5=61a6972303c0447b7c056195d7ebafee" - -DEPENDS = "common-csl-ip-rtos doxygen-native libulm ti-xdctools-native ti-ipc-rtos ti-sysbios ti-cgt6x-native zip-native" - -COMPATIBLE_MACHINE = "omap-a15" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -S = "${WORKDIR}/git" -export IPC_DIR = "${IPC_INSTALL_DIR}" -export XDC_DIR = "${XDC_INSTALL_DIR}" -export BIOS_DIR = "${SYSBIOS_INSTALL_DIR}" -export ULM_DIR ="${STAGING_DIR_TARGET}/usr/share/ti/ulm" -export C6636_PDK_DIR ="${PDK_INSTALL_DIR}" -export AM572_PDK_DIR ="${PDK_INSTALL_DIR}" -export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" - -export BUILD_AM572 = "0" - -BUILD_AM572:omap-a15 = "1" - -RELEASE_TARGET = "" -RELEASE_TARGET:omap-a15 = "am57xx" - -do_compile() { - make -f utils/product/Makefile .zipfile -} - -do_install() { - install -d ${D}${OMP_INSTALL_DIR_RECIPE} - cp -r ${S}/exports/openmp_dsp_${RELEASE_TARGET}_*/. -d ${D}${OMP_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY:${PN} = "1" - -FILES:${PN}-dev += " \ - ${OMP_INSTALL_DIR_RECIPE}/ \ -" - -INSANE_SKIP:${PN}-dev = "arch" diff --git a/meta-ti-bsp/recipes-ti/osal/ti-osal.inc b/meta-ti-bsp/recipes-ti/osal/ti-osal.inc deleted file mode 100644 index dbd64f7b..00000000 --- a/meta-ti-bsp/recipes-ti/osal/ti-osal.inc +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION = "TI Operating System Abstraction Library (OSAL)" -HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/osal" -LICENSE = "BSD & EPL-1.0" -SECTION = "devel" - -require ../includes/ti-paths.inc -require ../includes/ti-staging.inc - -S = "${WORKDIR}/osal_${PV}" - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/osal/${PV}/exports/osal_${PV}.tar.gz;name=osaltarball" - -do_install() { - install -d ${D}${OSAL_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${OSAL_INSTALL_DIR_RECIPE} -} - -INSANE_SKIP:${PN}-dev = "staticdev" - -ALLOW_EMPTY:${PN} = "1" -FILES:${PN}-dev += "${OSAL_INSTALL_DIR_RECIPE}" - -COMPATIBLE_HOST ?= "null" -COMPATIBLE_HOST:ti-soc = "(.*)" diff --git a/meta-ti-bsp/recipes-ti/osal/ti-osal_1.24.00.09.bb b/meta-ti-bsp/recipes-ti/osal/ti-osal_1.24.00.09.bb deleted file mode 100644 index 226458be..00000000 --- a/meta-ti-bsp/recipes-ti/osal/ti-osal_1.24.00.09.bb +++ /dev/null @@ -1,9 +0,0 @@ -require ti-osal.inc - -PV = "1_24_00_09" -PR = "r0" - -LIC_FILES_CHKSUM = "file://osal_${PV}_Manifest.html;md5=c110191994d011cee4cd02189ed3c9f4" - -SRC_URI[osaltarball.md5sum] = "a7ea85447fa0ff0f786d527a52fa6e8b" -SRC_URI[osaltarball.sha256sum] = "d14f1f43c8a7965e86add69bd813cea56ea7e38abeb55de3fdcdaf4a69f19bf3" diff --git a/meta-ti-bsp/recipes-ti/swtools/swtools_git.bb b/meta-ti-bsp/recipes-ti/swtools/swtools_git.bb deleted file mode 100644 index d3b9a9b1..00000000 --- a/meta-ti-bsp/recipes-ti/swtools/swtools_git.bb +++ /dev/null @@ -1,52 +0,0 @@ -SUMMARY = "TI Software Tools" -HOMEPAGE = "https://git.ti.com/ep-processor-libraries/swtools" -SECTION = "devel" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://ti/mas/swtools/copyright.txt;md5=b1f52a1435051fdb18f8885b0384147d" - -require ../includes/ti-paths.inc - -DEPENDS = "ti-cgt6x-native \ - ti-sysbios \ - ti-xdctools-native" - -PV = "5_0_8" -PR = "r3" -S = "${WORKDIR}/git" - -SWTOOLS_GIT_BRANCH = "master" -SWTOOLS_GIT_PROTOCOL = "git" -SWTOOLS_GIT_URI = "git://git.ti.com/ep-processor-libraries/swtools.git" -SWTOOLS_SRCREV = "7d1c85e686b1466cd2d535fc9cac5baf1aae24a4" - -SRC_URI = "${SWTOOLS_GIT_URI};protocol=${SWTOOLS_GIT_PROTOCOL};branch=${SWTOOLS_GIT_BRANCH}" -SRCREV = "${SWTOOLS_SRCREV}" - - -export C64PCODEGENTOOL = "${CGTOOLS_INSTALL_DIR}" -export C674CODEGENTOOL = "${CGTOOLS_INSTALL_DIR}" -export C66CODEGENTOOL = "${CGTOOLS_INSTALL_DIR}" - -PATH:append = ":${XDC_INSTALL_DIR}" - -XDCPATH .= "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;" - -export XDCPATH - -do_compile() { - cd ${S}/ti/mas/swtools - xdc -} - -do_install() { - CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - install -d ${D}${SWTOOLS_INSTALL_DIR_RECIPE} - cp ${CP_ARGS} ${S}/* ${D}${SWTOOLS_INSTALL_DIR_RECIPE} -} - -FILES:${PN}-dev += "${SWTOOLS_INSTALL_DIR_RECIPE}" - -INSANE_SKIP:${PN}-dev = "arch staticdev" -ALLOW_EMPTY:${PN} = "1" -COMPATIBLE_HOST ?= "null" -COMPATIBLE_HOST:ti-soc = "(.*)" diff --git a/meta-ti-bsp/recipes-ti/uio-test-pruss/uio-test-pruss_git.bb b/meta-ti-bsp/recipes-ti/uio-test-pruss/uio-test-pruss_git.bb deleted file mode 100644 index 59576daa..00000000 --- a/meta-ti-bsp/recipes-ti/uio-test-pruss/uio-test-pruss_git.bb +++ /dev/null @@ -1,38 +0,0 @@ -DESCRIPTION = "Provides test pruss firmware for uio based tests" -LICENSE = "BSD-3-Clause" -PV = "1.0.2.0" -require recipes-ti/includes/ti-paths.inc - -S = "${WORKDIR}/git" - -DEPENDS = "ti-cgt-pru-native" - -BRANCH = "master" -LIC_FILES_CHKSUM = "file://Makefile;startline=1;endline=31;md5=0ee4f2c42eb6b04e37859bb55a18b144" - -UIO_TEST_PRUSS_GIT_URI = "git://git.ti.com/processor-sdk/uio-test-pruss.git" -UIO_TEST_PRUSS_GIT_PROTOCOL = "git" -SRC_URI = "${UIO_TEST_PRUSS_GIT_URI};protocol=${UIO_TEST_PRUSS_GIT_PROTOCOL};branch=${BRANCH}" - -# Corresponds to version 01.00.02.00 -UIO_TEST_PRUSS_SRCREV = "e52a7b099d7203ca52519650df51419e9fef7e0c" - -SRCREV = "${UIO_TEST_PRUSS_SRCREV}" - -PR = "r0" - -COMPATIBLE_MACHINE = "omap-a15|ti33x|ti43x" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -DEVICE_NAME = "" -DEVICE_NAME:append:am57xx-evm = "am57xx" -DEVICE_NAME:append:ti33x = "am33xx" -DEVICE_NAME:append:ti43x = "am43xx" - -EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR} DEVICE=${DEVICE_NAME}" - -do_install() { - install -d ${D}${bindir}/ - cp -r *.bin ${D}${bindir}/ -} diff --git a/meta-ti-bsp/recipes-ti/vlib/vlib-c66x.inc b/meta-ti-bsp/recipes-ti/vlib/vlib-c66x.inc deleted file mode 100644 index 460964b3..00000000 --- a/meta-ti-bsp/recipes-ti/vlib/vlib-c66x.inc +++ /dev/null @@ -1,32 +0,0 @@ -DESCRIPTION = "TI Vision Library (VLIB) for C66x" -HOMEPAGE = "http://software-dl.ti.com/libs/vlib/latest/index_FDS.html" -SECTION = "devel" -LICENSE = "TI-TSPA & BSD-3-Clause" - -require ../includes/ti-paths.inc -require ../includes/ti-staging.inc -require ../includes/ti-eula-unpack.inc - -COMPATIBLE_MACHINE = "omap-a15" - -SRC_URI = "http://software-dl.ti.com/libs/vlib/${PV}//exports/vlib_c66x_obj_${PV}_Linux.bin;name=vlibbin" - -S = "${WORKDIR}/vlib_c66x_${PV}" - -BINFILE="vlib_c66x_obj_${PV}_Linux.bin" -TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}" -TI_BIN_UNPK_CMDS="" - -do_install() { - CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - install -d ${D}${VLIB_C66_INSTALL_DIR_RECIPE} - cp ${CP_ARGS} ${S}/* ${D}${VLIB_C66_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY:${PN} = "1" -FILES:${PN}-dev += "${VLIB_C66_INSTALL_DIR_RECIPE}" - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" -INSANE_SKIP:${PN}-dev = "installed-vs-shipped arch" diff --git a/meta-ti-bsp/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb b/meta-ti-bsp/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb deleted file mode 100644 index e3742d10..00000000 --- a/meta-ti-bsp/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb +++ /dev/null @@ -1,9 +0,0 @@ -require vlib-c66x.inc - -PV = "3_2_1_0" -PR = "r0" - -LIC_FILES_CHKSUM = "file://docs/VLIB_Software_Manifest.html;md5=75151b04457c8a1ae3c2172ada0eedda" - -SRC_URI[vlibbin.md5sum] = "e292fa3f74be60b9110e0ebcc6840fe7" -SRC_URI[vlibbin.sha256sum] = "05bf16473d60e0252d3a73a7c3d268e540783a226b4bda930e5f6042e7b01bd8" diff --git a/meta-ti-bsp/recipes-ti/xdais/ti-xdais.inc b/meta-ti-bsp/recipes-ti/xdais/ti-xdais.inc deleted file mode 100644 index daa93ddf..00000000 --- a/meta-ti-bsp/recipes-ti/xdais/ti-xdais.inc +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION = "TI eXpress DSP Algorithm Interface Standard (XDAIS) specification" -HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xdais" -LICENSE = "GPLv2" -SECTION = "devel" - -require ../includes/ti-paths.inc -require ../includes/ti-staging.inc - -S = "${WORKDIR}/xdais_${PV}" - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xdais/${PV}/exports/xdais_${PV}.tar.gz;name=xdaistarball" - -do_install() { - CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - install -d ${D}${XDAIS_INSTALL_DIR_RECIPE} - cp ${CP_ARGS} ${S}/* ${D}${XDAIS_INSTALL_DIR_RECIPE} -} - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" -INSANE_SKIP:${PN}-dev = "arch" - -ALLOW_EMPTY:${PN} = "1" -FILES:${PN}-dev += "${XDAIS_INSTALL_DIR_RECIPE}" diff --git a/meta-ti-bsp/recipes-ti/xdais/ti-xdais_6.26.01.03.bb b/meta-ti-bsp/recipes-ti/xdais/ti-xdais_6.26.01.03.bb deleted file mode 100644 index 9fc4cee1..00000000 --- a/meta-ti-bsp/recipes-ti/xdais/ti-xdais_6.26.01.03.bb +++ /dev/null @@ -1,11 +0,0 @@ -require ti-xdais.inc - -PV = "6_26_01_03" -PR = "r1" - -LIC_FILES_CHKSUM = "file://xdais_6_26_01_03_manifest.html;md5=a5a675d49db2f658bb98746ec80cda4e" - -SRC_URI[xdaistarball.md5sum] = "9b2bea3408254e737ec0d819a031adf6" -SRC_URI[xdaistarball.sha256sum] = "d7bcbd8bcfe6fdfc5f402e4b125ced6c806dc30bc5296e98d5d43b0b5a237a0d" - -INSANE_SKIP:${PN} = "installed-vs-shipped" diff --git a/meta-ti-bsp/recipes-ti/xdais/ti-xdais_7.24.00.04.bb b/meta-ti-bsp/recipes-ti/xdais/ti-xdais_7.24.00.04.bb deleted file mode 100644 index 8148f73a..00000000 --- a/meta-ti-bsp/recipes-ti/xdais/ti-xdais_7.24.00.04.bb +++ /dev/null @@ -1,9 +0,0 @@ -require ti-xdais.inc - -PV = "7_24_00_04" -PR = "r1" - -LIC_FILES_CHKSUM = "file://xdais_7_24_00_04_Manifest.html;md5=fd16442230745f0877cfe1c622669fd6" - -SRC_URI[xdaistarball.md5sum] = "f7514085b531f2ae49b37b30194e4989" -SRC_URI[xdaistarball.sha256sum] = "79fd30377ab4c497292aeefb0565f81703d9020d1242b02ca9968c561e0de9a1" diff --git a/meta-ti-extras/licenses/Hewlett-Packard b/meta-ti-extras/licenses/Hewlett-Packard new file mode 100644 index 00000000..569d009c --- /dev/null +++ b/meta-ti-extras/licenses/Hewlett-Packard @@ -0,0 +1,13 @@ +/* + * Copyright (c) 1994 + * Hewlett-Packard Company + * + * Permission to use, copy, modify, distribute and sell this software + * and its documentation for any purpose is hereby granted without fee, + * provided that the above copyright notice appear in all copies and + * that both that copyright notice and this permission notice appear + * in supporting documentation. Hewlett-Packard Company makes no + * representations about the suitability of this software for any + * purpose. It is provided "as is" without express or implied warranty. + * + */ diff --git a/meta-ti-extras/licenses/Patrick-Powell b/meta-ti-extras/licenses/Patrick-Powell new file mode 100644 index 00000000..9c6eac42 --- /dev/null +++ b/meta-ti-extras/licenses/Patrick-Powell @@ -0,0 +1,4 @@ +Copyright Patrick Powell 1995 +This code is based on code written by Patrick Powell (papowell@astart.com) +It may be used for any purpose as long as this notice remains intact +on all source code distributions diff --git a/meta-ti-extras/licenses/Thai-Open-Source-Software-Center b/meta-ti-extras/licenses/Thai-Open-Source-Software-Center new file mode 100644 index 00000000..3a3972dd --- /dev/null +++ b/meta-ti-extras/licenses/Thai-Open-Source-Software-Center @@ -0,0 +1,31 @@ +Copyright (c) 2002, 2003, 2008 Thai Open Source Software Center Ltd +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + Neither the name of the Thai Open Source Software Center Ltd nor + the names of its contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb b/meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file mode 100644 index 00000000..4e863099 --- /dev/null +++ b/meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb @@ -0,0 +1,65 @@ +SUMMARY = "Firmware for DSP for an example application called copycodectest" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM = "file://src/ti/framework/dce/dce.c;startline=1;endline=31;md5=2c6e9aba6ed75f22b1a2b7544b1c809d" + +COMPATIBLE_MACHINE = "dra7xx" + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dsp" + +SRC_URI = "git://git.ti.com/glsdk/dspdce.git;protocol=git" + +SRCREV = "de6e599f067b25c46cc0c8f74a22cc3b8aafbae8" + +PV = "1.00.00.07" + +S = "${WORKDIR}/git" + +require recipes-ti/includes/ti-paths.inc + +PR = "r4" +inherit update-alternatives + +DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native" + +export HWVERSION = "ES10" +export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti" + +export XDCVERSION = "ti-xdctools-tree" +export BIOSVERSION = "ti-sysbios-tree" +export IPCVERSION = "ti-ipc-tree" +export CEVERSION = "ti-codec-engine-tree" +export FCVERSION = "ti-framework-components-tree" +export XDAISVERSION = "ti-xdais-tree" +export OSALVERSION = "ti-osal-tree" + +export IPCSRC = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" +export C66XCGTOOLSPATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" + +do_configure() { + cd ${S} + make unconfig + make vayu_config +} + +do_compile() { + cd ${S} + make dspbin +} + +TARGET = "dra7-dsp1-fw.xe66" + +do_install() { + install -d ${D}${base_libdir}/firmware + install -m 0644 ${S}/dra7xx-c66x-dsp.xe66 ${D}${base_libdir}/firmware/${TARGET}.${BPN} +} + +ALTERNATIVE:${PN} = "dra7-dsp1-fw.xe66" +ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${base_libdir}/firmware/${TARGET}" +ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${base_libdir}/firmware/${TARGET}.${BPN}" +ALTERNATIVE_PRIORITY = "10" + +INSANE_SKIP:${PN} = "arch" + +FILES:${PN} += "${base_libdir}/firmware/*" diff --git a/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb b/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb new file mode 100644 index 00000000..a250b825 --- /dev/null +++ b/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3" + +# This package builds a kernel module, use kernel PR as base and append a local +MACHINE_KERNEL_PR:append = "d" +PR = "${MACHINE_KERNEL_PR}" +PV:append = "+git${SRCPV}" + +S = "${WORKDIR}/git/debugss_module/debugss-mod" + +inherit module + +PLATFORM = "" +PLATFORM:dra7xx = "DRA7xx_PLATFORM" + +EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}' KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}" + +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +include dsptop.inc diff --git a/meta-ti-extras/recipes-bsp/dsptop/dsptop.inc b/meta-ti-extras/recipes-bsp/dsptop/dsptop.inc new file mode 100644 index 00000000..31f775e2 --- /dev/null +++ b/meta-ti-extras/recipes-bsp/dsptop/dsptop.inc @@ -0,0 +1,8 @@ +# This corresponds to version 1.4.0 +SRCREV = "816485e68430bbec643eac9498bfa5303eb2c2e1" +PV = "1.4.0" +INC_PR = "r2" + +SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}" + +BRANCH = "master" diff --git a/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb b/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb new file mode 100644 index 00000000..20818443 --- /dev/null +++ b/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "TI dsptop utility." +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" + +DEPENDS = "libulm ncurses" + +PR = "${INC_PR}.2" + +S = "${WORKDIR}/git/dsptop" + +DEVICE = "" +DEVICE:dra7xx = "DRA7xx" + +EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"" + +do_install() { + oe_runmake install DESTDIR=${D} +} + +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +RDEPENDS:${PN} = "debugss-module-drv bash" + +include dsptop.inc + +PARALLEL_MAKE = "" diff --git a/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb b/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb new file mode 100644 index 00000000..f3e7ec3c --- /dev/null +++ b/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb @@ -0,0 +1,45 @@ +SUMMARY = "TI Usage & Load Monitor Implementation" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dsp" + +DEPENDS = "ti-cgt6x-native" +PR = "${INC_PR}.0" + +S = "${WORKDIR}/git/dsptop/ulm" + +DEVICE="" +DEVICE:dra7xx = "DRA7xx" + +EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" + +do_compile() { + oe_runmake arm XPORT_ONLY CC="${CC}" + oe_runmake dsp C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include +} + +do_install() { + install -d ${D}${includedir} + install -d ${D}${libdir} + install -d ${D}${datadir}/ti/ulm + cp -f tiulm.h ${D}${includedir} + cp -f release/libtiulm.a ${D}${libdir} + cp -f tiulm.h ${D}${datadir}/ti/ulm + cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm +} + +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +FILES:${PN}-dev += "\ + ${datadir}/ti/ulm \ +" + +include dsptop.inc + +ALLOW_EMPTY:${PN} = "1" + +PARALLEL_MAKE= "" diff --git a/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb b/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb new file mode 100644 index 00000000..14d28258 --- /dev/null +++ b/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb @@ -0,0 +1,67 @@ +SUMMARY = "Firmware for IPU to suppor Accelerated MM decode and encode" +LICENSE = "TI-TSPA" + +LIC_FILES_CHKSUM = "file://Texas_Instruments_ipumm_Manifest.pdf;md5=5cc572579f07af266ab57fc17d762c7f" + +COMPATIBLE_MACHINE = "dra7xx" + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "mmip" + +RDEPENDS:${PN} = "libdce" + +SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git" + +SRCREV = "df4c50aecc9aad7ab3eb1ca9ebacfe473fcad7c5" + +S = "${WORKDIR}/git" + +PV = "3.00.15.00" +PR = "r7" + +require recipes-ti/includes/ti-paths.inc + +inherit update-alternatives + +DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos" + +export HWVERSION="ES10" +export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti" + +export XDCVERSION="ti-xdctools-tree" +export BIOSVERSION="ti-sysbios-tree" +export IPCVERSION="ti-ipc-tree" +export CEVERSION="ti-codec-engine-tree" +export FCVERSION="ti-framework-components-tree" +export XDAISVERSION="ti-xdais-tree" + +export TMS470CGTOOLPATH="${M4_TOOLCHAIN_INSTALL_DIR}" +export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" + +EXTRA_OEMAKE += "XDCDIST_TREE=${STAGING_DIR_NATIVE}/usr/share/ti/${XDCVERSION}" + +do_configure() { + oe_runmake unconfig + oe_runmake vayu_smp_config +} + +do_compile() { + oe_runmake +} + +TARGET = "dra7-ipu2-fw.xem4" +TARGET_MAP = "platform/ti/dce/baseimage/package/cfg/out/ipu/release/ipu.xem4.map" + +do_install() { + install -d ${D}${base_libdir}/firmware + install -m 0644 ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET}.${BPN} + install -m 0644 ${S}/${TARGET_MAP} ${D}${base_libdir}/firmware/${TARGET}.map +} + +ALTERNATIVE:${PN} = "dra7-ipu2-fw.xem4" +ALTERNATIVE_LINK_NAME[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}" +ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}.${BPN}" +ALTERNATIVE_PRIORITY = "20" + +FILES:${PN} += "${base_libdir}/firmware/*" diff --git a/meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb b/meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb new file mode 100644 index 00000000..779f96fd --- /dev/null +++ b/meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb @@ -0,0 +1,363 @@ +DESCRIPTION = "Programmable Real-time Unit Software Package" +HOMEPAGE = "http://processors.wiki.ti.com/index.php/PRU-ICSS" +LICENSE = "BSD-3-Clause & PD" + +LIC_FILES_CHKSUM = "file://PRU-Package-v6.1-Manifest.html;md5=1e37797ebe9254922f4278bb6047211c" + +inherit update-alternatives + +BRANCH = "master" +SRC_URI = "git://git.ti.com/pru-software-support-package/pru-software-support-package.git;protocol=git;branch=${BRANCH}" +SRCREV = "8eee431384b6a1a9c96ae91a8e99485176b4d2b3" + +PV = "6.0.1" +PR = "r0" + +require recipes-ti/includes/ti-paths.inc + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PACKAGES:prepend = " \ + ${PN}-halt \ + ${PN}-rpmsg-echo \ +" + +RDEPENDS:${PN}:append = " \ + ${PN}-halt \ + ${PN}-rpmsg-echo \ +" + +DEPENDS = "ti-cgt-pru-native" + +S = "${WORKDIR}/git" + +export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}" +export PRU_SSP = "${S}" + +SUBDIRS = "examples pru_cape/pru_fw lib/src labs" + +PLATFORM:ti33x = "am335x" +PLATFORM:ti43x = "am437x" +PLATFORM:omap-a15 = "am572x" +PLATFORM:am64xx = "am64x" +PLATFORM:am65xx = "am65x" +PLATFORM:j7 = "j721e" + +do_compile() { + for dir in ${SUBDIRS} + do + make -C ${S}/$dir + done +} + +do_install() { + CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + install -d ${D}${base_libdir}/firmware/pru + install -d ${D}${includedir} + cp ${CP_ARGS} ${S}/include/* ${D}${includedir} + install -d ${D}${libdir} + install -m 0644 ${S}/lib/rpmsg_lib.lib ${D}${libdir} +} + +FILES:${PN}-staticdev = "${libdir}" +FILES:${PN}-dev = "${includedir}" + +do_install:append:ti33x() { + install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \ + ${D}${base_libdir}/firmware/pru + for i in 0 1 + do + install -m 0644 ${S}/examples/am335x/PRU_RPMsg_Echo_Interrupt${i}/gen/PRU_RPMsg_Echo_Interrupt${i}.out \ + ${D}${base_libdir}/firmware/pru + done +} + +do_install:append:ti43x() { + install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \ + ${D}${base_libdir}/firmware/pru + for i in 0 1 + do + for j in 0 1 + do + install -m 0644 ${S}/examples/am437x/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \ + ${D}${base_libdir}/firmware/pru + done + done +} + +do_install:append:omap-a15() { + install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \ + ${D}${base_libdir}/firmware/pru + for i in 1 2 + do + for j in 0 1 + do + install -m 0644 ${S}/examples/am572x/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \ + ${D}${base_libdir}/firmware/pru + done + done +} + +do_install:append:am64xx(){ + for i in 0 1 + do + install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \ + ${D}${base_libdir}/firmware/pru + install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \ + ${D}${base_libdir}/firmware/pru + install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \ + ${D}${base_libdir}/firmware/pru + done + for i in 0 1 + do + for j in 0 1 + do + install -m 0644 ${S}/examples/${PLATFORM}/PRU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \ + ${D}${base_libdir}/firmware/pru + install -m 0644 ${S}/examples/${PLATFORM}/RTU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/RTU_RPMsg_Echo_Interrupt${i}_${j}.out \ + ${D}${base_libdir}/firmware/pru + done + done +} + +do_install:append:am65xx() { + for i in 0 1 + do + install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \ + ${D}${base_libdir}/firmware/pru + install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \ + ${D}${base_libdir}/firmware/pru + install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \ + ${D}${base_libdir}/firmware/pru + done + for i in 0 1 2 + do + for j in 0 1 + do + install -m 0644 ${S}/examples/am65x/PRU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \ + ${D}${base_libdir}/firmware/pru + install -m 0644 ${S}/examples/am65x/RTU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/RTU_RPMsg_Echo_Interrupt${i}_${j}.out \ + ${D}${base_libdir}/firmware/pru + + done + done +} + +do_install:append:j7() { + for i in 0 1 + do + install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \ + ${D}${base_libdir}/firmware/pru + install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \ + ${D}${base_libdir}/firmware/pru + install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \ + ${D}${base_libdir}/firmware/pru + done + for i in 0 1 + do + for j in 0 1 + do + install -m 0644 ${S}/examples/j721e/PRU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \ + ${D}${base_libdir}/firmware/pru + install -m 0644 ${S}/examples/j721e/RTU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/RTU_RPMsg_Echo_Interrupt${i}_${j}.out \ + ${D}${base_libdir}/firmware/pru + + done + done +} + + +FILES:${PN}-halt = "${base_libdir}/firmware/pru/PRU_Halt* ${base_libdir}/firmware/pru/RTU_Halt* ${base_libdir}/firmware/pru/TX_PRU_Halt*" +FILES:${PN}-rpmsg-echo = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt* ${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt*" + +# Set up names for the firmwares +PRU_ICSS_ALTERNATIVES:ti33x = "am335x-pru0-fw am335x-pru1-fw" +PRU_ICSS_ALTERNATIVES:ti43x = "am437x-pru0_0-fw am437x-pru0_1-fw am437x-pru1_0-fw am437x-pru1_1-fw" +PRU_ICSS_ALTERNATIVES:omap-a15 = "am57xx-pru1_0-fw am57xx-pru1_1-fw am57xx-pru2_0-fw am57xx-pru2_1-fw" +PRU_ICSS_ALTERNATIVES:am64xx = "am64x-pru0_0-fw am64x-pru0_1-fw am64x-pru1_0-fw am64x-pru1_1-fw am64x-rtu0_0-fw am64x-rtu0_1-fw am64x-rtu1_0-fw am64x-rtu1_1-fw" +PRU_ICSS_ALTERNATIVES:am65xx = "am65x-pru0_0-fw am65x-pru0_1-fw am65x-pru1_0-fw am65x-pru1_1-fw am65x-pru2_0-fw am65x-pru2_1-fw am65x-rtu0_0-fw am65x-rtu0_1-fw am65x-rtu1_0-fw am65x-rtu1_1-fw am65x-rtu2_0-fw am65x-rtu2_1-fw" +PRU_ICSS_ALTERNATIVES:j7 = "j7-pru0_0-fw j7-pru0_1-fw j7-pru1_0-fw j7-pru1_1-fw j7-rtu0_0-fw j7-rtu0_1-fw j7-rtu1_0-fw j7-rtu1_1-fw" + +# Set up link names for the firmwares +ALTERNATIVE_LINK_NAME[am335x-pru0-fw] = "${base_libdir}/firmware/am335x-pru0-fw" +ALTERNATIVE_LINK_NAME[am335x-pru1-fw] = "${base_libdir}/firmware/am335x-pru1-fw" + +ALTERNATIVE_LINK_NAME[am437x-pru0_0-fw] = "${base_libdir}/firmware/am437x-pru0_0-fw" +ALTERNATIVE_LINK_NAME[am437x-pru0_1-fw] = "${base_libdir}/firmware/am437x-pru0_1-fw" +ALTERNATIVE_LINK_NAME[am437x-pru1_0-fw] = "${base_libdir}/firmware/am437x-pru1_0-fw" +ALTERNATIVE_LINK_NAME[am437x-pru1_1-fw] = "${base_libdir}/firmware/am437x-pru1_1-fw" + +ALTERNATIVE_LINK_NAME[am57xx-pru1_0-fw] = "${base_libdir}/firmware/am57xx-pru1_0-fw" +ALTERNATIVE_LINK_NAME[am57xx-pru1_1-fw] = "${base_libdir}/firmware/am57xx-pru1_1-fw" +ALTERNATIVE_LINK_NAME[am57xx-pru2_0-fw] = "${base_libdir}/firmware/am57xx-pru2_0-fw" +ALTERNATIVE_LINK_NAME[am57xx-pru2_1-fw] = "${base_libdir}/firmware/am57xx-pru2_1-fw" + +ALTERNATIVE_LINK_NAME[am64x-pru0_0-fw] = "${base_libdir}/firmware/am64x-pru0_0-fw" +ALTERNATIVE_LINK_NAME[am64x-pru0_1-fw] = "${base_libdir}/firmware/am64x-pru0_1-fw" +ALTERNATIVE_LINK_NAME[am64x-pru1_0-fw] = "${base_libdir}/firmware/am64x-pru1_0-fw" +ALTERNATIVE_LINK_NAME[am64x-pru1_1-fw] = "${base_libdir}/firmware/am64x-pru1_1-fw" +ALTERNATIVE_LINK_NAME[am64x-rtu0_0-fw] = "${base_libdir}/firmware/am64x-rtu0_0-fw" +ALTERNATIVE_LINK_NAME[am64x-rtu0_1-fw] = "${base_libdir}/firmware/am64x-rtu0_1-fw" +ALTERNATIVE_LINK_NAME[am64x-rtu1_0-fw] = "${base_libdir}/firmware/am64x-rtu1_0-fw" +ALTERNATIVE_LINK_NAME[am64x-rtu1_1-fw] = "${base_libdir}/firmware/am64x-rtu1_1-fw" +ALTERNATIVE_LINK_NAME[am64x-txpru0_0-fw] = "${base_libdir}/firmware/am64x-txpru0_0-fw" +ALTERNATIVE_LINK_NAME[am64x-txpru0_1-fw] = "${base_libdir}/firmware/am64x-txpru0_1-fw" +ALTERNATIVE_LINK_NAME[am64x-txpru1_0-fw] = "${base_libdir}/firmware/am64x-txpru1_0-fw" +ALTERNATIVE_LINK_NAME[am64x-txpru1_1-fw] = "${base_libdir}/firmware/am64x-txpru1_1-fw" + +ALTERNATIVE_LINK_NAME[am65x-pru0_0-fw] = "${base_libdir}/firmware/am65x-pru0_0-fw" +ALTERNATIVE_LINK_NAME[am65x-pru0_1-fw] = "${base_libdir}/firmware/am65x-pru0_1-fw" +ALTERNATIVE_LINK_NAME[am65x-pru1_0-fw] = "${base_libdir}/firmware/am65x-pru1_0-fw" +ALTERNATIVE_LINK_NAME[am65x-pru1_1-fw] = "${base_libdir}/firmware/am65x-pru1_1-fw" +ALTERNATIVE_LINK_NAME[am65x-pru2_0-fw] = "${base_libdir}/firmware/am65x-pru2_0-fw" +ALTERNATIVE_LINK_NAME[am65x-pru2_1-fw] = "${base_libdir}/firmware/am65x-pru2_1-fw" +ALTERNATIVE_LINK_NAME[am65x-rtu0_0-fw] = "${base_libdir}/firmware/am65x-rtu0_0-fw" +ALTERNATIVE_LINK_NAME[am65x-rtu0_1-fw] = "${base_libdir}/firmware/am65x-rtu0_1-fw" +ALTERNATIVE_LINK_NAME[am65x-rtu1_0-fw] = "${base_libdir}/firmware/am65x-rtu1_0-fw" +ALTERNATIVE_LINK_NAME[am65x-rtu1_1-fw] = "${base_libdir}/firmware/am65x-rtu1_1-fw" +ALTERNATIVE_LINK_NAME[am65x-rtu2_0-fw] = "${base_libdir}/firmware/am65x-rtu2_0-fw" +ALTERNATIVE_LINK_NAME[am65x-rtu2_1-fw] = "${base_libdir}/firmware/am65x-rtu2_1-fw" +ALTERNATIVE_LINK_NAME[am65x-txpru0_0-fw] = "${base_libdir}/firmware/am65x-txpru0_0-fw" +ALTERNATIVE_LINK_NAME[am65x-txpru0_1-fw] = "${base_libdir}/firmware/am65x-txpru0_1-fw" +ALTERNATIVE_LINK_NAME[am65x-txpru1_0-fw] = "${base_libdir}/firmware/am65x-txpru1_0-fw" +ALTERNATIVE_LINK_NAME[am65x-txpru1_1-fw] = "${base_libdir}/firmware/am65x-txpru1_1-fw" +ALTERNATIVE_LINK_NAME[am65x-txpru2_0-fw] = "${base_libdir}/firmware/am65x-txpru2_0-fw" +ALTERNATIVE_LINK_NAME[am65x-txpru2_1-fw] = "${base_libdir}/firmware/am65x-txpru2_1-fw" + +ALTERNATIVE_LINK_NAME[j7-pru0_0-fw] = "${base_libdir}/firmware/j7-pru0_0-fw" +ALTERNATIVE_LINK_NAME[j7-pru0_1-fw] = "${base_libdir}/firmware/j7-pru0_1-fw" +ALTERNATIVE_LINK_NAME[j7-pru1_0-fw] = "${base_libdir}/firmware/j7-pru1_0-fw" +ALTERNATIVE_LINK_NAME[j7-pru1_1-fw] = "${base_libdir}/firmware/j7-pru1_1-fw" +ALTERNATIVE_LINK_NAME[j7-rtu0_0-fw] = "${base_libdir}/firmware/j7-rtu0_0-fw" +ALTERNATIVE_LINK_NAME[j7-rtu0_1-fw] = "${base_libdir}/firmware/j7-rtu0_1-fw" +ALTERNATIVE_LINK_NAME[j7-rtu1_0-fw] = "${base_libdir}/firmware/j7-rtu1_0-fw" +ALTERNATIVE_LINK_NAME[j7-rtu1_1-fw] = "${base_libdir}/firmware/j7-rtu1_1-fw" +ALTERNATIVE_LINK_NAME[j7-txpru0_0-fw] = "${base_libdir}/firmware/j7-txpru0_0-fw" +ALTERNATIVE_LINK_NAME[j7-txpru0_1-fw] = "${base_libdir}/firmware/j7-txpru0_1-fw" +ALTERNATIVE_LINK_NAME[j7-txpru1_0-fw] = "${base_libdir}/firmware/j7-txpru1_0-fw" +ALTERNATIVE_LINK_NAME[j7-txpru1_1-fw] = "${base_libdir}/firmware/j7-txpru1_1-fw" + +# Create the pru-icss-halt firmware alternatives +ALTERNATIVE:pru-icss-halt = "${PRU_ICSS_ALTERNATIVES}" + +# Only Halt firmware images are supported for the Tx_PRU cores +ALTERNATIVE:pru-icss-halt:append:am64xx = " am64x-txpru0_0-fw am64x-txpru0_1-fw am64x-txpru1_0-fw am64x-txpru1_1-fw" +ALTERNATIVE:pru-icss-halt:append:am65xx = " am65x-txpru0_0-fw am65x-txpru0_1-fw am65x-txpru1_0-fw am65x-txpru1_1-fw am65x-txpru2_0-fw am65x-txpru2_1-fw" +ALTERNATIVE:pru-icss-halt:append:j7 = " j7-txpru0_0-fw j7-txpru0_1-fw j7-txpru1_0-fw j7-txpru1_1-fw" + +ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" +ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" + +ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" +ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" +ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" +ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" + +ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" +ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" +ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" +ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt.out" + +ALTERNATIVE_TARGET_pru-icss-halt[am64x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am64x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am64x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am64x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am64x-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am64x-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am64x-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am64x-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am64x-txpru0_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am64x-txpru0_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am64x-txpru1_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am64x-txpru1_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" + +ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru0_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru0_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru1_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru1_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru2_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru2_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" + +ALTERNATIVE_TARGET_pru-icss-halt[j7-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[j7-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[j7-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[j7-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru0_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru0_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" +ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru1_0-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_0.out" +ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru1_1-fw] = "${base_libdir}/firmware/pru/TX_PRU_Halt_1.out" + + +ALTERNATIVE_PRIORITY_pru-icss-halt = "50" + +# Create the pru-icss-rpmsg-echo firmware alternatives +ALTERNATIVE:pru-icss-rpmsg-echo = "${PRU_ICSS_ALTERNATIVES}" + +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am335x-pru0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am335x-pru1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1.out" + +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out" + +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out" + +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out" + +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru2_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru2_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt2_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt2_1.out" + +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru0_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru0_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru1_0-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru1_1-fw] = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu0_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu0_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu1_0-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out" +ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu1_1-fw] = "${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out" + +ALTERNATIVE_PRIORITY_pru-icss-rpmsg-echo = "100" + +ALLOW_EMPTY:${PN} = "1" + +# This installs PRU firmware, so skip "arch" QA check +INSANE_SKIP:${PN}-halt = "arch" +INSANE_SKIP:${PN}-rpmsg-echo = "arch" diff --git a/meta-ti-extras/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb b/meta-ti-extras/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb new file mode 100644 index 00000000..98ab387c --- /dev/null +++ b/meta-ti-extras/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "Builds eDMA module used by eDMA libraries for PRU sw example applications" +HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://edmautils.c;beginline=1;endline=23;md5=312e9cb8a37a044c617c98a9e980ad1b" + +COMPATIBLE_MACHINE = "omapl138" + +INHIBIT_PACKAGE_STRIP = "1" + +MACHINE_KERNEL_PR:append = "b" +PR = "${MACHINE_KERNEL_PR}" +PV:append = "+svn${SRCPV}" + +SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;protocol=https;user=anonymous;pswd=''" + +SRCREV = "33" + +S = "${WORKDIR}/trunk/peripheral_lib/edma_driver/module" + +inherit module + +EXTRA_OEMAKE += "KERNEL_DIR='${STAGING_KERNEL_DIR}'" + +do_compile:prepend () { + export CCTOOL_PREFIX="${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}" +} + +do_install () { + install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru + install -m 0755 ${S}/edmautils.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru/ +} diff --git a/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x.inc b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x.inc new file mode 100644 index 00000000..eeb18fb1 --- /dev/null +++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x.inc @@ -0,0 +1,9 @@ +# This corresponds to version 1.1.0 +SRCREV = "dd0c82fb5763a6b32dc6d68e561efb66ab8283d7" + +PV = "1.1.0" +INC_PR = "r7" + +SRC_URI = "git://git.ti.com/sdo-emu/gdbc6x.git;protocol=git;branch=${BRANCH}" + +BRANCH = "master" diff --git a/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch new file mode 100644 index 00000000..1cc23b32 --- /dev/null +++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch @@ -0,0 +1,28 @@ +From 0aa294e2bbd37a42266e59cb67687e57bfba4a88 Mon Sep 17 00:00:00 2001 +From: Denys Dmytriyenko +Date: Sat, 15 Feb 2020 15:59:37 -0500 +Subject: [PATCH] libbfd.h: suppress GCC9 -Wstringop-truncation + +Signed-off-by: Denys Dmytriyenko +--- + gdbc6x/bfd/libbfd.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/gdbc6x/bfd/libbfd.h b/gdbc6x/bfd/libbfd.h +index 72d3c50..3465f89 100644 +--- a/gdbc6x/bfd/libbfd.h ++++ b/gdbc6x/bfd/libbfd.h +@@ -34,6 +34,10 @@ + #pragma GCC diagnostic ignored "-Wcast-function-type" + #endif + ++#if __GNUC__ >= 9 ++#pragma GCC diagnostic ignored "-Wstringop-truncation" ++#endif ++ + #include "hashtab.h" + + /* Align an address upward to a boundary, expressed as a number of bytes. +-- +2.7.4 + diff --git a/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/init b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/init new file mode 100644 index 00000000..90210b82 --- /dev/null +++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/init @@ -0,0 +1,48 @@ +#!/bin/bash + +GDB_DEVICE_NAME='/dev/gdbtty$i' +DSP_FIRMWARE_NAME='/lib/firmware/dra7-dsp$[$i+1]-fw.xe66' + +DSP_L2_GLOBAL_OFFSET="40000000" +DSP_L2_GLOBAL_SHIFT="00800000" + +case "$1" in + start) + + dsp_core_l2_offset=$DSP_L2_GLOBAL_OFFSET + + i=0 + while [ -c "`eval echo $GDB_DEVICE_NAME`" ] + do + dsp_firmware=`eval echo $DSP_FIRMWARE_NAME` + + if [ -f "`eval echo $DSP_FIRMWARE_NAME`" ] + then + eval echo "Initializing $GDB_DEVICE_NAME based on $DSP_FIRMWARE_NAME ..." + + gdb_data_local=`eval readelf -s "$DSP_FIRMWARE_NAME" | \ + grep 'gdb_globalData' | \ + awk '{print $2}'` + + echo "gdb_globalData (local) = $gdb_data_local" + printf "gdb_globalData (global) = %X\n" \ + $[0x$gdb_data_local + 0x$dsp_core_l2_offset] + + + printf "%X\n" $[0x$gdb_data_local + 0x$dsp_core_l2_offset] \ + >> `eval echo $GDB_DEVICE_NAME` + fi + i=$[$i + 1] + dsp_core_l2_offset=`printf "%X" $[0x$dsp_core_l2_offset + 0x$DSP_L2_GLOBAL_SHIFT]` + done + ;; + stop) + # Nothing to be done. + ;; + *) + echo "Usage: $0 {start|stop}" + exit 1 + ;; +esac + + diff --git a/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb new file mode 100644 index 00000000..df9aaee9 --- /dev/null +++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "GNU debugger for TI C6X DSP." +SECTION = "devel" +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=bf0fe2872eb3dfeebb2cbe38206fe81f" + +DEPENDS = "ncurses bison-native texinfo flex-native gettext" + +COMPATIBLE_MACHINE = "dra7xx" + +PR = "${INC_PR}.1" + +SRC_URI:append = " \ + file://init \ + file://0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch;striplevel=2 \ +" + +S = "${WORKDIR}/git/gdbc6x" + +inherit update-rc.d +inherit gettext + +CFLAGS += "-fcommon" + +do_configure () { + cd ${S} + ./configure --program-suffix=c6x --target=tic6x-elf-tirtos --host=${HOST_SYS} --prefix=${S}/install_gdb +} + +do_install () { + make install + + # Custom install to prevent conflict with standard GDB. + install -d ${D}${bindir} + install -d ${D}${includedir} + install -m 755 ${S}/install_gdb/bin/gdbc6x ${D}${bindir} + cp -rf ${S}/install_gdb/include/* ${D}${includedir} + + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/gdbserverproxy +} + +RDEPENDS:${PN} = "gdbserverproxy-module-drv bash" + +include gdbc6x.inc + +INITSCRIPT_NAME = "gdbserverproxy" +INITSCRIPT_PARAMS = "defaults 95" + +PARALLEL_MAKE = "" diff --git a/meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb new file mode 100644 index 00000000..fab4fbd2 --- /dev/null +++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "TI gdb-server to be used with c6xgdb." +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://../debian/copyright;md5=82c616b6c8f9c11c46feaaf8f9a11495" + +DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools-native" + +PR = "${INC_PR}.0" + +S = "${WORKDIR}/git/gdbserver-c6x/src" + +PLATFORM = "" +PLATFORM:dra7xx = "DRA7xx_PLATFORM" + +EXTRA_OEMAKE = "PLATFORM=${PLATFORM}" + +export XDAIS_DIR = "${XDAIS_INSTALL_DIR}" +export FC_DIR = "${FC_INSTALL_DIR}" +export TI_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" +export BIOS_DIR = "${SYSBIOS_INSTALL_DIR}" +export XDC_DIR = "${XDC_INSTALL_DIR}" + +# The following is to prevent an unused configure.ac from erroneously +# triggering the QA check for gettext. +EXTRA_OECONF = "--disable-nls" +do_configure() { + : +} + +do_install() { + install -d ${D}${datadir}/ti/gdbc6x/include + install -d ${D}${datadir}/ti/gdbc6x/lib + cp -f ../include/* ${D}${datadir}/ti/gdbc6x/include + cp -f ../lib/* ${D}${datadir}/ti/gdbc6x/lib +} + +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +FILES:${PN}-dev += "\ + ${datadir}/ti/gdbc6x \ +" + +include gdbc6x.inc + +require recipes-ti/includes/ti-paths.inc + +ALLOW_EMPTY:${PN} = "1" + +PARALLEL_MAKE = "" diff --git a/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb new file mode 100644 index 00000000..168e4be3 --- /dev/null +++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "Interface for GDB to commincate witha TI C66X DSP" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=75859989545e37968a99b631ef42722e" + +# This package builds a kernel module, use kernel PR as base and append a local +MACHINE_KERNEL_PR:append = "b" +PR = "${MACHINE_KERNEL_PR}" +PV:append = "+git${SRCPV}" + +S = "${WORKDIR}/git/kernel_module/gdbproxy-mod" + +inherit module + +PLATFORM = "" +PLATFORM:dra7xx = "DRA7xx_PLATFORM" + +EXTRA_OEMAKE = "PLATFORM=${PLATFORM} KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}" + +# The following is to prevent an unused configure.ac from erroneously +# triggering the QA check for gettext. +EXTRA_OECONF = "--disable-nls" +do_configure() { + : +} + +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +include gdbc6x.inc + +KERNEL_MODULE_AUTOLOAD += "gdbserverproxy" diff --git a/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.14.00.bb b/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.14.00.bb new file mode 100644 index 00000000..42482c11 --- /dev/null +++ b/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.14.00.bb @@ -0,0 +1,18 @@ +SUMMARY = "Library for remotely invoking HW accelerated codecs on IVA-HD" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://libdce.h;beginline=1;endline=31;md5=0a398cf815b8b5f31f552266cd453dae" + +inherit autotools pkgconfig + +DEPENDS = "libdrm ti-ipc" + +SRC_URI = "git://git.omapzoom.org/repo/libdce.git;protocol=git" +SRCREV = "f72096090e3063e85ea77cae66b2d99a48d91727" + +PR = "r1" + +S = "${WORKDIR}/git" +EXTRA_OECONF += "IPC_HEADERS=${STAGING_INCDIR}/ti/ipc/mm" + +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST:ti-soc = "(.*)" diff --git a/meta-ti-extras/recipes-ti/README b/meta-ti-extras/recipes-ti/README new file mode 100644 index 00000000..b32c2842 --- /dev/null +++ b/meta-ti-extras/recipes-ti/README @@ -0,0 +1 @@ +Note: some of the packages in this area are not actively maintained. diff --git a/meta-ti-extras/recipes-ti/bios/ti-sysbios.inc b/meta-ti-extras/recipes-ti/bios/ti-sysbios.inc new file mode 100644 index 00000000..0009dfcc --- /dev/null +++ b/meta-ti-extras/recipes-ti/bios/ti-sysbios.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "TI SYS/BIOS v6 Kernel" +HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios" +SECTION = "devel" +LICENSE = "BSD" + +require ../includes/ti-paths.inc +require ../includes/ti-staging.inc +require ../includes/ti-eula-unpack.inc + +S = "${WORKDIR}/bios_${PV}" + +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/${PV}/exports/bios_setuplinux_${PV}.bin;name=sysbiosbin" +BINFILE="bios_${PV}.bin" +TI_BIN_UNPK_CMDS="Y: q:workdir:Y" + +do_install() { + CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + install -d ${D}${SYSBIOS_INSTALL_DIR_RECIPE} + cp ${CP_ARGS} ${S}/* ${D}${SYSBIOS_INSTALL_DIR_RECIPE} +} + +ALLOW_EMPTY:${PN} = "1" +FILES:${PN}-dev += "${SYSBIOS_INSTALL_DIR_RECIPE}" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" +INSANE_SKIP:${PN}-dev = "arch ldflags staticdev file-rdeps" diff --git a/meta-ti-extras/recipes-ti/bios/ti-sysbios_6.76.03.01.bb b/meta-ti-extras/recipes-ti/bios/ti-sysbios_6.76.03.01.bb new file mode 100644 index 00000000..d242510f --- /dev/null +++ b/meta-ti-extras/recipes-ti/bios/ti-sysbios_6.76.03.01.bb @@ -0,0 +1,16 @@ +require recipes-ti/bios/ti-sysbios.inc + +PE = "1" +PV = "6_76_03_01" +PR = "r0" + +LIC_FILES_CHKSUM = "file://manifest_bios_${PV}.html;md5=5cf40699c51b26d36fc01647c0b27fb1" + +SRC_URI[sysbiosbin.md5sum] = "647243209d66d5dd35503b0ec5a84ab9" +SRC_URI[sysbiosbin.sha256sum] = "b762b7f2343d26d367f952488e529046785128005158cc921c3baef08e97116a" + +TI_BIN_UNPK_CMDS = "" +TI_BIN_UNPK_ARGS = "--mode unattended --prefix ${WORKDIR}" + +BINFILE = "bios_${PV}.run" +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/${PV}/exports/${BINFILE};name=sysbiosbin" diff --git a/meta-ti-extras/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb b/meta-ti-extras/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb new file mode 100644 index 00000000..5851b899 --- /dev/null +++ b/meta-ti-extras/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "Codec Engine for TI ARM/DSP processors" +HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce" +SECTION = "devel" +LICENSE = "BSD" + +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-staging.inc + +PV = "3_24_00_08" +PR = "r0" + +LIC_FILES_CHKSUM = "file://codec_engine_${PV}_Manifest.html;md5=de7d9c2594a6f3868e42a33b6a748ce7" + +SRC_URI[cetarball.md5sum] = "d66a8ccbd6cdfe9f735af9f4a07e2b9b" +SRC_URI[cetarball.sha256sum] = "ed7b7399903bbf76af06ee6457836f344ad75b903618339bae82b3967f27ffa1" + +S = "${WORKDIR}/codec_engine_${PV}" + +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce/${PV}/exports/codec_engine_${PV},lite.tar.gz;name=cetarball " + +do_install() { + CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + # Install/Stage the Source Tree + install -d ${D}${CE_INSTALL_DIR_RECIPE} + cp ${CP_ARGS} ${S}/* ${D}${CE_INSTALL_DIR_RECIPE} +} + +ALLOW_EMPTY:${PN} = "1" +FILES:${PN}-dev += "${CE_INSTALL_DIR_RECIPE}" diff --git a/meta-ti-extras/recipes-ti/ctoolslib/libaet_git.bb b/meta-ti-extras/recipes-ti/ctoolslib/libaet_git.bb new file mode 100644 index 00000000..c15ab229 --- /dev/null +++ b/meta-ti-extras/recipes-ti/ctoolslib/libaet_git.bb @@ -0,0 +1,38 @@ +SUMMARY = "TI Emulation CTools AET library" +DESCRIPTION = "The AETLIB library provides programmatic access to the Advanced Event Triggering capability on C6x processor cores" + +LICENSE = "BSD" + +PV = "4.19.0.0" + +LIC_FILES_CHKSUM = "file://../ctoolslib_manifest.html;md5=b7dd369a2e07ef9a71795ee5a9bd01bd" + +SRC_URI = "git://git.ti.com/sdo-emu/ctoolslib.git;protocol=git;branch=opencl_aetlib_build" +SRCREV = "de7954abab0f0caa8a2c7b53095c30226d901a31" + +DEPENDS = "ti-cgt6x-native" +PR = "r0" + +S = "${WORKDIR}/git/aet" + +DEVICE="" +DEVICE:dra7xx = "DRA7xx" + +EXTRA_OEMAKE = "C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include" + +do_install() { + install -d ${D}${datadir}/ti/ctoolslib/aet + install -d ${D}${datadir}/ti/ctoolslib/aet/include + install -d ${D}${datadir}/ti/ctoolslib/aet/lib + cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${S}/include/* ${D}${datadir}/ti/ctoolslib/aet/include/ + install -m 0644 ${S}/build/c66/libaet.ae66 ${D}${datadir}/ti/ctoolslib/aet/lib/ +} + +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +FILES:${PN}-dev += "\ + ${datadir}/ti/ctoolslib/aet \ +" + +ALLOW_EMPTY:${PN} = "1" diff --git a/meta-ti-extras/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb b/meta-ti-extras/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb new file mode 100644 index 00000000..e0feb02c --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "Baremetal GCC for ARM" +LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" + +LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=f77466c63f5787f4bd669c402aabe061" + +require recipes-ti/includes/ti-paths.inc + +SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2;name=gcc-arm-none" + +SRC_URI[gcc-arm-none.md5sum] = "299ebd3f1c2c90930d28ab82e5d8d6c0" +SRC_URI[gcc-arm-none.sha256sum] = "bb17109f0ee697254a5d4ae6e5e01440e3ea8f0277f2e8169bf95d07c7d5fe69" + +S = "${WORKDIR}/gcc-arm-none-eabi-7-2018-q2-update" + +# only x86_64 is supported +COMPATIBLE_HOST = "x86_64.*-linux" +COMPATIBLE_HOST:class-target = "null" + +do_install() { + install -d ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE} + cp -r ${S}/. ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE} +} + +FILES:${PN} = "${GCC_ARM_NONE_TOOLCHAIN_RECIPE}/*" + +INSANE_SKIP:${PN} = "already-stripped libdir staticdev build-deps file-rdeps" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cg-xml_2.61.00.bb b/meta-ti-extras/recipes-ti/devtools/ti-cg-xml_2.61.00.bb new file mode 100644 index 00000000..8e36be6d --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/ti-cg-xml_2.61.00.bb @@ -0,0 +1,40 @@ +DESCRIPTION = "TI CG_XML" +HOMEPAGE = "http://software-dl.ti.com/ccs/non-esd/releases/other/applications_packages/cg_xml/index.htm" +SECTION = "devel" +LICENSE = "BSD" + +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-staging.inc +require recipes-ti/includes/ti-unpack.inc + +PV = "2.61.00" +PE = "1" +S = "${WORKDIR}/cg_xml_${PV}" + +SRC_URI = "\ + http://software-dl.ti.com/ccs/non-esd/releases/other/applications_packages/cg_xml/cg_xml_v${@'${PV}'.replace('.','_')}/cgxml-${PV}-linux-installer.run;name=cgxmlbin_linux \ +" +LIC_FILES_CHKSUM = "file://cg_xml_${PV}_Manifest.pdf;md5=fc02a39748ba50373f32b2f4a5e3a684" + +SRC_URI[cgxmlbin_linux.md5sum] = "6ce60caa97bbf15158d806fb062fadff" +SRC_URI[cgxmlbin_linux.sha256sum] = "da77cb10bd3d5de89e27e4ce8f4408a2e50775c8980225f9a828ddc242bb81f9" + +BINFILE="cgxml-${PV}-linux-installer.run" +TI_BIN_UNPK_CMDS="" +TI_BIN_UNPK_ARGS="--prefix ${S} --mode unattended" + +do_install() { + CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + install -d ${D}${CG_XML_INSTALL_DIR_RECIPE} + cp ${CP_ARGS} ${S}/* ${D}${CG_XML_INSTALL_DIR_RECIPE} +} + +FILES:${PN} += "${CG_XML_INSTALL_DIR_RECIPE}" + +INSANE_SKIP:${PN} = "arch ldflags file-rdeps" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb new file mode 100644 index 00000000..b7b6d9b1 --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb @@ -0,0 +1,44 @@ +SUMMARY = "TI ARM Code Generation Tools" +HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" +LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Patrick-Powell & AFL-3.0 & MIT & BSD-2-Clause & PD & BSD-4-Clause" + +LIC_FILES_CHKSUM = "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=79631eb21b2e5b7190cd3ff1dfd41108" + +require recipes-ti/includes/ti-unpack.inc +require recipes-ti/includes/ti-staging.inc +require recipes-ti/includes/ti-paths.inc + +S = "${WORKDIR}/ti-cgt-arm-${PV}" + +PE = "1" +PR = "r0" + +SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}" + +BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin" +TI_BIN_UNPK_ARGS = "--prefix ${S}" +TI_BIN_UNPK_CMDS = "" + +# only x86_64 is supported +COMPATIBLE_HOST = "x86_64.*-linux" +COMPATIBLE_HOST:class-target = "null" + +do_install() { + install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} + cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} +} + +SRC_URI[cgt_arm_installer.md5sum] = "e9e668332cf86c965b4da9d1d488426b" +SRC_URI[cgt_arm_installer.sha256sum] = "da976143128c619a278cb4214a4295c409d100f9e65ad2f4d0d1039db7cf98f4" + +BINFILE_NAME = "cgt_arm_installer" + +FILES:${PN} += "${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + +INSANE_SKIP:${PN} += "arch staticdev file-rdeps" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.2.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.2.bb new file mode 100644 index 00000000..8b3e2a07 --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.2.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "TI PRU Code Generation Tools" +HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" +LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD" + +LIC_FILES_CHKSUM = "file://ti-cgt-pru_${PV}/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc" +LIC_FILES_CHKSUM:class-target = "file://usr/share/doc/ti/cgt-pru/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc" + +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-unpack.inc + +BINFILE = "ti_cgt_pru_${PV}_linux_installer_x86.bin" +BINFILE_NAME = "cgt-pru-x86" +TI_BIN_UNPK_ARGS = "--prefix ${S}" +TI_BIN_UNPK_CMDS = "" + +BINFILE:class-target = "ti_cgt_pru_${PV}_armlinuxa8hf_busybox_installer.sh" +BINFILE_NAME:class-target = "cgt-pru-arm" + +SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/${PV}/${BINFILE};name=${BINFILE_NAME}" + +SRC_URI[cgt-pru-x86.md5sum] = "270a0ecca383f66cad3a0e2a738c6ab0" +SRC_URI[cgt-pru-x86.sha256sum] = "af1178a059d46d67d5672df053dd2fbebb0b89a513b17b8739dbe915b4a5d71a" + +SRC_URI[cgt-pru-arm.md5sum] = "fbf10083af1b0e5d69b018126603bb58" +SRC_URI[cgt-pru-arm.sha256sum] = "75ac84775a5624ea7e4fad4efc1acb7e869c79160550d48ba780068a3dce879c" + +do_install() { + install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE} + cp -r ${S}/ti-cgt-pru_${PV}/. \ + ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}/ +} + +do_install:class-target() { + ${WORKDIR}/${BINFILE} --prefix ${D} +} + +FILES:${PN} += "${datadir}/ti/*" + +FILES:${PN}-dbg = "${TI_CGT_PRU_INSTALL_DIR_RECIPE}/bin/.debug \ + ${TI_CGT_PRU_INSTALL_DIR_RECIPE}/lib/.debug \ +" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + +INSANE_SKIP:${PN} += "arch staticdev already-stripped file-rdeps" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt470.inc b/meta-ti-extras/recipes-ti/devtools/ti-cgt470.inc new file mode 100644 index 00000000..f0992aa7 --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt470.inc @@ -0,0 +1,24 @@ +DESCRIPTION = "TI ARM Code Generation Tools" +HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/CodeGenerationTools.htm" +SECTION = "devel" +LICENSE = "TI" + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=62f46f1125a152a2e213b414db7ac600" + +require ../includes/ti-paths.inc +require ../includes/ti-staging.inc +require ../includes/ti-eula-unpack.inc + +S = "${WORKDIR}/cgt470_${PV}" + +SRC_URI = "http://install.source.dir.local/ti_cgt_tms470_${PVwithdots}_setup_linux_x86.bin;name=cgt470bin" + +BINFILE="ti_cgt_tms470_${PVwithdots}_setup_linux_x86.bin" +TI_BIN_UNPK_CMDS="Y:qY:workdir: : " +TI_BIN_UNPK_WDEXT="/cgt470_${PV}" + +do_install() { + install -d ${D}${CODEGEN_ARM_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${CODEGEN_ARM_INSTALL_DIR_RECIPE} +} + diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt470_4.6.6.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt470_4.6.6.bb new file mode 100644 index 00000000..6ff2cc48 --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt470_4.6.6.bb @@ -0,0 +1,8 @@ +require ti-cgt470.inc + +PV = "4_6_6" +PVwithdots = "4.6.6" + +SRC_URI[cgt470bin.md5sum] = "29a316dc6b8c8c3a53e0d6c956acb62b" +SRC_URI[cgt470bin.sha256sum] = "a17bc7139f450672503c932ef53b00c425522890e031b4a7c9135fdf90815740" + diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb new file mode 100644 index 00000000..a7de8e38 --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb @@ -0,0 +1,46 @@ +SUMMARY = "TI DSP Code Generation Tools" +DESCRIPTION = "Texas Instrument (TI) Code Generation Tools are custom \ +utilities targeted for TI embedded processors. This Digital Signal \ +Processor (DSP) suite contains tools needed to create and debug \ +applications for the C6000 DSP family. This includes tools such as: \ +compiler, linker, assembler, etc. This also includes C runtime \ +libraries and standard header files needed to produce a working DSP application." + +HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" +LICENSE = "TI-TSPA" + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca" + +S = "${WORKDIR}/c6000_7.4.16" + +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-unpack.inc + +BINFILE = "ti_cgt_c6000_7.4.16_linux_installer_x86.bin" +BINFILE_NAME = "cgt6x_7.4.16_x86_installer" +TI_BIN_UNPK_ARGS = "--prefix ${WORKDIR} --mode unattended" +TI_BIN_UNPK_CMDS="" + +SRC_URI = "http://install.source.dir.local/${BINFILE};name=${BINFILE_NAME}" + +SRC_URI[cgt6x_7.4.16_x86_installer.md5sum] = "21ca55c5b1f6b2d8d4fb7570d5eb5513" +SRC_URI[cgt6x_7.4.16_x86_installer.sha256sum] = "baa0d1ef20397383f99f45068a6d160963a01419d42fbbb851263b54c91df82f" + +# only x86_64 is supported +COMPATIBLE_HOST = "x86_64.*-linux" +COMPATIBLE_HOST:class-target = "null" + +do_install() { + install -d ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} + cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${WORKDIR}/c6000_7.4.16/. ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} +} + +FILES:${PN} += "${TI_CGT6X_7_INSTALL_DIR_RECIPE}" + +INSANE_SKIP:${PN} += "arch staticdev textrel" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb new file mode 100644 index 00000000..fd34657a --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb @@ -0,0 +1,107 @@ +DESCRIPTION = "TI DSP Code Generation Tools" +HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" +LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Patrick-Powell & AFL-3.0 & MIT & BSD-2-Clause & PD" + +LIC_FILES_CHKSUM = "file://ti-cgt-c6000_${PV}/C6000CodeGenerationTools_8.3.x_manifest.html;md5=d06c6f9acebf78df4108a8535396e9f1" +LIC_FILES_CHKSUM:class-target = "file://usr/share/doc/ti/cgt-c6x/C6000CodeGenerationTools_8.3.x_manifest.html;md5=d06c6f9acebf78df4108a8535396e9f1" + +PE = "1" + +require recipes-ti/includes/ti-unpack.inc + +COMPATIBLE_HOST:class-target = "arm.*-linux" + +# For now we only have hardfp version for target class +python __anonymous() { + c = d.getVar("CLASSOVERRIDE") + + if c == "class-target": + tunes = d.getVar("TUNE_FEATURES") + if not tunes: + return + pkgn = d.getVar("PN") + pkgv = d.getVar("PV") + if "callconvention-hard" not in tunes: + bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) + raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) +} + +BINFILE = "ti_cgt_c6000_${PV}_linux_installer_x86.bin" +BINFILE_NAME = "cgt6x_x86_installer" +TI_BIN_UNPK_ARGS = "--prefix ${S}" +TI_BIN_UNPK_CMDS = "" + +BINFILE:class-target = "ti_cgt_c6000_${PV}_armlinuxa8hf_busybox_installer.sh" +BINFILE_NAME:class-target = "cgt6x_arm_installer" + +SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/C6000/${PV}/${BINFILE};name=${BINFILE_NAME}" + +SRC_URI[cgt6x_x86_installer.md5sum] = "f1f534e6a4bdee6df39e8d0cb458d161" +SRC_URI[cgt6x_x86_installer.sha256sum] = "1fba2a8f5532b33a23677771d686a866171ce7a0e567fed50d900d0ecd2e17e6" + +SRC_URI[cgt6x_arm_installer.md5sum] = "425d82308e71202ad004a36b7ec3cec9" +SRC_URI[cgt6x_arm_installer.sha256sum] = "70c387ddde379194fed712087be6cb0ca5f4f0e65d7f29bd7462c38ee011928f" + +do_install() { + install -d ${D}${bindir} + for binfile in ${S}/ti-cgt-c6000_${PV}/bin/*; do + install -m 755 ${binfile} ${D}${bindir} + done + + install -d ${D}${datadir}/ti/cgt-c6x/bin + for binfile in ${S}/ti-cgt-c6000_${PV}/bin/*; do + install -m 755 ${binfile} ${D}${datadir}/ti/cgt-c6x/bin + done + + CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + cp ${CP_ARGS} ${S}/ti-cgt-c6000_${PV}/include ${D}${datadir}/ti/cgt-c6x/include + + install -d ${D}${datadir}/ti/cgt-c6x/lib + for libfile in ${S}/ti-cgt-c6000_${PV}/lib/*.a; do + install -m 644 ${libfile} ${D}${datadir}/ti/cgt-c6x/lib + done + + for libfile in ${S}/ti-cgt-c6000_${PV}/lib/*.cmd; do + install -m 644 ${libfile} ${D}${datadir}/ti/cgt-c6x/lib + done + + for libfile in ${S}/ti-cgt-c6000_${PV}/lib/*.lib; do + install -m 644 ${libfile} ${D}${datadir}/ti/cgt-c6x/lib + done + + install -d ${D}${datadir}/man/man1 + for manfile in ${S}/ti-cgt-c6000_${PV}/man/man1/*; do + if [ -e ${manfile} ]; then + install -m 644 ${manfile} ${D}${datadir}/man/man1 + fi + done + + install -d ${D}${datadir}/doc/ti/cgt-c6x + for docfile in ${S}/ti-cgt-c6000_${PV}/*.txt; do + install -m 644 ${docfile} ${D}${datadir}/doc/ti/cgt-c6x + done + + for docfile in ${S}/ti-cgt-c6000_${PV}/*.html; do + install -m 644 ${docfile} ${D}${datadir}/doc/ti/cgt-c6x + done + + for docfile in ${S}/ti-cgt-c6000_${PV}/*.spdx; do + install -m 644 ${docfile} ${D}${datadir}/doc/ti/cgt-c6x + done + +} + +do_install:class-target() { + ${WORKDIR}/${BINFILE} --prefix ${D} +} + +FILES:${PN} += "${datadir}/ti/*" + +FILES:${PN}-dbg += "${datadir}/ti/cgt-c6x/bin/.debug" + +INSANE_SKIP:${PN} += "staticdev" +INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${datadir}/ti/cgt-c6x/lib/libc.a" + +BBCLASSEXTEND = "native nativesdk" + +COMPATIBLE_MACHINE:class-target = "(ti-soc)" diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt7x_1.2.0.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt7x_1.2.0.bb new file mode 100644 index 00000000..b45b52a3 --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt7x_1.2.0.bb @@ -0,0 +1,49 @@ +SUMMARY = "TI DSP Code Generation Tools" +DESCRIPTION = "Texas Instruments (TI) Code Generation Tools are custom \ +utilities targeted for TI embedded processors. This Digital Signal \ +Processor (DSP) suite contains tools needed to create and debug \ +applications for the C7000 DSP family. This includes tools such as: \ +compiler, linker, assembler, etc. This also includes C runtime \ +libraries and standard header files needed to produce a working DSP application." +HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" +LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Patrick-Powell & AFL-3.0 & MIT & BSD-2-Clause & PD" + +LIC_FILES_CHKSUM = "file://ti-cgt-c7000_${PV}.STS/C7000_Code_Generation_Tools_1.x_manifest.html;md5=f1156d241d104c281bc64a6ec8eadc64" + +require recipes-ti/includes/ti-unpack.inc +require recipes-ti/includes/ti-paths.inc + +# only x86_64 is supported +COMPATIBLE_HOST = "x86_64.*-linux" +COMPATIBLE_HOST:class-target = "null" + +PE = "1" + +BINFILE = "ti_cgt_c7000_${PV}.STS_linux_installer_x86.bin" +BINFILE_NAME = "cgt7x_x86_installer" + +SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/C7000/${PV}.STS/${BINFILE};name=${BINFILE_NAME}" + +TI_BIN_UNPK_ARGS = "--prefix ${S}" +TI_BIN_UNPK_CMDS = "" + +SRC_URI[cgt7x_x86_installer.md5sum] = "813840908f333dd2a31f92edec71c1fb" +SRC_URI[cgt7x_x86_installer.sha256sum] = "21379811a8857489f72ca8ec45a46eb086ced0bdbb58e78f73a86e63984ab2f5" + +S = "${WORKDIR}/c7000_${PV}" + +do_install() { + install -d ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE} + cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${WORKDIR}/c7000_${PV}/ti-cgt-c7000_${PV}.STS/. ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE} +} + + +FILES:${PN} += "${TI_CGT7X_INSTALL_DIR_RECIPE}" + +INSANE_SKIP:${PN} += "arch staticdev textrel" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-ti-extras/recipes-ti/devtools/ti-xdctools-common.inc b/meta-ti-extras/recipes-ti/devtools/ti-xdctools-common.inc new file mode 100644 index 00000000..3caf7b8d --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/ti-xdctools-common.inc @@ -0,0 +1,70 @@ +DESCRIPTION = "TI XDCtools (RTSC - Real Time Software Components - http://rtsc.eclipse.org)" +HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc" +SECTION = "devel" +LICENSE = "BSD & GPLv2" + +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-staging.inc + +do_install() { + CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + + install -d ${D}${XDC_INSTALL_DIR_RECIPE} + cp ${CP_ARGS} ${S}/* ${D}${XDC_INSTALL_DIR_RECIPE} +} + +FILES:${PN}-dev = "${XDC_INSTALL_DIR_RECIPE}" + +BBCLASSEXTEND = "native nativesdk" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" +INSANE_SKIP:${PN}-dev = "libdir dev-elf arch file-rdeps" + +# Prevent internal libs from getting picked up +PRIVATE_LIBS = " \ +libncdb.so \ +libcdb.so \ +libjavaplugin_oji.so \ +libjavaplugin_jni.so \ +libjsound.so \ +libinstrument.so \ +libjawt.so \ +libzip.so \ +libjava_crw_demo.so \ +libjavaplugin_nscp_gcc29.so \ +libhprof.so \ +libcmm.so \ +libjdwp.so \ +libmlib_image.so \ +libjpeg.so \ +libverify.so \ +libjavaplugin_nscp.so \ +libmanagement.so \ +libunpack.so \ +librmi.so \ +libJdbcOdbc.so \ +libawt.so \ +libnet.so \ +libjaas_unix.so \ +libnio.so \ +libdcpr.so \ +libioser12.so \ +libjsoundalsa.so \ +libjava.so \ +libfontmanager.so \ +libdt_socket.so \ +libmawt.so \ +libjvm.so \ +libhpi.so \ +lib.so \ +libcairo.so.2 \ +libjli.so \ +libawt_xawt.so \ +" + +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST:ti-soc = "(.*)" +COMPATIBLE_HOST:class-native = "(.*)" +COMPATIBLE_HOST:class-nativesdk = "(.*)" diff --git a/meta-ti-extras/recipes-ti/devtools/ti-xdctools-core.inc b/meta-ti-extras/recipes-ti/devtools/ti-xdctools-core.inc new file mode 100644 index 00000000..47f73b6d --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/ti-xdctools-core.inc @@ -0,0 +1,5 @@ +require ti-xdctools-common.inc + +S = "${WORKDIR}/xdctools_${PV}_core" + +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/${PV}/exports/xdccore/xdctools_${PV}_core_linux.zip;name=xdczip" diff --git a/meta-ti-extras/recipes-ti/devtools/ti-xdctools.inc b/meta-ti-extras/recipes-ti/devtools/ti-xdctools.inc new file mode 100644 index 00000000..1415f83e --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/ti-xdctools.inc @@ -0,0 +1,10 @@ +require ti-xdctools-common.inc +require ../includes/ti-eula-unpack.inc + +S = "${WORKDIR}/xdctools_${PV}" + +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/${PV}/exports/xdctools_setuplinux_${PV}.bin;name=xdcbin" + +BINFILE="xdctools_setuplinux_${PV}.bin" +TI_BIN_UNPK_CMDS="Y:workdir:Y" +TI_BIN_UNPK_WDEXT="/ti" diff --git a/meta-ti-extras/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb b/meta-ti-extras/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb new file mode 100644 index 00000000..6c3fdeb2 --- /dev/null +++ b/meta-ti-extras/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb @@ -0,0 +1,10 @@ +require recipes-ti/devtools/ti-xdctools-core.inc + +PE = "1" +PV = "3_55_02_22" +PR = "r0" + +LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;beginline=1;endline=140;md5=2e742b9757bc9ce0241aadba9f627ab8" + +SRC_URI[xdczip.md5sum] = "bb9154d677ce4724a5eac73817b23a0f" +SRC_URI[xdczip.sha256sum] = "bf90dfbbe298458c736d81d5631db25b335e79146923a4a50fab217e02723e7b" diff --git a/meta-ti-extras/recipes-ti/dsplib/dsplib-c64xp_git.bb b/meta-ti-extras/recipes-ti/dsplib/dsplib-c64xp_git.bb new file mode 100644 index 00000000..1550a538 --- /dev/null +++ b/meta-ti-extras/recipes-ti/dsplib/dsplib-c64xp_git.bb @@ -0,0 +1,6 @@ +include dsplib.inc + +MATHLIB_INSTALL_DIR = "${MATHLIB_C64P_INSTALL_DIR}/packages" +DSPLIB_INSTALL_DIR_RECIPE = "${DSPLIB_C64P_INSTALL_DIR_RECIPE}" +DSPLIB_INSTALL_DIR = "${DSPLIB_C64P_INSTALL_DIR}" +DSPLIB_BUILD_TARGET = "c64Px" diff --git a/meta-ti-extras/recipes-ti/dsplib/dsplib-c66x_git.bb b/meta-ti-extras/recipes-ti/dsplib/dsplib-c66x_git.bb new file mode 100644 index 00000000..b28d8df6 --- /dev/null +++ b/meta-ti-extras/recipes-ti/dsplib/dsplib-c66x_git.bb @@ -0,0 +1,8 @@ +include dsplib.inc + +MATHLIB_INSTALL_DIR = "${MATHLIB_C66_INSTALL_DIR}/packages" +DSPLIB_INSTALL_DIR_RECIPE = "${DSPLIB_C66_INSTALL_DIR_RECIPE}" +DSPLIB_INSTALL_DIR = "${DSPLIB_C66_INSTALL_DIR}" +DSPLIB_BUILD_TARGET = "c66x" + +DEPENDS += "mathlib-c66x" diff --git a/meta-ti-extras/recipes-ti/dsplib/dsplib-c674x_git.bb b/meta-ti-extras/recipes-ti/dsplib/dsplib-c674x_git.bb new file mode 100644 index 00000000..47974ea1 --- /dev/null +++ b/meta-ti-extras/recipes-ti/dsplib/dsplib-c674x_git.bb @@ -0,0 +1,8 @@ +include dsplib.inc + +MATHLIB_INSTALL_DIR = "${MATHLIB_C674_INSTALL_DIR}/packages" +DSPLIB_INSTALL_DIR_RECIPE = "${DSPLIB_C674_INSTALL_DIR_RECIPE}" +DSPLIB_INSTALL_DIR = "${DSPLIB_C674_INSTALL_DIR}" +DSPLIB_BUILD_TARGET = "c674x" + +DEPENDS += "mathlib-c674x" diff --git a/meta-ti-extras/recipes-ti/dsplib/dsplib.inc b/meta-ti-extras/recipes-ti/dsplib/dsplib.inc new file mode 100644 index 00000000..85d79ae3 --- /dev/null +++ b/meta-ti-extras/recipes-ti/dsplib/dsplib.inc @@ -0,0 +1,78 @@ +SUMMARY = "DSPLIB contains optimized signal processing functions for TI DSPs" +HOMEPAGE = "http://git.ti.com/ep-processor-libraries/dsplib" +LICENSE = "BSD-3-Clause" + +require ../includes/ti-paths.inc + +PV = "3_4_0_4" +PR = "r2" + +DEPENDS = "ti-cgt6x-native \ + ti-xdctools-native \ + ti-sysbios \ + doxygen-native \ + zip-native \ + swtools" + +S = "${WORKDIR}/git" + +DSPLIB_GIT_BRANCH = "master" +DSPLIB_GIT_PROTOCOL = "git" +DSPLIB_GIT_URI = "git://git.ti.com/ep-processor-libraries/dsplib.git" +DSPLIB_SRCREV = "0390b171042c602e07669fd28a371cc319b90161" + +SRC_URI = "${DSPLIB_GIT_URI};protocol=${DSPLIB_GIT_PROTOCOL};branch=${DSPLIB_GIT_BRANCH}" +SRCREV = "${DSPLIB_SRCREV}" + +LIC_FILES_CHKSUM = "file://ti/dsplib/src/common/c66/lnk.cmd;beginline=1;endline=37;md5=0f0c9c4d51d8af75419781591ace190b" + +export DSPLIB_WORK_DIR="${S}" +export CGTOOLS_INSTALL_DIR = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" +export C64PCODEGENTOOL="${CGTOOLS_INSTALL_DIR}" +export C674CODEGENTOOL="${CGTOOLS_INSTALL_DIR}" +export C66CODEGENTOOL ="${CGTOOLS_INSTALL_DIR}" +export SWTOOLS_PATH = "${SWTOOLS_INSTALL_DIR}/ti/mas/swtools" +export XDCBUILDCFG="${SWTOOLS_PATH}/config.bld" +export INCDIR="${MATHLIB_INSTALL_DIR}/" + +PATH:append = ":${XDC_INSTALL_DIR}" + +XDCPATH.="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;" +XDCPATH.="${SWTOOLS_INSTALL_DIR};${MATHLIB_INSTALL_DIR};${DSPLIB_WORK_DIR};" + +export XDCPATH + +DSPLIB_PACKAGE_NAME = "dsplib_${DSPLIB_BUILD_TARGET}_${PV}" + +do_compile() { + cd ${DSPLIB_WORK_DIR}/ti/dsplib; + xdc XDCARGS="${DSPLIB_BUILD_TARGET} bundle" XDCOPTIONS="-v" +} + +do_install() { + install -d ${D}${DSPLIB_INSTALL_DIR_RECIPE} + + find -name "${DSPLIB_PACKAGE_NAME}.zip" -exec unzip -o {} -d ${D}${DSPLIB_INSTALL_DIR_RECIPE} \; + cp -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib/. ${D}${DSPLIB_INSTALL_DIR_RECIPE} + rm -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib +} + +inherit deploy +addtask deploy before do_build after do_install + +do_deploy() { + install -d ${DEPLOYDIR} + # zip up files in ${D}${DSPLIB_INSTALL_DIR_RECIPE} + # and place the zip file in ${DEPLOYDIR} + mkdir ./${DSPLIB_PACKAGE_NAME} + cp -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/. ./${DSPLIB_PACKAGE_NAME} + zip -9 -y -r -q ${DEPLOYDIR}/${DSPLIB_PACKAGE_NAME}.zip ./${DSPLIB_PACKAGE_NAME} + rm -r ./${DSPLIB_PACKAGE_NAME} +} + +ALLOW_EMPTY:${PN} = "1" +FILES:${PN}-dev += "${DSPLIB_INSTALL_DIR_RECIPE}" + +INSANE_SKIP:${PN}-dev = "arch" +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST:ti-soc = "(.*)" diff --git a/meta-ti-extras/recipes-ti/framework-components/ti-framework-components.inc b/meta-ti-extras/recipes-ti/framework-components/ti-framework-components.inc new file mode 100644 index 00000000..e8b7c414 --- /dev/null +++ b/meta-ti-extras/recipes-ti/framework-components/ti-framework-components.inc @@ -0,0 +1,21 @@ +DESCRIPTION = "TI Framework Components" +HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/fc" +SECTION = "devel" +LICENSE = "BSD" + +require recipes-ti/includes/ti-paths.inc + +S = "${WORKDIR}/framework_components_${PV}" + +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/fc/${PV}/exports/framework_components_${PV},lite.tar.gz;name=fctarball" + +do_install() { + CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + install -d ${D}${FC_INSTALL_DIR_RECIPE} + cp ${CP_ARGS} ${S}/* ${D}${FC_INSTALL_DIR_RECIPE} +} + +INSANE_SKIP:${PN} = "ldflags" + +ALLOW_EMPTY:${PN} = "1" +FILES:${PN}-dev += "${FC_INSTALL_DIR_RECIPE}" diff --git a/meta-ti-extras/recipes-ti/framework-components/ti-framework-components_2.26.00.01.bb b/meta-ti-extras/recipes-ti/framework-components/ti-framework-components_2.26.00.01.bb new file mode 100644 index 00000000..1ec10b15 --- /dev/null +++ b/meta-ti-extras/recipes-ti/framework-components/ti-framework-components_2.26.00.01.bb @@ -0,0 +1,9 @@ +require ti-framework-components.inc + +PV = "2_26_00_01" +PR = "r2" + +LIC_FILES_CHKSUM = "file://framework_components_2_26_00_01_manifest.html;md5=3250f9da7ee72284c07f8dd840400c75" + +SRC_URI[fctarball.md5sum] = "40b51cade2f9ae6e6f6dca73c17065af" +SRC_URI[fctarball.sha256sum] = "3f7a12a51dfe87310828a31518d7ef8f9039e59269c0ca24f74a68433c235048" diff --git a/meta-ti-extras/recipes-ti/framework-components/ti-framework-components_3.40.02.07.bb b/meta-ti-extras/recipes-ti/framework-components/ti-framework-components_3.40.02.07.bb new file mode 100644 index 00000000..56c00283 --- /dev/null +++ b/meta-ti-extras/recipes-ti/framework-components/ti-framework-components_3.40.02.07.bb @@ -0,0 +1,9 @@ +require ti-framework-components.inc + +PV = "3_40_02_07" +PR = "r0" + +LIC_FILES_CHKSUM = "file://framework_components_${PV}_Manifest.html;md5=0dd131dd53300f517b14dba8824f8b0a" + +SRC_URI[fctarball.md5sum] = "36dd2312ea8d70aa2ae0a05a24dbf54e" +SRC_URI[fctarball.sha256sum] = "69082a0f86d12c24b39a1293ec35cf8007b850479898d5ae485ec1e8cf2e8c72" diff --git a/meta-ti-extras/recipes-ti/imglib/imglib-c66x.inc b/meta-ti-extras/recipes-ti/imglib/imglib-c66x.inc new file mode 100644 index 00000000..ab5cbdb6 --- /dev/null +++ b/meta-ti-extras/recipes-ti/imglib/imglib-c66x.inc @@ -0,0 +1,34 @@ +DESCRIPTION = "IMGLIB contains optimized general-purpose image/video processing routines for TI DSPs" +HOMEPAGE = "http://www.ti.com/tool/sprc264" +SECTION = "devel" +LICENSE = "BSD-3-Clause" + +require ../includes/ti-paths.inc +require ../includes/ti-staging.inc +require ../includes/ti-unpack.inc + +COMPATIBLE_MACHINE = "omap-a15" + +SRC_URI = "http://software-dl.ti.com/sdoemb/sdoemb_public_sw/imglib/${PV}/exports/${BINFILE};name=imglib" + +S = "${WORKDIR}/imglib-c66x-${PV}" + +BINFILE = "imglib_c66x_${PV}_Linux.bin" +TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}" +TI_BIN_UNPK_CMDS = "" + +do_install() { + CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + install -d ${D}${IMGLIB_C66_INSTALL_DIR_RECIPE} + cp ${CP_ARGS} ${S}/* ${D}${IMGLIB_C66_INSTALL_DIR_RECIPE} +} + +ALLOW_EMPTY:${PN} = "1" +FILES:${PN}-dev += "${IMGLIB_C66_INSTALL_DIR_RECIPE}" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + +RDEPENDS:${PN}-dev += "perl" +INSANE_SKIP:${PN}-dev = "arch" diff --git a/meta-ti-extras/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb b/meta-ti-extras/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb new file mode 100644 index 00000000..e614352c --- /dev/null +++ b/meta-ti-extras/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb @@ -0,0 +1,9 @@ +require imglib-c66x.inc + +PV = "3_1_1_0" +PR = "r1" + +LIC_FILES_CHKSUM = "file://packages/ti/imglib/src/common/IMG_profile.h;beginline=1;endline=35;md5=a21fc16da34b650ce33a9a7143908667" + +SRC_URI[imglib.md5sum] = "9d64f213e040899048446df5055deeca" +SRC_URI[imglib.sha256sum] = "f3153e51530f26cfc638efca7ca6ae1bbaf7736daf287fc972592372a676ed21" diff --git a/meta-ti-extras/recipes-ti/includes/ti-eula-unpack.inc b/meta-ti-extras/recipes-ti/includes/ti-eula-unpack.inc new file mode 100644 index 00000000..ead06100 --- /dev/null +++ b/meta-ti-extras/recipes-ti/includes/ti-eula-unpack.inc @@ -0,0 +1,15 @@ +# This file defines function used for unpacking the .bin file downloaded over +# the http and display EULA. +# BINFILE - name of the install jammer .bin file +# TARFILE - name of the tar file inside the install jammer +# TI_BIN_UNPK_CMDS - contains list of commands separated with colon to be +# passed while unpacking the bin file. The keyword +# workdir expands to WORKDIR and commands are appendded +# with '\n'. Eg. TI_BIN_UNPK_CMDS="Y:Y: qY:workdir" +# TI_BIN_UNPK_WDEXT - This variable extends workdir path, if user wants to put +# the output in some internal directory + +require recipes-ti/includes/ti-unpack.inc + +TI_BIN_UNPK_ARGS = "--mode console" + diff --git a/meta-ti-extras/recipes-ti/includes/ti-paths.inc b/meta-ti-extras/recipes-ti/includes/ti-paths.inc new file mode 100644 index 00000000..358d7dfd --- /dev/null +++ b/meta-ti-extras/recipes-ti/includes/ti-paths.inc @@ -0,0 +1,109 @@ +installdir = "${datadir}/ti" + +export TOOLCHAIN_PATH ?= "${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_SYS}" +# This is where do_install will put it +export AUDIO_SOC_INSTALL_DIR_RECIPE = "${installdir}/ti-audio-soc-example-tree" +export BIOSPSP_INSTALL_DIR_RECIPE = "${installdir}/ti-biospsp-tree" +export C6ACCEL_INSTALL_DIR_RECIPE = "${installdir}/ti-c6accel-tree" +export C6RUN_INSTALL_DIR_RECIPE = "${installdir}/ti-c6run-tree" +export CE_INSTALL_DIR_RECIPE = "${installdir}/ti-codec-engine-tree" +export CODEC_INSTALL_DIR_RECIPE = "${installdir}/ti-codecs-tree" +export CODEGEN_ARM_INSTALL_DIR_RECIPE= "${installdir}/ti-cgt470-tree" +export CODEGEN_INSTALL_DIR_RECIPE = "${installdir}/ti-cgt6x-tree" +export DSP_BENCHMARK_INSTALL_DIR_RECIPE = "${installdir}/ti-dsp-benchmark-tree" +export DSPLIB_C64P_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplib-c64p-tree" +export DSPLIB_C674_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplib-c674x-tree" +export DSPLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplib-c66x-tree" +export DVSDK_DEMOS_INSTALL_DIR_RECIPE= "${installdir}/ti-dvsdk-demos-tree" +export DVTB_INSTALL_DIR_RECIPE = "${installdir}/ti-dvtb-tree" +export EDMA3_LLD_INSTALL_DIR_RECIPE = "${installdir}/ti-edma3lld-tree" +export EDMA3_LLD_SYSBIOS_INSTALL_DIR_RECIPE = "${installdir}/ti-edma3lld-sysbios-tree" +export FASTMATHLIB_C674P_INSTALL_DIR_RECIPE = "${installdir}/ti-fastmathlib-c67x-tree" +export FC3_INSTALL_DIR_RECIPE = "${installdir}/ti-framework-components3-tree" +export FC_INSTALL_DIR_RECIPE = "${installdir}/ti-framework-components-tree" +export GFX_SDK_INSTALL_DIR_RECIPE = "${installdir}/ti-gfx-sdk-tree" +export HDVICP20_INSTALL_DIR_RECIPE = "${installdir}/ti-hdvicp20-tree" +export IMGLIB_C64P_INSTALL_DIR_RECIPE= "${installdir}/ti-imglib-tree" +export IPC_INSTALL_DIR_RECIPE = "${installdir}/ti-ipc-tree" +export LINK_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplink-tree" +export LPM_INSTALL_DIR_RECIPE = "${installdir}/ti-local-power-manager-tree" +export OMX_INSTALL_DIR_RECIPE = "${installdir}/ti-omx-tree" +export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree" +export RTFS_INSTALL_DIR_RECIPE = "${installdir}/ti-rtfs-tree" +export SYSBIOS_INSTALL_DIR_RECIPE = "${installdir}/ti-sysbios-tree" +export SYSLINK_INSTALL_DIR_RECIPE = "${installdir}/ti-syslink-tree" +export SWTOOLS_INSTALL_DIR_RECIPE = "${installdir}/ti-swtools-tree" +export UIA_INSTALL_DIR_RECIPE = "${installdir}/ti-uia-tree" +export VICPLIB_INSTALL_DIR_RECIPE = "${installdir}/ti-vicplib-tree" +export XDAIS_INSTALL_DIR_RECIPE = "${installdir}/ti-xdais-tree" +export XDC_INSTALL_DIR_RECIPE = "${installdir}/ti-xdctools-tree" +export PDK_INSTALL_DIR_RECIPE = "${installdir}/ti-pdk-tree" +export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree" +export M4_TOOLCHAIN_INSTALL_DIR_RECIPE = "${installdir}/ti-cgt-arm" +export GCC_ARM_NONE_TOOLCHAIN_RECIPE = "${installdir}/gcc-arm-none-eabi" +export TI_CGT_PRU_INSTALL_DIR_RECIPE = "${installdir}/cgt-pru" +export MATHLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c66x-tree" +export MATHLIB_C674_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c674x-tree" +export IMGLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-imglib-c66x-tree" +export VLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-vlib-c66x-tree" +export CG_XML_INSTALL_DIR_RECIPE = "${installdir}/ti-cg-xml-tree" +export OMP_INSTALL_DIR_RECIPE = "${installdir}/ti-omp-tree" +export MPM_INSTALL_DIR_RECIPE = "${installdir}/ti-mpm-tree" +export TI_CGT6X_7_INSTALL_DIR_RECIPE = "${installdir}/cgt6x-7" +export TI_CGT7X_INSTALL_DIR_RECIPE = "${installdir}/cgt-c7x" + + +# This is where the tools will end up in sysroot +export BIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}" +export BIOSPSP_INSTALL_DIR = "${STAGING_DIR_TARGET}${BIOSPSP_INSTALL_DIR_RECIPE}" +export C6ACCEL_INSTALL_DIR = "${STAGING_DIR_TARGET}${C6ACCEL_INSTALL_DIR_RECIPE}" +export C6RUN_INSTALL_DIR = "${STAGING_DIR_TARGET}${C6RUN_INSTALL_DIR_RECIPE}" +export CE_INSTALL_DIR = "${STAGING_DIR_TARGET}${CE_INSTALL_DIR_RECIPE}" +export CMEM_INSTALL_DIR = "${STAGING_DIR_TARGET}${CMEM_INSTALL_DIR_RECIPE}" +export CODEC_INSTALL_DIR = "${STAGING_DIR_TARGET}${CODEC_INSTALL_DIR_RECIPE}" +export CODEGEN_ARM_INSTALL_DIR= "${STAGING_DIR_TARGET}${CODEGEN_ARM_INSTALL_DIR_RECIPE}" +export CODEGEN_INSTALL_DIR = "${STAGING_DIR_TARGET}${CODEGEN_INSTALL_DIR_RECIPE}" +export DSP_BENCHMARK_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSP_BENCHMARK_INSTALL_DIR_RECIPE}" +export EDMA3_LLD_INSTALL_DIR = "${STAGING_DIR_TARGET}${EDMA3_LLD_INSTALL_DIR_RECIPE}" +export EDMA3_LLD_SYSBIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${EDMA3_LLD_SYSBIOS_INSTALL_DIR_RECIPE}" +export FASTMATHLIB_C674P_INSTALL_DIR = "${STAGING_DIR_TARGET}${FASTMATHLIB_C674P_INSTALL_DIR_RECIPE}" +export FC3_INSTALL_DIR = "${STAGING_DIR_TARGET}${FC3_INSTALL_DIR_RECIPE}" +export FC_INSTALL_DIR = "${STAGING_DIR_TARGET}${FC_INSTALL_DIR_RECIPE}" +export HDVICP20_INSTALL_DIR = "${STAGING_DIR_TARGET}${HDVICP20_INSTALL_DIR_RECIPE}" +export IMGLIB_C64P_INSTALL_DIR= "${STAGING_DIR_TARGET}${IMGLIB_C64P_INSTALL_DIR_RECIPE}" +export IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}${IPC_INSTALL_DIR_RECIPE}" +export LINK_INSTALL_DIR = "${STAGING_DIR_TARGET}${LINK_INSTALL_DIR_RECIPE}" +export LPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${LPM_INSTALL_DIR_RECIPE}" +export OMX_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMX_INSTALL_DIR_RECIPE}" +export SYSBIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECIPE}" +export SYSLINK_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSLINK_INSTALL_DIR_RECIPE}" +export UIA_INSTALL_DIR = "${STAGING_DIR_TARGET}${UIA_INSTALL_DIR_RECIPE}" +export XDAIS_INSTALL_DIR = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE}" +export XDC_INSTALL_DIR = "${STAGING_DIR_NATIVE}${XDC_INSTALL_DIR_RECIPE}" +export PDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}" +export OSAL_INSTALL_DIR = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}" +export M4_TOOLCHAIN_INSTALL_DIR = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}" +export GCC_ARM_NONE_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}" +export TI_CGT_PRU_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT_PRU_INSTALL_DIR_RECIPE}" +export SWTOOLS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SWTOOLS_INSTALL_DIR_RECIPE}" +export DSPLIB_C64P_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSPLIB_C64P_INSTALL_DIR_RECIPE}" +export DSPLIB_C674_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSPLIB_C674_INSTALL_DIR_RECIPE}" +export DSPLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSPLIB_C66_INSTALL_DIR_RECIPE}" +export MATHLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${MATHLIB_C66_INSTALL_DIR_RECIPE}" +export MATHLIB_C674_INSTALL_DIR = "${STAGING_DIR_TARGET}${MATHLIB_C674_INSTALL_DIR_RECIPE}" +export IMGLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${IMGLIB_C66_INSTALL_DIR_RECIPE}" +export VLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${VLIB_C66_INSTALL_DIR_RECIPE}" +export CG_XML_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CG_XML_INSTALL_DIR_RECIPE}" +export OMP_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMP_INSTALL_DIR_RECIPE}" +export MPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${MPM_INSTALL_DIR_RECIPE}" +export TI_CGT6X_7_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT6X_7_INSTALL_DIR_RECIPE}" +export GCC_LINARO_BAREMETAL_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE}" +export GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE}" +export TI_CGT7X_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT7X_INSTALL_DIR_RECIPE}" + + +DSPSUFFIX:omapl137 = "x674" +DSPSUFFIX:omapl138 = "x674" +DSPSUFFIX_ti816x = "xe674" +DSPSUFFIX_ti814x = "xe674" +DSPSUFFIX ?= "x64P" diff --git a/meta-ti-extras/recipes-ti/includes/ti-staging.inc b/meta-ti-extras/recipes-ti/includes/ti-staging.inc new file mode 100644 index 00000000..f18d017c --- /dev/null +++ b/meta-ti-extras/recipes-ti/includes/ti-staging.inc @@ -0,0 +1,6 @@ +INHIBIT_PACKAGE_STRIP = "1" + +ALLOW_EMPTY:${PN} = "1" +ALLOW_EMPTY:${PN}-dev = "1" + + diff --git a/meta-ti-extras/recipes-ti/includes/ti-unpack.inc b/meta-ti-extras/recipes-ti/includes/ti-unpack.inc new file mode 100644 index 00000000..46bfb957 --- /dev/null +++ b/meta-ti-extras/recipes-ti/includes/ti-unpack.inc @@ -0,0 +1,83 @@ +# This file defines function used for unpacking the .bin file downloaded over +# the http. +# BINFILE - name of the install jammer .bin file +# TARFILE - name of the tar file inside the install jammer +# TI_BIN_UNPK_ARGS - contains the arguments to be passed to the bin file. +# TI_BIN_UNPK_CMDS - contains list of commands separated with colon to be +# passed while unpacking the bin file. The keyword +# workdir expands to WORKDIR and commands are appendded +# with '\n'. Eg. TI_BIN_UNPK_CMDS="Y:Y: qY:workdir" +# TI_BIN_UNPK_WDEXT - This variable extends workdir path, if user wants to put +# the output in some internal directory + +python do_unpack () { + bb.build.exec_func('base_do_unpack', d) + bb.build.exec_func('ti_bin_do_unpack', d) +} + +TI_BIN_UNPK_WDEXT ?= "" +python ti_bin_do_unpack() { + import os + + # InstallJammer requires 32bit version of glibc + if not os.path.exists('/lib/ld-linux.so.2'): + bb.fatal("TI installer requires 32bit glibc libraries for proper operation\nrun 'yum install glibc.i686' on Fedora or 'apt-get install libc6:i386' on Ubuntu/Debian") + + localdata = bb.data.createCopy(d) + bb.data.update_data(localdata) + + binfile = localdata.getVar('BINFILE') + binfile = bb.data.expand(binfile, localdata) + + # Change to the working directory + save_cwd = os.getcwd() + workdir = localdata.getVar('WORKDIR') + workdir = bb.data.expand(workdir, localdata) + os.chdir(workdir) + + # Get unpack args + arg_string = localdata.getVar('TI_BIN_UNPK_ARGS') + arg_string = bb.data.expand(arg_string, localdata) + + # Get unpack commands + cmd_string = localdata.getVar('TI_BIN_UNPK_CMDS') + cmd_list = cmd_string.split( ":" ) + + # Make the InstallJammer binary executable so we can run it + os.chmod(binfile, 0o755) + + # Run the InstallJammer binary and accept the EULA + filename = "HOME=%s ./%s %s" % (workdir, binfile, arg_string) + + # Test executable by printing installer version or help screen (--version currently broken for some installers) + # - this is currently broken in some IJ installers - comment out for now + #if os.system(filename + " --version") != 0: + # print "ERROR: ti-eula-unpack: failed to execute binary installer" + # raise bb.build.FuncFailed() + + f = os.popen(filename,'w') + for cmd in cmd_list: + if cmd == "workdir": + wdext = localdata.getVar('TI_BIN_UNPK_WDEXT') + wdext = bb.data.expand(wdext, localdata) + cmd = workdir+wdext + f.write(cmd+'\n'); + f.close() + + # Expand the tarball that was created if required + tarfile = localdata.getVar('TARFILE') + if bool(tarfile) == True: + tarfile = bb.data.expand(tarfile, localdata) + tcmd = 'tar x --no-same-owner -f %s -C %s' % (tarfile, workdir) + if os.system(tcmd) != 0: + print("ERROR: ti-eula-unpack: failed to extract tarfile") + raise bb.build.FuncFailed() + + # Return to the previous directory + os.chdir(save_cwd) +} + +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST:ti-soc = "(.*)" +COMPATIBLE_HOST:class-native = "(.*)" +COMPATIBLE_HOST:class-nativesdk = "(.*)" diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch new file mode 100644 index 00000000..ea514695 --- /dev/null +++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch @@ -0,0 +1,40 @@ +From cca4fd812959a0cd241dd3bbebfd461ece94c9b8 Mon Sep 17 00:00:00 2001 +From: Denys Dmytriyenko +Date: Mon, 29 Mar 2021 19:42:00 -0400 +Subject: [PATCH] examples/ClusterMgr: sys_errlist[] has been deprecated in + glibc + +Use strerror() instead. + +Upstream-Status: Pending + +Signed-off-by: Denys Dmytriyenko +--- + src/examples/templates/ex46_graph/manager/ClusterMgr.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/examples/templates/ex46_graph/manager/ClusterMgr.c b/src/examples/templates/ex46_graph/manager/ClusterMgr.c +index 19216c9..a1fa679 100644 +--- a/src/examples/templates/ex46_graph/manager/ClusterMgr.c ++++ b/src/examples/templates/ex46_graph/manager/ClusterMgr.c +@@ -714,7 +714,7 @@ static pid_t ClusterMgr_system(char *cmd, bool wait) + pid = fork(); + + if (pid == -1) { +- LOG "CM_system: fork error: %s\n", sys_errlist[errno] LOGF ++ LOG "CM_system: fork error: %s\n", strerror(errno) LOGF + status = -1; + goto leave; + } +@@ -739,7 +739,7 @@ static pid_t ClusterMgr_system(char *cmd, bool wait) + else { + /* overlay a new executable */ + execvp(argv[0], argv); +- LOG "CM_system: execvp error: %s\n", sys_errlist[errno] LOGF ++ LOG "CM_system: execvp error: %s\n", strerror(errno) LOGF + status = -1; + } + +-- +2.7.4 + diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb new file mode 100644 index 00000000..81706592 --- /dev/null +++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running bios" +require ti-ipc-examples.inc + +SRC_URI += "file://0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch;patchdir=../git/ipc-examples" + +DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native" + +do_compile:append() { + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" + + if [ ! -z ${ALT_PLATFORM} ]; then + oe_runmake extract PLATFORM="${ALT_PLATFORM}" HOSTOS="linux" \ + IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" + fi + oe_runmake -C examples all HOSTOS="linux" \ + LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ + IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" + + if [ ! -z ${ALT_PLATFORM} ]; then + oe_runmake -C examples all HOSTOS="linux" \ + LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ + IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ + PLATFORM="${ALT_PLATFORM}" + fi + fi +} + +do_install:append() { + cd ${S_ipc-examples}/src + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + # Install directory for linux examples + install -d ${D}${bindir}/ipc/examples + oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ + LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ + HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" + + if [ ! -z ${ALT_PLATFORM} ]; then + oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ + LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ + HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" \ + PLATFORM="${ALT_PLATFORM}" + fi + fi +} + +FILES:${PN} += "${bindir}/*" diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc new file mode 100644 index 00000000..66cd5d32 --- /dev/null +++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc @@ -0,0 +1,31 @@ +HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC" +require ti-ipc-common.inc +require ti-ipc-rtos.inc + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea07bade1244ac9a" + +INSANE_SKIP:${PN} += "arch" + +ALLOW_EMPTY:${PN} = "1" + +IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" + +do_compile() { + + cd ${S_ipc-examples}/src + oe_runmake .examples \ + IPCTOOLS="${S_ipc-metadata}/src/etc" + + for alt_platform in ${ALT_PLATFORM}; do + oe_runmake .examples "PLATFORM=${alt_platform}" \ + IPCTOOLS="${S_ipc-metadata}/src/etc" + done +} + +do_install() { + cd ${S_ipc-examples}/src + IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` +} + +INHIBIT_PACKAGE_STRIP = "1" diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb new file mode 100644 index 00000000..bcc8674e --- /dev/null +++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb @@ -0,0 +1,44 @@ +DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running linux" +require ti-ipc-examples.inc + +DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native" + +do_compile:append() { + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" + + for alt_platform in ${ALT_PLATFORM}; do + oe_runmake extract PLATFORM="${alt_platform}" HOSTOS="bios" \ + IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" + done + oe_runmake -C examples all HOSTOS="bios" \ + IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" + for alt_platform in ${ALT_PLATFORM}; do + oe_runmake -C examples all HOSTOS="bios" \ + IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" PLATFORM="${alt_platform}" + done + fi +} + +do_install:append() { + if [ "${PLATFORM}" != "UNKNOWN" ]; then + # Install directory for bios examples + install -d ${D}/ipc_${IPC_VERSION}/examples/bios + oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ + HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" + oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ + HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" + + for alt_platform in ${ALT_PLATFORM}; do + oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ + HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \ + PLATFORM="${alt_platform}" + oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ + HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \ + PLATFORM="${alt_platform}" + done + fi +} + +FILES:${PN} += "ipc_*" diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc new file mode 100644 index 00000000..56667ad1 --- /dev/null +++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc @@ -0,0 +1,73 @@ +require recipes-ti/includes/ti-paths.inc + +TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git" +TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" +TI_IPC_EXAMPLES_GIT_PROTOCOL = "git" +TI_IPC_EXAMPLES_GIT_BRANCH = "master" +TI_IPC_EXAMPLES_NAME = "ipc-examples" + +SRC_URI += "${TI_IPC_EXAMPLES_GIT_URI};\ +destsuffix=${TI_IPC_EXAMPLES_DEST_SUFFIX};\ +protocol=${TI_IPC_EXAMPLES_GIT_PROTOCOL};\ +branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ +name=${TI_IPC_EXAMPLES_NAME}" + +TI_IPC_METADATA_GIT_URI = "git://git.ti.com/ipc/ipc-metadata.git" +TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" +TI_IPC_METADATA_GIT_PROTOCOL = "git" +TI_IPC_METADATA_GIT_BRANCH = "master" +TI_IPC_METADATA_NAME = "ipc-metadata" + +SRC_URI += "${TI_IPC_METADATA_GIT_URI};\ +destsuffix=${TI_IPC_METADATA_DEST_SUFFIX};\ +protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ +branch=${TI_IPC_METADATA_GIT_BRANCH};\ +name=${TI_IPC_METADATA_NAME}" + +# Corresponds to tag: 3.51.00.00 +TI_IPC_METADATA_SRCREV = "1bf668fd6b0ec2ef6956fa55b8484d0b21a9f9e2" +# Corresponds to tag: 3.51.00.00 +TI_IPC_EXAMPLES_SRCREV = "4707fcbbe0d136e781c4a7ffdc072be407c34358" + +SRCREV_FORMAT = "default" +SRCREV_ipc-metadata = "${TI_IPC_METADATA_SRCREV}" +SRCREV_ipc-examples = "${TI_IPC_EXAMPLES_SRCREV}" + +S_ipc-examples = "${WORKDIR}/git/ipc-examples" +S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" + +RELEASE_TYPE = "GA" +RELEASE_SUFFIX = "" + +PR = "${INC_PR}.r0" + +DEPENDS:append:omap-a15 = " ti-cgt6x-native \ + ti-cgt-arm-native \ + gcc-arm-baremetal-native \ +" +DEPENDS:append:omapl138 = " ti-cgt6x-native \ +" + +IPC_TARGETS = "" + +IPC_TARGETS:omap-a15 = "\ + gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ + ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ + ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ + ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \ +" + +IPC_TARGETS:omapl138 = "\ + ti.targets.elf.C674="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +" + +PARALLEL_XDC = "${@oe.utils.parallel_make_argument(d, '--jobs=%d')}" +EXTRA_OEMAKE = "\ + PLATFORM=${PLATFORM} \ + XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \ + BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ + ${IPC_TARGETS} \ + ${PARALLEL_XDC} \ + JAVA_TOOL_OPTIONS=-Xss2560k \ +" + diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb new file mode 100644 index 00000000..abef3195 --- /dev/null +++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb @@ -0,0 +1,101 @@ +require ti-ipc.inc +require ti-ipc-common.inc +require ti-ipc-rtos.inc + +DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native" + +PACKAGES =+ "${PN}-fw" +FILES:${PN}-fw = "${base_libdir}/firmware/*" +FILES:${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}" + +INSANE_SKIP:${PN}-fw += "arch" +INSANE_SKIP:${PN}-dev += "arch" + +ALLOW_EMPTY:${PN} = "1" + +IPC_PACKAGE_DIR = "${S}/ipc-package" + +do_compile() { + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak release + + cd ${S_ipc-metadata} + oe_runmake .all-files IPC_INSTALL_DIR="${S}" \ + BUILD_HOST_OS="linux" \ + RELEASE_TYPE="${RELEASE_TYPE}" + + cd ${S_ipc-examples}/src + oe_runmake .examples \ + IPCTOOLS="${S_ipc-metadata}/src/etc" + for alt_platform in ${ALT_PLATFORM}; do + oe_runmake .examples \ + IPCTOOLS="${S_ipc-metadata}/src/etc" \ + PLATFORM=${alt_platform} + done + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}" + + for alt_platform in ${ALT_PLATFORM}; do + oe_runmake extract PLATFORM=${alt_platform} HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract PLATFORM=${alt_platform} HOSTOS="linux" IPC_INSTALL_DIR="${S}" + done + fi + + IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` + install -d ${IPC_PACKAGE_DIR} + # Copy docs and other meta files + cp -pPrf ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d ${IPC_PACKAGE_DIR} + + # Copy example folders corresponding to the platforms + if [ "${PLATFORM}" != "UNKNOWN" ]; then + install -d ${IPC_PACKAGE_DIR}/examples + cp -pPf ${S_ipc-examples}/src/examples/*.* ${IPC_PACKAGE_DIR}/examples/ + cp -pPf ${S_ipc-examples}/src/examples/makefile ${IPC_PACKAGE_DIR}/examples/ + cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}* ${IPC_PACKAGE_DIR}/examples/ + for alt_platform in ${ALT_PLATFORM}; do + cp -pPrf ${S_ipc-examples}/src/examples/${alt_platform}* ${IPC_PACKAGE_DIR}/examples/ + done + find ${IPC_PACKAGE_DIR}/examples/ -name "*zip" -type f | xargs -I {} rm {} + fi +} + +do_install() { + CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` + # Copy docs and other meta files + install -d ${D}${IPC_INSTALL_DIR_RECIPE} + cp ${CP_ARGS} ${IPC_PACKAGE_DIR}/* -d ${D}${IPC_INSTALL_DIR_RECIPE} + + install -d ${D}${base_libdir}/firmware/ipc + cp ${CP_ARGS} ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc || true +} + +KFDSPNUM = "0" + +KFPLAT = "" + +ALTERNATIVE_PRIORITY = "5" + +pkg_postinst:${PN}-fw:omap-a15 () { + update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 ${ALTERNATIVE_PRIORITY} + update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 ${ALTERNATIVE_PRIORITY} + update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${ALTERNATIVE_PRIORITY} + update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 ${ALTERNATIVE_PRIORITY} +} + +pkg_postrm:${PN}-fw:omap-a15 () { + update-alternatives --remove dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 + update-alternatives --remove dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 + update-alternatives --remove dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 + update-alternatives --remove dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 +} + +pkg_postinst:${PN}-fw:omapl138 () { + update-alternatives --install /lib/firmware/rproc-dsp-fw rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674 ${ALTERNATIVE_PRIORITY} +} + +pkg_postrm:${PN}-fw:omapl138 () { + update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674 +} diff --git a/meta-ti-extras/recipes-ti/mathlib/mathlib-c66x_git.bb b/meta-ti-extras/recipes-ti/mathlib/mathlib-c66x_git.bb new file mode 100644 index 00000000..22683855 --- /dev/null +++ b/meta-ti-extras/recipes-ti/mathlib/mathlib-c66x_git.bb @@ -0,0 +1,5 @@ +include mathlib.inc + +MATHLIB_BUILD_TARGET = "c66x" +MATHLIB_INSTALL_DIR_RECIPE = "${MATHLIB_C66_INSTALL_DIR_RECIPE}" +MATHLIB_INSTALL_DIR = "${MATHLIB_C66_INSTALL_DIR}" diff --git a/meta-ti-extras/recipes-ti/mathlib/mathlib-c674x_git.bb b/meta-ti-extras/recipes-ti/mathlib/mathlib-c674x_git.bb new file mode 100644 index 00000000..1654baf2 --- /dev/null +++ b/meta-ti-extras/recipes-ti/mathlib/mathlib-c674x_git.bb @@ -0,0 +1,5 @@ +include mathlib.inc + +MATHLIB_BUILD_TARGET = "c674x" +MATHLIB_INSTALL_DIR_RECIPE = "${MATHLIB_C674_INSTALL_DIR_RECIPE}" +MATHLIB_INSTALL_DIR = "${MATHLIB_C674_INSTALL_DIR}" diff --git a/meta-ti-extras/recipes-ti/mathlib/mathlib.inc b/meta-ti-extras/recipes-ti/mathlib/mathlib.inc new file mode 100644 index 00000000..fe75c099 --- /dev/null +++ b/meta-ti-extras/recipes-ti/mathlib/mathlib.inc @@ -0,0 +1,77 @@ +SUMMARY = "MATHLIB contains optimized floating-point math functions for TI DSPs" +HOMEPAGE = "http://git.ti.com/ep-processor-libraries/mathlib" +LICENSE = "BSD-3-Clause" + +require ../includes/ti-paths.inc + +PV = "3_1_2_4" +PR = "r2" + +DEPENDS = "ti-cgt6x-native \ + ti-xdctools-native \ + ti-sysbios \ + doxygen-native \ + zip-native \ + swtools" + +S = "${WORKDIR}/git" + +MATHLIB_GIT_BRANCH = "master" +MATHLIB_GIT_PROTOCOL = "git" +MATHLIB_GIT_URI = "git://git.ti.com/ep-processor-libraries/mathlib.git" +MATHLIB_SRCREV = "eadcc9547faf69789661b004bb0b5ef53bb69951" + +SRC_URI = "${MATHLIB_GIT_URI};protocol=${MATHLIB_GIT_PROTOCOL};branch=${MATHLIB_GIT_BRANCH}" +SRCREV = "${MATHLIB_SRCREV}" + +LIC_FILES_CHKSUM = "file://ti/mathlib/src/acosdp/acosdp.h;beginline=1;endline=35;md5=c133f7e139b46385906c861dd9552250" + +export MATHLIB_WORK_DIR="${S}" +export CGTOOLS_INSTALL_DIR = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" +export C64PCODEGENTOOL="${CGTOOLS_INSTALL_DIR}" +export C674CODEGENTOOL="${CGTOOLS_INSTALL_DIR}" +export C66CODEGENTOOL ="${CGTOOLS_INSTALL_DIR}" +export SWTOOLS_PATH = "${SWTOOLS_INSTALL_DIR}/ti/mas/swtools" +export XDCBUILDCFG="${SWTOOLS_PATH}/config.bld" + +PATH:append = ":${XDC_INSTALL_DIR}" + +XDCPATH.="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;" +XDCPATH.="${SWTOOLS_INSTALL_DIR};${MATHLIB_WORK_DIR};" + +export XDCPATH + +MATHLIB_PACKAGE_NAME = "mathlib_${MATHLIB_BUILD_TARGET}_${PV}" + +do_compile() { + cd ${MATHLIB_WORK_DIR}/ti/mathlib; + xdc XDCARGS="${MATHLIB_BUILD_TARGET} bundle" XDCOPTIONS="-v" +} + +do_install() { + install -d ${D}${MATHLIB_INSTALL_DIR_RECIPE} + + find -name "${MATHLIB_PACKAGE_NAME}.zip" -exec unzip -o {} -d ${D}${MATHLIB_INSTALL_DIR_RECIPE} \; + cp -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib/. ${D}${MATHLIB_INSTALL_DIR_RECIPE} + rm -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib +} + +inherit deploy +addtask deploy before do_build after do_install + +do_deploy() { + install -d ${DEPLOYDIR} + # zip up files in ${D}${MATHLIB_INSTALL_DIR_RECIPE} + # and place the zip file in ${DEPLOYDIR} + mkdir ./${MATHLIB_PACKAGE_NAME} + cp -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/. ./${MATHLIB_PACKAGE_NAME} + zip -9 -y -r -q ${DEPLOYDIR}/${MATHLIB_PACKAGE_NAME}.zip ./${MATHLIB_PACKAGE_NAME} + rm -r ./${MATHLIB_PACKAGE_NAME} +} + +ALLOW_EMPTY:${PN} = "1" +FILES:${PN}-dev += "${MATHLIB_INSTALL_DIR_RECIPE}" + +INSANE_SKIP:${PN}-dev = "arch" +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST:ti-soc = "(.*)" diff --git a/meta-ti-extras/recipes-ti/openmp-rtos/openmp-rtos_git.bb b/meta-ti-extras/recipes-ti/openmp-rtos/openmp-rtos_git.bb new file mode 100644 index 00000000..59a9635d --- /dev/null +++ b/meta-ti-extras/recipes-ti/openmp-rtos/openmp-rtos_git.bb @@ -0,0 +1,62 @@ +DESCRIPTION = "TI OpenMP RTOS" +HOMEPAGE = "git://git.ti.com/openmp/ti-openmp-dsp-runtime.git" +LICENSE = "BSD" + +require recipes-ti/includes/ti-paths.inc + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dsp" +REQUIRED_DISTRO_FEATURES = "openmp" + +PV = "2_06_03_00" +PR = "r0" + +OPENMP_RTOS_GIT_URI = "git://git.ti.com/openmp/ti-openmp-dsp-runtime.git" +OPENMP_RTOS_GIT_PROTOCOL = "git" +OPENMP_RTOS_GIT_BRANCH = "master" + +BRANCH = "${OPENMP_RTOS_GIT_BRANCH}" +SRC_URI = "${OPENMP_RTOS_GIT_URI};protocol=${OPENMP_RTOS_GIT_PROTOCOL};branch=${BRANCH}" + +SRCREV = "c090eb664d9815a36ead0e14f31e102590680fb8" + +LIC_FILES_CHKSUM = "file://docs/license/omp_manifest_template.html;md5=61a6972303c0447b7c056195d7ebafee" + +DEPENDS = "common-csl-ip-rtos doxygen-native libulm ti-xdctools-native ti-ipc-rtos ti-sysbios ti-cgt6x-native zip-native" + +COMPATIBLE_MACHINE = "omap-a15" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +S = "${WORKDIR}/git" +export IPC_DIR = "${IPC_INSTALL_DIR}" +export XDC_DIR = "${XDC_INSTALL_DIR}" +export BIOS_DIR = "${SYSBIOS_INSTALL_DIR}" +export ULM_DIR ="${STAGING_DIR_TARGET}/usr/share/ti/ulm" +export C6636_PDK_DIR ="${PDK_INSTALL_DIR}" +export AM572_PDK_DIR ="${PDK_INSTALL_DIR}" +export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" + +export BUILD_AM572 = "0" + +BUILD_AM572:omap-a15 = "1" + +RELEASE_TARGET = "" +RELEASE_TARGET:omap-a15 = "am57xx" + +do_compile() { + make -f utils/product/Makefile .zipfile +} + +do_install() { + install -d ${D}${OMP_INSTALL_DIR_RECIPE} + cp -r ${S}/exports/openmp_dsp_${RELEASE_TARGET}_*/. -d ${D}${OMP_INSTALL_DIR_RECIPE} +} + +ALLOW_EMPTY:${PN} = "1" + +FILES:${PN}-dev += " \ + ${OMP_INSTALL_DIR_RECIPE}/ \ +" + +INSANE_SKIP:${PN}-dev = "arch" diff --git a/meta-ti-extras/recipes-ti/osal/ti-osal.inc b/meta-ti-extras/recipes-ti/osal/ti-osal.inc new file mode 100644 index 00000000..dbd64f7b --- /dev/null +++ b/meta-ti-extras/recipes-ti/osal/ti-osal.inc @@ -0,0 +1,24 @@ +DESCRIPTION = "TI Operating System Abstraction Library (OSAL)" +HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/osal" +LICENSE = "BSD & EPL-1.0" +SECTION = "devel" + +require ../includes/ti-paths.inc +require ../includes/ti-staging.inc + +S = "${WORKDIR}/osal_${PV}" + +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/osal/${PV}/exports/osal_${PV}.tar.gz;name=osaltarball" + +do_install() { + install -d ${D}${OSAL_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${OSAL_INSTALL_DIR_RECIPE} +} + +INSANE_SKIP:${PN}-dev = "staticdev" + +ALLOW_EMPTY:${PN} = "1" +FILES:${PN}-dev += "${OSAL_INSTALL_DIR_RECIPE}" + +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST:ti-soc = "(.*)" diff --git a/meta-ti-extras/recipes-ti/osal/ti-osal_1.24.00.09.bb b/meta-ti-extras/recipes-ti/osal/ti-osal_1.24.00.09.bb new file mode 100644 index 00000000..226458be --- /dev/null +++ b/meta-ti-extras/recipes-ti/osal/ti-osal_1.24.00.09.bb @@ -0,0 +1,9 @@ +require ti-osal.inc + +PV = "1_24_00_09" +PR = "r0" + +LIC_FILES_CHKSUM = "file://osal_${PV}_Manifest.html;md5=c110191994d011cee4cd02189ed3c9f4" + +SRC_URI[osaltarball.md5sum] = "a7ea85447fa0ff0f786d527a52fa6e8b" +SRC_URI[osaltarball.sha256sum] = "d14f1f43c8a7965e86add69bd813cea56ea7e38abeb55de3fdcdaf4a69f19bf3" diff --git a/meta-ti-extras/recipes-ti/swtools/swtools_git.bb b/meta-ti-extras/recipes-ti/swtools/swtools_git.bb new file mode 100644 index 00000000..d3b9a9b1 --- /dev/null +++ b/meta-ti-extras/recipes-ti/swtools/swtools_git.bb @@ -0,0 +1,52 @@ +SUMMARY = "TI Software Tools" +HOMEPAGE = "https://git.ti.com/ep-processor-libraries/swtools" +SECTION = "devel" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://ti/mas/swtools/copyright.txt;md5=b1f52a1435051fdb18f8885b0384147d" + +require ../includes/ti-paths.inc + +DEPENDS = "ti-cgt6x-native \ + ti-sysbios \ + ti-xdctools-native" + +PV = "5_0_8" +PR = "r3" +S = "${WORKDIR}/git" + +SWTOOLS_GIT_BRANCH = "master" +SWTOOLS_GIT_PROTOCOL = "git" +SWTOOLS_GIT_URI = "git://git.ti.com/ep-processor-libraries/swtools.git" +SWTOOLS_SRCREV = "7d1c85e686b1466cd2d535fc9cac5baf1aae24a4" + +SRC_URI = "${SWTOOLS_GIT_URI};protocol=${SWTOOLS_GIT_PROTOCOL};branch=${SWTOOLS_GIT_BRANCH}" +SRCREV = "${SWTOOLS_SRCREV}" + + +export C64PCODEGENTOOL = "${CGTOOLS_INSTALL_DIR}" +export C674CODEGENTOOL = "${CGTOOLS_INSTALL_DIR}" +export C66CODEGENTOOL = "${CGTOOLS_INSTALL_DIR}" + +PATH:append = ":${XDC_INSTALL_DIR}" + +XDCPATH .= "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;" + +export XDCPATH + +do_compile() { + cd ${S}/ti/mas/swtools + xdc +} + +do_install() { + CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + install -d ${D}${SWTOOLS_INSTALL_DIR_RECIPE} + cp ${CP_ARGS} ${S}/* ${D}${SWTOOLS_INSTALL_DIR_RECIPE} +} + +FILES:${PN}-dev += "${SWTOOLS_INSTALL_DIR_RECIPE}" + +INSANE_SKIP:${PN}-dev = "arch staticdev" +ALLOW_EMPTY:${PN} = "1" +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST:ti-soc = "(.*)" diff --git a/meta-ti-extras/recipes-ti/uio-test-pruss/uio-test-pruss_git.bb b/meta-ti-extras/recipes-ti/uio-test-pruss/uio-test-pruss_git.bb new file mode 100644 index 00000000..59576daa --- /dev/null +++ b/meta-ti-extras/recipes-ti/uio-test-pruss/uio-test-pruss_git.bb @@ -0,0 +1,38 @@ +DESCRIPTION = "Provides test pruss firmware for uio based tests" +LICENSE = "BSD-3-Clause" +PV = "1.0.2.0" +require recipes-ti/includes/ti-paths.inc + +S = "${WORKDIR}/git" + +DEPENDS = "ti-cgt-pru-native" + +BRANCH = "master" +LIC_FILES_CHKSUM = "file://Makefile;startline=1;endline=31;md5=0ee4f2c42eb6b04e37859bb55a18b144" + +UIO_TEST_PRUSS_GIT_URI = "git://git.ti.com/processor-sdk/uio-test-pruss.git" +UIO_TEST_PRUSS_GIT_PROTOCOL = "git" +SRC_URI = "${UIO_TEST_PRUSS_GIT_URI};protocol=${UIO_TEST_PRUSS_GIT_PROTOCOL};branch=${BRANCH}" + +# Corresponds to version 01.00.02.00 +UIO_TEST_PRUSS_SRCREV = "e52a7b099d7203ca52519650df51419e9fef7e0c" + +SRCREV = "${UIO_TEST_PRUSS_SRCREV}" + +PR = "r0" + +COMPATIBLE_MACHINE = "omap-a15|ti33x|ti43x" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +DEVICE_NAME = "" +DEVICE_NAME:append:am57xx-evm = "am57xx" +DEVICE_NAME:append:ti33x = "am33xx" +DEVICE_NAME:append:ti43x = "am43xx" + +EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR} DEVICE=${DEVICE_NAME}" + +do_install() { + install -d ${D}${bindir}/ + cp -r *.bin ${D}${bindir}/ +} diff --git a/meta-ti-extras/recipes-ti/vlib/vlib-c66x.inc b/meta-ti-extras/recipes-ti/vlib/vlib-c66x.inc new file mode 100644 index 00000000..460964b3 --- /dev/null +++ b/meta-ti-extras/recipes-ti/vlib/vlib-c66x.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "TI Vision Library (VLIB) for C66x" +HOMEPAGE = "http://software-dl.ti.com/libs/vlib/latest/index_FDS.html" +SECTION = "devel" +LICENSE = "TI-TSPA & BSD-3-Clause" + +require ../includes/ti-paths.inc +require ../includes/ti-staging.inc +require ../includes/ti-eula-unpack.inc + +COMPATIBLE_MACHINE = "omap-a15" + +SRC_URI = "http://software-dl.ti.com/libs/vlib/${PV}//exports/vlib_c66x_obj_${PV}_Linux.bin;name=vlibbin" + +S = "${WORKDIR}/vlib_c66x_${PV}" + +BINFILE="vlib_c66x_obj_${PV}_Linux.bin" +TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}" +TI_BIN_UNPK_CMDS="" + +do_install() { + CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + install -d ${D}${VLIB_C66_INSTALL_DIR_RECIPE} + cp ${CP_ARGS} ${S}/* ${D}${VLIB_C66_INSTALL_DIR_RECIPE} +} + +ALLOW_EMPTY:${PN} = "1" +FILES:${PN}-dev += "${VLIB_C66_INSTALL_DIR_RECIPE}" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" +INSANE_SKIP:${PN}-dev = "installed-vs-shipped arch" diff --git a/meta-ti-extras/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb b/meta-ti-extras/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb new file mode 100644 index 00000000..e3742d10 --- /dev/null +++ b/meta-ti-extras/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb @@ -0,0 +1,9 @@ +require vlib-c66x.inc + +PV = "3_2_1_0" +PR = "r0" + +LIC_FILES_CHKSUM = "file://docs/VLIB_Software_Manifest.html;md5=75151b04457c8a1ae3c2172ada0eedda" + +SRC_URI[vlibbin.md5sum] = "e292fa3f74be60b9110e0ebcc6840fe7" +SRC_URI[vlibbin.sha256sum] = "05bf16473d60e0252d3a73a7c3d268e540783a226b4bda930e5f6042e7b01bd8" diff --git a/meta-ti-extras/recipes-ti/xdais/ti-xdais.inc b/meta-ti-extras/recipes-ti/xdais/ti-xdais.inc new file mode 100644 index 00000000..daa93ddf --- /dev/null +++ b/meta-ti-extras/recipes-ti/xdais/ti-xdais.inc @@ -0,0 +1,25 @@ +DESCRIPTION = "TI eXpress DSP Algorithm Interface Standard (XDAIS) specification" +HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xdais" +LICENSE = "GPLv2" +SECTION = "devel" + +require ../includes/ti-paths.inc +require ../includes/ti-staging.inc + +S = "${WORKDIR}/xdais_${PV}" + +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xdais/${PV}/exports/xdais_${PV}.tar.gz;name=xdaistarball" + +do_install() { + CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" + install -d ${D}${XDAIS_INSTALL_DIR_RECIPE} + cp ${CP_ARGS} ${S}/* ${D}${XDAIS_INSTALL_DIR_RECIPE} +} + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" +INSANE_SKIP:${PN}-dev = "arch" + +ALLOW_EMPTY:${PN} = "1" +FILES:${PN}-dev += "${XDAIS_INSTALL_DIR_RECIPE}" diff --git a/meta-ti-extras/recipes-ti/xdais/ti-xdais_6.26.01.03.bb b/meta-ti-extras/recipes-ti/xdais/ti-xdais_6.26.01.03.bb new file mode 100644 index 00000000..9fc4cee1 --- /dev/null +++ b/meta-ti-extras/recipes-ti/xdais/ti-xdais_6.26.01.03.bb @@ -0,0 +1,11 @@ +require ti-xdais.inc + +PV = "6_26_01_03" +PR = "r1" + +LIC_FILES_CHKSUM = "file://xdais_6_26_01_03_manifest.html;md5=a5a675d49db2f658bb98746ec80cda4e" + +SRC_URI[xdaistarball.md5sum] = "9b2bea3408254e737ec0d819a031adf6" +SRC_URI[xdaistarball.sha256sum] = "d7bcbd8bcfe6fdfc5f402e4b125ced6c806dc30bc5296e98d5d43b0b5a237a0d" + +INSANE_SKIP:${PN} = "installed-vs-shipped" diff --git a/meta-ti-extras/recipes-ti/xdais/ti-xdais_7.24.00.04.bb b/meta-ti-extras/recipes-ti/xdais/ti-xdais_7.24.00.04.bb new file mode 100644 index 00000000..8148f73a --- /dev/null +++ b/meta-ti-extras/recipes-ti/xdais/ti-xdais_7.24.00.04.bb @@ -0,0 +1,9 @@ +require ti-xdais.inc + +PV = "7_24_00_04" +PR = "r1" + +LIC_FILES_CHKSUM = "file://xdais_7_24_00_04_Manifest.html;md5=fd16442230745f0877cfe1c622669fd6" + +SRC_URI[xdaistarball.md5sum] = "f7514085b531f2ae49b37b30194e4989" +SRC_URI[xdaistarball.sha256sum] = "79fd30377ab4c497292aeefb0565f81703d9020d1242b02ca9968c561e0de9a1" -- cgit v1.2.3-54-g00ecf