aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README27
-rw-r--r--classes/ti-pdk-fetch.bbclass46
-rw-r--r--classes/ti-pdk.bbclass144
-rw-r--r--conf/layer.conf31
-rw-r--r--conf/machine/am3517-evm.conf35
-rw-r--r--conf/machine/am37x-evm.conf31
-rw-r--r--conf/machine/am65xx-evm.conf25
-rw-r--r--conf/machine/am65xx-hs-evm.conf26
-rw-r--r--conf/machine/beagle-x15.conf13
-rw-r--r--conf/machine/beagleboard.conf38
-rw-r--r--conf/machine/beaglebone.conf19
-rw-r--r--conf/machine/c665x-evm.conf9
-rw-r--r--conf/machine/c667x-evm.conf9
-rw-r--r--conf/machine/include/am65xx.inc7
-rw-r--r--conf/machine/include/c66x.inc9
-rw-r--r--conf/machine/include/davinci.inc22
-rw-r--r--conf/machine/include/k2e.inc6
-rw-r--r--conf/machine/include/k2g.inc6
-rw-r--r--conf/machine/include/k2hk.inc6
-rw-r--r--conf/machine/include/k2l.inc6
-rw-r--r--conf/machine/include/k3.inc42
-rw-r--r--conf/machine/include/keystone.inc30
-rw-r--r--conf/machine/include/omap-a15.inc44
-rw-r--r--conf/machine/include/omap3.inc42
-rw-r--r--conf/machine/include/omap4.inc26
-rw-r--r--conf/machine/include/omapl1.inc2
-rw-r--r--conf/machine/include/omapl137.inc5
-rw-r--r--conf/machine/include/omapl138.inc5
-rw-r--r--conf/machine/include/ti33x.inc66
-rw-r--r--conf/machine/include/ti43x.inc62
-rw-r--r--conf/machine/j7-evm.conf27
-rw-r--r--conf/machine/k2e-evm.conf32
-rw-r--r--conf/machine/k2e-hs-evm.conf15
-rw-r--r--conf/machine/k2g-evm.conf35
-rw-r--r--conf/machine/k2g-hs-evm.conf15
-rw-r--r--conf/machine/k2hk-evm.conf32
-rw-r--r--conf/machine/k2hk-hs-evm.conf15
-rw-r--r--conf/machine/k2l-evm.conf32
-rw-r--r--conf/machine/k2l-hs-evm.conf15
-rw-r--r--conf/machine/lego-ev3.conf22
-rw-r--r--conf/machine/omap3evm.conf32
-rw-r--r--conf/machine/omap5-evm.conf34
-rw-r--r--conf/machine/omapl137-evm.conf15
-rw-r--r--conf/machine/pandaboard.conf16
-rw-r--r--meta-ti-bsp/COPYING.MIT17
-rw-r--r--meta-ti-bsp/README33
-rw-r--r--meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass758
-rw-r--r--meta-ti-bsp/classes/ti-secdev.bbclass21
-rw-r--r--meta-ti-bsp/classes/uboot-sign-legacyhs.bbclass131
-rw-r--r--meta-ti-bsp/conf/layer.conf34
-rw-r--r--meta-ti-bsp/conf/machine/am335x-evm.conf (renamed from conf/machine/am335x-evm.conf)6
-rw-r--r--meta-ti-bsp/conf/machine/am335x-hs-evm.conf (renamed from conf/machine/am335x-hs-evm.conf)10
-rw-r--r--meta-ti-bsp/conf/machine/am437x-evm.conf (renamed from conf/machine/am437x-evm.conf)3
-rw-r--r--meta-ti-bsp/conf/machine/am437x-hs-evm.conf (renamed from conf/machine/am437x-hs-evm.conf)18
-rw-r--r--meta-ti-bsp/conf/machine/am57xx-evm.conf (renamed from conf/machine/am57xx-evm.conf)33
-rw-r--r--meta-ti-bsp/conf/machine/am57xx-hs-evm.conf (renamed from conf/machine/am57xx-hs-evm.conf)18
-rw-r--r--meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/am62axx-evm.conf18
-rw-r--r--meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf12
-rw-r--r--meta-ti-bsp/conf/machine/am62pxx-evm.conf25
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf12
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-evm.conf17
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf12
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-lp-evm.conf20
-rw-r--r--meta-ti-bsp/conf/machine/am62xxsip-evm-k3r5.conf16
-rw-r--r--meta-ti-bsp/conf/machine/am62xxsip-evm.conf16
-rw-r--r--meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/am64xx-evm.conf7
-rw-r--r--meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/am65xx-evm.conf9
-rw-r--r--meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/am65xx-hs-evm.conf7
-rw-r--r--meta-ti-bsp/conf/machine/beagle-x15.conf22
-rw-r--r--meta-ti-bsp/conf/machine/beaglebone-ai64-k3r5.conf23
-rw-r--r--meta-ti-bsp/conf/machine/beaglebone-ai64.conf33
-rw-r--r--meta-ti-bsp/conf/machine/beaglebone.conf67
-rw-r--r--meta-ti-bsp/conf/machine/beagleplay-k3r5.conf19
-rw-r--r--meta-ti-bsp/conf/machine/beagleplay.conf55
-rw-r--r--meta-ti-bsp/conf/machine/dra7xx-evm.conf (renamed from conf/machine/dra7xx-evm.conf)20
-rw-r--r--meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf (renamed from conf/machine/dra7xx-hs-evm.conf)18
-rw-r--r--meta-ti-bsp/conf/machine/include/am57xx.inc7
-rw-r--r--meta-ti-bsp/conf/machine/include/am62axx.inc20
-rw-r--r--meta-ti-bsp/conf/machine/include/am62pxx.inc22
-rw-r--r--meta-ti-bsp/conf/machine/include/am62xx.inc27
-rw-r--r--meta-ti-bsp/conf/machine/include/am64xx.inc24
-rw-r--r--meta-ti-bsp/conf/machine/include/am65xx.inc29
-rw-r--r--meta-ti-bsp/conf/machine/include/beagle.inc3
-rw-r--r--meta-ti-bsp/conf/machine/include/dra7xx.inc (renamed from conf/machine/include/dra7xx.inc)2
-rw-r--r--meta-ti-bsp/conf/machine/include/j7200.inc17
-rw-r--r--meta-ti-bsp/conf/machine/include/j721e.inc27
-rw-r--r--meta-ti-bsp/conf/machine/include/j721s2.inc19
-rw-r--r--meta-ti-bsp/conf/machine/include/j722s.inc19
-rw-r--r--meta-ti-bsp/conf/machine/include/j784s4.inc19
-rw-r--r--meta-ti-bsp/conf/machine/include/k3.inc67
-rw-r--r--meta-ti-bsp/conf/machine/include/k3r5.inc27
-rw-r--r--meta-ti-bsp/conf/machine/include/mesa-pvr.inc8
-rw-r--r--meta-ti-bsp/conf/machine/include/omap-a15.inc57
-rw-r--r--meta-ti-bsp/conf/machine/include/omapl138.inc16
-rw-r--r--meta-ti-bsp/conf/machine/include/ti-extras.inc4
-rw-r--r--meta-ti-bsp/conf/machine/include/ti-soc.inc (renamed from conf/machine/include/ti-soc.inc)5
-rw-r--r--meta-ti-bsp/conf/machine/include/ti33x.inc76
-rw-r--r--meta-ti-bsp/conf/machine/include/ti43x.inc72
-rw-r--r--meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/j7200-evm.conf13
-rw-r--r--meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/j7200-hs-evm.conf7
-rw-r--r--meta-ti-bsp/conf/machine/j721e-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/j721e-evm.conf18
-rw-r--r--meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/j721e-hs-evm.conf7
-rw-r--r--meta-ti-bsp/conf/machine/j721s2-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/j721s2-evm.conf21
-rw-r--r--meta-ti-bsp/conf/machine/j721s2-hs-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/j721s2-hs-evm.conf5
-rw-r--r--meta-ti-bsp/conf/machine/j722s-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/j722s-evm.conf11
-rw-r--r--meta-ti-bsp/conf/machine/j784s4-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/j784s4-evm.conf21
-rw-r--r--meta-ti-bsp/conf/machine/j784s4-hs-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/j784s4-hs-evm.conf5
-rw-r--r--meta-ti-bsp/conf/machine/omapl138-lcdk.conf (renamed from conf/machine/omapl138-lcdk.conf)12
-rw-r--r--meta-ti-bsp/conf/multiconfig/k3r5.conf10
-rw-r--r--meta-ti-bsp/dynamic-layers/clang-layer/recipes-graphics/mesa/mesa-pvr_%.bbappend14
-rw-r--r--meta-ti-bsp/licenses/TI-IMG63
-rw-r--r--meta-ti-bsp/licenses/TI-TFL (renamed from licenses/TI-TFL)0
-rw-r--r--meta-ti-bsp/licenses/TI-TSPA (renamed from licenses/TI-TSPA)0
-rw-r--r--meta-ti-bsp/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb18
-rw-r--r--meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb29
-rw-r--r--meta-ti-bsp/recipes-bsp/cmem/cmem.inc16
-rw-r--r--meta-ti-bsp/recipes-bsp/cmem/cmem_git.bb (renamed from recipes-bsp/cmem/cmem_git.bb)4
-rw-r--r--meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb29
-rwxr-xr-x[-rw-r--r--]meta-ti-bsp/recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb (renamed from recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb)24
-rw-r--r--meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb (renamed from recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb)16
-rw-r--r--meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb19
-rw-r--r--meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.3.6512818.bb42
-rw-r--r--meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb45
-rw-r--r--meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb33
-rw-r--r--meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb30
-rw-r--r--meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb24
-rw-r--r--meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb29
-rw-r--r--meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb112
-rw-r--r--meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb104
-rw-r--r--meta-ti-bsp/recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb (renamed from recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb)6
-rw-r--r--meta-ti-bsp/recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb (renamed from recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb)6
-rw-r--r--meta-ti-bsp/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb17
-rw-r--r--meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc46
-rw-r--r--meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb29
-rw-r--r--meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc10
-rw-r--r--meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend4
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/ti-extras.inc12
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb17
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc7
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-mainline_git.bb16
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2023.04.bb9
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb11
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc357
-rw-r--r--meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb (renamed from recipes-bsp/vis-fw/vis_01.50.07.15.bb)12
-rw-r--r--meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb (renamed from recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb)9
-rw-r--r--meta-ti-bsp/recipes-bsp/vpe-tests/vpe-tests_git.bb (renamed from recipes-bsp/vpe-tests/vpe-tests_git.bb)8
-rw-r--r--meta-ti-bsp/recipes-core/udev/eudev/firmware.rules (renamed from recipes-core/udev/eudev/firmware.rules)0
-rw-r--r--meta-ti-bsp/recipes-core/udev/eudev/omap-tty.rules (renamed from recipes-core/udev/eudev/omap-tty.rules)0
-rw-r--r--meta-ti-bsp/recipes-core/udev/eudev_%.bbappend (renamed from recipes-core/udev/eudev_%.bbappend)8
-rw-r--r--meta-ti-bsp/recipes-devtools/binutils/binutils-cross-canadian_%.bbappend1
-rw-r--r--meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb17
-rw-r--r--meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb (renamed from recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb)10
-rw-r--r--meta-ti-bsp/recipes-graphics/mesa/files/0001-fix-gallivm-limit-usage-of-LLVMContextSetOpaquePoint.patch128
-rw-r--r--meta-ti-bsp/recipes-graphics/mesa/files/0001-freedreno-pm4-Use-unsigned-instead-of-uint-to-fix-mu.patch43
-rw-r--r--meta-ti-bsp/recipes-graphics/mesa/files/0001-gallium-Fix-build-with-llvm-17.patch58
-rw-r--r--meta-ti-bsp/recipes-graphics/mesa/files/0001-gbm-backend-fix-gbm-compile-without-dri.patch64
-rw-r--r--meta-ti-bsp/recipes-graphics/mesa/files/0001-meson-misdetects-64bit-atomics-on-mips-clang.patch25
-rw-r--r--meta-ti-bsp/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch43
-rw-r--r--meta-ti-bsp/recipes-graphics/mesa/files/0001-util-format-Check-for-NEON-before-using-it.patch47
-rw-r--r--meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb59
-rw-r--r--meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb145
-rw-r--r--meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb58
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/files/0001-gcc-plugins-Fix-build-for-upcoming-GCC-release.patch46
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/files/configs/empty (renamed from recipes-kernel/linux/files/configs/empty)0
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/files/init_disassemble_info-signature-changes-causes-compile-failures.patch111
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch56
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch54
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-bb.org/defconfig1
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb35
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb42
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-next_git.bb26
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/k3/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig1
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/ti33x/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/ti43x/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/k3/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/omapl138/defconfig1
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti33x/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti43x/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/omapl138/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/ti33x/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/ti43x/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/k3/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/omapl138/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti33x/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti43x/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb15
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb17
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.1/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.1/k3/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.1/omapl138/defconfig1
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/k3/defconfig2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/omapl138/defconfig1
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.1.bb (renamed from recipes-kernel/linux/linux-ti-staging-systest_5.4.bb)4
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.6.bb7
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb42
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb44
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc (renamed from recipes-kernel/linux/setup-defconfig.inc)20
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/ti-extras-rt.inc11
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/ti-extras.inc14
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/ti-kernel-devicetree-prefix.inc42
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc14
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-%.bbappend1
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc2
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend4
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc2
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-examples_%.bbappend4
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-os-4.0.0/0002ti-core-Define-section-attributes-for-clang.patch249
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-os-tadevkit-ti-overrides.inc1
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_%.bbappend9
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc78
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc7
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend9
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc6
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-test_%.bbappend4
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-ipc-common.inc12
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-ipc.inc (renamed from recipes-ti/ipc/ti-ipc.inc)8
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-ipc/0001-Add-kernel-build-dir.patch (renamed from recipes-ti/ipc/ti-ipc/0001-Add-kernel-build-dir.patch)2
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-ipc/0001-MmRpc-Stop-looking-for-rpmsg_rpc.h-in-the-kernel.patch34
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-ipc/omap_remoteproc.conf (renamed from recipes-ti/ipc/ti-ipc/omap_remoteproc.conf)0
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-ipc/tiipclad-daemon.service (renamed from recipes-ti/ipc/ti-ipc/tiipclad-daemon.service)0
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh (renamed from recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh)0
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb (renamed from recipes-ti/ipc/ti-ipc_git.bb)26
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char-examples/0001-examples-Remove-use-of-includedir-and-libdir.patch38
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char-examples_git.bb13
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char.inc18
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char_git.bb7
-rw-r--r--meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb39
-rw-r--r--meta-ti-bsp/recipes-ti/ti-rtos-bin/files/empty1
-rw-r--r--meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb394
-rw-r--r--meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb47
-rw-r--r--meta-ti-bsp/wic/sdimage-2part-efi.wks.in7
-rw-r--r--meta-ti-bsp/wic/sdimage-2part.wks6
-rw-r--r--meta-ti-extras/COPYING.MIT17
-rw-r--r--meta-ti-extras/README31
-rw-r--r--meta-ti-extras/conf/layer.conf18
-rw-r--r--meta-ti-extras/licenses/Hewlett-Packard (renamed from licenses/Hewlett-Packard)0
-rw-r--r--meta-ti-extras/licenses/Patrick-Powell (renamed from licenses/Patrick-Powell)0
-rw-r--r--meta-ti-extras/licenses/Thai-Open-Source-Software-Center (renamed from licenses/Thai-Open-Source-Software-Center)0
-rw-r--r--meta-ti-extras/recipes-bsp/bt-fw/bt-fw_git.bb (renamed from recipes-bsp/bt-fw/bt-fw_git.bb)8
-rw-r--r--meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb (renamed from recipes-bsp/dspdce-fw/dspdce-fw_git.bb)22
-rw-r--r--meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb (renamed from recipes-bsp/dsptop/debugss-module-drv_git.bb)12
-rw-r--r--meta-ti-extras/recipes-bsp/dsptop/dsptop.inc8
-rw-r--r--meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb (renamed from recipes-bsp/dsptop/dsptop_git.bb)11
-rw-r--r--meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb (renamed from recipes-bsp/dsptop/libulm_git.bb)17
-rw-r--r--meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb (renamed from recipes-bsp/ipumm-fw/ipumm-fw_git.bb)34
-rw-r--r--meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb383
-rw-r--r--meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch (renamed from recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch)2
-rw-r--r--meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb29
-rw-r--r--meta-ti-extras/recipes-connectivity/uim/uim-sysfs_8.5.bb (renamed from recipes-connectivity/uim/uim-sysfs_8.5.bb)4
-rw-r--r--meta-ti-extras/recipes-connectivity/wl18xx-calibrator/wl18xx-calibrator/0001-plt.h-Do-not-define-EFUSE_PARAMETER_TYPE_ENMT-type-e.patch35
-rw-r--r--meta-ti-extras/recipes-connectivity/wl18xx-calibrator/wl18xx-calibrator_8.7.3.bb (renamed from recipes-connectivity/wl18xx-calibrator/wl18xx-calibrator_8.7.3.bb)8
-rw-r--r--meta-ti-extras/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts/0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch (renamed from recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts/0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch)2
-rw-r--r--meta-ti-extras/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_8.7.3.bb (renamed from recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_8.7.3.bb)6
-rw-r--r--meta-ti-extras/recipes-connectivity/wlconf/wlconf_8.7.3.bb (renamed from recipes-connectivity/wlconf/wlconf_8.7.3.bb)14
-rw-r--r--meta-ti-extras/recipes-devtools/cuia/cuia_1.0.0.13.bb (renamed from recipes-bsp/cuia/cuia_1.0.0.13.bb)7
-rw-r--r--meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x.inc9
-rw-r--r--meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch (renamed from recipes-devtools/gdbc6x/gdbc6x/0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch)2
-rw-r--r--meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/init (renamed from recipes-devtools/gdbc6x/gdbc6x/init)0
-rw-r--r--meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb (renamed from recipes-devtools/gdbc6x/gdbc6x_git.bb)10
-rw-r--r--meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb (renamed from recipes-devtools/gdbc6x/gdbserver-c6x_git.bb)11
-rw-r--r--meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv/0001-Support-Linux-kernels-v5.15.patch40
-rw-r--r--meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv/0002-Support-Linux-kernels-v6.6.patch31
-rw-r--r--meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb (renamed from recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb)16
-rw-r--r--meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.15.00.bb (renamed from recipes-multimedia/libdce/libdce_3.00.14.00.bb)12
-rw-r--r--meta-ti-extras/recipes-ti/README (renamed from recipes-ti/README)0
-rw-r--r--meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes.bb (renamed from recipes-ti/beagleboard/beaglebone-capes.bb)2
-rwxr-xr-xmeta-ti-extras/recipes-ti/beagleboard/beaglebone-capes/cape-stop.sh (renamed from recipes-ti/beagleboard/beaglebone-capes/cape-stop.sh)0
-rw-r--r--meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes/cape.service (renamed from recipes-ti/beagleboard/beaglebone-capes/cape.service)0
-rwxr-xr-xmeta-ti-extras/recipes-ti/beagleboard/beaglebone-capes/cape.sh (renamed from recipes-ti/beagleboard/beaglebone-capes/cape.sh)0
-rw-r--r--meta-ti-extras/recipes-ti/beagleboard/beaglebone-getting-started.bb (renamed from recipes-ti/beagleboard/beaglebone-getting-started.bb)8
-rw-r--r--meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb (renamed from recipes-ti/beagleboard/gadget-init.bb)10
-rw-r--r--meta-ti-extras/recipes-ti/beagleboard/gadget-init/bone-gmass-eject.rules (renamed from recipes-ti/beagleboard/gadget-init/bone-gmass-eject.rules)0
-rwxr-xr-xmeta-ti-extras/recipes-ti/beagleboard/gadget-init/g-ether-load.sh (renamed from recipes-ti/beagleboard/gadget-init/g-ether-load.sh)0
-rwxr-xr-xmeta-ti-extras/recipes-ti/beagleboard/gadget-init/g-ether-start-service.sh (renamed from recipes-ti/beagleboard/gadget-init/g-ether-start-service.sh)0
-rwxr-xr-xmeta-ti-extras/recipes-ti/beagleboard/gadget-init/g-storage-reinsert.sh (renamed from recipes-ti/beagleboard/gadget-init/g-storage-reinsert.sh)0
-rw-r--r--meta-ti-extras/recipes-ti/beagleboard/gadget-init/network-gadget-init.service (renamed from recipes-ti/beagleboard/gadget-init/network-gadget-init.service)0
-rw-r--r--meta-ti-extras/recipes-ti/beagleboard/gadget-init/storage-gadget-init.service (renamed from recipes-ti/beagleboard/gadget-init/storage-gadget-init.service)0
-rw-r--r--meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.conf (renamed from recipes-ti/beagleboard/gadget-init/udhcpd.conf)0
-rw-r--r--meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.rules (renamed from recipes-ti/beagleboard/gadget-init/udhcpd.rules)0
-rw-r--r--meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.service (renamed from recipes-ti/beagleboard/gadget-init/udhcpd.service)0
-rwxr-xr-xmeta-ti-extras/recipes-ti/beagleboard/gadget-init/update-image-info-on-mmcblk0p1.sh (renamed from recipes-ti/beagleboard/gadget-init/update-image-info-on-mmcblk0p1.sh)0
-rw-r--r--meta-ti-extras/recipes-ti/bios/ti-sysbios.inc (renamed from recipes-ti/bios/ti-sysbios.inc)8
-rw-r--r--meta-ti-extras/recipes-ti/bios/ti-sysbios_6.76.03.01.bb (renamed from recipes-ti/bios/ti-sysbios_6.76.03.01.bb)1
-rw-r--r--meta-ti-extras/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb (renamed from recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb)6
-rw-r--r--meta-ti-extras/recipes-ti/ctoolslib/libaet_git.bb (renamed from recipes-ti/ctoolslib/libaet_git.bb)13
-rw-r--r--meta-ti-extras/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb (renamed from recipes-ti/devtools/gcc-arm-none-eabi_7-2018-q2-update.bb)8
-rw-r--r--meta-ti-extras/recipes-ti/devtools/ti-cg-xml_2.61.00.bb (renamed from recipes-ti/devtools/ti-cg-xml_2.61.00.bb)6
-rw-r--r--meta-ti-extras/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb (renamed from recipes-ti/devtools/ti-cgt-arm_18.12.5.bb)7
-rw-r--r--meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb (renamed from recipes-ti/devtools/ti-cgt-pru_2.3.2.bb)22
-rw-r--r--meta-ti-extras/recipes-ti/devtools/ti-cgt470.inc (renamed from recipes-ti/devtools/ti-cgt470.inc)0
-rw-r--r--meta-ti-extras/recipes-ti/devtools/ti-cgt470_4.6.6.bb (renamed from recipes-ti/devtools/ti-cgt470_4.6.6.bb)0
-rw-r--r--meta-ti-extras/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb (renamed from recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb)6
-rw-r--r--meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb (renamed from recipes-ti/devtools/ti-cgt6x_8.3.2.bb)18
-rw-r--r--meta-ti-extras/recipes-ti/devtools/ti-cgt7x_1.2.0.bb (renamed from recipes-ti/devtools/ti-cgt7x_1.2.0.bb)8
-rw-r--r--meta-ti-extras/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb (renamed from recipes-ti/devtools/ti-xdctools-common.inc)27
-rw-r--r--meta-ti-extras/recipes-ti/dsplib/dsplib-c64xp_git.bb (renamed from recipes-ti/dsplib/dsplib-c64xp_git.bb)0
-rw-r--r--meta-ti-extras/recipes-ti/dsplib/dsplib-c66x_git.bb (renamed from recipes-ti/dsplib/dsplib-c66x_git.bb)0
-rw-r--r--meta-ti-extras/recipes-ti/dsplib/dsplib-c674x_git.bb (renamed from recipes-ti/dsplib/dsplib-c674x_git.bb)0
-rw-r--r--meta-ti-extras/recipes-ti/dsplib/dsplib.inc (renamed from recipes-ti/dsplib/dsplib.inc)14
-rw-r--r--meta-ti-extras/recipes-ti/framework-components/ti-framework-components.inc (renamed from recipes-ti/framework-components/ti-framework-components.inc)8
-rw-r--r--meta-ti-extras/recipes-ti/framework-components/ti-framework-components_2.26.00.01.bb (renamed from recipes-ti/framework-components/ti-framework-components_2.26.00.01.bb)0
-rw-r--r--meta-ti-extras/recipes-ti/framework-components/ti-framework-components_3.40.02.07.bb (renamed from recipes-ti/framework-components/ti-framework-components_3.40.02.07.bb)0
-rw-r--r--meta-ti-extras/recipes-ti/imglib/imglib-c66x.inc (renamed from recipes-ti/imglib/imglib-c66x.inc)10
-rw-r--r--meta-ti-extras/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb (renamed from recipes-ti/imglib/imglib-c66x_3.1.1.0.bb)0
-rw-r--r--meta-ti-extras/recipes-ti/includes/ti-eula-unpack.inc (renamed from recipes-ti/includes/ti-eula-unpack.inc)0
-rw-r--r--meta-ti-extras/recipes-ti/includes/ti-paths.inc60
-rw-r--r--meta-ti-extras/recipes-ti/includes/ti-staging.inc6
-rw-r--r--meta-ti-extras/recipes-ti/includes/ti-unpack.inc (renamed from recipes-ti/includes/ti-unpack.inc)7
-rw-r--r--meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch40
-rw-r--r--meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb (renamed from recipes-ti/ipc/ti-ipc-examples-linux_git.bb)8
-rw-r--r--meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc (renamed from recipes-ti/ipc/ti-ipc-examples.inc)8
-rw-r--r--meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb (renamed from recipes-ti/ipc/ti-ipc-examples_git.bb)8
-rw-r--r--meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc (renamed from recipes-ti/ipc/ti-ipc-rtos.inc)42
-rw-r--r--meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb (renamed from recipes-ti/ipc/ti-ipc-rtos_git.bb)66
-rw-r--r--meta-ti-extras/recipes-ti/jailhouse/jailhouse-inmate.bb12
-rw-r--r--meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb126
-rw-r--r--meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc87
-rw-r--r--meta-ti-extras/recipes-ti/mathlib/mathlib-c66x_git.bb (renamed from recipes-ti/mathlib/mathlib-c66x_git.bb)0
-rw-r--r--meta-ti-extras/recipes-ti/mathlib/mathlib-c674x_git.bb (renamed from recipes-ti/mathlib/mathlib-c674x_git.bb)0
-rw-r--r--meta-ti-extras/recipes-ti/mathlib/mathlib.inc (renamed from recipes-ti/mathlib/mathlib.inc)14
-rw-r--r--meta-ti-extras/recipes-ti/openmp-rtos/openmp-rtos_git.bb (renamed from recipes-ti/openmp-rtos/openmp-rtos_git.bb)36
-rw-r--r--meta-ti-extras/recipes-ti/osal/ti-osal.inc (renamed from recipes-ti/osal/ti-osal.inc)10
-rw-r--r--meta-ti-extras/recipes-ti/osal/ti-osal_1.24.00.09.bb (renamed from recipes-ti/osal/ti-osal_1.24.00.09.bb)0
-rw-r--r--meta-ti-extras/recipes-ti/swtools/swtools_git.bb (renamed from recipes-ti/swtools/swtools_git.bb)16
-rw-r--r--meta-ti-extras/recipes-ti/vlib/vlib-c66x.inc (renamed from recipes-ti/vlib/vlib-c66x.inc)8
-rw-r--r--meta-ti-extras/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb (renamed from recipes-ti/vlib/vlib-c66x_3.2.1.0.bb)0
-rw-r--r--meta-ti-extras/recipes-ti/xdais/ti-xdais.inc (renamed from recipes-ti/xdais/ti-xdais.inc)8
-rw-r--r--meta-ti-extras/recipes-ti/xdais/ti-xdais_6.26.01.03.bb (renamed from recipes-ti/xdais/ti-xdais_6.26.01.03.bb)2
-rw-r--r--meta-ti-extras/recipes-ti/xdais/ti-xdais_7.24.00.04.bb (renamed from recipes-ti/xdais/ti-xdais_7.24.00.04.bb)0
-rw-r--r--recipes-bsp/abefw/abefw_1.0.14.bb23
-rw-r--r--recipes-bsp/aif2-lld/aif2-lld-rtos_git.bb16
-rw-r--r--recipes-bsp/aif2-lld/aif2-lld-test_git.bb18
-rw-r--r--recipes-bsp/aif2-lld/aif2-lld.inc14
-rw-r--r--recipes-bsp/aif2-lld/aif2-lld_git.bb18
-rw-r--r--recipes-bsp/alsa-state/alsa-state.bbappend1
-rw-r--r--recipes-bsp/alsa-state/alsa-state/beagleboard/asound.state656
-rw-r--r--recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.2.bb71
-rw-r--r--recipes-bsp/audk2g-addon/audk2g-addon-rtos_git.bb38
-rw-r--r--recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb23
-rw-r--r--recipes-bsp/board-rtos/board-rtos_git.bb76
-rw-r--r--recipes-bsp/boot-monitor/boot-monitor_git.bb47
-rw-r--r--recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb28
-rw-r--r--recipes-bsp/cal-lld/cal-lld-rtos_git.bb76
-rw-r--r--recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb29
-rw-r--r--recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb41
-rw-r--r--recipes-bsp/cmem/cmem-mod_git.bb18
-rw-r--r--recipes-bsp/cmem/cmem.inc16
-rw-r--r--recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb22
-rw-r--r--recipes-bsp/common-csl-ip/common-csl-ip.inc23
-rw-r--r--recipes-bsp/common-csl-ip/common-csl-ip_git.bb17
-rw-r--r--recipes-bsp/common-csl-ip/csl-rti-dwwdtest-fw_git.bb77
-rw-r--r--recipes-bsp/cppi-lld/cppi-lld-rtos_git.bb10
-rw-r--r--recipes-bsp/cppi-lld/cppi-lld-test_git.bb27
-rw-r--r--recipes-bsp/cppi-lld/cppi-lld.inc19
-rw-r--r--recipes-bsp/cppi-lld/cppi-lld_git.bb32
-rw-r--r--recipes-bsp/dfe-lld/dfe-lld-rtos_git.bb12
-rw-r--r--recipes-bsp/dfe-lld/dfe-lld-test_git.bb20
-rw-r--r--recipes-bsp/dfe-lld/dfe-lld.inc14
-rw-r--r--recipes-bsp/dfe-lld/dfe-lld_git.bb18
-rw-r--r--recipes-bsp/dsptop/dsptop.inc8
-rw-r--r--recipes-bsp/dsptop/temperature-module-drv_git.bb18
-rw-r--r--recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb145
-rw-r--r--recipes-bsp/edma3-lld/edma3-lld.inc17
-rw-r--r--recipes-bsp/edma3-lld/edma3-lld_git.bb75
-rw-r--r--recipes-bsp/emac-lld/emac-lld-rtos_git.bb30
-rw-r--r--recipes-bsp/emac-lld/emac-lld.inc7
-rw-r--r--recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb28
-rw-r--r--recipes-bsp/faultmanagement/faultmanagement-rtos_git.bb36
-rw-r--r--recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb22
-rwxr-xr-xrecipes-bsp/formfactor/formfactor/beagleboard/machconfig3
-rw-r--r--recipes-bsp/formfactor/formfactor_0.0.bbappend1
-rwxr-xr-xrecipes-bsp/fvid2/fvid2-rtos_git.bb68
-rw-r--r--recipes-bsp/goodix-fw/goodix-fw_git.bb29
-rw-r--r--recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb34
-rw-r--r--recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb32
-rw-r--r--recipes-bsp/hplib/hplib-mod_git.bb22
-rw-r--r--recipes-bsp/hplib/hplib-test_git.bb32
-rw-r--r--recipes-bsp/hplib/hplib.inc20
-rw-r--r--recipes-bsp/hplib/hplib_git.bb33
-rw-r--r--recipes-bsp/hyplnk-lld/hyplnk-lld-rtos_git.bb12
-rw-r--r--recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb26
-rw-r--r--recipes-bsp/hyplnk-lld/hyplnk-lld.inc21
-rw-r--r--recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb33
-rw-r--r--recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb45
-rw-r--r--recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb75
-rw-r--r--recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb25
-rw-r--r--recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb30
-rw-r--r--recipes-bsp/icss-emac-lld/icss-emac-lld.inc15
-rw-r--r--recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb25
-rw-r--r--recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb33
-rw-r--r--recipes-bsp/ipc-lld/ipc-lld-examples-rtos_git.bb145
-rw-r--r--recipes-bsp/ipc-lld/ipc-lld-fw_git.bb196
-rw-r--r--recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb45
-rw-r--r--recipes-bsp/ipc-lld/ipc-lld.inc29
-rw-r--r--recipes-bsp/iqn2-lld/iqn2-lld-rtos_git.bb12
-rw-r--r--recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb18
-rw-r--r--recipes-bsp/iqn2-lld/iqn2-lld.inc13
-rw-r--r--recipes-bsp/iqn2-lld/iqn2-lld_git.bb23
-rw-r--r--recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb29
-rw-r--r--recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb23
-rw-r--r--recipes-bsp/mad-utils/mad-utils-rtos_git.bb57
-rw-r--r--recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb41
-rw-r--r--recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb30
-rw-r--r--recipes-bsp/mmap-lld/mmap-lld-rtos_git.bb10
-rw-r--r--recipes-bsp/mmap-lld/mmap-lld-test_git.bb44
-rw-r--r--recipes-bsp/mmap-lld/mmap-lld.inc22
-rw-r--r--recipes-bsp/mmap-lld/mmap-lld_git.bb15
-rw-r--r--recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb41
-rw-r--r--recipes-bsp/netcp-pa-fw/netcp-pa-fw_git.bb56
-rw-r--r--recipes-bsp/netcp-sa-fw/netcp-sa-fw_git.bb29
-rw-r--r--recipes-bsp/nwal-lld/nwal-lld-rtos_git.bb19
-rw-r--r--recipes-bsp/nwal-lld/nwal-lld-test_git.bb27
-rw-r--r--recipes-bsp/nwal-lld/nwal-lld.inc21
-rw-r--r--recipes-bsp/nwal-lld/nwal-lld_git.bb27
-rw-r--r--recipes-bsp/osal/osal-rtos_git.bb18
-rw-r--r--recipes-bsp/osal/osal-test_git.bb20
-rw-r--r--recipes-bsp/osal/osal.inc15
-rw-r--r--recipes-bsp/osal/osal_git.bb21
-rw-r--r--recipes-bsp/pa-lld/pa-lld-rtos_git.bb12
-rw-r--r--recipes-bsp/pa-lld/pa-lld-test_git.bb28
-rw-r--r--recipes-bsp/pa-lld/pa-lld.inc24
-rw-r--r--recipes-bsp/pa-lld/pa-lld_git.bb24
-rw-r--r--recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb28
-rw-r--r--recipes-bsp/pktlib/pktlib-rtos_git.bb10
-rw-r--r--recipes-bsp/pktlib/pktlib.inc24
-rw-r--r--recipes-bsp/pktlib/pktlib_git.bb19
-rw-r--r--recipes-bsp/pm-lld/pm-lld-rtos_git.bb71
-rw-r--r--recipes-bsp/powervr-drivers/ti-img-rogue-driver/0001-km-support-general-toolchain.patch56
-rw-r--r--recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.10.5371573.bb36
-rw-r--r--recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch34
-rw-r--r--recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb48
-rw-r--r--recipes-bsp/pru/pru-icss_git.bb318
-rw-r--r--recipes-bsp/pru/pru-pwm-fw_git.bb39
-rw-r--r--recipes-bsp/pru/pru-swuart-fw/0001-icss_uart-add-Makefile-for-building-firmware.patch145
-rw-r--r--recipes-bsp/pru/pru-swuart-fw/0001-icss_uart-remove-dependency-on-PDK-CSL.patch54
-rw-r--r--recipes-bsp/pru/pru-swuart-fw_git.bb40
-rw-r--r--recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb31
-rw-r--r--recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb45
-rw-r--r--recipes-bsp/prueth-fw/prueth-fw_git.bb47
-rw-r--r--recipes-bsp/pruss-lld/pruss-lld-apps_git.bb31
-rw-r--r--recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb22
-rw-r--r--recipes-bsp/pruss-lld/pruss-lld-test_git.bb27
-rw-r--r--recipes-bsp/pruss-lld/pruss-lld.inc15
-rw-r--r--recipes-bsp/pruss-lld/pruss-lld_git.bb21
-rw-r--r--recipes-bsp/prusw-fw/prusw-fw_git.bb40
-rw-r--r--recipes-bsp/qmss-lld/qmss-lld-rtos_git.bb9
-rw-r--r--recipes-bsp/qmss-lld/qmss-lld-test_git.bb28
-rw-r--r--recipes-bsp/qmss-lld/qmss-lld.inc19
-rw-r--r--recipes-bsp/qmss-lld/qmss-lld_git.bb32
-rw-r--r--recipes-bsp/qmss-pdsp-fw/qmss-pdsp-fw_git.bb29
-rw-r--r--recipes-bsp/rm-lld/rm-lld-rtos_git.bb13
-rw-r--r--recipes-bsp/rm-lld/rm-lld.inc15
-rw-r--r--recipes-bsp/rm-lld/rm-lld_git.bb31
-rw-r--r--recipes-bsp/sa-lld/sa-lld-rtos_git.bb26
-rw-r--r--recipes-bsp/sa-lld/sa-lld-test_git.bb44
-rw-r--r--recipes-bsp/sa-lld/sa-lld.inc21
-rw-r--r--recipes-bsp/sa-lld/sa-lld_git.bb24
-rw-r--r--recipes-bsp/sciclient/sciclient-rtos_git.bb112
-rw-r--r--recipes-bsp/serdes-diag/serdes-diag-rtos_git.bb35
-rw-r--r--recipes-bsp/serdes-fw/serdes-fw_git.bb29
-rw-r--r--recipes-bsp/spi-lld/spi-lld-rtos_git.bb37
-rw-r--r--recipes-bsp/srio-lld/srio-lld-rtos_git.bb17
-rw-r--r--recipes-bsp/srio-lld/srio-lld-test_git.bb28
-rw-r--r--recipes-bsp/srio-lld/srio-lld.inc18
-rw-r--r--recipes-bsp/srio-lld/srio-lld_git.bb21
-rw-r--r--recipes-bsp/srss-tc/srss-tc_git.bb33
-rw-r--r--recipes-bsp/starterware/starterware-rtos_git.bb33
-rw-r--r--recipes-bsp/starterware/starterware.inc21
-rw-r--r--recipes-bsp/starterware/starterware_git.bb16
-rw-r--r--recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb23
-rw-r--r--recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb48
-rw-r--r--recipes-bsp/ti-img-encode-decode/ti-img-encode-decode_1.0.0.bb31
-rw-r--r--recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb34
-rw-r--r--recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb35
-rw-r--r--recipes-bsp/ti-pdk-source/ti-pdk-source_git.bb33
-rw-r--r--recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb37
-rw-r--r--recipes-bsp/traceframework/traceframework-rtos_git.bb10
-rw-r--r--recipes-bsp/traceframework/traceframework.inc27
-rw-r--r--recipes-bsp/traceframework/traceframework_git.bb38
-rw-r--r--recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb19
-rw-r--r--recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb29
-rw-r--r--recipes-bsp/transport-rtos/nimu-rtos_git.bb35
-rw-r--r--recipes-bsp/transport-rtos/timesync-rtos_git.bb31
-rw-r--r--recipes-bsp/transport-rtos/transport.inc11
-rw-r--r--recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb18
-rw-r--r--recipes-bsp/u-boot/u-boot-ti-staging_2020.01.bb7
-rw-r--r--recipes-bsp/u-boot/u-boot-ti.inc375
-rw-r--r--recipes-bsp/uart-lld/uart-lld-rtos_git.bb41
-rw-r--r--recipes-bsp/udma-lld/udma-lld-rtos_git.bb65
-rw-r--r--recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb45
-rw-r--r--recipes-bsp/uio-module-drv/uio-module-drv.inc19
-rw-r--r--recipes-bsp/uio-module-drv/uio-module-drv_git.bb18
-rw-r--r--recipes-bsp/usb-lld/usb-lld-rtos_git.bb29
-rw-r--r--recipes-bsp/utils-rtos/profiling-rtos_git.bb26
-rw-r--r--recipes-bsp/utils-rtos/trace-rtos_git.bb28
-rw-r--r--recipes-bsp/vps-lld/vps-lld-rtos_git.bb56
-rw-r--r--recipes-bsp/wdtimer/wdtimer-rtos_git.bb29
-rw-r--r--recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb26
-rw-r--r--recipes-bsp/x-load/signgp.bb20
-rw-r--r--recipes-bsp/x-load/signgp/signGP.c108
-rw-r--r--recipes-bsp/x-load/x-load.inc58
-rw-r--r--recipes-bsp/x-load/x-load/0001-Beagle-Rev-C5-support.patch60
-rw-r--r--recipes-bsp/x-load/x-load/panda-frefclk.patch193
-rw-r--r--recipes-bsp/x-load/x-load_1.46-psp.bb38
-rw-r--r--recipes-bsp/x-load/x-load_git.bb22
-rw-r--r--recipes-core/init-ifupdown/init-ifupdown-1.0/beagleboard/interfaces27
-rw-r--r--recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend1
-rw-r--r--recipes-devtools/doxygen/doxygen/patch-flex_2_6_0.diff66
-rw-r--r--recipes-devtools/doxygen/doxygen_1.8.9.1.bb36
-rw-r--r--recipes-devtools/gdbc6x/gdbc6x.inc9
-rw-r--r--recipes-devtools/ion/libion/0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch48
-rw-r--r--recipes-devtools/ion/libion_git.bb16
-rw-r--r--recipes-devtools/k3conf/k3conf_git.bb24
-rw-r--r--recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb65
-rw-r--r--recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb69
-rw-r--r--recipes-kernel/jailhouse/jailhouse-arch.inc22
-rw-r--r--recipes-kernel/jailhouse/jailhouse_git.bb163
-rw-r--r--recipes-kernel/kselftests/files/0001-selftests-add-ptp-to-TARGETS.patch25
-rw-r--r--recipes-kernel/kselftests/files/0001-selftests-breakpoints-allow-to-cross-compile-for-aar.patch32
-rw-r--r--recipes-kernel/kselftests/files/0001-selftests-gpio-use-pkg-config.patch53
-rw-r--r--recipes-kernel/kselftests/files/0001-selftests-lib-allow-to-override-CC-in-the-top-level-Makefile.patch22
-rw-r--r--recipes-kernel/kselftests/files/0001-selftests-net-use-LDLIBS-to-link-against-libnuma.patch24
-rw-r--r--recipes-kernel/kselftests/files/0001-selftests-seccomp-use-LDLIBS-to-link-against-libpthread.patch23
-rw-r--r--recipes-kernel/kselftests/files/0001-selftests-sigaltstack-fix-packaging.patch26
-rw-r--r--recipes-kernel/kselftests/files/0001-selftests-timers-use-LDLIBS-to-link-against-libpthread.patch23
-rw-r--r--recipes-kernel/kselftests/kselftests_4.10.bb190
-rw-r--r--recipes-kernel/linux/bundle-devicetree.inc26
-rw-r--r--recipes-kernel/linux/cmem.inc96
-rw-r--r--recipes-kernel/linux/files/cmem.dtsi38
-rw-r--r--recipes-kernel/linux/files/dra7xx/am571x-pru-uio.dtsi272
-rw-r--r--recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi252
-rw-r--r--recipes-kernel/linux/files/dra7xx/cmem-am571x.dtsi29
-rw-r--r--recipes-kernel/linux/files/dra7xx/cmem-am5729-beagleboneai.dtsi40
-rw-r--r--recipes-kernel/linux/files/dra7xx/cmem-am572idk.dtsi40
-rw-r--r--recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi40
-rw-r--r--recipes-kernel/linux/files/dra7xx/cmem-dra71x.dtsi29
-rw-r--r--recipes-kernel/linux/files/dra7xx/cmem-dra72x.dtsi29
-rw-r--r--recipes-kernel/linux/files/dra7xx/cmem-dra76x.dtsi29
-rw-r--r--recipes-kernel/linux/files/dra7xx/cmem.dtsi40
-rw-r--r--recipes-kernel/linux/files/k2e/cmem.dtsi36
-rw-r--r--recipes-kernel/linux/files/k2e/k2e-uio.dtsi32
-rw-r--r--recipes-kernel/linux/files/k2g/cmem.dtsi37
-rw-r--r--recipes-kernel/linux/files/k2g/keystone-k2g-pru-uio.dtsi391
-rw-r--r--recipes-kernel/linux/files/k2hk/cmem.dtsi37
-rw-r--r--recipes-kernel/linux/files/k2hk/k2hk-uio.dtsi58
-rw-r--r--recipes-kernel/linux/files/k2l/cmem.dtsi37
-rw-r--r--recipes-kernel/linux/files/k2l/k2l-uio.dtsi10
-rw-r--r--recipes-kernel/linux/files/keystone/keystone-uio.dtsi186
-rw-r--r--recipes-kernel/linux/files/ti33x/am335x-pru-uio.dtsi192
-rw-r--r--recipes-kernel/linux/files/ti43x/am437x-pru-uio.dtsi292
-rw-r--r--recipes-kernel/linux/linux-ti-staging-5.4/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-5.4/dra7xx/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-5.4/k2g/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-5.4/k3/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-5.4/keystone/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-5.4/omapl138/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-5.4/ti33x/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-5.4/ti43x/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-rt-5.4/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-rt-5.4/dra7xx/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-rt-5.4/k2g/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-rt-5.4/k3/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-rt-5.4/keystone/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-rt-5.4/ti33x/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-rt-5.4/ti43x/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-rt_5.4.bb10
-rw-r--r--recipes-kernel/linux/linux-ti-staging-systest-5.4/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-systest-5.4/dra7xx/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-systest-5.4/k2g/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-systest-5.4/k3/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-systest-5.4/keystone/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-systest-5.4/omapl138/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-systest-5.4/ti33x/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging-systest-5.4/ti43x/defconfig1
-rw-r--r--recipes-kernel/linux/linux-ti-staging_5.4.bb81
-rw-r--r--recipes-kernel/linux/ti-uio.inc92
-rw-r--r--recipes-ti/bios/ti-biosutils.inc18
-rw-r--r--recipes-ti/bios/ti-biosutils_1.02.02.bb12
-rw-r--r--recipes-ti/bios/ti-dspbios.inc25
-rw-r--r--recipes-ti/devtools/gcc-arm-none-eabi-native_4.9.2015q3.bb23
-rw-r--r--recipes-ti/devtools/gcc-linaro-baremetal-aarch64-native.bb23
-rw-r--r--recipes-ti/devtools/gcc-linaro-baremetal-native.bb23
-rw-r--r--recipes-ti/devtools/gcc-linaro.inc10
-rw-r--r--recipes-ti/devtools/ti-xdctools-core.inc5
-rw-r--r--recipes-ti/devtools/ti-xdctools.inc10
-rw-r--r--recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff19
-rw-r--r--recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff21
-rw-r--r--recipes-ti/devtools/ti-xdctools_3.55.02.22.bb9
-rw-r--r--recipes-ti/dmai/ti-dmai.inc162
-rw-r--r--recipes-ti/dmai/ti-dmai/arago-tdox210
-rw-r--r--recipes-ti/dmai/ti-dmai/doxygen_templates.tar.gzbin8012 -> 0 bytes
-rwxr-xr-xrecipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-apps.sh37
-rwxr-xr-xrecipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm355_al.sh23
-rw-r--r--recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm365_al.sh25
-rwxr-xr-xrecipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm6446_al.sh19
-rwxr-xr-xrecipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm6467_al.sh19
-rwxr-xr-xrecipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-o3530_al.sh42
-rwxr-xr-xrecipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-ol137_al.sh19
-rwxr-xr-xrecipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-ol138_al.sh19
-rw-r--r--recipes-ti/dmai/ti-dmai/omap3530-r642-remove-include-videodev.diff64
-rw-r--r--recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff48
-rw-r--r--recipes-ti/dmai/ti-dmai/remove-unneeded-includes.patch26
-rw-r--r--recipes-ti/dmai/ti-dmai/unloadmodules-ti-dmai-apps.sh12
-rw-r--r--recipes-ti/dmai/ti-dmai_svn.bb43
-rw-r--r--recipes-ti/hdvpss/ti-hdvpss.inc20
-rw-r--r--recipes-ti/hdvpss/ti-hdvpss_01.00.01.27.bb7
-rw-r--r--recipes-ti/includes/ti-paths.inc125
-rw-r--r--recipes-ti/includes/ti-staging.inc6
-rw-r--r--recipes-ti/ipc/ipc-transport-common-rtos_git.bb23
-rw-r--r--recipes-ti/ipc/ipc-transport-qmss-rtos_git.bb23
-rw-r--r--recipes-ti/ipc/ipc-transport-qmss-test_git.bb37
-rw-r--r--recipes-ti/ipc/ipc-transport-qmss.inc14
-rw-r--r--recipes-ti/ipc/ipc-transport-qmss_git.bb17
-rw-r--r--recipes-ti/ipc/ipc-transport-srio-rtos_git.bb22
-rw-r--r--recipes-ti/ipc/ipc-transport-srio-test_git.bb32
-rw-r--r--recipes-ti/ipc/ipc-transport-srio.inc14
-rw-r--r--recipes-ti/ipc/ipc-transport-srio_git.bb17
-rw-r--r--recipes-ti/ipc/ipc-transport.inc15
-rw-r--r--recipes-ti/ipc/ti-ipc-common.inc21
-rw-r--r--recipes-ti/linuxutils/ti-linuxutils.inc93
-rw-r--r--recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix-2.patch22
-rw-r--r--recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix.patch73
-rw-r--r--recipes-ti/linuxutils/ti-linuxutils/linuxutils_2_26-cmemk-fixes.patch59
-rw-r--r--recipes-ti/linuxutils/ti-linuxutils/linuxutils_2_26-sdmak-fixes.patch25
-rw-r--r--recipes-ti/linuxutils/ti-linuxutils_2.26.01.02.bb17
-rw-r--r--recipes-ti/mpm-transport/mpm-transport_git.bb49
-rw-r--r--recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb44
-rw-r--r--recipes-ti/multiprocmgr/multiprocmgr-test_git.bb29
-rw-r--r--recipes-ti/multiprocmgr/multiprocmgr.inc21
-rw-r--r--recipes-ti/multiprocmgr/multiprocmgr/mpmsrv-daemon.service14
-rw-r--r--recipes-ti/multiprocmgr/multiprocmgr_git.bb44
-rw-r--r--recipes-ti/ndk/ti-ndk.inc20
-rw-r--r--recipes-ti/ndk/ti-ndk_3.61.01.01.bb16
-rw-r--r--recipes-ti/ns/ti-ns.inc21
-rw-r--r--recipes-ti/ns/ti-ns_2.60.01.06.bb14
-rw-r--r--recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb32
-rw-r--r--recipes-ti/udma/udma_git.bb32
-rw-r--r--recipes-ti/uio-test-pruss/uio-test-pruss_git.bb39
-rw-r--r--wic/sdimage-3part.wks8
659 files changed, 7045 insertions, 14353 deletions
diff --git a/README b/README
index e6d342b9..204966ac 100644
--- a/README
+++ b/README
@@ -1,27 +1,4 @@
-The official OpenEmbedded/Yocto BSP layer for Texas Instruments platforms.
+Collection of layers for the OE-core universe
-It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the
-source repository at git://git.yoctoproject.org/meta-ti
+Please see the respective READMEs in the layer subdirectories
-
-This layer depends on:
-
-URI: git://git.openembedded.org/openembedded-core
-layers: meta
-branch: master
-
-
-The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
-distributions and layer stacks, such as:
-distro-less (only with OE-Core), with Yocto/Poky, with Angstrom or Arago.
-
-Please follow the recommended setup procedures of your OE distribution.
-
-
-Send pull requests, patches, comments or questions to:
-meta-ti@lists.yoctoproject.org
-
-Please note - meta-ti mailing list requires subscription for posting:
-https://lists.yoctoproject.org/g/meta-ti
-
-Maintainers: Denys Dmytriyenko <denys@ti.com>
diff --git a/classes/ti-pdk-fetch.bbclass b/classes/ti-pdk-fetch.bbclass
deleted file mode 100644
index bb574349..00000000
--- a/classes/ti-pdk-fetch.bbclass
+++ /dev/null
@@ -1,46 +0,0 @@
-TI_PDK_GIT_URI ?= "git://git.ti.com/processor-sdk/pdk.git"
-TI_PDK_GIT_BRANCH ?= "master"
-TI_PDK_GIT_PROTOCOL ?= "git"
-TI_PDK_SRCREV ?= "4d15e4d2654c48f48b91d7aa52828d66ece2cc12"
-
-TI_PDK_VERSION ?= "2020.2.20"
-
-PV = "${TI_PDK_VERSION}"
-
-TI_PDK_COMP ?= ""
-TI_PDK_COMP_PATH = "${@'${TI_PDK_COMP}'.replace('.','/')}"
-
-TI_PDK_SOURCE_PN = "ti-pdk-source"
-TI_PDK_SOURCE_WORKDIR = "${TMPDIR}/work-shared/ti-pdk-${PV}"
-TI_PDK_SOURCE = "${TI_PDK_SOURCE_WORKDIR}/git"
-
-S = "${WORKDIR}/git/${TI_PDK_COMP_PATH}"
-
-# Hard-link only required sources from PDK
-python do_unpack_append() {
- if len(d.getVar('TI_PDK_COMP') or '') > 0:
- import shutil
-
- # Get src/dst paths
- src = os.path.join(d.getVar('TI_PDK_SOURCE'),'packages',d.getVar('TI_PDK_COMP_PATH'))
- s = d.getVar('S')
-
- # Set up the directory structure, except for the root of the sources
- # hard-linked.
- bb.utils.mkdirhier(s)
- os.rmdir(s)
-
- # Recursively hard-link the sources
- shutil.copytree(src, s, copy_function=os.link)
-
- # Recursively hard-link the git directory
- shutil.copytree(os.path.join(d.getVar('TI_PDK_SOURCE'),'.git'), os.path.join(s,'.git'), copy_function=os.link)
-}
-
-# Make sure that ti-pdk-source is unpacked before we set up the hardlinks.
-python __anonymous () {
- pn = d.getVar('PN')
- pdk_src_pn = d.getVar('TI_PDK_SOURCE_PN')
- if pn != pdk_src_pn:
- d.appendVarFlag('do_unpack', 'depends', ' ${TI_PDK_SOURCE_PN}:do_unpack')
-}
diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
deleted file mode 100644
index a07fdbb3..00000000
--- a/classes/ti-pdk.bbclass
+++ /dev/null
@@ -1,144 +0,0 @@
-require recipes-ti/includes/ti-paths.inc
-require recipes-ti/includes/ti-staging.inc
-
-inherit perlnative
-
-DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos doxygen-native"
-
-DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
-DEPENDS_remove_ti33x = "ti-cgt6x-native"
-DEPENDS_remove_ti43x = "ti-cgt6x-native"
-DEPENDS_append_omapl1 = " ti-cgt-arm-native"
-DEPENDS_remove_am65xx = "gcc-arm-none-eabi-native ti-cgt6x-native"
-DEPENDS_append_am65xx = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native"
-DEPENDS_remove_j7-evm = "gcc-arm-none-eabi-native"
-DEPENDS_append_j7-evm = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native ti-cgt7x-native"
-
-S = "${WORKDIR}/git"
-B = "${WORKDIR}/build"
-
-# HTML hyperlink text
-PDK_COMP_LINK_TEXT ?= ""
-
-DOC_FILE = "API_Documentation_${PN}.html"
-
-create_doc_link () {
- PDK_COMP_DIR=`get_build_dir_bash`
-
- echo "<a href=\"${PDK_COMP_DIR}/docs/doxygen/html/index.html\">${PDK_COMP_LINK_TEXT}</a>" >> ${D}${PDK_INSTALL_DIR_RECIPE}/packages/.extras/doc/${DOC_FILE}
-}
-
-get_build_dir_bash() {
- if [ -f ${S}/package.xdc ]
- then
- grep '^package' ${S}/package.xdc | sed -e 's|\[.*$||' | awk '{ print $2 }' | sed -e 's|\.|/|g'
- else
- echo ${S}
- return 1
- fi
-}
-
-export CROSS_TOOL_PRFX="arm-none-eabi-"
-export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
-export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
-export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}"
-export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}"
-export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}"
-export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
-export C7X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c7x"
-export TOOLCHAIN_PATH_EVE = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-arp32"
-export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}"
-export TOOLCHAIN_PATH_GCC_ARCH64 = "${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}"
-export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
-
-export ROOTDIR = "${B}"
-export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
-export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}"
-export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
-
-export XDCPATH = "${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;${PDK_INSTALL_DIR}/packages"
-export SECTTI="perl ${CG_XML_INSTALL_DIR}/ofd/sectti.pl"
-
-TI_PDK_XDCMAKE ?= "1"
-
-# By default, only build the cores with available toolchains
-TI_PDK_LIMIT_CORES ?= "a15_0 ipu1_0 ipu1_1 ipu2_0 ipu2_1 mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1 c66x c66xdsp_1 c66xdsp_2 c7x_1 arm9_0 c674x a9host a8host pru_0 pru_1"
-TI_PDK_LIMIT_SOCS ?= ""
-TI_PDK_LIMIT_BOARDS ?= ""
-TI_PDK_MAKE_TARGET ?= "release"
-TI_PDK_EXTRA_MAKE ?= ""
-TI_PDK_DOXYGEN_SUPPORT ?= "1"
-
-TI_PDK_XDC_ARGS ?= "${TI_PDK_LIMIT_SOCS}"
-
-PARALLEL_XDC = "${@oe.utils.parallel_make_argument(d, '--jobs=%d')}"
-PARALLEL_MAKE = ""
-
-def get_doxygen_support(d):
- if d.getVar('TI_PDK_DOXYGEN_SUPPORT') == '1':
- return ''
- return 'DOXYGEN_SUPPORT=no'
-
-EXTRA_OEMAKE = " \
- LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" \
- LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" \
- LIMIT_CORES="${TI_PDK_LIMIT_CORES}" \
- ${TI_PDK_EXTRA_MAKE} \
- ${@get_doxygen_support(d)} \
-"
-
-do_configure() {
- BUILD_DIR=${B}/`get_build_dir_bash`
-
- mkdir -p ${BUILD_DIR}
- cp -r ${S}/* ${BUILD_DIR}
-
- if [ "${TI_PDK_XDCMAKE}" == "1" ]
- then
- cd ${BUILD_DIR}
-
- sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs
- find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \;
- find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \;
- find -name "*.xs" -exec sed -i "/\.chm/d" {} \;
- find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \;
-
- cd ${B}
- ${XDC_INSTALL_DIR}/xdc clean ${PARALLEL_XDC} -PR .
- else
- if [ "${CLEANBROKEN}" != "1" ]
- then
- cd ${BUILD_DIR}
- oe_runmake clean
- cd "${B}"
- fi
- fi
-
-}
-
-do_compile() {
-
- if [ "${TI_PDK_XDCMAKE}" == "1" ]
- then
- ${XDC_INSTALL_DIR}/xdc all ${PARALLEL_XDC} XDCARGS="${TI_PDK_XDC_ARGS}" ROOTDIR="${ROOTDIR}" -PR .
- ${XDC_INSTALL_DIR}/xdc release XDCARGS="${TI_PDK_XDC_ARGS}" -PR .
- else
- BUILD_DIR=${B}/`get_build_dir_bash`
- cd ${BUILD_DIR}
-
- oe_runmake ${TI_PDK_MAKE_TARGET}
- fi
-}
-
-do_install () {
- install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
- find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
-
- if [ "${PDK_COMP_LINK_TEXT}" != "" ]
- then
- install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/.extras/doc
- create_doc_link
- fi
-}
-
-FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
diff --git a/conf/layer.conf b/conf/layer.conf
deleted file mode 100644
index 33a74070..00000000
--- a/conf/layer.conf
+++ /dev/null
@@ -1,31 +0,0 @@
-# We have a conf and classes directory, append to BBPATH
-BBPATH .= ":${LAYERDIR}"
-
-# We have a recipes directory, add to BBFILES
-BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
-
-BBFILE_COLLECTIONS += "meta-ti"
-BBFILE_PATTERN_meta-ti := "^${LAYERDIR}/"
-BBFILE_PRIORITY_meta-ti = "6"
-
-LAYERSERIES_COMPAT_meta-ti = "sumo thud warrior zeus dunfell"
-
-LICENSE_PATH += "${LAYERDIR}/licenses"
-
-LAYERDEPENDS_meta-ti = "core"
-
-SIGGEN_EXCLUDERECIPES_ABISAFE += " \
- ti-sgx-ddk-km \
- ti-sgx-ddk-um \
- cmem-mod \
- hplib-mod \
- gdbserverproxy-module-drv \
- debugss-module-drv \
- uio-module-drv \
- mpm-transport \
- cppi-lld \
- qmss-lld \
- multiprocmgr \
-"
-
-HOSTTOOLS_NONFATAL += "truncate xxd comm"
diff --git a/conf/machine/am3517-evm.conf b/conf/machine/am3517-evm.conf
deleted file mode 100644
index c20e2f6a..00000000
--- a/conf/machine/am3517-evm.conf
+++ /dev/null
@@ -1,35 +0,0 @@
-#@TYPE: Machine
-#@NAME: AM3517 EVM
-#@DESCRIPTION: Machine configuration for the TI Sitara AM3517 EVM
-
-require conf/machine/include/omap3.inc
-
-MACHINE_GUI_CLASS = "smallscreen"
-MACHINE_FEATURES += "touchscreen ethernet"
-
-IMAGE_FSTYPES += "ubi tar.xz"
-EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
-
-SERIAL_CONSOLES = "115200;ttyS2"
-USE_VT = "2"
-
-KERNEL_DEVICETREE = "am3517-evm.dtb"
-
-UBOOT_MACHINE = "am3517_evm_config"
-XLOAD_MACHINE = "am3517evm_config"
-
-# NOTE: there are NAND and OneNAND versions of this board...
-# do ubiattach /dev/ubi_ctrl -m 4
-# From dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: logical eraseblock size: 129024 bytes
-# from ubiattach stdout:
-# UBI device number 0, total 1996 LEBs
-MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# from dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: physical eraseblock size: 131072 bytes (128 KiB)
-# UBI: sub-page size: 512
-UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
diff --git a/conf/machine/am37x-evm.conf b/conf/machine/am37x-evm.conf
deleted file mode 100644
index a512c8d0..00000000
--- a/conf/machine/am37x-evm.conf
+++ /dev/null
@@ -1,31 +0,0 @@
-#@TYPE: Machine
-#@NAME: AM37x EVM
-#@DESCRIPTION: Machine configuration for the TI AM37x EVM
-
-require conf/machine/include/omap3.inc
-
-MACHINE_GUI_CLASS = "smallscreen"
-MACHINE_FEATURES += "touchscreen ethernet"
-
-IMAGE_FSTYPES += "ubi tar.xz"
-EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
-
-KERNEL_DEVICETREE = "omap3-evm-37xx.dtb"
-
-SERIAL_CONSOLES = "115200;ttyS0"
-
-# NOTE: there are NAND and OneNAND versions of this board...
-# do ubiattach /dev/ubi_ctrl -m 4
-# From dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: logical eraseblock size: 129024 bytes
-# from ubiattach stdout:
-# UBI device number 0, total 1996 LEBs
-MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# from dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: physical eraseblock size: 131072 bytes (128 KiB)
-# UBI: sub-page size: 512
-UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
diff --git a/conf/machine/am65xx-evm.conf b/conf/machine/am65xx-evm.conf
deleted file mode 100644
index 3edbb296..00000000
--- a/conf/machine/am65xx-evm.conf
+++ /dev/null
@@ -1,25 +0,0 @@
-#@TYPE: Machine
-#@NAME: AM65xx EVM
-#@DESCRIPTION: Machine configuration for the TI AM65xx EVM
-
-require conf/machine/include/am65xx.inc
-
-MACHINE_FEATURES += "touchscreen"
-
-SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
-SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
-
-KERNEL_DEVICETREE = " \
- ti/k3-am654-base-board.dtb ti/k3-am654-gp.dtbo \
- ti/k3-am654-evm-hdmi.dtbo ti/k3-am654-idk.dtbo \
- ti/k3-am654-evm-oldi-lcd1evm.dtbo ti/k3-am654-evm-tc358876.dtbo \
- ti/k3-am654-pcie-usb2.dtbo ti/k3-am654-pcie-usb3.dtbo \
- ti/k3-am654-base-board-jailhouse.dtbo \
- ti/k3-am654-evm-prupwm.dtbo \
-"
-
-UBOOT_MACHINE = "am65x_evm_a53_defconfig"
-
-OPTEEMACHINE = "k3"
-OPTEEFLAVOR = "am65x"
-OPTEEOUTPUTMACHINE = "k3"
diff --git a/conf/machine/am65xx-hs-evm.conf b/conf/machine/am65xx-hs-evm.conf
deleted file mode 100644
index f9897504..00000000
--- a/conf/machine/am65xx-hs-evm.conf
+++ /dev/null
@@ -1,26 +0,0 @@
-#@TYPE: Machine
-#@NAME: AM65xx HS EVM
-#@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM
-
-require conf/machine/am65xx-evm.conf
-
-UBOOT_MACHINE = "am65x_hs_evm_a53_defconfig"
-
-UBOOT_ENTRYPOINT = "0x80080000"
-UBOOT_LOADADDRESS = "0x80080000"
-UBOOT_RD_LOADADDRESS = "0x84000000"
-UBOOT_RD_ENTRYPOINT = "0x84000000"
-UBOOT_DTB_LOADADDRESS = "0x83000000"
-UBOOT_DTBO_LOADADDRESS = "0x83080000"
-UBOOT_DTBO_OFFSET = "0x00010000"
-
-SPL_BINARY = "tispl.bin_HS"
-SPL_BINARYNAME = "tispl.bin"
-UBOOT_BINARY = "u-boot.img_HS"
-IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
-
-TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
-
-OPTEEMACHINE = "k3"
-OPTEEFLAVOR = "am65x"
-OPTEEOUTPUTMACHINE = "k3"
diff --git a/conf/machine/beagle-x15.conf b/conf/machine/beagle-x15.conf
deleted file mode 100644
index c7503266..00000000
--- a/conf/machine/beagle-x15.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-#@TYPE: Machine
-#@NAME: BeagleBoard X15
-#@DESCRIPTION: Machine configuration for the BeagleBoard X15
-
-require conf/machine/include/dra7xx.inc
-
-KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb am57xx-beagle-x15-revc.dtb"
-
-MACHINE_GUI_CLASS = "bigscreen"
-
-SERIAL_CONSOLES = "115200;ttyS2"
-
-UBOOT_MACHINE = "am57xx_evm_config"
diff --git a/conf/machine/beagleboard.conf b/conf/machine/beagleboard.conf
deleted file mode 100644
index ee51fd66..00000000
--- a/conf/machine/beagleboard.conf
+++ /dev/null
@@ -1,38 +0,0 @@
-#@TYPE: Machine
-#@NAME: Beagleboard machine
-#@DESCRIPTION: Machine configuration for the http://beagleboard.org/ board
-
-require conf/machine/include/omap3.inc
-
-# Only has DVI connector for external screen
-MACHINE_GUI_CLASS = "bigscreen"
-
-IMAGE_FSTYPES += "tar.xz ubi"
-EXTRA_IMAGECMD_jffs2 = "-lnp"
-
-KERNEL_DEVICETREE = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-beagle-xm-ab.dtb"
-
-SERIAL_CONSOLES = "115200;ttyS2"
-
-UBOOT_MACHINE = "omap3_beagle_config"
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# From dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: logical eraseblock size: 129024 bytes
-# from ubiattach stdout:
-# UBI device number 0, total 1996 LEBs
-#
-# Beagleboard C5 has 3998 LEBS (490MiB)
-MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# from dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: physical eraseblock size: 131072 bytes (128 KiB)
-# UBI: sub-page size: 512
-UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
-
-# For a modularized kernel we want to drag in networking, sound, rtc etc."
-MACHINE_EXTRA_RRECOMMENDS = "kernel-module-smsc95xx kernel-module-snd-soc-twl4030 kernel-module-rtc-twl \
- kernel-module-snd-soc-omap kernel-module-snd-soc-omap-mcbsp kernel-module-snd-soc-omap3beagle"
diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
deleted file mode 100644
index 896a9d73..00000000
--- a/conf/machine/beaglebone.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-#@TYPE: Machine
-#@NAME: BeagleBone machine
-#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
-
-require conf/machine/include/ti33x.inc
-
-KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblue.dtb \
- am335x-boneblack.dtb am335x-boneblack-wireless.dtb \
- am335x-bonegreen.dtb am335x-bonegreen-wireless.dtb"
-
-# Only has DVI connector for external screen
-MACHINE_GUI_CLASS = "bigscreen"
-
-SERIAL_CONSOLES = "115200;ttyS0"
-
-IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
-
-# Refine the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_BOARDS = "bbbAM335x"
diff --git a/conf/machine/c665x-evm.conf b/conf/machine/c665x-evm.conf
deleted file mode 100644
index d0af7543..00000000
--- a/conf/machine/c665x-evm.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-#@TYPE: Machine
-#@NAME: Keystone 1 c665x machine
-#@DESCRIPTION: Machine configuration for the TI Keystone 1 c665x EVM
-
-require conf/machine/include/c66x.inc
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "c6657"
-TI_PDK_LIMIT_BOARDS = "evmC6657"
diff --git a/conf/machine/c667x-evm.conf b/conf/machine/c667x-evm.conf
deleted file mode 100644
index 11a90e46..00000000
--- a/conf/machine/c667x-evm.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-#@TYPE: Machine
-#@NAME: Keystone 1 c667x machine
-#@DESCRIPTION: Machine configuration for the TI Keystone 1 c667x EVM
-
-require conf/machine/include/c66x.inc
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "c6678"
-TI_PDK_LIMIT_BOARDS = "evmC6678"
diff --git a/conf/machine/include/am65xx.inc b/conf/machine/include/am65xx.inc
deleted file mode 100644
index d433ed10..00000000
--- a/conf/machine/include/am65xx.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-require conf/machine/include/k3.inc
-SOC_FAMILY_append = ":am65xx"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "am65xx"
-TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk"
-TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0"
diff --git a/conf/machine/include/c66x.inc b/conf/machine/include/c66x.inc
deleted file mode 100644
index e35f2eda..00000000
--- a/conf/machine/include/c66x.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-require conf/machine/include/keystone.inc
-SOC_FAMILY_append = ":c66x"
-
-# HACK: The c66x family is composed of devices with only DSP cores, and no ARM
-# cores. The Linux kernel is not supported on these machines.
-PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy"
-EXTRA_IMAGEDEPENDS = ""
-
-IMAGE_FSTYPES = "tar.xz"
diff --git a/conf/machine/include/davinci.inc b/conf/machine/include/davinci.inc
deleted file mode 100644
index 6de64839..00000000
--- a/conf/machine/include/davinci.inc
+++ /dev/null
@@ -1,22 +0,0 @@
-require conf/machine/include/tune-arm926ejs.inc
-
-# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r54"
-
-KERNEL_IMAGETYPE = "zImage"
-
-PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
-
-UBOOT_MACHINE = "davinci_dvevm_config"
-
-UBOOT_ENTRYPOINT = "0x80008000"
-UBOOT_LOADADDRESS = "0x80008000"
-
-EXTRA_IMAGEDEPENDS += "u-boot"
-
-SERIAL_CONSOLES ?= "115200;ttyS0"
-EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
-
-MACHINE_FEATURES = "kernel26 serial ethernet usbhost usbgadget mmc alsa"
diff --git a/conf/machine/include/k2e.inc b/conf/machine/include/k2e.inc
deleted file mode 100644
index 6797fb29..00000000
--- a/conf/machine/include/k2e.inc
+++ /dev/null
@@ -1,6 +0,0 @@
-require conf/machine/include/keystone.inc
-SOC_FAMILY_append = ":k2e"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "k2e"
-TI_PDK_LIMIT_BOARDS = "evmK2E"
diff --git a/conf/machine/include/k2g.inc b/conf/machine/include/k2g.inc
deleted file mode 100644
index 7bcc412b..00000000
--- a/conf/machine/include/k2g.inc
+++ /dev/null
@@ -1,6 +0,0 @@
-require conf/machine/include/keystone.inc
-SOC_FAMILY_append = ":k2g"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "k2g"
-TI_PDK_LIMIT_BOARDS = "evmK2G iceK2G"
diff --git a/conf/machine/include/k2hk.inc b/conf/machine/include/k2hk.inc
deleted file mode 100644
index 2d2dd6a0..00000000
--- a/conf/machine/include/k2hk.inc
+++ /dev/null
@@ -1,6 +0,0 @@
-require conf/machine/include/keystone.inc
-SOC_FAMILY_append = ":k2hk"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "k2h k2k"
-TI_PDK_LIMIT_BOARDS = "evmK2H evmK2K"
diff --git a/conf/machine/include/k2l.inc b/conf/machine/include/k2l.inc
deleted file mode 100644
index 997bcbe2..00000000
--- a/conf/machine/include/k2l.inc
+++ /dev/null
@@ -1,6 +0,0 @@
-require conf/machine/include/keystone.inc
-SOC_FAMILY_append = ":k2l"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "k2l"
-TI_PDK_LIMIT_BOARDS = "evmK2L"
diff --git a/conf/machine/include/k3.inc b/conf/machine/include/k3.inc
deleted file mode 100644
index 5e67f5f3..00000000
--- a/conf/machine/include/k3.inc
+++ /dev/null
@@ -1,42 +0,0 @@
-require conf/machine/include/ti-soc.inc
-SOC_FAMILY_append = ":k3"
-
-require conf/machine/include/arm/arch-arm64.inc
-
-# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r0"
-
-PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
-
-KERNEL_IMAGETYPE = "Image"
-KERNEL_IMAGETYPES = "Image vmlinux.gz"
-
-UBOOT_ARCH = "arm"
-UBOOT_ENTRYPOINT = "0x80008000"
-UBOOT_LOADADDRESS = "0x80008000"
-
-SPL_BINARY = "tispl.bin"
-UBOOT_SUFFIX = "img"
-
-EXTRA_IMAGEDEPENDS += "virtual/bootloader"
-
-MACHINE_GUI_CLASS = "smallscreen"
-
-# Use the expected value of the ubifs filesystem's volume name in the kernel
-# and u-boot.
-UBI_VOLNAME = "rootfs"
-
-# List common SoC features, may need to add touchscreen for specific machines
-MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet pci gpu"
-# Not ready yet - dsp mmip
-
-IMAGE_FSTYPES += "tar.xz wic.xz"
-
-# Please note that booting K3 platform also requires
-# tiboot3.bin and sysfw.itb, which are provided by meta-arago
-# u-boot-k3-r5 and ti-sci-fw recipes
-IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
-WKS_FILE ?= "sdimage-3part.wks"
-do_image_wic[depends] += "u-boot:do_deploy"
diff --git a/conf/machine/include/keystone.inc b/conf/machine/include/keystone.inc
deleted file mode 100644
index ef33975f..00000000
--- a/conf/machine/include/keystone.inc
+++ /dev/null
@@ -1,30 +0,0 @@
-require conf/machine/include/ti-soc.inc
-SOC_FAMILY_append = ":keystone"
-
-DEFAULTTUNE ?= "armv7athf-neon"
-require conf/machine/include/tune-cortexa15.inc
-
-PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
-
-# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r10"
-
-KERNEL_IMAGETYPE = "zImage"
-
-UBOOT_ENTRYPOINT = "0x80008000"
-UBOOT_LOADADDRESS = "0x80008000"
-
-SPL_BINARY = "MLO"
-UBOOT_SUFFIX = "bin"
-
-# Use the expected value of the ubifs filesystem's volume name in the kernel
-# and u-boot.
-UBI_VOLNAME = "rootfs"
-
-EXTRA_IMAGEDEPENDS += "u-boot"
-EXTRA_IMAGEDEPENDS += "boot-monitor"
-
-MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat pci dsp"
-MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc
deleted file mode 100644
index 7600126d..00000000
--- a/conf/machine/include/omap-a15.inc
+++ /dev/null
@@ -1,44 +0,0 @@
-require conf/machine/include/ti-soc.inc
-SOC_FAMILY_append = ":omap-a15"
-
-DEFAULTTUNE ?= "armv7athf-neon"
-require conf/machine/include/tune-cortexa15.inc
-
-# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r7"
-
-PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
-
-KERNEL_IMAGETYPE = "zImage"
-KERNEL_IMAGETYPES = "zImage uImage"
-KERNEL_CLASSES += "kernel-uimage"
-
-UBOOT_ARCH = "arm"
-UBOOT_ENTRYPOINT = "0x80008000"
-UBOOT_LOADADDRESS = "0x80008000"
-
-SPL_BINARY = "MLO"
-UBOOT_SUFFIX = "img"
-
-EXTRA_IMAGEDEPENDS += "virtual/bootloader"
-
-PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
-XSERVER = "xserver-xorg \
- xf86-input-evdev \
- xf86-video-fbdev"
-
-MACHINE_GUI_CLASS = "smallscreen"
-
-# Use the expected value of the ubifs filesystem's volume name in the kernel
-# and u-boot.
-UBI_VOLNAME = "rootfs"
-
-# List common SoC features, may need to add touchscreen for specific machines
-MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp gc320"
-
-IMAGE_FSTYPES += "tar.xz wic.xz"
-WKS_FILE ?= "sdimage-3part.wks"
-IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
-do_image_wic[depends] += "u-boot:do_deploy"
diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc
deleted file mode 100644
index 489f1f9a..00000000
--- a/conf/machine/include/omap3.inc
+++ /dev/null
@@ -1,42 +0,0 @@
-require conf/machine/include/ti-soc.inc
-SOC_FAMILY_append = ":omap3"
-
-DEFAULTTUNE ?= "armv7athf-neon"
-require conf/machine/include/tune-cortexa8.inc
-
-PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
-
-# For built-in LCD, add xf86-input-tslib
-XSERVER = "xserver-xorg \
- xf86-input-evdev \
- xf86-input-mouse \
- xf86-video-fbdev \
- xf86-input-keyboard"
-
-# Default to external video, change to smallscreen for built-in LCD
-MACHINE_GUI_CLASS = "bigscreen"
-
-# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r127"
-
-KERNEL_IMAGETYPE = "zImage"
-
-# Default providers, may need to override for specific machines
-PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
-
-KERNEL_DEVICETREE = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-beagle-xm-ab.dtb omap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb"
-
-UBOOT_ARCH = "arm"
-UBOOT_MACHINE = "omap3_evm_config"
-XLOAD_MACHINE = "omap3evm_config"
-
-UBOOT_ENTRYPOINT = "0x80008000"
-UBOOT_LOADADDRESS = "0x80008000"
-
-# If SPL is not used, may need to add x-load
-EXTRA_IMAGEDEPENDS += "u-boot"
-
-# List common SoC features, may need to add touchscreen/ethernet for specific machines
-MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa gpu"
diff --git a/conf/machine/include/omap4.inc b/conf/machine/include/omap4.inc
deleted file mode 100644
index d9706066..00000000
--- a/conf/machine/include/omap4.inc
+++ /dev/null
@@ -1,26 +0,0 @@
-require conf/machine/include/ti-soc.inc
-SOC_FAMILY_append = ":omap4"
-
-DEFAULTTUNE ?= "armv7athf-neon"
-require conf/machine/include/tune-cortexa9.inc
-
-PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
-
-PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
-XSERVER = "xserver-xorg \
- xf86-input-evdev \
- xf86-video-fbdev"
-
-# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r4"
-
-KERNEL_IMAGETYPE = "zImage"
-
-UBOOT_MACHINE = "omap4_panda_config"
-
-UBOOT_ENTRYPOINT = "0x80008000"
-UBOOT_LOADADDRESS = "0x80008000"
-
-EXTRA_IMAGEDEPENDS += "u-boot"
diff --git a/conf/machine/include/omapl1.inc b/conf/machine/include/omapl1.inc
deleted file mode 100644
index 9942c944..00000000
--- a/conf/machine/include/omapl1.inc
+++ /dev/null
@@ -1,2 +0,0 @@
-require conf/machine/include/ti-soc.inc
-SOC_FAMILY_append = ":omapl1"
diff --git a/conf/machine/include/omapl137.inc b/conf/machine/include/omapl137.inc
deleted file mode 100644
index 5d8a6dd8..00000000
--- a/conf/machine/include/omapl137.inc
+++ /dev/null
@@ -1,5 +0,0 @@
-require conf/machine/include/omapl1.inc
-SOC_FAMILY_append = ":omapl137"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "omapl137"
diff --git a/conf/machine/include/omapl138.inc b/conf/machine/include/omapl138.inc
deleted file mode 100644
index 999cbc3a..00000000
--- a/conf/machine/include/omapl138.inc
+++ /dev/null
@@ -1,5 +0,0 @@
-require conf/machine/include/omapl1.inc
-SOC_FAMILY_append = ":omapl138"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "omapl138"
diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc
deleted file mode 100644
index db1df043..00000000
--- a/conf/machine/include/ti33x.inc
+++ /dev/null
@@ -1,66 +0,0 @@
-require conf/machine/include/ti-soc.inc
-SOC_FAMILY_append = ":ti33x"
-
-DEFAULTTUNE ?= "armv7athf-neon"
-require conf/machine/include/tune-cortexa8.inc
-
-PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
-
-# For built-in LCD, add xf86-input-tslib
-XSERVER = "xserver-xorg \
- xf86-input-evdev \
- xf86-input-mouse \
- xf86-video-fbdev \
- xf86-input-keyboard"
-
-# Default to external video, change to smallscreen for built-in LCD
-MACHINE_GUI_CLASS = "bigscreen"
-
-# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r22"
-
-# Default providers, may need to override for specific machines
-PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
-
-KERNEL_IMAGETYPE = "zImage"
-
-KERNEL_DEVICETREE = " \
- am335x-evm.dtb am335x-evmsk.dtb \
- am335x-icev2.dtb \
- am335x-icev2-prueth.dtb \
- am335x-pocketbeagle.dtb am335x-bone.dtb am335x-boneblue.dtb \
- am335x-bonegreen.dtb am335x-bonegreen-wireless.dtb \
- am335x-boneblack.dtb am335x-boneblack-wireless.dtb \
- am335x-sancloud-bbe.dtb \
-"
-
-KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am335x-icev2-pru-excl-uio.dtb', '', d)}"
-
-UBOOT_ARCH = "arm"
-UBOOT_MACHINE = "am335x_evm_config"
-
-UBOOT_ENTRYPOINT = "0x80008000"
-UBOOT_LOADADDRESS = "0x80008000"
-
-SPL_BINARY = "MLO"
-UBOOT_SUFFIX = "img"
-
-# Use the expected value of the ubifs filesystem's volume name in the kernel
-# and u-boot.
-UBI_VOLNAME = "rootfs"
-
-EXTRA_IMAGEDEPENDS += "u-boot"
-
-# List common SoC features, may need to add touchscreen for specific machines
-MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "am335x"
-TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x"
-
-IMAGE_FSTYPES += "tar.xz wic.xz"
-WKS_FILE ?= "sdimage-3part.wks"
-IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
-do_image_wic[depends] += "u-boot:do_deploy"
diff --git a/conf/machine/include/ti43x.inc b/conf/machine/include/ti43x.inc
deleted file mode 100644
index e2aaf38c..00000000
--- a/conf/machine/include/ti43x.inc
+++ /dev/null
@@ -1,62 +0,0 @@
-require conf/machine/include/ti-soc.inc
-SOC_FAMILY_append = ":ti43x"
-
-DEFAULTTUNE ?= "armv7athf-neon"
-require conf/machine/include/tune-cortexa9.inc
-
-PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
-
-# For built-in LCD, add xf86-input-tslib
-XSERVER = "xserver-xorg \
- xf86-input-evdev \
- xf86-input-mouse \
- xf86-video-fbdev \
- xf86-input-keyboard"
-
-# Default to external video, change to smallscreen for built-in LCD
-MACHINE_GUI_CLASS = "bigscreen"
-
-# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r3"
-
-# Default providers, may need to override for specific machines
-PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
-PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
-
-KERNEL_IMAGETYPE = "zImage"
-
-KERNEL_DEVICETREE = " \
- am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb \
- am437x-sk-evm.dtb am437x-idk-evm.dtb \
- am43x-epos-evm.dtb am43x-epos-evm-hdmi.dtb \
-"
-
-KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
-
-UBOOT_ARCH = "arm"
-UBOOT_MACHINE = "am43xx_evm_config"
-
-UBOOT_ENTRYPOINT = "0x80008000"
-UBOOT_LOADADDRESS = "0x80008000"
-
-SPL_BINARY = "MLO"
-UBOOT_SUFFIX = "img"
-
-# Use the expected value of the ubifs filesystem's volume name in the kernel
-# and u-boot.
-UBI_VOLNAME = "rootfs"
-
-EXTRA_IMAGEDEPENDS += "u-boot"
-
-# List common SoC features, may need to add touchscreen for specific machines
-MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "am437x"
-TI_PDK_LIMIT_BOARDS = "evmAM437x idkAM437x skAM437x"
-
-IMAGE_FSTYPES += "tar.xz wic.xz"
-WKS_FILE ?= "sdimage-3part.wks"
-IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
-do_image_wic[depends] += "u-boot:do_deploy"
diff --git a/conf/machine/j7-evm.conf b/conf/machine/j7-evm.conf
deleted file mode 100644
index 9e910067..00000000
--- a/conf/machine/j7-evm.conf
+++ /dev/null
@@ -1,27 +0,0 @@
-#@TYPE: Machine
-#@NAME: J7 EVM
-#@DESCRIPTION: Machine configuration for the TI J7 EVM
-
-require conf/machine/include/k3.inc
-
-SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3"
-SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
-
-KERNEL_DEVICETREE = " \
- ti/k3-j721e-common-proc-board.dtb \
- ti/k3-j721e-proc-board-tps65917.dtb \
- ti/k3-j721e-common-proc-board-infotainment.dtbo \
- ti/k3-j721e-pcie-backplane.dtbo \
- ti/k3-j721e-common-proc-board-jailhouse.dtbo \
-"
-
-UBOOT_MACHINE = "j721e_evm_a72_config"
-
-OPTEEMACHINE = "k3"
-OPTEEFLAVOR = "j7"
-OPTEEOUTPUTMACHINE = "k3"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "j721e j7200"
-TI_PDK_LIMIT_BOARDS = "j721e_evm j7200_evm"
-TI_PDK_LIMIT_CORES = "mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1 c66xdsp_1 c66xdsp_2 c7x_1"
diff --git a/conf/machine/k2e-evm.conf b/conf/machine/k2e-evm.conf
deleted file mode 100644
index 662f5c89..00000000
--- a/conf/machine/k2e-evm.conf
+++ /dev/null
@@ -1,32 +0,0 @@
-#@TYPE: Machine
-#@NAME: Keystone 2 K2E machine
-#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
-
-require conf/machine/include/k2e.inc
-
-KERNEL_DEVICETREE = "keystone-k2e-evm.dtb"
-
-UBOOT_MACHINE = "k2e_evm_config"
-
-BOOT_MONITOR_MAKE_TARGET = "k2e"
-
-IMAGE_FSTYPES += "ubifs ubi tar.xz"
-
-SERIAL_CONSOLES = "115200;ttyS0"
-
-SYSVINIT_ENABLED_GETTYS = ""
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# From dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: logical eraseblock size: 126976 bytes
-# from ubiattach stdout:
-# UBI device number 0, total 3856 LEBs
-MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# from dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: physical eraseblock size: 131072 bytes (128 KiB)
-# UBI: sub-page size: 2048
-UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"
diff --git a/conf/machine/k2e-hs-evm.conf b/conf/machine/k2e-hs-evm.conf
deleted file mode 100644
index 1fc03d6c..00000000
--- a/conf/machine/k2e-hs-evm.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-#@TYPE: Machine
-#@NAME: Keystone 2 K2E HS EVM
-#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E HS EVM
-
-require conf/machine/k2e-evm.conf
-
-UBOOT_MACHINE = "k2e_hs_evm_config"
-SPL_BINARY = ""
-
-UBOOT_ENTRYPOINT = "0x82000000"
-UBOOT_LOADADDRESS = "0x82000000"
-UBOOT_RD_LOADADDRESS = "0x84000000"
-UBOOT_RD_ENTRYPOINT = "0x84000000"
-
-TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2e"
diff --git a/conf/machine/k2g-evm.conf b/conf/machine/k2g-evm.conf
deleted file mode 100644
index 7681a752..00000000
--- a/conf/machine/k2g-evm.conf
+++ /dev/null
@@ -1,35 +0,0 @@
-#@TYPE: Machine
-#@NAME: Keystone 2 K2G machine
-#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G EVM
-
-require conf/machine/include/k2g.inc
-
-MACHINE_FEATURES += "alsa"
-
-KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb keystone-k2g-ice.dtb \
- ${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'keystone-k2g-ice-pru-excl-uio.dtb', '', d)}"
-
-UBOOT_MACHINE = "k2g_evm_config"
-
-BOOT_MONITOR_MAKE_TARGET = "k2g"
-
-IMAGE_FSTYPES += "ubifs ubi tar.xz"
-
-SERIAL_CONSOLES = "115200;ttyS0"
-
-SYSVINIT_ENABLED_GETTYS = ""
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# From dmesg:
-# UBI: smallest flash I/O unit: 4096
-# UBI: logical eraseblock size: 253952 bytes
-# from ubiattach stdout:
-# UBI device number 0, total 1926 LEBs
-MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# from dmesg:
-# UBI: smallest flash I/O unit: 4096
-# UBI: physical eraseblock size: 256 KiB
-# UBI: sub-page size: 4096
-UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"
diff --git a/conf/machine/k2g-hs-evm.conf b/conf/machine/k2g-hs-evm.conf
deleted file mode 100644
index 0620b1f5..00000000
--- a/conf/machine/k2g-hs-evm.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-#@TYPE: Machine
-#@NAME: Keystone 2 K2G HS EVM
-#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G HS EVM
-
-require conf/machine/k2g-evm.conf
-
-UBOOT_MACHINE = "k2g_hs_evm_config"
-SPL_BINARY = ""
-
-UBOOT_ENTRYPOINT = "0x82000000"
-UBOOT_LOADADDRESS = "0x82000000"
-UBOOT_RD_LOADADDRESS = "0x84000000"
-UBOOT_RD_ENTRYPOINT = "0x84000000"
-
-TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2g"
diff --git a/conf/machine/k2hk-evm.conf b/conf/machine/k2hk-evm.conf
deleted file mode 100644
index 89386f1d..00000000
--- a/conf/machine/k2hk-evm.conf
+++ /dev/null
@@ -1,32 +0,0 @@
-#@TYPE: Machine
-#@NAME: Keystone 2 K2HK machine
-#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2HK EVM
-
-require conf/machine/include/k2hk.inc
-
-KERNEL_DEVICETREE = "keystone-k2hk-evm.dtb"
-
-UBOOT_MACHINE = "k2hk_evm_config"
-
-BOOT_MONITOR_MAKE_TARGET = "k2hk"
-
-IMAGE_FSTYPES += "ubifs ubi tar.xz"
-
-SERIAL_CONSOLES = "115200;ttyS0"
-
-SYSVINIT_ENABLED_GETTYS = ""
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# From dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: logical eraseblock size: 126976 bytes
-# from ubiattach stdout:
-# UBI device number 0, total 3856 LEBs
-MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# from dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: physical eraseblock size: 131072 bytes (128 KiB)
-# UBI: sub-page size: 2048
-UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"
diff --git a/conf/machine/k2hk-hs-evm.conf b/conf/machine/k2hk-hs-evm.conf
deleted file mode 100644
index 5c93ca48..00000000
--- a/conf/machine/k2hk-hs-evm.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-#@TYPE: Machine
-#@NAME: Keystone 2 K2HK HS EVM
-#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2HK HS EVM
-
-require conf/machine/k2hk-evm.conf
-
-UBOOT_MACHINE = "k2hk_hs_evm_config"
-SPL_BINARY = ""
-
-UBOOT_ENTRYPOINT = "0x82000000"
-UBOOT_LOADADDRESS = "0x82000000"
-UBOOT_RD_LOADADDRESS = "0x84000000"
-UBOOT_RD_ENTRYPOINT = "0x84000000"
-
-TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2hk"
diff --git a/conf/machine/k2l-evm.conf b/conf/machine/k2l-evm.conf
deleted file mode 100644
index dddc01f1..00000000
--- a/conf/machine/k2l-evm.conf
+++ /dev/null
@@ -1,32 +0,0 @@
-#@TYPE: Machine
-#@NAME: Keystone 2 K2L machine
-#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2L EVM
-
-require conf/machine/include/k2l.inc
-
-KERNEL_DEVICETREE = "keystone-k2l-evm.dtb"
-
-UBOOT_MACHINE = "k2l_evm_config"
-
-BOOT_MONITOR_MAKE_TARGET = "k2l"
-
-IMAGE_FSTYPES += "ubifs ubi tar.xz"
-
-SERIAL_CONSOLES = "115200;ttyS0"
-
-SYSVINIT_ENABLED_GETTYS = ""
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# From dmesg:
-# UBI: smallest flash I/O unit: 4096
-# UBI: logical eraseblock size: 253952 bytes
-# from ubiattach stdout:
-# UBI device number 0, total 1926 LEBs
-MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# from dmesg:
-# UBI: smallest flash I/O unit: 4096
-# UBI: physical eraseblock size: 256 KiB
-# UBI: sub-page size: 4096
-UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"
diff --git a/conf/machine/k2l-hs-evm.conf b/conf/machine/k2l-hs-evm.conf
deleted file mode 100644
index 097f94d0..00000000
--- a/conf/machine/k2l-hs-evm.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-#@TYPE: Machine
-#@NAME: Keystone 2 K2L HS EVM
-#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2L HS EVM
-
-require conf/machine/k2l-evm.conf
-
-UBOOT_MACHINE = "k2l_hs_evm_config"
-SPL_BINARY = ""
-
-UBOOT_ENTRYPOINT = "0x82000000"
-UBOOT_LOADADDRESS = "0x82000000"
-UBOOT_RD_LOADADDRESS = "0x84000000"
-UBOOT_RD_ENTRYPOINT = "0x84000000"
-
-TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2l"
diff --git a/conf/machine/lego-ev3.conf b/conf/machine/lego-ev3.conf
deleted file mode 100644
index 5b89a6a7..00000000
--- a/conf/machine/lego-ev3.conf
+++ /dev/null
@@ -1,22 +0,0 @@
-#@TYPE: Machine
-#@NAME: LEGO Mindstorms EV3
-#@DESCRIPTION: Machine configuration for the LEGO Mindstorms EV3
-
-require conf/machine/include/davinci.inc
-require conf/machine/include/omapl138.inc
-
-UBOOT_MACHINE = "legoev3_config"
-UBOOT_SUFFIX = "bin"
-UBOOT_ENTRYPOINT = "0xC0008000"
-UBOOT_LOADADDRESS = "0xC0008000"
-SPL_BINARY = ""
-
-KERNEL_DEVICETREE = "da850-lego-ev3.dtb"
-KERNEL_IMAGETYPES = "uImage"
-KERNEL_DEVICETREE_BUNDLE = "1"
-SERIAL_CONSOLES = "115200;ttyS1"
-
-IMAGE_FSTYPES += " wic"
-WKS_FILE ?= "sdimage-bootpart.wks"
-WIC_CREATE_EXTRA_ARGS += " --no-fstab-update"
-IMAGE_BOOT_FILES = "${KERNEL_IMAGETYPES}"
diff --git a/conf/machine/omap3evm.conf b/conf/machine/omap3evm.conf
deleted file mode 100644
index 01808b68..00000000
--- a/conf/machine/omap3evm.conf
+++ /dev/null
@@ -1,32 +0,0 @@
-#@TYPE: Machine
-#@NAME: OMAP3 EVM
-#@DESCRIPTION: Machine configuration for the TI OMAP3 EVM
-
-require conf/machine/include/omap3.inc
-
-MACHINE_GUI_CLASS = "smallscreen"
-MACHINE_FEATURES += "touchscreen ethernet"
-
-IMAGE_FSTYPES += "jffs2 tar.xz"
-EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
-
-SERIAL_CONSOLES = "115200;ttyS0"
-USE_VT = "0"
-
-EXTRA_IMAGEDEPENDS += "x-load"
-
-# NOTE: there are NAND and OneNAND versions of this board...
-# do ubiattach /dev/ubi_ctrl -m 4
-# From dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: logical eraseblock size: 129024 bytes
-# from ubiattach stdout:
-# UBI device number 0, total 1996 LEBs
-MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
-
-# do ubiattach /dev/ubi_ctrl -m 4
-# from dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: physical eraseblock size: 131072 bytes (128 KiB)
-# UBI: sub-page size: 512
-UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
diff --git a/conf/machine/omap5-evm.conf b/conf/machine/omap5-evm.conf
deleted file mode 100644
index b4cec1a2..00000000
--- a/conf/machine/omap5-evm.conf
+++ /dev/null
@@ -1,34 +0,0 @@
-#@TYPE: Machine
-#@NAME: OMAP5 EVM
-#@DESCRIPTION: Machine configuration for the TI OMAP5 uEVM
-
-require conf/machine/include/omap-a15.inc
-
-IMAGE_FSTYPES += "ubi tar.xz"
-
-KERNEL_DEVICETREE = "omap5-uevm.dtb"
-
-SERIAL_CONSOLES = "115200;ttyS2"
-
-# UBI information. Note that this is board and kernel specific. Changes
-# in your kernel port may require changes in these variables. For more
-# details about this board please see
-# http://processors.wiki.ti.com/index.php/UBIFS_Support
-
-# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
-# From dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: logical eraseblock size: 126976 bytes
-# from ubiattach stdout:
-# UBI device number 0, total 1988 LEBs
-MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4300"
-
-# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
-# from dmesg:
-# UBI: smallest flash I/O unit: 2048
-# UBI: physical eraseblock size: 131072 bytes (128 KiB)
-# UBI: sub-page size: 512
-# UBI: VID header offset: 2048 (aligned 2048)
-UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
-
-UBOOT_MACHINE = "omap5_uevm_config"
diff --git a/conf/machine/omapl137-evm.conf b/conf/machine/omapl137-evm.conf
deleted file mode 100644
index a8039f31..00000000
--- a/conf/machine/omapl137-evm.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-#@TYPE: Machine
-#@NAME: OMAP-L137 EVM
-#@DESCRIPTION: Machine configuration for the TI OMAP-L137 EVM board
-
-require conf/machine/include/davinci.inc
-require conf/machine/include/omapl137.inc
-
-# HACK: The omapl137 family does not have linux kernel support.
-PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
-EXTRA_IMAGEDEPENDS = ""
-
-IMAGE_FSTYPES = "tar.xz"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_BOARDS = "evmOMAPL137"
diff --git a/conf/machine/pandaboard.conf b/conf/machine/pandaboard.conf
deleted file mode 100644
index 4dd6fa29..00000000
--- a/conf/machine/pandaboard.conf
+++ /dev/null
@@ -1,16 +0,0 @@
-#@TYPE: Machine
-#@NAME: Pandaboard
-#@DESCRIPTION: Machine configuration for the OMAP4430 Panda
-
-require conf/machine/include/omap4.inc
-
-MACHINE_GUI_CLASS = "bigscreen"
-
-IMAGE_FSTYPES += "tar.xz"
-
-KERNEL_DEVICETREE = "omap4-panda.dtb omap4-panda-a4.dtb omap4-panda-es.dtb"
-
-SERIAL_CONSOLES = "115200;ttyS2"
-
-MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
-MACHINE_FEATURES = "kernel26 wifi bluetooth alsa apm ext2 screen usbgadget usbhost vfat gpu"
diff --git a/meta-ti-bsp/COPYING.MIT b/meta-ti-bsp/COPYING.MIT
new file mode 100644
index 00000000..fb950dc6
--- /dev/null
+++ b/meta-ti-bsp/COPYING.MIT
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/meta-ti-bsp/README b/meta-ti-bsp/README
new file mode 100644
index 00000000..c5780531
--- /dev/null
+++ b/meta-ti-bsp/README
@@ -0,0 +1,33 @@
+The official OpenEmbedded/Yocto BSP layer for Texas Instruments platforms.
+
+It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the
+source repository at git://git.yoctoproject.org/meta-ti
+
+
+This layer depends on:
+
+URI: git://git.openembedded.org/openembedded-core
+layers: meta
+branch: master
+
+URI: git://git.yoctoproject.org/meta-arm
+layers: meta-arm
+branch: master
+
+
+The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
+distributions and layer stacks, such as:
+distro-less (only with OE-Core), with Yocto/Poky, with Angstrom or Arago.
+
+Please follow the recommended setup procedures of your OE distribution.
+
+
+Send pull requests, patches, comments or questions to:
+meta-ti@lists.yoctoproject.org
+
+Please note - meta-ti mailing list requires subscription for posting:
+https://lists.yoctoproject.org/g/meta-ti
+
+Maintainers:
+Ryan Eatmon <reatmon@ti.com>
+Denys Dmytriyenko <denys@konsulko.com>
diff --git a/meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass b/meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass
new file mode 100644
index 00000000..5e1fa56a
--- /dev/null
+++ b/meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass
@@ -0,0 +1,758 @@
+inherit ti-secdev kernel-uboot uboot-sign-legacyhs
+
+FITIMAGE_HASH_ALGO ?= "sha1"
+FITIMAGE_PACK_TEE ?= "0"
+FITIMAGE_DTB_BY_NAME ?= "0"
+FITIMAGE_TEE_BY_NAME ?= "0"
+FITIMAGE_CONF_BY_NAME ?= "0"
+
+python __anonymous () {
+ kerneltypes = d.getVar('KERNEL_IMAGETYPES') or ""
+ if 'fitImage' in kerneltypes.split():
+ depends = d.getVar("DEPENDS")
+ depends = "%s u-boot-mkimage-native dtc-native" % depends
+ d.setVar("DEPENDS", depends)
+
+ uarch = d.getVar("UBOOT_ARCH")
+ if uarch == "arm64":
+ replacementtype = "Image"
+ elif uarch == "mips":
+ replacementtype = "vmlinuz.bin"
+ elif uarch == "x86":
+ replacementtype = "bzImage"
+ elif uarch == "microblaze":
+ replacementtype = "linux.bin"
+ else:
+ replacementtype = "zImage"
+
+ # Override KERNEL_IMAGETYPE_FOR_MAKE variable, which is internal
+ # to kernel.bbclass . We have to override it, since we pack zImage
+ # (at least for now) into the fitImage .
+ typeformake = d.getVar("KERNEL_IMAGETYPE_FOR_MAKE") or ""
+ if 'fitImage' in typeformake.split():
+ d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake.replace('fitImage', replacementtype))
+
+ image = d.getVar('INITRAMFS_IMAGE')
+ if image:
+ d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
+
+ # Verified boot will sign the fitImage and append the public key to
+ # U-boot dtb. We ensure the U-Boot dtb is deployed before assembling
+ # the fitImage:
+ if d.getVar('UBOOT_SIGN_ENABLE'):
+ uboot_pn = d.getVar('PREFERRED_PROVIDER_u-boot') or 'u-boot'
+ d.appendVarFlag('do_assemble_fitimage', 'depends', ' %s:do_deploy' % uboot_pn)
+
+ if d.getVar('FITIMAGE_PACK_TEE') == "1":
+ d.appendVarFlag('do_assemble_fitimage', 'depends', ' optee-os:do_deploy')
+}
+
+# Options for the device tree compiler passed to mkimage '-D' feature:
+UBOOT_MKIMAGE_DTCOPTS ??= ""
+
+fitimage_ti_secure() {
+ if test -f "${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh"; then
+ export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
+ ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh $1 $2
+ else
+ cp $1 $2
+ fi
+}
+
+#
+# Emit the fitImage ITS header
+#
+# $1 ... .its filename
+fitimage_emit_fit_header() {
+ cat << EOF >> ${1}
+/dts-v1/;
+
+/ {
+ description = "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}";
+ #address-cells = <1>;
+EOF
+}
+
+#
+# Emit the fitImage section bits
+#
+# $1 ... .its filename
+# $2 ... Section bit type: imagestart - image section start
+# confstart - configuration section start
+# sectend - section end
+# fitend - fitimage end
+#
+fitimage_emit_section_maint() {
+ case $2 in
+ imagestart)
+ cat << EOF >> ${1}
+
+ images {
+EOF
+ ;;
+ confstart)
+ cat << EOF >> ${1}
+
+ configurations {
+EOF
+ ;;
+ sectend)
+ cat << EOF >> ${1}
+ };
+EOF
+ ;;
+ fitend)
+ cat << EOF >> ${1}
+};
+EOF
+ ;;
+ esac
+}
+
+#
+# Emit the fitImage ITS kernel section
+#
+# $1 ... .its filename
+# $2 ... Image counter
+# $3 ... Path to kernel image
+# $4 ... Compression type
+fitimage_emit_section_kernel() {
+
+ kernel_csum=${FITIMAGE_HASH_ALGO}
+
+ ENTRYPOINT="${UBOOT_ENTRYPOINT}"
+ if test -n "${UBOOT_ENTRYSYMBOL}"; then
+ ENTRYPOINT=`${HOST_PREFIX}nm ${S}/vmlinux | \
+ awk '$4=="${UBOOT_ENTRYSYMBOL}" {print $2}'`
+ fi
+
+ cat << EOF >> ${1}
+ kernel-${2} {
+ description = "Linux kernel";
+ data = /incbin/("${3}");
+ type = "kernel";
+ arch = "${UBOOT_ARCH}";
+ os = "linux";
+ compression = "${4}";
+ load = <${UBOOT_LOADADDRESS}>;
+ entry = <${ENTRYPOINT}>;
+EOF
+ if test -n "${FITIMAGE_HASH_ALGO}"; then
+ cat << EOF >> ${1}
+ hash-1 {
+ algo = "${kernel_csum}";
+ };
+EOF
+ fi
+ cat << EOF >> ${1}
+ };
+EOF
+}
+
+#
+# Emit the fitImage ITS DTB section
+#
+# $1 ... .its filename
+# $2 ... Image counter/name
+# $3 ... Path to DTB image
+# $4 ... Load address
+fitimage_emit_section_dtb() {
+
+ dtb_csum=${FITIMAGE_HASH_ALGO}
+ dtb_loadline="${4}"
+
+ cat << EOF >> ${1}
+ ${2} {
+ description = "Flattened Device Tree blob";
+ data = /incbin/("${3}");
+ type = "flat_dt";
+ arch = "${UBOOT_ARCH}";
+ compression = "none";
+ ${dtb_loadline}
+EOF
+ if test -n "${FITIMAGE_HASH_ALGO}"; then
+ cat << EOF >> ${1}
+ hash-1 {
+ algo = "${dtb_csum}";
+ };
+EOF
+ fi
+ cat << EOF >> ${1}
+ };
+EOF
+}
+
+#
+# Emit the fitImage ITS TEE section
+#
+# $1 ... .its filename
+# $2 ... Image counter/name
+# $3 ... Path to TEE image
+fitimage_emit_section_tee() {
+
+ tee_csum=${FITIMAGE_HASH_ALGO}
+
+ cat << EOF >> ${1}
+ ${2} {
+ description = "OPTEE OS Image";
+ data = /incbin/("${3}");
+ type = "tee";
+ arch = "${UBOOT_ARCH}";
+ compression = "none";
+EOF
+ if test -n "${FITIMAGE_HASH_ALGO}"; then
+ cat << EOF >> ${1}
+ hash-1 {
+ algo = "${tee_csum}";
+ };
+EOF
+ fi
+ cat << EOF >> ${1}
+ };
+EOF
+}
+
+#
+# Emit the fitImage ITS setup section
+#
+# $1 ... .its filename
+# $2 ... Image counter
+# $3 ... Path to setup image
+fitimage_emit_section_setup() {
+
+ setup_csum=${FITIMAGE_HASH_ALGO}
+
+ cat << EOF >> ${1}
+ setup-${2} {
+ description = "Linux setup.bin";
+ data = /incbin/("${3}");
+ type = "x86_setup";
+ arch = "${UBOOT_ARCH}";
+ os = "linux";
+ compression = "none";
+ load = <0x00090000>;
+ entry = <0x00090000>;
+EOF
+ if test -n "${FITIMAGE_HASH_ALGO}"; then
+ cat << EOF >> ${1}
+ hash-1 {
+ algo = "${setup_csum}";
+ };
+EOF
+ fi
+ cat << EOF >> ${1}
+ };
+EOF
+}
+
+#
+# Emit the fitImage ITS ramdisk section
+#
+# $1 ... .its filename
+# $2 ... Image counter
+# $3 ... Path to ramdisk image
+fitimage_emit_section_ramdisk() {
+
+ ramdisk_csum=${FITIMAGE_HASH_ALGO}
+ ramdisk_ctype="none"
+
+ case $3 in
+ *.gz|*.gz.sec)
+ ramdisk_ctype="gzip"
+ ;;
+ *.bz2|*.bz2.sec)
+ ramdisk_ctype="bzip2"
+ ;;
+ *.lzma|*.lzma.sec)
+ ramdisk_ctype="lzma"
+ ;;
+ *.lzo|*.lzo.sec)
+ ramdisk_ctype="lzo"
+ ;;
+ *.lz4|*.lz4.sec)
+ ramdisk_ctype="lz4"
+ ;;
+ esac
+
+ cat << EOF >> ${1}
+ ramdisk-${2} {
+ description = "ramdisk image";
+ data = /incbin/("${3}");
+ type = "ramdisk";
+ arch = "${UBOOT_ARCH}";
+ os = "linux";
+ compression = "${ramdisk_ctype}";
+EOF
+ if test -n "${UBOOT_RD_LOADADDRESS}"; then
+ cat << EOF >> ${1}
+ load = <${UBOOT_RD_LOADADDRESS}>;
+EOF
+ fi
+
+ if test -n "${UBOOT_RD_ENTRYPOINT}"; then
+ cat << EOF >> ${1}
+ entry = <${UBOOT_RD_ENTRYPOINT}>;
+EOF
+ fi
+
+ if test -n "${FITIMAGE_HASH_ALGO}"; then
+ cat << EOF >> ${1}
+ hash-1 {
+ algo = "${ramdisk_csum}";
+ };
+EOF
+ fi
+ cat << EOF >> ${1}
+ };
+EOF
+}
+
+#
+# Emit the fitImage ITS configuration section
+#
+# $1 ... .its filename
+# $2 ... Linux kernel ID
+# $3 ... DTB image ID/name
+# $4 ... ramdisk ID
+# $5 ... config ID
+# $6 ... tee ID/name
+fitimage_emit_section_config() {
+
+ conf_csum=${FITIMAGE_HASH_ALGO}
+ if [ -n "${UBOOT_SIGN_ENABLE}" ] ; then
+ conf_sign_keyname="${UBOOT_SIGN_KEYNAME}"
+ fi
+
+ sep=""
+ conf_desc=""
+ kernel_line=""
+ fdt_line=""
+ ramdisk_line=""
+ setup_line=""
+ default_line=""
+
+ if [ -n "${2}" ]; then
+ conf_desc="Linux kernel"
+ sep=", "
+ kernel_line="kernel = \"kernel-${2}\";"
+ fi
+
+ if [ -n "${3}" ]; then
+ conf_desc="${conf_desc}${sep}FDT blob"
+ sep=", "
+ fi
+
+ if [ -n "${4}" ]; then
+ conf_desc="${conf_desc}${sep}ramdisk"
+ sep=", "
+ ramdisk_line="ramdisk = \"ramdisk-${4}\";"
+ fi
+
+ if [ -n "${5}" ]; then
+ conf_desc="${conf_desc}${sep}setup"
+ sep=", "
+ setup_line="setup = \"setup-${5}\";"
+ fi
+
+ if [ -n "${6}" -a "x${FITIMAGE_PACK_TEE}" = "x1" ]; then
+ if [ "x${FITIMAGE_TEE_BY_NAME}" = "x1" ]; then
+ loadables_line="loadables = \"${6}.optee\";"
+ loadables_pager_line="loadables = \"${6}-pager.optee\";"
+ else
+ loadables_line="loadables = \"tee-${6}\";"
+ nextnum=`expr ${6} + 1`
+ loadables_pager_line="loadables = \"tee-${nextnum}\";"
+ fi
+ final_conf_desc="${conf_desc}${sep}OPTEE OS Image"
+ else
+ loadables_line=""
+ loadables_pager_line=""
+ final_conf_desc="${conf_desc}"
+ fi
+
+ dtbcount=1
+ for DTB in ${KERNEL_DEVICETREE}; do
+ DTB=$(basename "${DTB}")
+ dtb_ext=${DTB##*.}
+ if [ "x${FITIMAGE_CONF_BY_NAME}" = "x1" ] ; then
+ conf_name="${DTB}"
+ else
+ conf_name="conf-${dtbcount}"
+ fi
+
+ if [ "x${FITIMAGE_DTB_BY_NAME}" = "x1" ] ; then
+ fdt_line="fdt = \"${DTB}\";"
+ else
+ fdt_line="fdt = \"fdt-${dtbcount}\";"
+ fi
+
+ if [ "x${dtbcount}" = "x1" ]; then
+ cat << EOF >> ${1}
+ default = "${conf_name}";
+EOF
+ fi
+
+# Generate a single configuration section
+ cat << EOF >> ${1}
+ ${conf_name} {
+ description = "${final_conf_desc}";
+ ${fdt_line}
+EOF
+ if [ "${dtb_ext}" != "dtbo" ]; then
+ cat << EOF >> ${1}
+ ${kernel_line}
+ ${ramdisk_line}
+ ${setup_line}
+ ${loadables_line}
+EOF
+ fi
+ if test -n "${FITIMAGE_HASH_ALGO}"; then
+ cat << EOF >> ${1}
+ hash-1 {
+ algo = "${conf_csum}";
+ };
+EOF
+ fi
+
+ if [ ! -z "${conf_sign_keyname}" ] ; then
+
+ sign_line="sign-images = \"kernel\""
+
+ if [ -n "${3}" ]; then
+ sign_line="${sign_line}, \"fdt\""
+ fi
+
+ if [ -n "${4}" ]; then
+ sign_line="${sign_line}, \"ramdisk\""
+ fi
+
+ if [ -n "${5}" ]; then
+ sign_line="${sign_line}, \"setup\""
+ fi
+
+ sign_line="${sign_line};"
+
+ cat << EOF >> ${1}
+ signature-1 {
+ algo = "${conf_csum},rsa2048";
+ key-name-hint = "${conf_sign_keyname}";
+ ${sign_line}
+ };
+EOF
+ fi
+
+ cat << EOF >> ${1}
+ };
+EOF
+# End single config section
+
+# Generate a single "pager" configuration section
+ if [ "${OPTEEPAGER}" = "y" ]; then
+ if [ "x${FITIMAGE_CONF_BY_NAME}" = "x1" ] ; then
+ conf_name="${DTB}-pager"
+ else
+ conf_name="conf-${dtbcount}"
+ fi
+
+ cat << EOF >> ${1}
+ ${conf_name} {
+ description = "${final_conf_desc}";
+ ${fdt_line}
+EOF
+ if [ "${dtb_ext}" != "dtbo" ]; then
+ cat << EOF >> ${1}
+ ${kernel_line}
+ ${ramdisk_line}
+ ${setup_line}
+ ${loadables_pager_line}
+EOF
+ fi
+ if test -n "${FITIMAGE_HASH_ALGO}"; then
+ cat << EOF >> ${1}
+ hash-1 {
+ algo = "${conf_csum}";
+ };
+EOF
+ fi
+
+ if [ ! -z "${conf_sign_keyname}" ] ; then
+
+ sign_line="sign-images = \"kernel\""
+
+ if [ -n "${3}" ]; then
+ sign_line="${sign_line}, \"fdt\""
+ fi
+
+ if [ -n "${4}" ]; then
+ sign_line="${sign_line}, \"ramdisk\""
+ fi
+
+ if [ -n "${5}" ]; then
+ sign_line="${sign_line}, \"setup\""
+ fi
+
+ sign_line="${sign_line};"
+
+ cat << EOF >> ${1}
+ signature-1 {
+ algo = "${conf_csum},rsa2048";
+ key-name-hint = "${conf_sign_keyname}";
+ ${sign_line}
+ };
+EOF
+ fi
+
+ cat << EOF >> ${1}
+ };
+EOF
+ fi
+# End single config section
+
+ dtbcount=`expr ${dtbcount} + 1`
+ done
+}
+
+#
+# Assemble fitImage
+#
+# $1 ... .its filename
+# $2 ... fitImage name
+# $3 ... include ramdisk
+fitimage_assemble() {
+ kernelcount=1
+ dtbcount=""
+ ramdiskcount=${3}
+ setupcount=""
+ teecount=1
+ rm -f ${1} arch/${ARCH}/boot/${2}
+
+ fitimage_emit_fit_header ${1}
+
+ #
+ # Step 1: Prepare a kernel image section.
+ #
+ fitimage_emit_section_maint ${1} imagestart
+
+ uboot_prep_kimage
+ fitimage_ti_secure linux.bin linux.bin.sec
+ fitimage_emit_section_kernel ${1} "${kernelcount}" linux.bin.sec "${linux_comp}"
+
+ #
+ # Step 2: Prepare a DTB image section
+ #
+ if test -n "${KERNEL_DEVICETREE}"; then
+ dtbcount=1
+ dtboaddress="${UBOOT_DTBO_LOADADDRESS}"
+ for DTB in ${KERNEL_DEVICETREE}; do
+ if echo ${DTB} | grep -q '/dts/'; then
+ bbwarn "${DTB} contains the full path to the the dts file, but only the dtb name should be used."
+ DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
+ fi
+ DTB_PATH="arch/${ARCH}/boot/dts/${DTB}"
+ if [ ! -e "${DTB_PATH}" ]; then
+ DTB_PATH="arch/${ARCH}/boot/${DTB}"
+ fi
+ DTB=$(basename "${DTB}")
+
+ dtb_ext=${DTB##*.}
+ if [ "${dtb_ext}" = "dtbo" ]; then
+ if [ -n "${UBOOT_DTBO_LOADADDRESS}" ]; then
+ dtb_loadline="load = <${dtboaddress}>;"
+ num1=`printf "%d\n" ${dtboaddress}`
+ num2=`printf "%d\n" ${UBOOT_DTBO_OFFSET}`
+ num3=`expr $num1 + $num2`
+ dtboaddress=`printf "0x%x\n" $num3`
+ fi
+ elif [ -n "${UBOOT_DTB_LOADADDRESS}" ]; then
+ dtb_loadline="load = <${UBOOT_DTB_LOADADDRESS}>;"
+ fi
+
+ fitimage_ti_secure ${DTB_PATH} ${DTB_PATH}.sec
+ if [ "x${FITIMAGE_DTB_BY_NAME}" = "x1" ] ; then
+ fitimage_emit_section_dtb ${1} ${DTB} ${DTB_PATH}.sec "${dtb_loadline}"
+ else
+ fitimage_emit_section_dtb ${1} "fdt-${dtbcount}" ${DTB_PATH}.sec "${dtb_loadline}"
+ fi
+ if [ "x${dtbcount}" = "x1" ]; then
+ dtbref=${DTB}
+ fi
+ dtbcount=`expr ${dtbcount} + 1`
+ done
+ fi
+
+ #
+ # Step 2a: Prepare OP/TEE image section
+ #
+ if [ "x${FITIMAGE_PACK_TEE}" = "x1" ] ; then
+ mkdir -p ${B}/usr
+ rm -f ${B}/usr/${OPTEEFLAVOR}.optee
+ if [ -e "${DEPLOY_DIR_IMAGE}/${OPTEEFLAVOR}.optee" ]; then
+ cp ${DEPLOY_DIR_IMAGE}/${OPTEEFLAVOR}.optee ${B}/usr/.
+ fi
+ TEE_PATH="usr/${OPTEEFLAVOR}.optee"
+ fitimage_ti_secure ${TEE_PATH} ${TEE_PATH}.sec
+ if [ "x${FITIMAGE_TEE_BY_NAME}" = "x1" ] ; then
+ fitimage_emit_section_tee ${1} ${OPTEEFLAVOR}.optee ${TEE_PATH}.sec
+ else
+ fitimage_emit_section_tee ${1} "tee-${teecount}" ${TEE_PATH}.sec
+ fi
+
+ if [ "${OPTEEPAGER}" = "y" ]; then
+ teecount=`expr ${teecount} + 1`
+ rm -f ${B}/usr/${OPTEEFLAVOR}-pager.optee
+ if [ -e "${DEPLOY_DIR_IMAGE}/${OPTEEFLAVOR}-pager.optee" ]; then
+ cp ${DEPLOY_DIR_IMAGE}/${OPTEEFLAVOR}-pager.optee ${B}/usr/.
+ fi
+ TEE_PATH="usr/${OPTEEFLAVOR}-pager.optee"
+ fitimage_ti_secure ${TEE_PATH} ${TEE_PATH}.sec
+ if [ "x${FITIMAGE_TEE_BY_NAME}" = "x1" ] ; then
+ fitimage_emit_section_tee ${1} ${OPTEEFLAVOR}-pager.optee ${TEE_PATH}.sec
+ else
+ fitimage_emit_section_tee ${1} "tee-${teecount}" ${TEE_PATH}.sec
+ fi
+ fi
+ fi
+
+ #
+ # Step 3: Prepare a setup section. (For x86)
+ #
+ if test -e arch/${ARCH}/boot/setup.bin ; then
+ setupcount=1
+ fitimage_emit_section_setup ${1} "${setupcount}" arch/${ARCH}/boot/setup.bin
+ fi
+
+ #
+ # Step 4: Prepare a ramdisk section.
+ #
+ if [ "x${ramdiskcount}" = "x1" ] ; then
+ # Find and use the first initramfs image archive type we find
+ for img in cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.gz cpio; do
+ initramfs_path="${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.${img}"
+ initramfs_local="usr/${INITRAMFS_IMAGE}-${MACHINE}.${img}"
+ echo "Using $initramfs_path"
+ if [ -e "${initramfs_path}" ]; then
+ fitimage_ti_secure ${initramfs_path} ${initramfs_local}.sec
+ fitimage_emit_section_ramdisk ${1} "${ramdiskcount}" ${initramfs_local}.sec
+ break
+ fi
+ done
+ fi
+
+ fitimage_emit_section_maint ${1} sectend
+
+ # Force the first Kernel and DTB in the default config
+ kernelcount=1
+ if test -n "${dtbcount}"; then
+ dtbcount=1
+ fi
+ teecount=1
+
+ #
+ # Step 5: Prepare a configurations section
+ #
+ fitimage_emit_section_maint ${1} confstart
+
+ if [ "x${FITIMAGE_DTB_BY_NAME}" != "x1" ] ; then
+ dtbref="fdt-${dtbcount}"
+ fi
+ if [ "x${FITIMAGE_TEE_BY_NAME}" = "x1" ] ; then
+ teeref="${OPTEEFLAVOR}"
+ else
+ teeref="${teecount}"
+ fi
+ fitimage_emit_section_config ${1} "${kernelcount}" "${dtbref}" "${ramdiskcount}" "${setupcount}" "${teeref}"
+
+ fitimage_emit_section_maint ${1} sectend
+
+ fitimage_emit_section_maint ${1} fitend
+
+ #
+ # Step 6: Assemble the image
+ #
+ uboot-mkimage \
+ ${@'-D "${UBOOT_MKIMAGE_DTCOPTS}"' if len('${UBOOT_MKIMAGE_DTCOPTS}') else ''} \
+ -f ${1} \
+ arch/${ARCH}/boot/${2}
+
+ #
+ # Step 7: Sign the image and add public key to U-Boot dtb
+ #
+ if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ] ; then
+ uboot-mkimage \
+ ${@'-D "${UBOOT_MKIMAGE_DTCOPTS}"' if len('${UBOOT_MKIMAGE_DTCOPTS}') else ''} \
+ -F -k "${UBOOT_SIGN_KEYDIR}" \
+ -K "${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_BINARY}" \
+ -r arch/${ARCH}/boot/${2}
+ fi
+}
+
+do_assemble_fitimage() {
+ if echo ${KERNEL_IMAGETYPES} | grep -wq "fitImage"; then
+ cd ${B}
+ fitimage_assemble fit-image.its fitImage
+ fi
+}
+
+addtask assemble_fitimage before do_install after do_compile
+
+do_assemble_fitimage_initramfs() {
+ if echo ${KERNEL_IMAGETYPES} | grep -wq "fitImage" && \
+ test -n "${INITRAMFS_IMAGE}" ; then
+ cd ${B}
+ fitimage_assemble fit-image-${INITRAMFS_IMAGE}.its fitImage-${INITRAMFS_IMAGE} 1
+ fi
+}
+
+addtask assemble_fitimage_initramfs before do_deploy after do_install
+
+FITIMAGE_ITS_SUFFIX ?= "its"
+FITIMAGE_ITB_SUFFIX ?= "itb"
+
+FITIMAGE_ITS_IMAGE ?= "fitImage-its-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.${FITIMAGE_ITS_SUFFIX}"
+FITIMAGE_ITS_IMAGE[vardepsexclude] = "DATETIME"
+FITIMAGE_ITS_BINARY ?= "fitImage-its.${FITIMAGE_ITS_SUFFIX}"
+FITIMAGE_ITS_SYMLINK ?= "fitImage-its-${MACHINE}.${FITIMAGE_ITS_SUFFIX}"
+
+FITIMAGE_ITB_IMAGE ?= "fitImage-linux.bin-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.${FITIMAGE_ITB_SUFFIX}"
+FITIMAGE_ITB_IMAGE[vardepsexclude] = "DATETIME"
+FITIMAGE_ITB_BINARY ?= "fitImage-linux.bin.${FITIMAGE_ITB_SUFFIX}"
+FITIMAGE_ITB_SYMLINK ?= "fitImage-linux.bin-${MACHINE}.${FITIMAGE_ITB_SUFFIX}"
+
+FITIMAGE_INITRAMFS_ITS_IMAGE ?= "fitImage-its-${INITRAMFS_IMAGE}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.${FITIMAGE_ITS_SUFFIX}"
+FITIMAGE_INITRAMFS_ITS_IMAGE[vardepsexclude] = "DATETIME"
+FITIMAGE_INITRAMFS_ITS_BINARY ?= "fitImage-its-${INITRAMFS_IMAGE}.${FITIMAGE_ITS_SUFFIX}"
+FITIMAGE_INITRAMFS_ITS_SYMLINK ?= "fitImage-its-${INITRAMFS_IMAGE}-${MACHINE}.${FITIMAGE_ITS_SUFFIX}"
+
+FITIMAGE_INITRAMFS_ITB_IMAGE ?= "fitImage-${INITRAMFS_IMAGE}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}.${FITIMAGE_ITB_SUFFIX}"
+FITIMAGE_INITRAMFS_ITB_IMAGE[vardepsexclude] = "DATETIME"
+FITIMAGE_INITRAMFS_ITB_BINARY ?= "fitImage-${INITRAMFS_IMAGE}.${FITIMAGE_ITB_SUFFIX}"
+FITIMAGE_INITRAMFS_ITB_SYMLINK ?= "fitImage-${INITRAMFS_IMAGE}-${MACHINE}.${FITIMAGE_ITB_SUFFIX}"
+
+kernel_do_deploy:append() {
+ # Update deploy directory
+ if echo ${KERNEL_IMAGETYPES} | grep -wq "fitImage"; then
+ cd ${B}
+ echo "Copying fit-image.its source file..."
+ install -m 0644 fit-image.its ${DEPLOYDIR}/${FITIMAGE_ITS_IMAGE}
+ install -m 0644 arch/${ARCH}/boot/fitImage ${DEPLOYDIR}/${FITIMAGE_ITB_IMAGE}
+
+ if [ -n "${INITRAMFS_IMAGE}" ]; then
+ echo "Copying fit-image-${INITRAMFS_IMAGE}.its source file..."
+ install -m 0644 fit-image-${INITRAMFS_IMAGE}.its ${DEPLOYDIR}/${FITIMAGE_INITRAMFS_ITS_IMAGE}
+ install -m 0644 arch/${ARCH}/boot/fitImage-${INITRAMFS_IMAGE} ${DEPLOYDIR}/${FITIMAGE_INITRAMFS_ITB_IMAGE}
+ fi
+
+ cd ${DEPLOYDIR}
+ ln -sf ${FITIMAGE_ITS_IMAGE} ${FITIMAGE_ITS_SYMLINK}
+ ln -sf ${FITIMAGE_ITS_IMAGE} ${FITIMAGE_ITS_BINARY}
+ ln -sf ${FITIMAGE_ITB_IMAGE} ${FITIMAGE_ITB_SYMLINK}
+ ln -sf ${FITIMAGE_ITB_IMAGE} ${FITIMAGE_ITB_BINARY}
+
+ if [ -n "${INITRAMFS_IMAGE}" ]; then
+ ln -sf ${FITIMAGE_INITRAMFS_ITS_IMAGE} ${FITIMAGE_INITRAMFS_ITS_SYMLINK}
+ ln -sf ${FITIMAGE_INITRAMFS_ITS_IMAGE} ${FITIMAGE_INITRAMFS_ITS_BINARY}
+ ln -sf ${FITIMAGE_INITRAMFS_ITB_IMAGE} ${FITIMAGE_INITRAMFS_ITB_SYMLINK}
+ ln -sf ${FITIMAGE_INITRAMFS_ITB_IMAGE} ${FITIMAGE_INITRAMFS_ITB_BINARY}
+ fi
+ fi
+}
diff --git a/meta-ti-bsp/classes/ti-secdev.bbclass b/meta-ti-bsp/classes/ti-secdev.bbclass
new file mode 100644
index 00000000..b3d70e5c
--- /dev/null
+++ b/meta-ti-bsp/classes/ti-secdev.bbclass
@@ -0,0 +1,21 @@
+# Helper class to prepare correct environment for signing with TI Security Development Tools
+
+# K3 SECDEV scripts use OpenSSL
+DEPENDS:append:k3 = " openssl-native"
+DEPENDS:append:k3r5 = " openssl-native"
+
+# Use package version of TI SECDEV for K3 if one is not provided through the environment
+DEPENDS:append:k3 = "${@ '' if d.getVar('TI_SECURE_DEV_PKG_K3') else ' ti-k3-secdev-native' }"
+DEPENDS:append:k3r5 = "${@ '' if d.getVar('TI_SECURE_DEV_PKG_K3') else ' ti-k3-secdev-native' }"
+TI_K3_SECDEV_INSTALL_DIR = "${STAGING_DIR_NATIVE}${datadir}/ti/ti-k3-secdev"
+TI_SECURE_DEV_PKG:k3 = "${@ d.getVar('TI_SECURE_DEV_PKG_K3') or d.getVar('TI_K3_SECDEV_INSTALL_DIR') }"
+TI_SECURE_DEV_PKG:k3r5 = "${@ d.getVar('TI_SECURE_DEV_PKG_K3') or d.getVar('TI_K3_SECDEV_INSTALL_DIR') }"
+
+# For non-K3 we require the SECDEV tools be provided through the environment with the following vars
+TI_SECURE_DEV_PKG:ti33x = "${TI_SECURE_DEV_PKG_CAT}/am3x"
+TI_SECURE_DEV_PKG:ti43x = "${TI_SECURE_DEV_PKG_CAT}/am4x"
+TI_SECURE_DEV_PKG:am57xx = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
+TI_SECURE_DEV_PKG:dra7xx = "${TI_SECURE_DEV_PKG_AUTO}/dra7"
+
+# The SECDEV scripts may need their own location provided through the environment
+export TI_SECURE_DEV_PKG
diff --git a/meta-ti-bsp/classes/uboot-sign-legacyhs.bbclass b/meta-ti-bsp/classes/uboot-sign-legacyhs.bbclass
new file mode 100644
index 00000000..102232b9
--- /dev/null
+++ b/meta-ti-bsp/classes/uboot-sign-legacyhs.bbclass
@@ -0,0 +1,131 @@
+# This file is part of U-Boot verified boot support and is intended to be
+# inherited from u-boot recipe and from kernel-fitimage.bbclass.
+#
+# The signature procedure requires the user to generate an RSA key and
+# certificate in a directory and to define the following variable:
+#
+# UBOOT_SIGN_KEYDIR = "/keys/directory"
+# UBOOT_SIGN_KEYNAME = "dev" # keys name in keydir (eg. "dev.crt", "dev.key")
+# UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000"
+# UBOOT_SIGN_ENABLE = "1"
+#
+# As verified boot depends on fitImage generation, following is also required:
+#
+# KERNEL_CLASSES ?= " kernel-fitimage "
+# KERNEL_IMAGETYPE ?= "fitImage"
+#
+# The signature support is limited to the use of CONFIG_OF_SEPARATE in U-Boot.
+#
+# The tasks sequence is set as below, using DEPLOY_IMAGE_DIR as common place to
+# treat the device tree blob:
+#
+# * u-boot:do_install:append
+# Install UBOOT_DTB_BINARY to datadir, so that kernel can use it for
+# signing, and kernel will deploy UBOOT_DTB_BINARY after signs it.
+#
+# * virtual/kernel:do_assemble_fitimage
+# Sign the image
+#
+# * u-boot:do_deploy[postfuncs]
+# Deploy files like UBOOT_DTB_IMAGE, UBOOT_DTB_SYMLINK and others.
+#
+# For more details on signature process, please refer to U-Boot documentation.
+
+# Signature activation.
+UBOOT_SIGN_ENABLE ?= "0"
+
+# Default value for deployment filenames.
+UBOOT_DTB_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.dtb"
+UBOOT_DTB_BINARY ?= "u-boot.dtb"
+UBOOT_DTB_SYMLINK ?= "u-boot-${MACHINE}.dtb"
+UBOOT_NODTB_IMAGE ?= "u-boot-nodtb-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_NODTB_BINARY ?= "u-boot-nodtb.${UBOOT_SUFFIX}"
+UBOOT_NODTB_SYMLINK ?= "u-boot-nodtb-${MACHINE}.${UBOOT_SUFFIX}"
+
+# Functions in this bbclass is for u-boot only
+UBOOT_PN = "${@d.getVar('PREFERRED_PROVIDER_u-boot') or 'u-boot'}"
+
+concat_dtb_helper() {
+ if [ -e "${UBOOT_DTB_BINARY}" ]; then
+ ln -sf ${UBOOT_DTB_IMAGE} ${DEPLOYDIR}/${UBOOT_DTB_BINARY}
+ ln -sf ${UBOOT_DTB_IMAGE} ${DEPLOYDIR}/${UBOOT_DTB_SYMLINK}
+ fi
+
+ if [ -f "${UBOOT_NODTB_BINARY}" ]; then
+ install ${UBOOT_NODTB_BINARY} ${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}
+ ln -sf ${UBOOT_NODTB_IMAGE} ${DEPLOYDIR}/${UBOOT_NODTB_SYMLINK}
+ ln -sf ${UBOOT_NODTB_IMAGE} ${DEPLOYDIR}/${UBOOT_NODTB_BINARY}
+ fi
+
+ # Concatenate U-Boot w/o DTB & DTB with public key
+ # (cf. kernel-fitimage.bbclass for more details)
+ deployed_uboot_dtb_binary='${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_IMAGE}'
+ if [ "x${UBOOT_SUFFIX}" = "ximg" -o "x${UBOOT_SUFFIX}" = "xrom" ] && \
+ [ -e "$deployed_uboot_dtb_binary" ]; then
+ oe_runmake EXT_DTB=$deployed_uboot_dtb_binary
+ install ${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
+ elif [ -e "${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}" -a -e "$deployed_uboot_dtb_binary" ]; then
+ cd ${DEPLOYDIR}
+ cat ${UBOOT_NODTB_IMAGE} $deployed_uboot_dtb_binary | tee ${B}/${CONFIG_B_PATH}/${UBOOT_BINARY} > ${UBOOT_IMAGE}
+ else
+ bbwarn "Failure while adding public key to u-boot binary. Verified boot won't be available."
+ fi
+}
+
+concat_dtb() {
+ if [ "${UBOOT_SIGN_ENABLE}" = "1" -a "${PN}" = "${UBOOT_PN}" -a -n "${UBOOT_DTB_BINARY}" ]; then
+ mkdir -p ${DEPLOYDIR}
+ if [ -n "${UBOOT_CONFIG}" ]; then
+ for config in ${UBOOT_MACHINE}; do
+ CONFIG_B_PATH="${config}"
+ cd ${B}/${config}
+ concat_dtb_helper
+ done
+ else
+ CONFIG_B_PATH=""
+ cd ${B}
+ concat_dtb_helper
+ fi
+ fi
+}
+
+# Install UBOOT_DTB_BINARY to datadir, so that kernel can use it for
+# signing, and kernel will deploy UBOOT_DTB_BINARY after signs it.
+install_helper() {
+ if [ -f "${UBOOT_DTB_BINARY}" ]; then
+ install -d ${D}${datadir}
+ # UBOOT_DTB_BINARY is a symlink to UBOOT_DTB_IMAGE, so we
+ # need both of them.
+ install ${UBOOT_DTB_BINARY} ${D}${datadir}/${UBOOT_DTB_IMAGE}
+ ln -sf ${UBOOT_DTB_IMAGE} ${D}${datadir}/${UBOOT_DTB_BINARY}
+ else
+ bbwarn "${UBOOT_DTB_BINARY} not found"
+ fi
+}
+
+do_install:append() {
+ if [ "${UBOOT_SIGN_ENABLE}" = "1" -a "${PN}" = "${UBOOT_PN}" -a -n "${UBOOT_DTB_BINARY}" ]; then
+ if [ -n "${UBOOT_CONFIG}" ]; then
+ for config in ${UBOOT_MACHINE}; do
+ cd ${B}/${config}
+ install_helper
+ done
+ else
+ cd ${B}
+ install_helper
+ fi
+ fi
+}
+
+python () {
+ if d.getVar('UBOOT_SIGN_ENABLE') == '1' and d.getVar('PN') == d.getVar('UBOOT_PN') and d.getVar('UBOOT_DTB_BINARY'):
+ kernel_pn = d.getVar('PREFERRED_PROVIDER_virtual/kernel')
+
+ # Make "bitbake u-boot -cdeploy" deploys the signed u-boot.dtb
+ d.appendVarFlag('do_deploy', 'depends', ' %s:do_deploy' % kernel_pn)
+
+ # kernerl's do_deploy is a litle special, so we can't use
+ # do_deploy:append, otherwise it would override
+ # kernel_do_deploy.
+ d.appendVarFlag('do_deploy', 'prefuncs', ' concat_dtb')
+}
diff --git a/meta-ti-bsp/conf/layer.conf b/meta-ti-bsp/conf/layer.conf
new file mode 100644
index 00000000..502e355f
--- /dev/null
+++ b/meta-ti-bsp/conf/layer.conf
@@ -0,0 +1,34 @@
+# We have a conf and classes directory, append to BBPATH
+BBPATH .= ":${LAYERDIR}"
+METATIBASE := '${@os.path.normpath("${LAYERDIR}/")}'
+
+# We have a recipes directory, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "meta-ti-bsp"
+BBFILE_PATTERN_meta-ti-bsp := "^${LAYERDIR}/"
+BBFILE_PRIORITY_meta-ti-bsp = "6"
+
+LAYERSERIES_COMPAT_meta-ti-bsp = "kirkstone langdale mickledore nanbield scarthgap"
+
+LICENSE_PATH += "${LAYERDIR}/licenses"
+
+LAYERDEPENDS_meta-ti-bsp = " \
+ core \
+ meta-arm \
+"
+
+BBFILES_DYNAMIC += " \
+ clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/recipes*/*/*.bbappend \
+"
+
+SIGGEN_EXCLUDERECIPES_ABISAFE += " \
+ mesa-pvr \
+"
+
+HOSTTOOLS_NONFATAL += "truncate xxd comm"
+
+TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti"
+DEPLOY_DIR_IMAGE:ti-soc = "${TI_COMMON_DEPLOY}/images/${MACHINE}"
+SDK_DEPLOY:ti-soc = "${TI_COMMON_DEPLOY}/sdk"
+PSEUDO_IGNORE_PATHS:append:ti-soc = ",${TI_COMMON_DEPLOY}"
diff --git a/conf/machine/am335x-evm.conf b/meta-ti-bsp/conf/machine/am335x-evm.conf
index 469c4d37..97a4b8b0 100644
--- a/conf/machine/am335x-evm.conf
+++ b/meta-ti-bsp/conf/machine/am335x-evm.conf
@@ -4,14 +4,12 @@
require conf/machine/include/ti33x.inc
-MACHINE_GUI_CLASS = "smallscreen"
-MACHINE_FEATURES += "touchscreen"
+MACHINE_FEATURES += "screen touchscreen"
IMAGE_FSTYPES += "ubifs ubi"
# Normally AM335 boards use ttyS0, but ICE uses ttyS3, so try both
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
-SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
@@ -24,7 +22,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
-MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 9900"
+MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 12000"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
diff --git a/conf/machine/am335x-hs-evm.conf b/meta-ti-bsp/conf/machine/am335x-hs-evm.conf
index 7caa5bfd..ca102961 100644
--- a/conf/machine/am335x-hs-evm.conf
+++ b/meta-ti-bsp/conf/machine/am335x-hs-evm.conf
@@ -15,4 +15,12 @@ UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
-TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am3x"
+# FIT image for legacy secure devices
+KERNEL_CLASSES += " kernel-fitimage-legacyhs"
+KERNEL_IMAGETYPES += " fitImage"
+
+# FIT image settings
+FITIMAGE_HASH_ALGO = ""
+FITIMAGE_DTB_BY_NAME = "1"
+FITIMAGE_TEE_BY_NAME = "1"
+FITIMAGE_CONF_BY_NAME = "1"
diff --git a/conf/machine/am437x-evm.conf b/meta-ti-bsp/conf/machine/am437x-evm.conf
index 4e3681d5..58b7996f 100644
--- a/conf/machine/am437x-evm.conf
+++ b/meta-ti-bsp/conf/machine/am437x-evm.conf
@@ -4,7 +4,6 @@
require conf/machine/include/ti43x.inc
-MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubifs ubi"
@@ -22,7 +21,7 @@ SERIAL_CONSOLES = "115200;ttyS0"
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 994 LEBs
-MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 4800"
+MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 6000"
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
# from dmesg:
diff --git a/conf/machine/am437x-hs-evm.conf b/meta-ti-bsp/conf/machine/am437x-hs-evm.conf
index 34c10166..632b4995 100644
--- a/conf/machine/am437x-hs-evm.conf
+++ b/meta-ti-bsp/conf/machine/am437x-hs-evm.conf
@@ -11,8 +11,18 @@ UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
-TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am4x"
-
-OPTEEMACHINE = "ti"
+OPTEEMACHINE = "ti-am43xx"
OPTEEFLAVOR = "am43xx"
-OPTEEOUTPUTMACHINE = "ti"
+
+EXTRA_IMAGEDEPENDS += "optee-os"
+
+# FIT image for legacy secure devices
+KERNEL_CLASSES += " kernel-fitimage-legacyhs"
+KERNEL_IMAGETYPES += " fitImage"
+
+# FIT image settings
+FITIMAGE_HASH_ALGO = ""
+FITIMAGE_PACK_TEE = "1"
+FITIMAGE_DTB_BY_NAME = "1"
+FITIMAGE_TEE_BY_NAME = "1"
+FITIMAGE_CONF_BY_NAME = "1"
diff --git a/conf/machine/am57xx-evm.conf b/meta-ti-bsp/conf/machine/am57xx-evm.conf
index 3b0c18af..8bcf20ea 100644
--- a/conf/machine/am57xx-evm.conf
+++ b/meta-ti-bsp/conf/machine/am57xx-evm.conf
@@ -2,33 +2,38 @@
#@NAME: AM57xx EVM
#@DESCRIPTION: Machine configuration for the TI AM57xx EVM
-require conf/machine/include/dra7xx.inc
+require conf/machine/include/am57xx.inc
MACHINE_FEATURES += "touchscreen"
SERIAL_CONSOLES = "115200;ttyS2"
+KERNEL_DEVICETREE_PREFIX = " \
+ am57 \
+ ov10635 \
+ ti/am57 \
+ ti/lcd \
+ ti/ov10635 \
+ ti/omap/am57 \
+"
+
+KERNEL_DEVICETREE_DTBMERGE = " \
+ am57xx-evm.dtb \
+ am57xx-evm-reva3.dtb \
+ ti/omap/am57xx-evm.dtb \
+ ti/omap/am57xx-evm-reva3.dtb \
+"
+
KERNEL_DEVICETREE = " \
am57xx-beagle-x15.dtb \
am57xx-beagle-x15-revb1.dtb \
am57xx-beagle-x15-revc.dtb \
am5729-beagleboneai.dtb \
- am57xx-evm.dtb \
- am57xx-evm-cam-ov10635.dtb \
- am57xx-evm-reva3.dtb \
- am57xx-evm-reva3-cam-ov10635.dtb \
am571x-idk.dtb \
- am571x-idk-lcd-osd101t2045.dtb \
- am571x-idk-lcd-osd101t2587.dtb \
am572x-idk.dtb \
- am572x-idk-lcd-osd101t2045.dtb \
- am572x-idk-lcd-osd101t2587.dtb \
am574x-idk.dtb \
- am574x-idk-lcd-osd101t2587.dtb \
"
-KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"
-
UBOOT_MACHINE = "am57xx_evm_config"
# UBI information. Note that this is board and kernel specific. Changes
@@ -51,7 +56,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_SOCS = "am571x am572x am574x"
-TI_PDK_LIMIT_BOARDS = "evmAM571x evmAM572x idkAM571x idkAM572x idkAM574x"
diff --git a/conf/machine/am57xx-hs-evm.conf b/meta-ti-bsp/conf/machine/am57xx-hs-evm.conf
index 4d3eb006..4f36a847 100644
--- a/conf/machine/am57xx-hs-evm.conf
+++ b/meta-ti-bsp/conf/machine/am57xx-hs-evm.conf
@@ -11,9 +11,19 @@ UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
-TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
-
-OPTEEMACHINE = "ti"
+OPTEEMACHINE = "ti-am57xx"
OPTEEFLAVOR = "am57xx"
-OPTEEOUTPUTMACHINE = "ti"
OPTEEPAGER = "y"
+
+EXTRA_IMAGEDEPENDS += "optee-os"
+
+# FIT image for legacy secure devices
+KERNEL_CLASSES += " kernel-fitimage-legacyhs"
+KERNEL_IMAGETYPES += " fitImage"
+
+# FIT image settings
+FITIMAGE_HASH_ALGO = ""
+FITIMAGE_PACK_TEE = "1"
+FITIMAGE_DTB_BY_NAME = "1"
+FITIMAGE_TEE_BY_NAME = "1"
+FITIMAGE_CONF_BY_NAME = "1"
diff --git a/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf
new file mode 100644
index 00000000..2af3317e
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: AM62A HS-FS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62A EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "am62ax"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+
+UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am62axx-evm.conf b/meta-ti-bsp/conf/machine/am62axx-evm.conf
new file mode 100644
index 00000000..238718d0
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62axx-evm.conf
@@ -0,0 +1,18 @@
+#@TYPE: Machine
+#@NAME: AM62AXX EVM
+#@DESCRIPTION: Machine configuration for the TI AM62AXX EVM
+
+require conf/machine/include/am62axx.inc
+
+KERNEL_DEVICETREE_PREFIX = " \
+ ti/k3-am62a7 \
+ ti/k3-am62x-sk \
+ ti/k3-fpdlink \
+ ti/k3-v3link \
+"
+
+KERNEL_DEVICETREE = " \
+ ti/k3-am62a7-sk.dtb \
+"
+
+UBOOT_MACHINE = "am62ax_evm_a53_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
new file mode 100644
index 00000000..36915381
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
@@ -0,0 +1,12 @@
+#@TYPE: Machine
+#@NAME: AM62PX EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62Px EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+require conf/machine/include/ti-extras.inc
+
+SYSFW_SOC = "am62px"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+
+UBOOT_MACHINE = "am62px_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm.conf b/meta-ti-bsp/conf/machine/am62pxx-evm.conf
new file mode 100644
index 00000000..95602116
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62pxx-evm.conf
@@ -0,0 +1,25 @@
+#@TYPE: Machine
+#@NAME: AM62PX EVM
+#@DESCRIPTION: Machine configuration for the TI AM62PX EVM
+
+require conf/machine/include/am62pxx.inc
+require conf/machine/include/ti-extras.inc
+
+KERNEL_DEVICETREE_PREFIX = " \
+ ti/k3-am62p5 \
+ ti/k3-am62x-sk-csi2 \
+ ti/k3-am62x-sk-hdmi \
+"
+
+KERNEL_DEVICETREE = " \
+ ti/k3-am62p5-sk.dtb \
+"
+
+UBOOT_MACHINE = "am62px_evm_a53_defconfig"
+
+# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
+# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
+# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
+# For AM62P tisdk-display-cluster image, splash screen is handled by SBL.
+# Hence, disable the A53 based splash screen using the am62px_evm_prune_splashscreen.config fragment present in ti-u-boot tree
+UBOOT_CONFIG_FRAGMENTS = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'am62px_evm_prune_splashscreen.config', '', d)}"
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf
new file mode 100644
index 00000000..548369ca
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf
@@ -0,0 +1,12 @@
+#@TYPE: Machine
+#@NAME: AM62XX EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+require conf/machine/include/ti-extras.inc
+
+SYSFW_SOC = "am62x"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+
+UBOOT_MACHINE = "am62x_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm.conf b/meta-ti-bsp/conf/machine/am62xx-evm.conf
new file mode 100644
index 00000000..fadbc6f4
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62xx-evm.conf
@@ -0,0 +1,17 @@
+#@TYPE: Machine
+#@NAME: AM62XX EVM
+#@DESCRIPTION: Machine configuration for the TI AM62XX EVM
+
+require conf/machine/include/am62xx.inc
+require conf/machine/include/ti-extras.inc
+
+KERNEL_DEVICETREE_PREFIX = " \
+ ti/k3-am625 \
+ ti/k3-am62x-sk \
+"
+
+KERNEL_DEVICETREE = " \
+ ti/k3-am625-sk.dtb \
+"
+
+UBOOT_MACHINE = "am62x_evm_a53_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf
new file mode 100644
index 00000000..52b69a72
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf
@@ -0,0 +1,12 @@
+#@TYPE: Machine
+#@NAME: AM62XX LP GP EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62xx LP GP EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+require conf/machine/include/ti-extras.inc
+
+SYSFW_SOC = "am62x"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+
+UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
new file mode 100644
index 00000000..51e99728
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
@@ -0,0 +1,20 @@
+#@TYPE: Machine
+#@NAME: AM62XX LP EVM
+#@DESCRIPTION: Machine configuration for the TI AM62XX LP EVM
+
+require conf/machine/include/am62xx.inc
+require conf/machine/include/ti-extras.inc
+
+KERNEL_DEVICETREE_PREFIX = " \
+ ti/k3-am62-lp \
+ ti/k3-am625-sk \
+ ti/k3-am62x-sk-hdmi \
+ ti/k3-am62x-sk-lpm \
+ ti/k3-am62x-sk-mcan \
+"
+
+KERNEL_DEVICETREE = " \
+ ti/k3-am62-lp-sk.dtb \
+"
+
+UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am62xxsip-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xxsip-evm-k3r5.conf
new file mode 100644
index 00000000..0daff2b9
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62xxsip-evm-k3r5.conf
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: AM62XX SIP EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62xx SIP EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "am62x"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+
+UBOOT_MACHINE = "am62x_evm_r5_defconfig"
+
+# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
+# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
+# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
+UBOOT_CONFIG_FRAGMENTS = "am62xsip_sk_r5.config"
diff --git a/meta-ti-bsp/conf/machine/am62xxsip-evm.conf b/meta-ti-bsp/conf/machine/am62xxsip-evm.conf
new file mode 100644
index 00000000..b5dd18f1
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62xxsip-evm.conf
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: AM62XX SIP EVM
+#@DESCRIPTION: Machine configuration for the TI AM62XX SIP EVM
+
+require conf/machine/include/am62xx.inc
+
+KERNEL_DEVICETREE_PREFIX = " \
+ ti/k3-am625 \
+ ti/k3-am62x-sk \
+"
+
+KERNEL_DEVICETREE = " \
+ ti/k3-am625-sk.dtb \
+"
+
+UBOOT_MACHINE = "am62x_evm_a53_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf
new file mode 100644
index 00000000..e932928a
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: AM64xx EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM64xx EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "am64x_sr2"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+
+UBOOT_MACHINE = "am64x_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am64xx-evm.conf b/meta-ti-bsp/conf/machine/am64xx-evm.conf
new file mode 100644
index 00000000..c6ba2a87
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am64xx-evm.conf
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: AM64xx EVM
+#@DESCRIPTION: Machine configuration for the TI AM64xx EVM
+
+require conf/machine/include/am64xx.inc
+
+UBOOT_MACHINE = "am64x_evm_a53_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf
new file mode 100644
index 00000000..8744ac3e
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: AM65xx EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM65xx EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "am65x_sr2"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+
+UBOOT_MACHINE = "am65x_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am65xx-evm.conf b/meta-ti-bsp/conf/machine/am65xx-evm.conf
new file mode 100644
index 00000000..60eed90f
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am65xx-evm.conf
@@ -0,0 +1,9 @@
+#@TYPE: Machine
+#@NAME: AM65xx EVM
+#@DESCRIPTION: Machine configuration for the TI AM65xx EVM
+
+require conf/machine/include/am65xx.inc
+
+UBOOT_MACHINE = "am65x_evm_a53_defconfig"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw"
diff --git a/meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf
new file mode 100644
index 00000000..337c8413
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: AM65xx HS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "am65x_sr2"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs"
+
+UBOOT_MACHINE = "am65x_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am65xx-hs-evm.conf b/meta-ti-bsp/conf/machine/am65xx-hs-evm.conf
new file mode 100644
index 00000000..f8221f31
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am65xx-hs-evm.conf
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: AM65xx HS EVM
+#@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM
+
+require conf/machine/include/am65xx.inc
+
+UBOOT_MACHINE = "am65x_evm_a53_defconfig"
diff --git a/meta-ti-bsp/conf/machine/beagle-x15.conf b/meta-ti-bsp/conf/machine/beagle-x15.conf
new file mode 100644
index 00000000..6fc7957c
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/beagle-x15.conf
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: BeagleBoard X15
+#@DESCRIPTION: Machine configuration for the BeagleBoard X15
+
+require conf/machine/include/beagle.inc
+require conf/machine/include/am57xx.inc
+
+KERNEL_DEVICETREE_PREFIX = "am57xx-beagle-x15"
+
+KERNEL_DEVICETREE = " \
+am57xx-beagle-x15.dtb \
+am57xx-beagle-x15-revb1.dtb \
+am57xx-beagle-x15-revc.dtb \
+am57xx-idk-lcd-osd101t2045.dtbo \
+am57xx-idk-lcd-osd101t2587.dtbo \
+"
+
+MACHINE_GUI_CLASS = "bigscreen"
+
+SERIAL_CONSOLES = "115200;ttyS2"
+
+UBOOT_MACHINE = "am57xx_evm_config"
diff --git a/meta-ti-bsp/conf/machine/beaglebone-ai64-k3r5.conf b/meta-ti-bsp/conf/machine/beaglebone-ai64-k3r5.conf
new file mode 100644
index 00000000..f57ae065
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/beaglebone-ai64-k3r5.conf
@@ -0,0 +1,23 @@
+#@TYPE: Machine
+#@NAME: BeagleBone AI-64 (R5F)
+#@DESCRIPTION: Machine configuration for the BeagleBone AI-64 (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j721e"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+
+SPL_BINARY = "spl/u-boot-spl.${UBOOT_SUFFIX}"
+SPL_SYMLINK = "u-boot-r5spl.${UBOOT_SUFFIX}"
+UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
+UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
+
+UBOOT_MACHINE = "j721e_evm_r5_defconfig"
+
+
+# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
+# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
+# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
+UBOOT_CONFIG_FRAGMENTS = "j721e_beagleboneai64_r5.config"
diff --git a/meta-ti-bsp/conf/machine/beaglebone-ai64.conf b/meta-ti-bsp/conf/machine/beaglebone-ai64.conf
new file mode 100644
index 00000000..8ec52bba
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/beaglebone-ai64.conf
@@ -0,0 +1,33 @@
+#@TYPE: Machine
+#@NAME: BeagleBone AI-64 (A72)
+#@DESCRIPTION: Machine configuration for the BeagleBone AI-64 board (A72 core)
+
+require conf/machine/include/beagle.inc
+require conf/machine/include/j721e.inc
+
+UBOOT_MACHINE = "j721e_evm_a72_config"
+
+
+# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
+# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
+# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
+UBOOT_CONFIG_FRAGMENTS = "j721e_beagleboneai64_a72.config"
+
+KERNEL_DEVICETREE = " \
+ti/k3-j721e-beagleboneai64.dtb \
+ti/k3-j721e-common-proc-board.dtb \
+ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
+ti/k3-j721e-evm-csi2-ov5640.dtbo \
+ti/k3-j721e-evm-fusion.dtbo \
+ti/k3-j721e-evm-gesi-exp-board.dtbo \
+ti/k3-j721e-evm-pcie0-ep.dtbo \
+ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
+ti/k3-j721e-evm-virt-mac-client.dtbo \
+ti/k3-j721e-sk.dtb \
+ti/k3-j721e-sk-csi2-ov5640.dtbo \
+ti/k3-j721e-sk-csi2-rpi-imx219.dtbo \
+ti/k3-j721e-sk-fusion.dtbo \
+ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \
+"
+
+MACHINE_GUI_CLASS = "bigscreen"
diff --git a/meta-ti-bsp/conf/machine/beaglebone.conf b/meta-ti-bsp/conf/machine/beaglebone.conf
new file mode 100644
index 00000000..8b8b9d29
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/beaglebone.conf
@@ -0,0 +1,67 @@
+#@TYPE: Machine
+#@NAME: BeagleBone machine
+#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
+
+require conf/machine/include/beagle.inc
+require conf/machine/include/ti33x.inc
+
+KERNEL_DEVICETREE_PREFIX = "am335x-bone"
+
+KERNEL_DEVICETREE = " \
+am335x-bone.dtb \
+am335x-boneblack.dtb \
+am335x-boneblack-pps.dtb \
+am335x-boneblack-uboot.dtb \
+am335x-boneblack-uboot-univ.dtb \
+am335x-boneblack-wireless.dtb \
+am335x-boneblue.dtb \
+am335x-bonegreen.dtb \
+am335x-bonegreen-gateway.dtb \
+am335x-bonegreen-wireless.dtb \
+am335x-bonegreen-wireless-uboot-univ.dtb \
+am335x-pocketbeagle.dtb \
+am335x-sancloud-bbe.dtb \
+am335x-sancloud-bbe-extended-wifi.dtb \
+am335x-sancloud-bbe-lite.dtb \
+"
+
+# Extra DT overlays/capes
+KERNEL_DEVICETREE += " \
+AM335X-PRU-UIO-00A0.dtbo \
+BB-ADC-00A0.dtbo \
+BB-BBBW-WL1835-00A0.dtbo \
+BB-BBGG-WL1835-00A0.dtbo \
+BB-BBGW-WL1835-00A0.dtbo \
+BB-BONE-4D5R-01-00A1.dtbo \
+BB-BONE-eMMC1-01-00A0.dtbo \
+BB-BONE-LCD4-01-00A1.dtbo \
+BB-BONE-NH7C-01-A0.dtbo \
+BB-CAPE-DISP-CT4-00A0.dtbo \
+BB-HDMI-TDA998x-00A0.dtbo \
+BB-I2C1-MCP7940X-00A0.dtbo \
+BB-I2C1-RTC-DS3231.dtbo \
+BB-I2C1-RTC-PCF8563.dtbo \
+BB-I2C2-BME680.dtbo \
+BB-I2C2-MPU6050.dtbo \
+BB-LCD-ADAFRUIT-24-SPI1-00A0.dtbo \
+BB-NHDMI-TDA998x-00A0.dtbo \
+BBORG_COMMS-00A2.dtbo \
+BBORG_FAN-A000.dtbo \
+BBORG_RELAY-00A2.dtbo \
+BB-SPIDEV0-00A0.dtbo \
+BB-SPIDEV1-00A0.dtbo \
+BB-UART1-00A0.dtbo \
+BB-UART2-00A0.dtbo \
+BB-UART4-00A0.dtbo \
+BB-W1-P9.12-00A0.dtbo \
+BONE-ADC.dtbo \
+M-BB-BBG-00A0.dtbo \
+M-BB-BBGG-00A0.dtbo \
+PB-MIKROBUS-0.dtbo \
+PB-MIKROBUS-1.dtbo \
+"
+
+MACHINE_GUI_CLASS = "bigscreen"
+MACHINE_FEATURES += "screen"
+
+SERIAL_CONSOLES = "115200;ttyS0"
diff --git a/meta-ti-bsp/conf/machine/beagleplay-k3r5.conf b/meta-ti-bsp/conf/machine/beagleplay-k3r5.conf
new file mode 100644
index 00000000..601cbbf7
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/beagleplay-k3r5.conf
@@ -0,0 +1,19 @@
+#@TYPE: Machine
+#@NAME: BeaglePlay (R5F)
+#@DESCRIPTION: Machine configuration for the BeaglePlay (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org"
+PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"
+
+SYSFW_SOC = "am62x"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+
+UBOOT_MACHINE = "am62x_evm_r5_defconfig"
+
+# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
+# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
+# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
+UBOOT_CONFIG_FRAGMENTS = "am625_beagleplay_r5.config"
diff --git a/meta-ti-bsp/conf/machine/beagleplay.conf b/meta-ti-bsp/conf/machine/beagleplay.conf
new file mode 100644
index 00000000..75e62afd
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/beagleplay.conf
@@ -0,0 +1,55 @@
+#@TYPE: Machine
+#@NAME: BeaglePlay (A53)
+#@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
+
+require conf/machine//include/beagle.inc
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":am62xx"
+
+MACHINE_FEATURES += "screen gpu"
+
+SERIAL_CONSOLES = "115200;ttyS2"
+
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+
+TFA_BOARD = "lite"
+TFA_K3_SYSTEM_SUSPEND = "1"
+
+OPTEEMACHINE = "k3-am62x"
+
+UBOOT_MACHINE = "am62x_evm_a53_defconfig"
+
+# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
+# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
+# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
+UBOOT_CONFIG_FRAGMENTS = "am625_beagleplay_a53.config"
+
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org"
+PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"
+
+KERNEL_DEVICETREE = " \
+ti/k3-am625-beagleplay.dtb \
+ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
+ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
+ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
+ti/k3-am625-sk.dtb \
+ti/k3-am625-sk-dmtimer-pwm.dtbo \
+ti/k3-am625-sk-ecap-capture.dtbo \
+ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
+ti/k3-am625-sk-mcspi-loopback.dtbo \
+ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
+ti/k3-am625-sk-microtips-mf103hie-lcd2.dtbo \
+ti/k3-am625-sk-pwm.dtbo \
+ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
+ti/k3-am62x-sk-csi2-imx219.dtbo \
+ti/k3-am62x-sk-csi2-ov5640.dtbo \
+ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
+ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
+ti/k3-am62x-sk-eqep.dtbo \
+ti/k3-am62x-sk-hdmi-audio.dtbo \
+ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
+ti/k3-am62x-sk-mcan.dtbo \
+"
+
+MACHINE_GUI_CLASS = "bigscreen"
diff --git a/conf/machine/dra7xx-evm.conf b/meta-ti-bsp/conf/machine/dra7xx-evm.conf
index 67f9a0d1..30884ae1 100644
--- a/conf/machine/dra7xx-evm.conf
+++ b/meta-ti-bsp/conf/machine/dra7xx-evm.conf
@@ -8,21 +8,19 @@ MACHINE_FEATURES += "touchscreen"
SERIAL_CONSOLES = "115200;ttyS0"
+KERNEL_DEVICETREE_PREFIX = " \
+ dra7 \
+ ti/dra7 \
+ ti/lcd \
+ ti/omap/dra7 \
+"
+
KERNEL_DEVICETREE = " \
dra7-evm.dtb \
- dra7-evm-lcd-osd101t2045.dtb \
- dra7-evm-lcd-osd101t2587.dtb \
dra71-evm.dtb \
- dra71-evm-nand.dtb \
- dra71-evm-lcd-auo-g101evn01.0.dtb \
dra72-evm.dtb \
- dra72-evm-lcd-osd101t2045.dtb \
- dra72-evm-lcd-osd101t2587.dtb \
dra72-evm-revc.dtb \
- dra72-evm-revc-lcd-osd101t2045.dtb \
- dra72-evm-revc-lcd-osd101t2587.dtb \
dra76-evm.dtb \
- dra76-evm-tfp410.dtb \
"
UBOOT_MACHINE = "dra7xx_evm_config"
@@ -47,7 +45,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
-
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_BOARDS = "evmDRA72x evmDRA75x evmDRA78x"
-TI_PDK_LIMIT_SOCS = "dra72x dra75x dra78x"
diff --git a/conf/machine/dra7xx-hs-evm.conf b/meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf
index 9b029856..8e57a154 100644
--- a/conf/machine/dra7xx-hs-evm.conf
+++ b/meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf
@@ -11,9 +11,19 @@ UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
-TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/dra7"
-
-OPTEEMACHINE = "ti"
+OPTEEMACHINE = "ti-dra7xx"
OPTEEFLAVOR = "dra7xx"
-OPTEEOUTPUTMACHINE = "ti"
OPTEEPAGER = "y"
+
+EXTRA_IMAGEDEPENDS += "optee-os"
+
+# FIT image for legacy secure devices
+KERNEL_CLASSES += " kernel-fitimage-legacyhs"
+KERNEL_IMAGETYPES += " fitImage"
+
+# FIT image settings
+FITIMAGE_HASH_ALGO = ""
+FITIMAGE_PACK_TEE = "1"
+FITIMAGE_DTB_BY_NAME = "1"
+FITIMAGE_TEE_BY_NAME = "1"
+FITIMAGE_CONF_BY_NAME = "1"
diff --git a/meta-ti-bsp/conf/machine/include/am57xx.inc b/meta-ti-bsp/conf/machine/include/am57xx.inc
new file mode 100644
index 00000000..85290924
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/am57xx.inc
@@ -0,0 +1,7 @@
+require conf/machine/include/omap-a15.inc
+SOC_FAMILY:append = ":dra7xx"
+SOC_FAMILY:append = ":am57xx"
+
+MACHINE_FEATURES += "pci"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw prusw-fw pruhsr-fw pruprp-fw"
diff --git a/meta-ti-bsp/conf/machine/include/am62axx.inc b/meta-ti-bsp/conf/machine/include/am62axx.inc
new file mode 100644
index 00000000..93a41d8d
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/am62axx.inc
@@ -0,0 +1,20 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":am62axx"
+
+MACHINE_FEATURES += "screen touchscreen"
+
+TFA_K3_SYSTEM_SUSPEND = "1"
+
+# Default tiboot3.bin on AM62A is for HS-FS
+IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-fs-evm.bin"
+
+# Since default tiboot3.bin on AM62A is for HS-FS, add a version for GP
+IMAGE_BOOT_FILES += "tiboot3-am62ax-gp-evm.bin"
+
+# Since default tiboot3.bin on AM62A is for HS-FS, add a version for HS-SE
+IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-evm.bin"
+
+TFA_BOARD = "lite"
+OPTEEMACHINE = "k3-am62x"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cnm-wave-fw"
diff --git a/meta-ti-bsp/conf/machine/include/am62pxx.inc b/meta-ti-bsp/conf/machine/include/am62pxx.inc
new file mode 100644
index 00000000..38e35851
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/am62pxx.inc
@@ -0,0 +1,22 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":am62pxx"
+
+MACHINE_FEATURES += "screen gpu"
+
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+
+# Default tiboot3.bin on AM62Px is for HS-FS
+IMAGE_BOOT_FILES += "tiboot3-am62px-hs-fs-evm.bin"
+
+TFA_BOARD = "lite"
+TFA_K3_SYSTEM_SUSPEND = "1"
+
+OPTEEMACHINE = "k3-am62x"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cnm-wave-fw"
+
+SERIAL_CONSOLES = "115200;ttyS2"
+
+# Bitmap image tarball for early splashscreen
+IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz"
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/machine/include/am62xx.inc
new file mode 100644
index 00000000..a0ec944f
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/am62xx.inc
@@ -0,0 +1,27 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":am62xx"
+
+MACHINE_FEATURES += "screen gpu"
+
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+
+# Default tiboot3.bin on AM62x is for HS-FS
+IMAGE_BOOT_FILES += "tiboot3-am62x-hs-fs-evm.bin"
+
+# Since default tiboot3.bin on AM62x is for HS-FS, add a version for GP
+IMAGE_BOOT_FILES += "tiboot3-am62x-gp-evm.bin"
+
+# Since default tiboot3.bin on AM62x is for HS-FS, add a version for HS-SE
+IMAGE_BOOT_FILES += "tiboot3-am62x-hs-evm.bin"
+
+# Bitmap image tarball for early splashscreen
+IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz"
+
+TFA_BOARD = "lite"
+TFA_K3_SYSTEM_SUSPEND = "1"
+
+OPTEEMACHINE = "k3-am62x"
+
+# Normally AM62 boards use ttyS2, but our Jailhouse inmate may use ttyS3, so try both
+SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3"
diff --git a/meta-ti-bsp/conf/machine/include/am64xx.inc b/meta-ti-bsp/conf/machine/include/am64xx.inc
new file mode 100644
index 00000000..cfade2fa
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/am64xx.inc
@@ -0,0 +1,24 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":am64xx"
+
+KERNEL_DEVICETREE_PREFIX = "ti/k3-am642"
+
+KERNEL_DEVICETREE = " \
+ ti/k3-am642-evm.dtb \
+ ti/k3-am642-sk.dtb \
+"
+
+# Default tiboot3.bin on AM64x is for SR2.0 HS-FS
+IMAGE_BOOT_FILES += "tiboot3-am64x_sr2-hs-fs-evm.bin"
+
+# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for GP
+IMAGE_BOOT_FILES += "tiboot3-am64x-gp-evm.bin"
+
+# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for SR2.0 HS-SE
+IMAGE_BOOT_FILES += "tiboot3-am64x_sr2-hs-evm.bin"
+
+TFA_BOARD = "lite"
+
+OPTEEMACHINE = "k3-am64x"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw"
diff --git a/meta-ti-bsp/conf/machine/include/am65xx.inc b/meta-ti-bsp/conf/machine/include/am65xx.inc
new file mode 100644
index 00000000..80a7744a
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/am65xx.inc
@@ -0,0 +1,29 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":am65xx"
+
+MACHINE_FEATURES += "screen touchscreen gpu"
+
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+
+KERNEL_DEVICETREE_PREFIX = "ti/k3-am654"
+
+KERNEL_DEVICETREE = " \
+ ti/k3-am654-base-board.dtb \
+"
+
+IMAGE_BOOT_FILES += "sysfw.itb"
+
+# Default on AM65x is for GP
+IMAGE_BOOT_FILES += "tiboot3-am65x_sr2-gp-evm.bin"
+IMAGE_BOOT_FILES += "sysfw-am65x_sr2-gp-evm.itb"
+
+# Since default on AM65x is for GP, add a version for HS-SE
+IMAGE_BOOT_FILES += "tiboot3-am65x_sr2-hs-evm.bin"
+IMAGE_BOOT_FILES += "sysfw-am65x_sr2-hs-evm.itb"
+
+TFA_BOARD = "generic"
+
+OPTEEMACHINE = "k3-am65x"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw"
diff --git a/meta-ti-bsp/conf/machine/include/beagle.inc b/meta-ti-bsp/conf/machine/include/beagle.inc
new file mode 100644
index 00000000..27e3298d
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/beagle.inc
@@ -0,0 +1,3 @@
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-bb.org"
+
diff --git a/conf/machine/include/dra7xx.inc b/meta-ti-bsp/conf/machine/include/dra7xx.inc
index 857e1b35..a02421d9 100644
--- a/conf/machine/include/dra7xx.inc
+++ b/meta-ti-bsp/conf/machine/include/dra7xx.inc
@@ -1,4 +1,4 @@
require conf/machine/include/omap-a15.inc
-SOC_FAMILY_append = ":dra7xx"
+SOC_FAMILY:append = ":dra7xx"
MACHINE_FEATURES += "pci"
diff --git a/meta-ti-bsp/conf/machine/include/j7200.inc b/meta-ti-bsp/conf/machine/include/j7200.inc
new file mode 100644
index 00000000..66a07da8
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/j7200.inc
@@ -0,0 +1,17 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":j7200"
+
+# Default tiboot3.bin on J7200 is for GP
+IMAGE_BOOT_FILES += "tiboot3-j7200-gp-evm.bin"
+
+# Since default tiboot3.bin on J7200 is for GP, add a version for SR2.0 HS-FS
+IMAGE_BOOT_FILES += "tiboot3-j7200_sr2-hs-fs-evm.bin"
+
+# Since default tiboot3.bin on J721e is for GP, add a version for SR2.0 HS-SE
+IMAGE_BOOT_FILES += "tiboot3-j7200_sr2-hs-evm.bin"
+
+TFA_BOARD = "generic"
+
+OPTEEMACHINE = "k3-j721e"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-eth-fw"
diff --git a/meta-ti-bsp/conf/machine/include/j721e.inc b/meta-ti-bsp/conf/machine/include/j721e.inc
new file mode 100644
index 00000000..92235527
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/j721e.inc
@@ -0,0 +1,27 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":j721e"
+
+MACHINE_FEATURES += "screen gpu"
+
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+
+IMAGE_BOOT_FILES += "sysfw.itb"
+
+# Default on J721e is for GP
+IMAGE_BOOT_FILES += "tiboot3-j721e-gp-evm.bin"
+IMAGE_BOOT_FILES += "sysfw-j721e-gp-evm.itb"
+
+# Since default on J721e is for GP, add a version for HS-FS
+IMAGE_BOOT_FILES += "tiboot3-j721e_sr2-hs-fs-evm.bin"
+IMAGE_BOOT_FILES += "sysfw-j721e_sr2-hs-fs-evm.itb"
+
+# Since default on J721e is for GP, add a version for HS-SE
+IMAGE_BOOT_FILES += "tiboot3-j721e_sr1_1-hs-evm.bin"
+IMAGE_BOOT_FILES += "sysfw-j721e_sr1_1-hs-evm.itb"
+
+TFA_BOARD = "generic"
+
+OPTEEMACHINE = "k3-j721e"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw vxd-dec-fw ti-eth-fw"
diff --git a/meta-ti-bsp/conf/machine/include/j721s2.inc b/meta-ti-bsp/conf/machine/include/j721s2.inc
new file mode 100644
index 00000000..4b63694c
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/j721s2.inc
@@ -0,0 +1,19 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":j721s2"
+
+MACHINE_FEATURES += "screen gpu"
+
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+
+# Default tiboot3.bin on J721S2 is for GP
+IMAGE_BOOT_FILES += "tiboot3-j721s2-gp-evm.bin"
+
+# Since default tiboot3.bin on J721S2 is for GP, add a version for SR1.0 HS-FS
+IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-fs-evm.bin"
+
+TFA_BOARD = "generic"
+
+OPTEEMACHINE = "k3-j784s4"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw"
diff --git a/meta-ti-bsp/conf/machine/include/j722s.inc b/meta-ti-bsp/conf/machine/include/j722s.inc
new file mode 100644
index 00000000..e165f51b
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/j722s.inc
@@ -0,0 +1,19 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":j722s"
+
+MACHINE_FEATURES += "screen gpu"
+
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+
+# Default tiboot3.bin on J722S is for HS-FS
+IMAGE_BOOT_FILES += "tiboot3-j722s-hs-fs-evm.bin"
+
+TFA_BOARD = "lite"
+TFA_K3_SYSTEM_SUSPEND = "1"
+
+OPTEEMACHINE = "k3-am62x"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cnm-wave-fw"
+
+SERIAL_CONSOLES = "115200;ttyS2"
diff --git a/meta-ti-bsp/conf/machine/include/j784s4.inc b/meta-ti-bsp/conf/machine/include/j784s4.inc
new file mode 100644
index 00000000..559877e0
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/j784s4.inc
@@ -0,0 +1,19 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":j784s4"
+
+MACHINE_FEATURES += "screen gpu"
+
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+
+# Default tiboot3.bin on J784S4 is for GP
+IMAGE_BOOT_FILES += "tiboot3-j784s4-gp-evm.bin"
+
+# Since default tiboot3.bin on J784S4 is for GP, add a version for SR1.0 HS-FS
+IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-fs-evm.bin"
+
+TFA_BOARD = "j784s4"
+
+OPTEEMACHINE = "k3-j784s4"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw"
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc
new file mode 100644
index 00000000..e3da9e12
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/k3.inc
@@ -0,0 +1,67 @@
+# TI K3 Aarch64 profile for Cortex-A53/A72 cores
+
+require conf/machine/include/ti-soc.inc
+SOC_FAMILY:append = ":k3"
+
+require conf/machine/include/arm/arch-arm64.inc
+
+BBMULTICONFIG += "k3r5"
+
+# Increase this everytime you change something in the kernel
+MACHINE_KERNEL_PR = "r0"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
+
+KERNEL_IMAGETYPE = "Image"
+KERNEL_IMAGETYPES = "Image fitImage"
+KERNEL_CLASSES += "kernel-fitimage"
+
+UBOOT_ARCH = "arm"
+UBOOT_ENTRYPOINT = "0x81000000"
+UBOOT_LOADADDRESS = "0x81000000"
+UBOOT_RD_LOADADDRESS = "0x84000000"
+UBOOT_RD_ENTRYPOINT = "0x84000000"
+UBOOT_DTB_LOADADDRESS = "0x83000000"
+UBOOT_DTBO_LOADADDRESS = "0x83080000"
+UBOOT_DTBO_OFFSET = "0x00010000"
+
+SPL_BINARY = "tispl.bin"
+SPL_BINARYNAME = "tispl.bin"
+UBOOT_SUFFIX = "img"
+
+UBOOT_SIGN_ENABLE = "1"
+UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb"
+UBOOT_SIGN_KEYNAME ?= "custMpk"
+UBOOT_SIGN_KEYDIR ?= "${TI_SECURE_DEV_PKG}/keys"
+FIT_HASH_ALG ?= "sha512"
+FIT_SIGN_ALG ?= "rsa4096"
+
+EXTRA_IMAGEDEPENDS += "virtual/bootloader"
+
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-image"
+
+TFA_PLATFORM = "k3"
+
+# Use the expected value of the ubifs filesystem's volume name in the kernel
+# and u-boot.
+UBI_VOLNAME = "rootfs"
+
+# List common SoC features, may need to add touchscreen for specific machines
+MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci"
+
+IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
+
+IMAGE_BOOT_FILES ?= "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin"
+IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}"
+
+EFI_PROVIDER ?= "grub-efi"
+MACHINE_FEATURES += "efi"
+
+WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}"
+
+do_image_wic[depends] += "virtual/bootloader:do_deploy"
+do_image[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"
diff --git a/meta-ti-bsp/conf/machine/include/k3r5.inc b/meta-ti-bsp/conf/machine/include/k3r5.inc
new file mode 100644
index 00000000..63267a5e
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/k3r5.inc
@@ -0,0 +1,27 @@
+# TI K3 Armv7 profile for Cortex-R5F cores
+
+require conf/machine/include/ti-soc.inc
+SOC_FAMILY:append = ":k3r5"
+
+# The closest of existing tunes for Cortex-R5F
+DEFAULTTUNE = "armv7athf"
+require conf/machine/include/arm/armv7a/tune-cortexa8.inc
+
+# R5 runs early bootloader and loads SYSFW
+# https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/doc/board/ti/j721e_evm.rst
+# https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/doc/board/ti/am62x_sk.rst
+# https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/doc/board/ti/k3.rst
+PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
+
+SPL_SUFFIX = "bin"
+SPL_BINARY = "tiboot3-${SYSFW_SOC}-${SYSFW_SUFFIX}-${SYSFW_CONFIG}.${SPL_SUFFIX}"
+SPL_SYMLINK = "tiboot3.${SPL_SUFFIX}"
+UBOOT_SUFFIX = "bin"
+UBOOT_BINARY = "u-boot-r5spl.${UBOOT_SUFFIX}"
+UBOOT_IMAGE = "u-boot-r5spl-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "u-boot-r5spl-${MAINMACHINE}.${UBOOT_SUFFIX}"
+
+PACKAGECONFIG:pn-u-boot-ti-staging = ""
+PACKAGECONFIG:pn-u-boot-ti-mainline = ""
diff --git a/meta-ti-bsp/conf/machine/include/mesa-pvr.inc b/meta-ti-bsp/conf/machine/include/mesa-pvr.inc
new file mode 100644
index 00000000..d5581315
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/mesa-pvr.inc
@@ -0,0 +1,8 @@
+PREFERRED_PROVIDER_virtual/mesa ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/egl ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/libgbm ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/libglx ?= "mesa-pvr"
+PREFERRED_PROVIDER_virtual/libgl ?= "mesa-pvr"
diff --git a/meta-ti-bsp/conf/machine/include/omap-a15.inc b/meta-ti-bsp/conf/machine/include/omap-a15.inc
new file mode 100644
index 00000000..6187f2ea
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/omap-a15.inc
@@ -0,0 +1,57 @@
+require conf/machine/include/ti-soc.inc
+SOC_FAMILY:append = ":omap-a15"
+
+DEFAULTTUNE ?= "armv7athf-neon"
+require conf/machine/include/arm/armv7a/tune-cortexa15.inc
+
+# Increase this everytime you change something in the kernel
+MACHINE_KERNEL_PR = "r7"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
+
+# Graphics providers and variables
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm"
+
+KERNEL_IMAGETYPE = "zImage"
+KERNEL_IMAGETYPES = "zImage uImage"
+KERNEL_CLASSES += "kernel-uimage"
+
+UBOOT_ARCH = "arm"
+UBOOT_ENTRYPOINT = "0x80008000"
+UBOOT_LOADADDRESS = "0x80008000"
+
+DEVICETREE_FILE = "${@(d.getVar('KERNEL_DEVICETREE') or "").replace("ti/","")}"
+
+# Generate an extlinux.conf file
+UBOOT_EXTLINUX = "1"
+UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
+UBOOT_EXTLINUX_BOOT_FILES = " \
+ extlinux.conf;extlinux/extlinux.conf \
+ ${KERNEL_IMAGETYPE} \
+ ${DEVICETREE_FILE} \
+"
+
+SPL_BINARY = "MLO"
+UBOOT_SUFFIX = "img"
+
+EXTRA_IMAGEDEPENDS += "virtual/bootloader"
+
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "vpdma-fw goodix-fw"
+
+# Use the expected value of the ubifs filesystem's volume name in the kernel
+# and u-boot.
+UBI_VOLNAME = "rootfs"
+
+# List common SoC features, may need to add touchscreen for specific machines
+MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc320"
+
+IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
+WKS_FILE ?= "sdimage-2part.wks"
+IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
+do_image_wic[depends] += "virtual/bootloader:do_deploy"
diff --git a/meta-ti-bsp/conf/machine/include/omapl138.inc b/meta-ti-bsp/conf/machine/include/omapl138.inc
new file mode 100644
index 00000000..7f8262a5
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/omapl138.inc
@@ -0,0 +1,16 @@
+require conf/machine/include/ti-soc.inc
+SOC_FAMILY:append = ":omapl138"
+
+require conf/machine/include/arm/armv5/tune-arm926ejs.inc
+
+KERNEL_IMAGETYPE = "zImage"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
+
+EXTRA_IMAGEDEPENDS += "virtual/bootloader"
+
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage"
+
+MACHINE_FEATURES = "serial usbhost usbgadget alsa"
diff --git a/meta-ti-bsp/conf/machine/include/ti-extras.inc b/meta-ti-bsp/conf/machine/include/ti-extras.inc
new file mode 100644
index 00000000..4e62605c
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/ti-extras.inc
@@ -0,0 +1,4 @@
+# Add TI_EXTRAS to machine overrides so we get access to e.g. 'jailhouse'
+
+TI_EXTRAS ??= ""
+MACHINEOVERRIDES =. "${@ '${TI_EXTRAS}:' if d.getVar('TI_EXTRAS').startswith('tie-') else ''}"
diff --git a/conf/machine/include/ti-soc.inc b/meta-ti-bsp/conf/machine/include/ti-soc.inc
index 227d8972..a1fd3cbf 100644
--- a/conf/machine/include/ti-soc.inc
+++ b/meta-ti-bsp/conf/machine/include/ti-soc.inc
@@ -1,4 +1,9 @@
# This is a generic TI SOC family. It is a superset of all other SOCs
# and platforms defined in meta-ti to allow BSP-level overrides.
SOC_FAMILY = "ti-soc"
+
+# TI platforms all use devicetrees with overlays
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree"
+KERNEL_DTB_OVERLAY_SUPPORT ?= "1"
+
require conf/machine/include/soc-family.inc
diff --git a/meta-ti-bsp/conf/machine/include/ti33x.inc b/meta-ti-bsp/conf/machine/include/ti33x.inc
new file mode 100644
index 00000000..d6a70895
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/ti33x.inc
@@ -0,0 +1,76 @@
+require conf/machine/include/ti-soc.inc
+SOC_FAMILY:append = ":ti33x"
+
+DEFAULTTUNE ?= "armv7athf-neon"
+require conf/machine/include/arm/armv7a/tune-cortexa8.inc
+
+# Increase this everytime you change something in the kernel
+MACHINE_KERNEL_PR = "r22"
+
+# Default providers, may need to override for specific machines
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
+
+# Graphics providers and variables
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PVR_DISPLAY_CONTROLLER_ALIAS ?= "tilcdc"
+
+KERNEL_IMAGETYPE = "zImage"
+
+KERNEL_DEVICETREE_PREFIX = " \
+ am335x \
+ ti/omap/am335x \
+"
+
+KERNEL_DEVICETREE = " \
+ am335x-evm.dtb \
+ am335x-evmsk.dtb \
+ am335x-icev2.dtb \
+ am335x-pocketbeagle.dtb \
+ am335x-bone.dtb \
+ am335x-boneblue.dtb \
+ am335x-bonegreen.dtb \
+ am335x-bonegreen-wireless.dtb \
+ am335x-boneblack.dtb \
+ am335x-boneblack-wireless.dtb \
+ am335x-sancloud-bbe.dtb \
+"
+
+UBOOT_ARCH = "arm"
+UBOOT_MACHINE = "am335x_evm_config"
+
+UBOOT_ENTRYPOINT = "0x80008000"
+UBOOT_LOADADDRESS = "0x80008000"
+
+# Generate an extlinux.conf file
+UBOOT_EXTLINUX = "1"
+UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
+UBOOT_EXTLINUX_KERNEL_ARGS = "rootwait rw earlycon"
+UBOOT_EXTLINUX_BOOT_FILES = " \
+ extlinux.conf;extlinux/extlinux.conf \
+ ${KERNEL_IMAGETYPE} \
+ ${KERNEL_DEVICETREE} \
+"
+
+SPL_BINARY = "MLO"
+UBOOT_SUFFIX = "img"
+
+# Use the expected value of the ubifs filesystem's volume name in the kernel
+# and u-boot.
+UBI_VOLNAME = "rootfs"
+
+EXTRA_IMAGEDEPENDS += "virtual/bootloader"
+
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "amx3-cm3 prueth-fw pruhsr-fw pruprp-fw"
+
+# List common SoC features, may need to add touchscreen for specific machines
+MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa gpu"
+
+IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
+WKS_FILE ?= "sdimage-2part.wks"
+IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
+do_image_wic[depends] += "virtual/bootloader:do_deploy"
diff --git a/meta-ti-bsp/conf/machine/include/ti43x.inc b/meta-ti-bsp/conf/machine/include/ti43x.inc
new file mode 100644
index 00000000..05a28b77
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/ti43x.inc
@@ -0,0 +1,72 @@
+require conf/machine/include/ti-soc.inc
+SOC_FAMILY:append = ":ti43x"
+
+DEFAULTTUNE ?= "armv7athf-neon"
+require conf/machine/include/arm/armv7a/tune-cortexa9.inc
+
+# Increase this everytime you change something in the kernel
+MACHINE_KERNEL_PR = "r3"
+
+# Default providers, may need to override for specific machines
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
+
+# Graphics providers and variables
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm"
+
+KERNEL_IMAGETYPE = "zImage"
+
+KERNEL_DEVICETREE_PREFIX = " \
+ am437x \
+ am43x \
+ ti/omap/am437x \
+ ti/omap/am43x \
+"
+
+KERNEL_DEVICETREE = " \
+ am437x-gp-evm.dtb \
+ am437x-sk-evm.dtb \
+ am437x-idk-evm.dtb \
+ am43x-epos-evm.dtb \
+"
+
+KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
+
+UBOOT_ARCH = "arm"
+UBOOT_MACHINE = "am43xx_evm_config"
+
+UBOOT_ENTRYPOINT = "0x80008000"
+UBOOT_LOADADDRESS = "0x80008000"
+
+# Generate an extlinux.conf file
+UBOOT_EXTLINUX = "1"
+UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
+UBOOT_EXTLINUX_BOOT_FILES = " \
+ extlinux.conf;extlinux/extlinux.conf \
+ ${KERNEL_IMAGETYPE} \
+ ${KERNEL_DEVICETREE} \
+"
+
+SPL_BINARY = "MLO"
+UBOOT_SUFFIX = "img"
+
+# Use the expected value of the ubifs filesystem's volume name in the kernel
+# and u-boot.
+UBI_VOLNAME = "rootfs"
+
+EXTRA_IMAGEDEPENDS += "virtual/bootloader"
+
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "amx3-cm3 prueth-fw pruhsr-fw pruprp-fw"
+
+# List common SoC features, may need to add touchscreen for specific machines
+MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu"
+
+IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
+WKS_FILE ?= "sdimage-2part.wks"
+IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
+do_image_wic[depends] += "virtual/bootloader:do_deploy"
diff --git a/meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf
new file mode 100644
index 00000000..68061883
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J7200 EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J7200 EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j7200"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+
+UBOOT_MACHINE = "j7200_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j7200-evm.conf b/meta-ti-bsp/conf/machine/j7200-evm.conf
new file mode 100644
index 00000000..dff1da69
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j7200-evm.conf
@@ -0,0 +1,13 @@
+#@TYPE: Machine
+#@NAME: J7200 EVM
+#@DESCRIPTION: Machine configuration for the TI J7200 EVM
+
+require conf/machine/include/j7200.inc
+
+KERNEL_DEVICETREE_PREFIX = "ti/k3-j7200"
+
+KERNEL_DEVICETREE = " \
+ ti/k3-j7200-common-proc-board.dtb \
+"
+
+UBOOT_MACHINE = "j7200_evm_a72_config"
diff --git a/meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf
new file mode 100644
index 00000000..1922d5c8
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J7200 HS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J7200 HS EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j7200_sr2"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs"
+
+UBOOT_MACHINE = "j7200_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j7200-hs-evm.conf b/meta-ti-bsp/conf/machine/j7200-hs-evm.conf
new file mode 100644
index 00000000..54fd2b4a
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j7200-hs-evm.conf
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: J7200 HS EVM
+#@DESCRIPTION: Machine configuration for the TI J7200 HS EVM
+
+require conf/machine/j7200-evm.conf
+
+UBOOT_MACHINE = "j7200_evm_a72_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j721e-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j721e-evm-k3r5.conf
new file mode 100644
index 00000000..070bf7aa
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j721e-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J721e EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J721e EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j721e"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+
+UBOOT_MACHINE = "j721e_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j721e-evm.conf b/meta-ti-bsp/conf/machine/j721e-evm.conf
new file mode 100644
index 00000000..5e1f6dca
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j721e-evm.conf
@@ -0,0 +1,18 @@
+#@TYPE: Machine
+#@NAME: J721e EVM
+#@DESCRIPTION: Machine configuration for the TI J721e EVM
+
+require conf/machine/include/j721e.inc
+
+KERNEL_DEVICETREE_PREFIX = " \
+ ti/k3-j721e \
+ ti/k3-fpdlink \
+ ti/k3-j7200-evm-mcspi-loopback \
+"
+
+KERNEL_DEVICETREE = " \
+ ti/k3-j721e-common-proc-board.dtb \
+ ti/k3-j721e-sk.dtb \
+"
+
+UBOOT_MACHINE = "j721e_evm_a72_config"
diff --git a/meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf
new file mode 100644
index 00000000..7904c660
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j721e-hs-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J721e HS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J721e HS EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j721e_sr1_1"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs"
+
+UBOOT_MACHINE = "j721e_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j721e-hs-evm.conf b/meta-ti-bsp/conf/machine/j721e-hs-evm.conf
new file mode 100644
index 00000000..441ca169
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j721e-hs-evm.conf
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: J721e HS EVM
+#@DESCRIPTION: Machine configuration for the TI J721e HS EVM
+
+require conf/machine/j721e-evm.conf
+
+UBOOT_MACHINE = "j721e_evm_a72_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j721s2-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j721s2-evm-k3r5.conf
new file mode 100644
index 00000000..508e96e5
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j721s2-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J721S2 EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J721S2 EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j721s2"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+
+UBOOT_MACHINE = "j721s2_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j721s2-evm.conf b/meta-ti-bsp/conf/machine/j721s2-evm.conf
new file mode 100644
index 00000000..ecb1836f
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j721s2-evm.conf
@@ -0,0 +1,21 @@
+#@TYPE: Machine
+#@NAME: J721S2 EVM
+#@DESCRIPTION: Machine configuration for the TI J721S2 EVM
+
+require conf/machine/include/j721s2.inc
+
+TFA_K3_USART = "0x8"
+OPTEE_K3_USART = "0x8"
+
+KERNEL_DEVICETREE_PREFIX = " \
+ ti/k3-j721s2 \
+ ti/k3-fpdlink \
+ ti/k3-j7200-evm-mcspi-loopback \
+ ti/k3-am68-sk \
+"
+
+KERNEL_DEVICETREE = " \
+ ti/k3-j721s2-common-proc-board.dtb \
+"
+
+UBOOT_MACHINE = "j721s2_evm_a72_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j721s2-hs-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j721s2-hs-evm-k3r5.conf
new file mode 100644
index 00000000..58cd92c4
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j721s2-hs-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J721S2 HS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J721S2 HS EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j721s2"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs"
+
+UBOOT_MACHINE = "j721s2_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j721s2-hs-evm.conf b/meta-ti-bsp/conf/machine/j721s2-hs-evm.conf
new file mode 100644
index 00000000..4cf32a28
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j721s2-hs-evm.conf
@@ -0,0 +1,5 @@
+#@TYPE: Machine
+#@NAME: J721S2 HS EVM
+#@DESCRIPTION: Machine configuration for the TI J721S2 HS EVM
+
+require conf/machine/j721s2-evm.conf
diff --git a/meta-ti-bsp/conf/machine/j722s-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j722s-evm-k3r5.conf
new file mode 100644
index 00000000..2c884ffd
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j722s-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J722S EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J722S EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j722s"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+
+UBOOT_MACHINE = "j722s_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j722s-evm.conf b/meta-ti-bsp/conf/machine/j722s-evm.conf
new file mode 100644
index 00000000..7e5874ab
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j722s-evm.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J722S EVM
+#@DESCRIPTION: Machine configuration for the TI J722S EVM
+
+require conf/machine/include/j722s.inc
+
+KERNEL_DEVICETREE_PREFIX = "ti/k3-j722s"
+
+KERNEL_DEVICETREE = ""
+
+UBOOT_MACHINE = "j722s_evm_a53_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j784s4-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j784s4-evm-k3r5.conf
new file mode 100644
index 00000000..04feebc6
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j784s4-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J784S4 EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J784S4 EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j784s4"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+
+UBOOT_MACHINE = "j784s4_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j784s4-evm.conf b/meta-ti-bsp/conf/machine/j784s4-evm.conf
new file mode 100644
index 00000000..40a63651
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j784s4-evm.conf
@@ -0,0 +1,21 @@
+#@TYPE: Machine
+#@NAME: J784S4 EVM
+#@DESCRIPTION: Machine configuration for the TI J784S4 EVM
+
+require conf/machine/include/j784s4.inc
+
+TFA_K3_USART = "0x8"
+OPTEE_K3_USART = "0x8"
+
+KERNEL_DEVICETREE_PREFIX = " \
+ ti/k3-j784s4 \
+ ti/k3-fpdlink \
+ ti/k3-j7200-evm-mcspi-loopback \
+ ti/k3-am69-sk \
+"
+
+KERNEL_DEVICETREE = " \
+ ti/k3-j784s4-evm.dtb \
+"
+
+UBOOT_MACHINE = "j784s4_evm_a72_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j784s4-hs-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j784s4-hs-evm-k3r5.conf
new file mode 100644
index 00000000..80a228a0
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j784s4-hs-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J784S4 HS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j784s4"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs"
+
+UBOOT_MACHINE = "j784s4_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/j784s4-hs-evm.conf b/meta-ti-bsp/conf/machine/j784s4-hs-evm.conf
new file mode 100644
index 00000000..8fa1c1fd
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/j784s4-hs-evm.conf
@@ -0,0 +1,5 @@
+#@TYPE: Machine
+#@NAME: J784S4 HS EVM
+#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM
+
+require conf/machine/j784s4-evm.conf
diff --git a/conf/machine/omapl138-lcdk.conf b/meta-ti-bsp/conf/machine/omapl138-lcdk.conf
index 06db2f8d..fdbaffae 100644
--- a/conf/machine/omapl138-lcdk.conf
+++ b/meta-ti-bsp/conf/machine/omapl138-lcdk.conf
@@ -2,7 +2,6 @@
#@NAME: OMAP-L138 LCDK
#@DESCRIPTION: Machine configuration for the TI OMAP-L138 LCDK board
-require conf/machine/include/davinci.inc
require conf/machine/include/omapl138.inc
UBOOT_MACHINE = "omapl138_lcdk_config"
@@ -16,7 +15,12 @@ IMAGE_FSTYPES += "tar.xz"
SERIAL_CONSOLES = "115200;ttyS2"
-KERNEL_DEVICETREE = "da850-evm.dtb da850-lcdk.dtb"
+KERNEL_DEVICETREE_PREFIX = " \
+ da850 \
+ ti/davinci/da850 \
+"
-# Set the list of device targets for ti-pdk class recipes
-TI_PDK_LIMIT_BOARDS = "lcdkOMAPL138"
+KERNEL_DEVICETREE = " \
+ da850-evm.dtb \
+ da850-lcdk.dtb \
+"
diff --git a/meta-ti-bsp/conf/multiconfig/k3r5.conf b/meta-ti-bsp/conf/multiconfig/k3r5.conf
new file mode 100644
index 00000000..936bce2f
--- /dev/null
+++ b/meta-ti-bsp/conf/multiconfig/k3r5.conf
@@ -0,0 +1,10 @@
+MAINMACHINE := "${MACHINE}"
+
+DEPLOY_DIR_IMAGE:k3r5 = "${TI_COMMON_DEPLOY}/images/${MAINMACHINE}"
+
+MACHINE:append = "-k3r5"
+TCLIBC = "baremetal"
+TI_TMPDIR_APPEND ?= "-k3r5"
+TMPDIR:append = "${TI_TMPDIR_APPEND}"
+
+SDKPKGSUFFIX = "k3r5-nativesdk"
diff --git a/meta-ti-bsp/dynamic-layers/clang-layer/recipes-graphics/mesa/mesa-pvr_%.bbappend b/meta-ti-bsp/dynamic-layers/clang-layer/recipes-graphics/mesa/mesa-pvr_%.bbappend
new file mode 100644
index 00000000..7e5c36fd
--- /dev/null
+++ b/meta-ti-bsp/dynamic-layers/clang-layer/recipes-graphics/mesa/mesa-pvr_%.bbappend
@@ -0,0 +1,14 @@
+# This is a copy of meta-clang/recipes-graphics/mesa/mesa_%.bbappend required
+# for llvmpipe when using pvr-mesa since we aren't caught by that glob.
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+LDFLAGS:append:toolchain-clang = " -latomic -lm"
+DEPENDS:append:toolchain-clang = " libatomic-ops"
+
+EXTRA_OEMASON:append:toolchain-clang:x86 = " -Dasm=false"
+EXTRA_OEMASON:append:toolchain-clang:x86-64 = " -Dasm=false"
+
+export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm-config"
+
+PACKAGECONFIG[gallium-llvm] = "-Dllvm=true -Dshared-llvm=true -Ddraw-use-llvm=true,-Dllvm=false,clang clang-native elfutils"
diff --git a/meta-ti-bsp/licenses/TI-IMG b/meta-ti-bsp/licenses/TI-IMG
new file mode 100644
index 00000000..d4135576
--- /dev/null
+++ b/meta-ti-bsp/licenses/TI-IMG
@@ -0,0 +1,63 @@
+This license applies to the Imagination D5520 firmware image, pvdec_full_bin.fw.
+
+Copyright (C) 2019 Texas Instruments Incorporated
+
+All rights reserved not granted herein.
+
+Limited License.
+
+Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
+license under copyrights and patents it now or hereafter owns or controls to
+make, have made, use, import, offer to sell and sell ("Utilize") this software
+subject to the terms herein. With respect to the foregoing patent license, such
+license is granted solely to the extent that any such patent is necessary to
+Utilize the software alone. The patent license shall not apply to any
+combinations which include this software, other than combinations with devices
+manufactured by or for TI (“TI Devices”). No hardware patent is licensed
+hereunder.
+
+Redistributions must preserve existing copyright notices and reproduce this
+license (including the above copyright notice and the disclaimer and
+(if applicable) source code license limitations below) in the documentation
+and/or other materials provided with the distribution
+
+Redistribution and use in binary form, without modification, are permitted
+provided that the following conditions are met:
+
+ * No reverse engineering, decompilation, or disassembly of this
+ software is permitted with respect to any software provided in binary
+ form.
+
+ * any redistribution and use are licensed by TI for use only with TI
+ Devices.
+
+ * Nothing shall obligate TI to provide you with source code for the
+ software licensed and provided to you in object code.
+
+If software source code is provided to you, modification and redistribution of
+the source code are permitted provided that the following conditions are met:
+
+ * any redistribution and use of the source code, including any
+ resulting derivative works, are licensed by TI for use only with TI
+ Devices.
+
+ * any redistribution and use of any object code compiled from the
+ source code and any resulting derivative works, are licensed by TI
+ for use only with TI Devices.
+
+Neither the name of Texas Instruments Incorporated nor the names of its
+suppliers may be used to endorse or promote products derived from this
+software without specific prior written permission.
+
+DISCLAIMER.
+
+THIS SOFTWARE IS PROVIDED BY TI AND TI’S LICENSORS "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 TI AND TI’S LICENSORS 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/licenses/TI-TFL b/meta-ti-bsp/licenses/TI-TFL
index 264692b7..264692b7 100644
--- a/licenses/TI-TFL
+++ b/meta-ti-bsp/licenses/TI-TFL
diff --git a/licenses/TI-TSPA b/meta-ti-bsp/licenses/TI-TSPA
index fd87c2ac..fd87c2ac 100644
--- a/licenses/TI-TSPA
+++ b/meta-ti-bsp/licenses/TI-TSPA
diff --git a/meta-ti-bsp/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb b/meta-ti-bsp/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
new file mode 100644
index 00000000..ed1c7817
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Cadence MHDP DP bridge firmware"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+LICENSE = "BSD-3-Clause | Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENCE.cadence;md5=009f46816f6956cfb75ede13d3e1cee0"
+
+PV = "${CADENCE_MHDP_FW_VERSION}"
+PR = "${INC_PR}.0"
+
+COMPATIBLE_MACHINE = "j721e|j721s2|j784s4"
+
+TARGET = "mhdp8546.bin"
+
+do_install() {
+ install -d ${D}${nonarch_base_libdir}/firmware/cadence
+ install -m 0644 ${S}/cadence/${TARGET} ${D}${nonarch_base_libdir}/firmware/cadence/${TARGET}
+}
diff --git a/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb b/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
new file mode 100644
index 00000000..ecdae123
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
+
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
+
+PV = "1.9.2"
+PR = "r0"
+
+SRCREV = "fb484c5e54f2e31cf0a338d2927a06a2870bcc2c"
+BRANCH ?= "ti-v4.1.y"
+
+SRC_URI = "git://git.ti.com/git/processor-firmware/ti-amx3-cm3-pm-firmware.git;protocol=https;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+do_compile() {
+ make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS} ${DEBUG_PREFIX_MAP}"
+}
+
+do_install() {
+ install -d ${D}${nonarch_base_libdir}/firmware
+ install -m 0644 bin/am335x-pm-firmware.elf ${D}${nonarch_base_libdir}/firmware/
+ install -m 0644 bin/*-scale-data.bin ${D}${nonarch_base_libdir}/firmware/
+}
+
+FILES:${PN} += "${nonarch_base_libdir}/firmware"
+
+COMPATIBLE_MACHINE = "(ti-soc)"
+TOOLCHAIN = "gcc"
diff --git a/meta-ti-bsp/recipes-bsp/cmem/cmem.inc b/meta-ti-bsp/recipes-bsp/cmem/cmem.inc
new file mode 100644
index 00000000..e8dbbe8f
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/cmem/cmem.inc
@@ -0,0 +1,16 @@
+HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:CMEM"
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=26be509e4bb413905bda8309e338e2b1"
+
+BRANCH = "master"
+# This corresponds to version 4.20.00.01
+SRCREV = "86269258a48e0a9008dd9d5ebfae9da7ce843393"
+
+PV = "4.20.00.01+git"
+
+SRC_URI = "git://git.ti.com/git/ipc/ludev.git;protocol=https;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST:ti-soc = "(.*)"
diff --git a/recipes-bsp/cmem/cmem_git.bb b/meta-ti-bsp/recipes-bsp/cmem/cmem_git.bb
index bab9238f..2042b08a 100644
--- a/recipes-bsp/cmem/cmem_git.bb
+++ b/meta-ti-bsp/recipes-bsp/cmem/cmem_git.bb
@@ -2,12 +2,10 @@ DESCRIPTION = "The cmem component supports contiguous memory allocation from use
include cmem.inc
-RDEPENDS_${PN} = "cmem-mod"
-
PR = "r0"
PACKAGES =+ "${PN}-test"
-FILES_${PN}-test = "${bindir}/*"
+FILES:${PN}-test = "${bindir}/*"
inherit autotools
diff --git a/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb b/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb
new file mode 100644
index 00000000..1a2e911c
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb
@@ -0,0 +1,29 @@
+SUMMARY = "Chips&Media codec firmware files"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+inherit update-alternatives
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=93b67e6bac7f8fec22b96b8ad0a1a9d0"
+
+PV = "${CNM_WAVE521_FW_VERSION}"
+PR = "${INC_PR}.1"
+
+COMPATIBLE_MACHINE = "j721s2|j784s4|j722s|am62axx|am62pxx"
+
+TARGET_WAVE521C = "wave521c_codec_fw.bin"
+
+SOURCE_WAVE521C = "wave521c_k3_codec_fw.bin"
+
+ALTERNATIVE_LINK_NAME[wave521c_codec_fw.bin] = "${nonarch_base_libdir}/firmware/${TARGET_WAVE521C}"
+ALTERNATIVE_TARGET[wave521c_codec_fw.bin] = "${nonarch_base_libdir}/firmware/cnm/${TARGET_WAVE521C}"
+ALTERNATIVE_PRIORITY = "10"
+
+# Set up names for the firmwares
+ALTERNATIVE:${PN} = "wave521c_codec_fw.bin"
+
+do_install() {
+ install -d ${D}${nonarch_base_libdir}/firmware/cnm
+ install -m 0644 ${S}/cnm/${SOURCE_WAVE521C} ${D}${nonarch_base_libdir}/firmware/cnm/${TARGET_WAVE521C}
+}
diff --git a/recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb b/meta-ti-bsp/recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb
index cbd71f2d..95ba1e2d 100644..100755
--- a/recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb
+++ b/meta-ti-bsp/recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb
@@ -3,17 +3,15 @@ SUMMARY = "R5 PSDK CPSW9G Ethernet Switch Firmware"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=04ad0a015d4bb63c2b9e7b112debf3db"
-PV = "6.2+git${SRCPV}"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
+PV = "6.2+git"
-inherit deploy
inherit update-alternatives
-PROTOCOL = "git"
+PROTOCOL = "https"
BRANCH = "master"
-SRCREV = "4da71504488450f34d65459c1de949da1f984471"
+SRCREV = "91f1628507bf7f8716f0bc7cafe88ad7f14c94f5"
-SRC_URI = "git://git.ti.com/glsdk/ti-eth-fw.git;protocol=${PROTOCOL};branch=${BRANCH}"
+SRC_URI = "git://git.ti.com/git/glsdk/ti-eth-fw.git;protocol=${PROTOCOL};branch=${BRANCH}"
S = "${WORKDIR}/git"
@@ -21,23 +19,23 @@ CPSW9G_FW_DIR = "${S}/ethfw"
CPSW9G_FW_FILENAME = "app_remoteswitchcfg_server_pdk_mem_map_strip.xer5f"
# make sure that lib/firmware, and all its contents are part of the package
-FILES_${PN} += "${base_libdir}/firmware"
+FILES:${PN} += "${nonarch_base_libdir}/firmware"
do_install() {
- install -d ${D}${base_libdir}/firmware
+ install -d ${D}${nonarch_base_libdir}/firmware
# Ethernet firmware to be loaded on Main R5 core(needs read permission)
- install -m 0644 ${CPSW9G_FW_DIR}/${CPSW9G_FW_FILENAME} ${D}${base_libdir}/firmware
+ install -m 0644 ${CPSW9G_FW_DIR}/${CPSW9G_FW_FILENAME} ${D}${nonarch_base_libdir}/firmware
}
TARGET_MAIN_R5FSS0_0 = "j7-main-r5f0_0-fw"
-ALTERNATIVE_${PN} = "j7-main-r5f0_0-fw"
-ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}"
-ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${CPSW9G_FW_FILENAME}"
+ALTERNATIVE:${PN} = "j7-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}"
+ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/${CPSW9G_FW_FILENAME}"
ALTERNATIVE_PRIORITY = "17"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-INSANE_SKIP_${PN} += "arch"
+INSANE_SKIP:${PN} += "arch"
do_compile[noexec] = "1"
do_configure[noexec] = "1"
diff --git a/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb b/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb
index 792e5730..a56810d4 100644
--- a/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb
+++ b/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb
@@ -1,19 +1,21 @@
DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs"
HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver"
-LICENSE = "MIT | GPLv2"
+LICENSE = "MIT | GPL-2.0-only"
LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297"
-inherit module
+inherit module features_check
-MACHINE_KERNEL_PR_append = "h"
+REQUIRED_MACHINE_FEATURES = "gc320"
+
+MACHINE_KERNEL_PR:append = "i"
PR = "${MACHINE_KERNEL_PR}"
# Need to branch out with ${PV} var
-BRANCH = "ti-${PV}-k5.4"
+BRANCH = "ti-${PV}-k5.10"
-SRCREV = "2a4fbe8353fa56011a613aeeaf69e274cd07a825"
+SRCREV = "e2a10f31e255a65ec30a6e10b890e77d7e9cb107"
-SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}"
+SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-driver.git;protocol=https;branch=${BRANCH}"
S = "${WORKDIR}/git/src"
@@ -25,4 +27,4 @@ do_install() {
}
COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
+COMPATIBLE_HOST:ti-soc = "(.*)"
diff --git a/meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb b/meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb
new file mode 100644
index 00000000..ee3a94dc
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Goodix GT9271 config firmware"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENCE.Spectrum-GT9271;md5=2a6de6be7af1fe46370c684daf27c852"
+
+PV = "${GOODIX_FW_VERSION}"
+PR = "${INC_PR}.0"
+
+COMPATIBLE_MACHINE = "dra7xx"
+
+ORIGIN = "DRA71x-RevA-GT9271_SpecDig_Config.bin"
+TARGET = "goodix_9271_cfg.bin"
+
+do_install() {
+ install -d ${D}${nonarch_base_libdir}/firmware
+ install -m 0644 ${S}/ti-evm/${ORIGIN} ${D}${nonarch_base_libdir}/firmware/${TARGET}
+}
diff --git a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.3.6512818.bb b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.3.6512818.bb
new file mode 100644
index 00000000..02ec9fe9
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.3.6512818.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
+HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
+LICENSE = "MIT | GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2"
+
+inherit module
+
+PROVIDES = "virtual/gpudriver"
+
+MACHINE_KERNEL_PR:append = "b"
+PR = "${MACHINE_KERNEL_PR}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx|am62pxx|j722s"
+
+DEPENDS = "virtual/kernel"
+
+BRANCH = "linuxws/scarthgap/k6.6/${PV}"
+
+SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+SRCREV = "2f409b4dd2540e896b54bff02219d4fc51129b81"
+
+TARGET_PRODUCT:j721e = "j721e_linux"
+TARGET_PRODUCT:j721s2 = "j721s2_linux"
+TARGET_PRODUCT:j784s4 = "j784s4_linux"
+TARGET_PRODUCT:am62xx = "am62_linux"
+TARGET_PRODUCT:am62pxx = "am62p_linux"
+TARGET_PRODUCT:j722s = "j722s_linux"
+PVR_BUILD = "release"
+PVR_WS = "lws-generic"
+
+EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" BUILD=${PVR_BUILD} PVR_BUILD_DIR=${TARGET_PRODUCT} WINDOW_SYSTEM=${PVR_WS}'
+
+do_install() {
+ make -C ${STAGING_KERNEL_DIR} M=${B}/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_aarch64/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install
+}
+
+RRECOMMENDS:${PN} += "ti-img-rogue-umlibs"
diff --git a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
new file mode 100644
index 00000000..ca28ae76
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
@@ -0,0 +1,45 @@
+DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the TI SoCs"
+HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-linux"
+LICENSE = "MIT | GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://GPL-COPYING;md5=60422928ba677faaa13d6ab5f5baaa1e"
+
+inherit module
+
+PROVIDES = "virtual/gpudriver"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|am65xx"
+
+MACHINE_KERNEL_PR:append = "x"
+PR = "${MACHINE_KERNEL_PR}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+DEPENDS = "virtual/kernel"
+
+BRANCH = "${PV}/mesa/k6.1"
+
+SRC_URI = "git://git.ti.com/git/graphics/omap5-sgx-ddk-linux.git;protocol=https;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+SRCREV = "2cb2c9609b7740cb2c348e669a96f26e1cc858da"
+
+TARGET_PRODUCT:omap-a15 = "ti572x_linux"
+TARGET_PRODUCT:ti33x = "ti335x_linux"
+TARGET_PRODUCT:ti43x = "ti437x_linux"
+TARGET_PRODUCT:am65xx = "ti654x_linux"
+PVR_BUILD = "release"
+PVR_WS = "lws-generic"
+
+EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" BUILD=${PVR_BUILD} \
+WINDOW_SYSTEM=${PVR_WS} PVR_BUILD_DIR=${TARGET_PRODUCT}'
+
+do_install() {
+ make -C ${STAGING_KERNEL_DIR} M=${B}/eurasiacon/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_armhf/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install
+}
+
+do_install:am65xx() {
+ make -C ${STAGING_KERNEL_DIR} M=${B}/eurasiacon/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_aarch64/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install
+}
+
+RRECOMMENDS:${PN} += "ti-sgx-ddk-um"
diff --git a/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
new file mode 100644
index 00000000..b85355e4
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
@@ -0,0 +1,33 @@
+SUMMARY = "PRU Ethernet firmware"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PR = "${INC_PR}.0"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx|am65xx|am64xx"
+
+TARGET = " \
+ am335x-pru0-prueth-fw.elf \
+ am335x-pru1-prueth-fw.elf \
+ am437x-pru0-prueth-fw.elf \
+ am437x-pru1-prueth-fw.elf \
+ am57xx-pru0-prueth-fw.elf \
+ am57xx-pru1-prueth-fw.elf \
+ am65x-pru0-prueth-fw.elf \
+ am65x-pru1-prueth-fw.elf \
+ am65x-rtu0-prueth-fw.elf \
+ am65x-rtu1-prueth-fw.elf \
+ am65x-sr2-pru0-prueth-fw.elf \
+ am65x-sr2-pru1-prueth-fw.elf \
+ am65x-sr2-rtu0-prueth-fw.elf \
+ am65x-sr2-rtu1-prueth-fw.elf \
+ am65x-sr2-txpru0-prueth-fw.elf \
+ am65x-sr2-txpru1-prueth-fw.elf \
+"
+
+do_install() {
+ install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
+ for f in ${TARGET}; do
+ install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
+ done
+}
diff --git a/meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb b/meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb
new file mode 100644
index 00000000..3b06de9c
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb
@@ -0,0 +1,30 @@
+SUMMARY = "PRU HSR firmware"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PE = "1"
+PR = "${INC_PR}.0"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx|am65xx|am64xx"
+
+TARGET = " \
+ am335x-pru0-pruhsr-fw.elf \
+ am335x-pru1-pruhsr-fw.elf \
+ am437x-pru0-pruhsr-fw.elf \
+ am437x-pru1-pruhsr-fw.elf \
+ am57xx-pru0-pruhsr-fw.elf \
+ am57xx-pru1-pruhsr-fw.elf \
+ am65x-sr2-pru0-pruhsr-fw.elf \
+ am65x-sr2-pru1-pruhsr-fw.elf \
+ am65x-sr2-rtu0-pruhsr-fw.elf \
+ am65x-sr2-rtu1-pruhsr-fw.elf \
+ am65x-sr2-txpru0-pruhsr-fw.elf \
+ am65x-sr2-txpru1-pruhsr-fw.elf \
+"
+
+do_install() {
+ install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
+ for f in ${TARGET}; do
+ install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
+ done
+}
diff --git a/meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb b/meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb
new file mode 100644
index 00000000..9d5136c2
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb
@@ -0,0 +1,24 @@
+SUMMARY = "PRU PRP firmware for AM335x/AM437x/AM57xx"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PE = "1"
+PR = "${INC_PR}.0"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx"
+
+TARGET = " \
+ am335x-pru0-pruprp-fw.elf \
+ am335x-pru1-pruprp-fw.elf \
+ am437x-pru0-pruprp-fw.elf \
+ am437x-pru1-pruprp-fw.elf \
+ am57xx-pru0-pruprp-fw.elf \
+ am57xx-pru1-pruprp-fw.elf \
+"
+
+do_install() {
+ install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
+ for f in ${TARGET}; do
+ install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
+ done
+}
diff --git a/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb b/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb
new file mode 100644
index 00000000..be407363
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb
@@ -0,0 +1,29 @@
+SUMMARY = "PRU Switch firmware"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PR = "${INC_PR}.0"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx|am65xx|am64xx"
+
+TARGET = " \
+ am335x-pru0-prusw-fw.elf \
+ am335x-pru1-prusw-fw.elf \
+ am437x-pru0-prusw-fw.elf \
+ am437x-pru1-prusw-fw.elf \
+ am57xx-pru0-prusw-fw.elf \
+ am57xx-pru1-prusw-fw.elf \
+ am65x-sr2-pru0-prusw-fw.elf \
+ am65x-sr2-pru1-prusw-fw.elf \
+ am65x-sr2-rtu0-prusw-fw.elf \
+ am65x-sr2-rtu1-prusw-fw.elf \
+ am65x-sr2-txpru0-prusw-fw.elf \
+ am65x-sr2-txpru1-prusw-fw.elf \
+"
+
+do_install() {
+ install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
+ for f in ${TARGET}; do
+ install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
+ done
+}
diff --git a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
new file mode 100644
index 00000000..1ad236ce
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
@@ -0,0 +1,112 @@
+SUMMARY = "TI DM prebuilt binary firmware images"
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://${THISDIR}/../../licenses/TI-TFL;md5=a1b59cb7ba626b9dbbcbf00f3fbc438a"
+
+COMPATIBLE_MACHINE = "k3"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+INHIBIT_DEFAULT_DEPS = "1"
+
+inherit deploy
+inherit update-alternatives
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PV = "${TI_DM_FW_VERSION}"
+PR = "${INC_PR}.0"
+
+# Secure Build
+inherit ti-secdev
+
+PLAT_SFX = ""
+PLAT_SFX:j721e = "j721e"
+PLAT_SFX:j7200 = "j7200"
+PLAT_SFX:j721s2 = "j721s2"
+PLAT_SFX:j784s4 = "j784s4"
+PLAT_SFX:j722s = "j722s"
+PLAT_SFX:am65xx = "am65xx"
+PLAT_SFX:am64xx = "am64xx"
+PLAT_SFX:am62xx = "am62xx"
+PLAT_SFX:am62axx = "am62axx"
+PLAT_SFX:am62pxx = "am62pxx"
+
+DM_FW_DIR = "ti-dm/${PLAT_SFX}"
+
+INSTALL_DM_FW_DIR = "${nonarch_base_libdir}/firmware/${DM_FW_DIR}"
+
+DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
+
+DM_FW_LIST = ""
+DM_FW_LIST:j721e = "${DM_FIRMWARE}"
+DM_FW_LIST:j7200 = "${DM_FIRMWARE}"
+DM_FW_LIST:j721s2 = "${DM_FIRMWARE}"
+DM_FW_LIST:j784s4 = "${DM_FIRMWARE}"
+DM_FW_LIST:j722s = "${DM_FIRMWARE}"
+DM_FW_LIST:am65xx = ""
+DM_FW_LIST:am64xx = ""
+DM_FW_LIST:am62xx = "${DM_FIRMWARE}"
+DM_FW_LIST:am62axx = "${DM_FIRMWARE}"
+DM_FW_LIST:am62pxx = "${DM_FIRMWARE}"
+
+do_install() {
+ # Sign the firmware
+ # DM Firmware
+ for FW_NAME in ${DM_FW_LIST}
+ do
+ ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${S}/${DM_FW_DIR}/${FW_NAME} ${S}/${DM_FW_DIR}/${FW_NAME}.signed
+ done
+
+ # DM Firmware
+ install -d ${D}${INSTALL_DM_FW_DIR}
+ for FW_NAME in ${DM_FW_LIST}
+ do
+ install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME} ${D}${INSTALL_DM_FW_DIR}/
+ install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}.signed ${D}${INSTALL_DM_FW_DIR}/
+ done
+}
+
+do_deploy() {
+ # DM Firmware is needed for rebuilding U-Boot
+ install -d ${DEPLOYDIR}/${DM_FW_DIR}
+ for FW_NAME in ${DM_FW_LIST}
+ do
+ install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME} ${DEPLOYDIR}/${DM_FW_DIR}
+ install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}.signed ${DEPLOYDIR}/${DM_FW_DIR}
+ done
+}
+
+# Set up names for the firmwares
+ALTERNATIVE:${PN}:am62xx = "am62-main-r5f0_0-fw"
+ALTERNATIVE:${PN}:am62pxx = "am62p-main-r5f0_0-fw"
+ALTERNATIVE:${PN}:am62axx = "am62a-main-r5f0_0-fw"
+ALTERNATIVE:${PN}:j721e = "j7-mcu-r5f0_0-fw"
+ALTERNATIVE:${PN}:j7200 = "j7200-mcu-r5f0_0-fw"
+ALTERNATIVE:${PN}:j721s2 = "j721s2-mcu-r5f0_0-fw"
+ALTERNATIVE:${PN}:j784s4 = "j784s4-mcu-r5f0_0-fw"
+ALTERNATIVE:${PN}:j722s = "j722s-wkup-r5f0_0-fw"
+
+# Set up link names for the firmwares
+ALTERNATIVE_LINK_NAME[am62-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[am62p-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62p-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[am62a-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62a-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j7-mcu-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j7200-mcu-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j721s2-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j721s2-mcu-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j784s4-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j784s4-mcu-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j722s-wkup-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j722s-wkup-r5f0_0-fw"
+
+# Create the firmware alternatives
+ALTERNATIVE_TARGET[am62-main-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
+ALTERNATIVE_TARGET[am62p-main-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
+ALTERNATIVE_TARGET[am62a-main-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
+ALTERNATIVE_TARGET[j7-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
+ALTERNATIVE_TARGET[j7200-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
+ALTERNATIVE_TARGET[j721s2-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
+ALTERNATIVE_TARGET[j784s4-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
+ALTERNATIVE_TARGET[j722s-wkup-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
+
+ALTERNATIVE_PRIORITY = "10"
+
+addtask deploy after do_install
diff --git a/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb b/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb
new file mode 100644
index 00000000..6bcc824b
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb
@@ -0,0 +1,104 @@
+SUMMARY = "TI Ethernet prebuilt binary firmware images"
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://${THISDIR}/../../licenses/TI-TFL;md5=a1b59cb7ba626b9dbbcbf00f3fbc438a"
+
+COMPATIBLE_MACHINE = "k3"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+INHIBIT_DEFAULT_DEPS = "1"
+
+inherit update-alternatives
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PV = "${CORESDK_RTOS_VERSION}"
+PR = "${INC_PR}.0"
+
+# Secure Build
+inherit ti-secdev
+
+PLAT_SFX = ""
+PLAT_SFX:j721e = "j721e"
+PLAT_SFX:j7200 = "j7200"
+PLAT_SFX:j721s2 = "j721s2"
+PLAT_SFX:j784s4 = "j784s4"
+PLAT_SFX:j722s = "j722s"
+PLAT_SFX:am65xx = "am65xx"
+PLAT_SFX:am64xx = "am64xx"
+PLAT_SFX:am62xx = "am62xx"
+PLAT_SFX:am62pxx = "am62pxx"
+PLAT_SFX:am62axx = "am62axx"
+
+ETH_FW_DIR = "ti-eth/${PLAT_SFX}"
+
+INSTALL_ETH_FW_DIR = "${nonarch_base_libdir}/firmware/${ETH_FW_DIR}"
+
+ETH_FW = "app_remoteswitchcfg_server_strip.xer5f"
+
+ETH_FW_LIST = ""
+ETH_FW_LIST:j721e = "${ETH_FW}"
+ETH_FW_LIST:j7200 = "${ETH_FW}"
+ETH_FW_LIST:j721s2 = ""
+ETH_FW_LIST:j784s4 = "${ETH_FW}"
+ETH_FW_LIST:j722s = ""
+ETH_FW_LIST:am65xx = ""
+ETH_FW_LIST:am64xx = ""
+ETH_FW_LIST:am62xx = ""
+ETH_FW_LIST:am62pxx = ""
+ETH_FW_LIST:am62axx = ""
+
+do_install() {
+ # ETH firmware
+ for FW_NAME in ${ETH_FW_LIST}
+ do
+ ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${S}/${ETH_FW_DIR}/${FW_NAME} ${S}/${ETH_FW_DIR}/${FW_NAME}.signed
+ done
+
+ # ETH firmware
+ install -d ${D}${INSTALL_ETH_FW_DIR}
+ for FW_NAME in ${ETH_FW_LIST}
+ do
+ install -m 0644 ${S}/${ETH_FW_DIR}/${FW_NAME} ${D}${INSTALL_ETH_FW_DIR}
+ install -m 0644 ${S}/${ETH_FW_DIR}/${FW_NAME}.signed ${D}${INSTALL_ETH_FW_DIR}
+ done
+}
+
+# Set up names for the firmwares
+ALTERNATIVE:${PN}:j721e = "\
+ j7-main-r5f0_0-fw \
+ j7-main-r5f0_0-fw-sec \
+ "
+
+ALTERNATIVE:${PN}:j7200 = "\
+ j7200-main-r5f0_0-fw \
+ j7200-main-r5f0_0-fw-sec \
+ "
+
+ALTERNATIVE:${PN}:j784s4 = "\
+ j784s4-main-r5f0_0-fw \
+ j784s4-main-r5f0_0-fw-sec \
+ "
+
+# Set up link names for the firmwares
+ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j7-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j7-main-r5f0_0-fw-sec"
+
+ALTERNATIVE_LINK_NAME[j7200-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j7200-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j7200-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j7200-main-r5f0_0-fw-sec"
+
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f0_0-fw-sec"
+
+# Create the firmware alternatives
+ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}"
+ALTERNATIVE_TARGET[j7-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed"
+
+ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}"
+ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed"
+
+ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}"
+ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed"
+
+ALTERNATIVE_PRIORITY = "5"
diff --git a/recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb b/meta-ti-bsp/recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb
index 48a17537..29af4863 100644
--- a/recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb
+++ b/meta-ti-bsp/recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb
@@ -1,11 +1,13 @@
SUMMARY = "Test applications for TI DEC (v4l2 decoder for IMG D5520)"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=14;md5=f17e17d664f72942124e4fcf06c178ee"
DEPENDS = "libdrm ffmpeg"
inherit autotools pkgconfig
+COMPATIBLE_MACHINE = "j721e"
+
PR = "r1"
SRCREV = "94a80c8c090dbfdc7fafd4e5bb78c2091e715af2"
@@ -13,6 +15,6 @@ EXTRA_OEMAKE = "CC="${CC}""
TARGET_CC_ARCH += "${LDFLAGS}"
BRANCH = "master"
-SRC_URI = "git://git.ti.com/jacinto7_multimedia/viddec-test-app.git;protocol=git;branch=${BRANCH}"
+SRC_URI = "git://git.ti.com/git/jacinto7_multimedia/viddec-test-app.git;protocol=https;branch=${BRANCH}"
S = "${WORKDIR}/git"
diff --git a/recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb b/meta-ti-bsp/recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb
index 3bb5d745..b674c764 100644
--- a/recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb
+++ b/meta-ti-bsp/recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb
@@ -1,11 +1,13 @@
SUMMARY = "Test applications for TI ENC (v4l2 encoder for IMG VXE384)"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=14;md5=3545dd5bdf513840937d38c10b866605"
DEPENDS = "libdrm"
inherit autotools pkgconfig
+COMPATIBLE_MACHINE = "j721e"
+
PR = "r0"
SRCREV = "a5e7d820bea1be24f25a8369d4d4521c784f869a"
@@ -13,6 +15,6 @@ EXTRA_OEMAKE = "CC="${CC}""
TARGET_CC_ARCH += "${LDFLAGS}"
BRANCH = "master"
-SRC_URI = "git://git.ti.com/jacinto7_multimedia/videnc-test-app.git;protocol=git;branch=${BRANCH}"
+SRC_URI = "git://git.ti.com/git/jacinto7_multimedia/videnc-test-app.git;protocol=https;branch=${BRANCH}"
S = "${WORKDIR}/git"
diff --git a/meta-ti-bsp/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb b/meta-ti-bsp/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb
new file mode 100644
index 00000000..74729c16
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb
@@ -0,0 +1,17 @@
+SUMMARY = "Video Decoding Firmware"
+LICENSE = "TI-IMG"
+LIC_FILES_CHKSUM = "file://LICENSE.ti-img;md5=84ca7278930db001870686ad997d6bb1"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PV = "${IMG_DEC_FW_VERSION}"
+PR = "${INC_PR}.0"
+
+COMPATIBLE_MACHINE = "j721e"
+
+TARGET = "pvdec_full_bin.fw"
+
+do_install() {
+ install -d ${D}${nonarch_base_libdir}/firmware
+ install -m 0644 ${S}/ti-img/${TARGET} ${D}${nonarch_base_libdir}/firmware/${TARGET}
+}
diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
new file mode 100644
index 00000000..47b10135
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
@@ -0,0 +1,46 @@
+SUMMARY = "Common include for TI Linux firmware"
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
+
+PV = "2022.01"
+INC_PR = "r4"
+
+# Firmware versions
+CORESDK_RTOS_VERSION = "08.02.00.04"
+PRUETH_FW_AM65X_VERSION = "08.00.00.20"
+PRUETH_FW_AM65X_SR2_VERSION = "02.02.12.08"
+GOODIX_FW_VERSION = "1.0.0.0"
+CADENCE_MHDP_FW_VERSION = "2.1.0"
+IMG_DEC_FW_VERSION = "1.0"
+CNM_WAVE521_FW_VERSION = "1.0.3"
+TI_DM_FW_VERSION = "09.02.04"
+TI_SYSFW_VERSION = "09.02.07"
+
+TI_LINUX_FW_SRCREV ?= "edbfc3e540c9f426feb51db6a466a9015ada4dd0"
+SRCREV = "${TI_LINUX_FW_SRCREV}"
+
+BRANCH ?= "ti-linux-firmware"
+
+SRC_URI = "git://git.ti.com/git/processor-firmware/ti-linux-firmware.git;protocol=https;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+CLEANBROKEN = "1"
+
+# Make sure that lib/firmware, and all its contents are part of the package
+FILES:${PN} = "${nonarch_base_libdir}/firmware"
+
+# This is used to prevent the build system from stripping the firmwares
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+
+# This is used to prevent the build system from splitting out the firmware debug info into a separate file
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+# Disable arch checking as firmware is likely to be a different arch from the Yocto build
+INSANE_SKIP:${PN} += "arch"
+
+# Firmware in Linux Firmware has no configure nor build steps
+do_compile[noexec] = "1"
+do_configure[noexec] = "1"
diff --git a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
new file mode 100644
index 00000000..12292c88
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -0,0 +1,29 @@
+SUMMARY = "TI SYSFW/TIFS Firmware"
+
+inherit deploy
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+PV = "${TI_SYSFW_VERSION}"
+PR = "${INC_PR}.0"
+
+do_install() {
+ install -d ${D}${nonarch_base_libdir}/firmware/ti-sysfw
+ install -m 644 ${S}/ti-sysfw/ti-sci-firmware-* ${D}${nonarch_base_libdir}/firmware/ti-sysfw
+ install -m 644 ${S}/ti-sysfw/ti-fs-firmware-* ${D}${nonarch_base_libdir}/firmware/ti-sysfw
+ install -m 644 ${S}/ti-sysfw/ti-fs-stub-firmware-* ${D}${nonarch_base_libdir}/firmware/ti-sysfw
+}
+
+do_deploy(){
+}
+
+do_deploy:k3r5() {
+ install -d ${DEPLOYDIR}/ti-sysfw
+ install -m 644 ${S}/ti-sysfw/ti-sci-firmware-* ${DEPLOYDIR}/ti-sysfw
+ install -m 644 ${S}/ti-sysfw/ti-fs-firmware-* ${DEPLOYDIR}/ti-sysfw
+ install -m 644 ${S}/ti-sysfw/ti-fs-stub-firmware-* ${DEPLOYDIR}/ti-sysfw
+}
+
+addtask deploy before do_build after do_compile
diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc
new file mode 100644
index 00000000..291259c0
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc
@@ -0,0 +1,10 @@
+PV:k3 = "2.10+git"
+SRCREV_tfa:k3 = "00f1ec6b8740ccd403e641131e294aabacf2a48b"
+SRC_URI:k3 = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa;branch=master"
+COMPATIBLE_MACHINE:k3 = "k3"
+TFA_BUILD_TARGET:k3 = "all"
+TFA_INSTALL_TARGET:k3 = "bl31"
+TFA_SPD:k3 = "opteed"
+
+EXTRA_OEMAKE:append:k3 = "${@ ' K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
+EXTRA_OEMAKE:append:k3 = "${@ ' K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
new file mode 100644
index 00000000..00d08a51
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -0,0 +1,4 @@
+TFA_TI = ""
+TFA_TI:k3 = "trusted-firmware-a-ti.inc"
+
+require ${TFA_TI}
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/ti-extras.inc b/meta-ti-bsp/recipes-bsp/u-boot/ti-extras.inc
new file mode 100644
index 00000000..d32c6529
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/u-boot/ti-extras.inc
@@ -0,0 +1,12 @@
+
+# This will have priority over generic uboot path
+
+COMPATIBLE_MACHINE = "am62xx|am62pxx"
+
+BRANCH = "ti-u-boot-2023.04"
+BRANCH:tie-jailhouse = "ti-u-boot-2023.04-jailhouse"
+
+SRCREV = "b0d868ee086eb5c96a3d32f72a7cb9670abf5b90"
+SRCREV:tie-jailhouse = "765cab112d16fcf68a3266738073663dae67a55d"
+
+UBOOT_GIT_URI = "git://git.ti.com/git/processor-sdk/u-boot.git"
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb
new file mode 100644
index 00000000..13286564
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb
@@ -0,0 +1,17 @@
+require u-boot-ti.inc
+
+SUMMARY = "BeagleBoard.org U-Boot"
+
+COMPATIBLE_MACHINE = "beagle.*"
+
+PV = "2023.04"
+
+UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
+UBOOT_GIT_PROTOCOL = "https"
+BRANCH = "v2023.04-ti-09.01.00.008"
+SRCREV = "b0d717b732ee28e446baf94522b3491e590f7fbb"
+
+BRANCH:beagleplay = "v2023.04-ti-09.01.00.008-BeaglePlay"
+BRANCH:beagleplay-k3r5 = "v2023.04-ti-09.01.00.008-BeaglePlay"
+SRCREV:beagleplay = "43791d945f4e5c25bcc19b9c778e8f9d194dc16e"
+SRCREV:beagleplay-k3r5 = "43791d945f4e5c25bcc19b9c778e8f9d194dc16e"
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc
new file mode 100644
index 00000000..c7ce5047
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc
@@ -0,0 +1,7 @@
+do_configure:append () {
+ if [ -n "${UBOOT_CONFIG_FRAGMENTS}" ] && [ -n "${UBOOT_MACHINE}" ]
+ then
+ oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE} ${UBOOT_CONFIG_FRAGMENTS}
+ oe_runmake -C ${S} O=${B} olddefconfig
+ fi
+}
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-mainline_git.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-mainline_git.bb
new file mode 100644
index 00000000..f497054c
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-mainline_git.bb
@@ -0,0 +1,16 @@
+require u-boot-ti.inc
+
+PR = "r0"
+
+PV = "2024.01"
+
+# For the un-initiated:
+# The actual URL you'd use with a git clone for example would be:
+# https://source.denx.de/u-boot/u-boot.git/
+# However, in the context of OE, we have to explicitly split things up:
+# a) we want it to use git fetcher - hence git:// prefix in GIT_URI (if we
+# used https here, we'd endup attempting wget instead of git)
+# b) and we want git fetcher to use https protocol, hence GIT_PROTOCOL as https
+UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
+UBOOT_GIT_PROTOCOL = "https"
+SRCREV = "866ca972d6c3cabeaf6dbac431e8e08bb30b3c8e"
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2023.04.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2023.04.bb
new file mode 100644
index 00000000..f9a93eef
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2023.04.bb
@@ -0,0 +1,9 @@
+require u-boot-ti.inc
+
+include ${@ 'recipes-bsp/u-boot/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
+
+PR = "r0"
+
+BRANCH = "ti-u-boot-2023.04"
+
+SRCREV = "d2612223375a25f81068d7a7abd86c08cd129a2c"
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb
new file mode 100644
index 00000000..0218cd3c
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb
@@ -0,0 +1,11 @@
+require u-boot-ti.inc
+
+DEFAULT_PREFERENCE = "-1"
+
+include ${@ 'recipes-bsp/u-boot/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
+
+PR = "r0"
+
+BRANCH = "ti-u-boot-2024.04"
+
+SRCREV = "f3c979dd0053c082d2df170446923e7ce5edbc2d"
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
new file mode 100644
index 00000000..2c0d4fc4
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
@@ -0,0 +1,357 @@
+do_compile:prepend () {
+ scm_version=$(printf '%s%s' -ti-g $(git -C ${S} rev-parse --verify HEAD 2>/dev/null | cut -c1-12))
+
+ echo ${scm_version} > ${B}/.scmversion
+ echo ${scm_version} > ${S}/.scmversion
+}
+
+UBOOT_SUFFIX ?= "img"
+SPL_BINARY ?= "MLO"
+
+require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot-common.inc
+require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc
+require u-boot-mergeconfig.inc
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:"
+
+SUMMARY = "u-boot bootloader for TI devices"
+
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1"
+
+BRANCH ?= "master"
+UBOOT_GIT_URI ?= "git://git.ti.com/git/ti-u-boot/ti-u-boot.git"
+UBOOT_GIT_PROTOCOL = "https"
+SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
+
+PV:append = "+git"
+
+# u-boot needs devtree compiler to parse dts files
+DEPENDS += "dtc-native bc-native flex-native bison-native python3-setuptools-native"
+
+# u-boot needs these for binman
+DEPENDS += "python3-pyelftools-native python3-pyyaml-native python3-jsonschema-native python3-yamllint-native"
+
+# SYSFW/TIFS Firmware
+DEPENDS:append:k3 = " ti-sci-fw"
+DEPENDS:append:k3r5 = " ti-sci-fw"
+
+DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
+
+PLAT_SFX = ""
+PLAT_SFX:j721e = "j721e"
+PLAT_SFX:j7200 = "j7200"
+PLAT_SFX:j721s2 = "j721s2"
+PLAT_SFX:j784s4 = "j784s4"
+PLAT_SFX:j722s = "j722s"
+PLAT_SFX:am65xx = "am65xx"
+PLAT_SFX:am64xx = "am64xx"
+PLAT_SFX:am62xx = "am62xx"
+PLAT_SFX:am62axx = "am62axx"
+PLAT_SFX:am62pxx = "am62pxx"
+
+PACKAGECONFIG[atf] = "BL31=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a"
+PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os"
+PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw"
+
+PACKAGECONFIG:append:aarch64 = " atf optee"
+PACKAGECONFIG:append:j721e = " dm"
+PACKAGECONFIG:append:j7200 = " dm"
+PACKAGECONFIG:append:j721s2 = " dm"
+PACKAGECONFIG:append:j784s4 = " dm"
+PACKAGECONFIG:append:j722s = " dm"
+PACKAGECONFIG:append:am62xx = " dm"
+PACKAGECONFIG:append:am62axx = " dm"
+PACKAGECONFIG:append:am62pxx = " dm"
+
+COMPATIBLE_MACHINE = "(ti-soc)"
+
+BINMAN_INDIRS="${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware"
+
+EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS} BINMAN_INDIRS=${BINMAN_INDIRS}"
+
+PROVIDES += "u-boot"
+PKG:${PN} = "u-boot"
+PKG:${PN}-dev = "u-boot-dev"
+PKG:${PN}-dbg = "u-boot-dbg"
+
+S = "${WORKDIR}/git"
+
+# Support for secure devices - detailed info is in doc/README.ti-secure
+inherit ti-secdev
+
+SYSROOT_DIRS += "/boot"
+
+# SPL (Second Program Loader) to be loaded over UART
+SPL_UART_BINARY = "u-boot-spl.bin"
+SPL_UART_BINARY:k3r5 = ""
+
+SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}"
+SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
+
+SPL_HS_MLO_BINARY = "u-boot-spl_HS_MLO"
+SPL_HS_MLO_IMAGE = "u-boot-spl_HS_MLO-${MACHINE}-${PV}-${PR}"
+SPL_HS_MLO_SYMLINK = "u-boot-spl_HS_MLO-${MACHINE}"
+
+# HS XLD
+UBOOT_HS_XLD_BINARY = "u-boot-spl_HS_X-LOADER"
+UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${PV}-${PR}"
+UBOOT_HS_XLD_SYMLINK = "u-boot-spl_HS_X-LOADER-${MACHINE}"
+
+# HS MLO
+UBOOT_HS_MLO_BINARY = "u-boot_HS_MLO"
+UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}"
+UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}"
+
+# HS ISSW
+UBOOT_HS_ISSW_BINARY = "u-boot-spl_HS_ISSW"
+UBOOT_HS_ISSW_IMAGE = "u-boot-spl_HS_ISSW-${MACHINE}-${PV}-${PR}"
+UBOOT_HS_ISSW_SYMLINK = "u-boot-spl_HS_ISSW-${MACHINE}"
+
+# HS 2ND
+UBOOT_HS_2ND_BINARY = "u-boot-spl_HS_2ND"
+UBOOT_HS_2ND_IMAGE = "u-boot-spl_HS_2ND-${MACHINE}-${PV}-${PR}"
+UBOOT_HS_2ND_SYMLINK = "u-boot-spl_HS_2ND-${MACHINE}"
+
+do_compile:append:k3r5 () {
+ if [ -n "${UBOOT_CONFIG}" ];
+ then
+ for config in ${UBOOT_MACHINE}; do
+ i=$(expr $i + 1);
+ for type in ${UBOOT_CONFIG}; do
+ j=$(expr $j + 1);
+ if [ $j -eq $i ];
+ then
+ if ! [ -L ${B}/${config}/${UBOOT_BINARY} ] && ! [ -f ${B}/${config}/${UBOOT_BINARY} ]; then
+ ln -s ${B}/${config}/spl/u-boot-spl.${UBOOT_SUFFIX} ${B}/${config}/${UBOOT_BINARY}
+ fi
+ fi
+ done
+ unset j
+ done
+ unset i
+ else
+ if ! [ -f ${B}/${UBOOT_BINARY} ]; then
+ ln -s spl/u-boot-spl.${UBOOT_SUFFIX} ${B}/${UBOOT_BINARY}
+ fi
+ fi
+}
+
+do_install:append () {
+ if [ -n "${UBOOT_CONFIG}" ]
+ then
+ for config in ${UBOOT_MACHINE}; do
+ i=$(expr $i + 1);
+ for type in ${UBOOT_CONFIG}; do
+ j=$(expr $j + 1);
+ if [ $j -eq $i ]
+ then
+ if [ "x${SPL_UART_BINARY}" != "x" ]; then
+ install ${B}/${config}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}-${type}
+ ln -sf ${SPL_UART_IMAGE}-${type} ${D}/boot/${SPL_UART_BINARY}-${type}
+ ln -sf ${SPL_UART_IMAGE}-${type} ${D}/boot/${SPL_UART_BINARY}
+ fi
+ if [ -f ${B}/${config}/${SPL_HS_MLO_BINARY} ]; then
+ install ${B}/${config}/${SPL_HS_MLO_BINARY} ${D}/boot/${SPL_HS_MLO_IMAGE}-${type}
+ ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${D}/boot/${SPL_HS_MLO_BINARY}-${type}
+ ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${D}/boot/${SPL_HS_MLO_BINARY}
+ fi
+ if [ -f ${B}/${config}/${UBOOT_HS_XLD_BINARY} ]; then
+ install ${B}/${config}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}-${type}
+ ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${D}/boot/${UBOOT_HS_XLD_BINARY}-${type}
+ ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${D}/boot/${UBOOT_HS_XLD_BINARY}
+ fi
+ if [ -f ${B}/${config}/${UBOOT_HS_MLO_BINARY} ]; then
+ install ${B}/${config}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}-${type}
+ ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${D}/boot/${UBOOT_HS_MLO_BINARY}-${type}
+ ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${D}/boot/${UBOOT_HS_MLO_BINARY}
+ fi
+ if [ -f ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ]; then
+ install ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ${D}/boot/${UBOOT_HS_ISSW_IMAGE}-${type}
+ ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${D}/boot/${UBOOT_HS_ISSW_BINARY}-${type}
+ ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${D}/boot/${UBOOT_HS_ISSW_BINARY}
+ fi
+ if [ -f ${B}/${config}/${UBOOT_HS_2ND_BINARY} ]; then
+ install ${B}/${config}/${UBOOT_HS_2ND_BINARY} ${D}/boot/${UBOOT_HS_2ND_IMAGE}-${type}
+ ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${D}/boot/${UBOOT_HS_2ND_BINARY}-${type}
+ ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${D}/boot/${UBOOT_HS_2ND_BINARY}
+ fi
+ fi
+ done
+ unset j
+ done
+ unset i
+ else
+ if [ "x${SPL_UART_BINARY}" != "x" ]; then
+ install ${B}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
+ ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_BINARY}
+ fi
+ if [ -f ${B}/${SPL_HS_MLO_BINARY} ]; then
+ install ${B}/${SPL_HS_MLO_BINARY} ${D}/boot/${SPL_HS_MLO_IMAGE}
+ ln -sf ${SPL_HS_MLO_IMAGE} ${D}/boot/${SPL_HS_MLO_BINARY}
+ fi
+ if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
+ install ${B}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}
+ ln -sf ${UBOOT_HS_XLD_IMAGE} ${D}/boot/${UBOOT_HS_XLD_BINARY}
+ fi
+ if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
+ install ${B}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}
+ ln -sf ${UBOOT_HS_MLO_IMAGE} ${D}/boot/${UBOOT_HS_MLO_BINARY}
+ fi
+ if [ -f ${B}/${UBOOT_HS_ISSW_BINARY} ]; then
+ install ${B}/${UBOOT_HS_ISSW_BINARY} ${D}/boot/${UBOOT_HS_ISSW_IMAGE}
+ ln -sf ${UBOOT_HS_ISSW_IMAGE} ${D}/boot/${UBOOT_HS_ISSW_BINARY}
+ fi
+ if [ -f ${B}/${UBOOT_HS_2ND_BINARY} ]; then
+ install ${B}/${UBOOT_HS_2ND_BINARY} ${D}/boot/${UBOOT_HS_2ND_IMAGE}
+ ln -sf ${UBOOT_HS_2ND_IMAGE} ${D}/boot/${UBOOT_HS_2ND_BINARY}
+ fi
+ fi
+}
+
+do_deploy:append:k3r5 () {
+ for f in ${B}/tiboot3-*.bin; do
+ if [ -f "$f" ]; then
+ install -m 644 $f ${DEPLOYDIR}/
+ fi
+ done
+
+ for f in ${B}/sysfw*.itb; do
+ if [ -f "$f" ]; then
+ install -m 644 $f ${DEPLOYDIR}/
+ fi
+ done
+}
+
+do_deploy:append () {
+ if [ -n "${UBOOT_CONFIG}" ]
+ then
+ for config in ${UBOOT_MACHINE}; do
+ i=$(expr $i + 1);
+ for type in ${UBOOT_CONFIG}; do
+ j=$(expr $j + 1);
+ if [ $j -eq $i ]
+ then
+ cd ${DEPLOYDIR}
+ if [ "x${SPL_UART_BINARY}" != "x" ]; then
+ install ${B}/${config}/spl/${SPL_UART_BINARY} ${SPL_UART_IMAGE}-${type}
+ rm -f ${SPL_UART_BINARY} ${SPL_UART_SYMLINK}
+ ln -sf ${SPL_UART_IMAGE}-${type} ${SPL_UART_BINARY}-${type}
+ ln -sf ${SPL_UART_IMAGE}-${type} ${SPL_UART_BINARY}
+ ln -sf ${SPL_UART_IMAGE}-${type} ${SPL_UART_SYMLINK}-${type}
+ ln -sf ${SPL_UART_IMAGE}-${type} ${SPL_UART_SYMLINK}
+ fi
+ if [ -f ${B}/${config}/${SPL_HS_MLO_BINARY} ]; then
+ install ${B}/${config}/${SPL_HS_MLO_BINARY} ${SPL_HS_MLO_IMAGE}-${type}
+ rm -f ${SPL_HS_MLO_BINARY} ${SPL_HS_MLO_SYMLINK}
+ ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${SPL_HS_MLO_SYMLINK}-${type}
+ ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${SPL_HS_MLO_SYMLINK}
+ ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${SPL_HS_MLO_BINARY}-${type}
+ ln -sf ${SPL_HS_MLO_IMAGE}-${type} ${SPL_HS_MLO_BINARY}
+ fi
+ if [ -f ${B}/${config}/${UBOOT_HS_XLD_BINARY} ]; then
+ install ${B}/${config}/${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_IMAGE}-${type}
+ rm -f ${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_SYMLINK}
+ ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_SYMLINK}-${type}
+ ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_SYMLINK}
+ ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_BINARY}-${type}
+ ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_BINARY}
+ fi
+ if [ -f ${B}/${config}/${UBOOT_HS_MLO_BINARY} ]; then
+ install ${B}/${config}/${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_IMAGE}-${type}
+ rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
+ ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_SYMLINK}-${type}
+ ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_SYMLINK}
+ ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_BINARY}-${type}
+ ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_BINARY}
+ fi
+ if [ -f ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ]; then
+ install ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_IMAGE}-${type}
+ rm -f ${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_SYMLINK}
+ ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_SYMLINK}-${type}
+ ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_SYMLINK}
+ ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_BINARY}-${type}
+ ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_BINARY}
+ fi
+ if [ -f ${B}/${config}/${UBOOT_HS_2ND_BINARY} ]; then
+ install ${B}/${config}/${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_IMAGE}-${type}
+ rm -f ${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_SYMLINK}
+ ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_SYMLINK}-${type}
+ ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_SYMLINK}
+ ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_BINARY}-${type}
+ ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_BINARY}
+ fi
+ fi
+ done
+ unset j
+ done
+ unset i
+ else
+ cd ${DEPLOYDIR}
+ if [ "x${SPL_UART_BINARY}" != "x" ]; then
+ install ${B}/spl/${SPL_UART_BINARY} ${SPL_UART_IMAGE}
+ rm -f ${SPL_UART_BINARY} ${SPL_UART_SYMLINK}
+ ln -sf ${SPL_UART_IMAGE} ${SPL_UART_BINARY}
+ ln -sf ${SPL_UART_IMAGE} ${SPL_UART_SYMLINK}
+ fi
+ if [ -f ${B}/${SPL_HS_MLO_BINARY} ]; then
+ install ${B}/${SPL_HS_MLO_BINARY} ${SPL_HS_MLO_IMAGE}
+ rm -f ${SPL_HS_MLO_BINARY} ${SPL_HS_MLO_SYMLINK}
+ ln -sf ${SPL_HS_MLO_IMAGE} ${SPL_HS_MLO_SYMLINK}
+ ln -sf ${SPL_HS_MLO_IMAGE} ${SPL_HS_MLO_BINARY}
+ fi
+ if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
+ install ${B}/${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_IMAGE}
+ rm -f ${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_SYMLINK}
+ ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_SYMLINK}
+ ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_BINARY}
+ fi
+ if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
+ install ${B}/${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_IMAGE}
+ rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
+ ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_SYMLINK}
+ ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_BINARY}
+ fi
+ if [ -f ${B}/${UBOOT_HS_ISSW_BINARY} ]; then
+ install ${B}/${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_IMAGE}
+ rm -f ${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_SYMLINK}
+ ln -sf ${UBOOT_HS_ISSW_IMAGE} ${UBOOT_HS_ISSW_SYMLINK}
+ ln -sf ${UBOOT_HS_ISSW_IMAGE} ${UBOOT_HS_ISSW_BINARY}
+ fi
+ if [ -f ${B}/${UBOOT_HS_2ND_BINARY} ]; then
+ install ${B}/${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_IMAGE}
+ rm -f ${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_SYMLINK}
+ ln -sf ${UBOOT_HS_2ND_IMAGE} ${UBOOT_HS_2ND_SYMLINK}
+ ln -sf ${UBOOT_HS_2ND_IMAGE} ${UBOOT_HS_2ND_BINARY}
+ fi
+ fi
+
+ rm ${DEPLOYDIR}/u-boot-initial-env || true
+ rm ${DEPLOYDIR}/${PN}-initial-env || true
+ rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE} || true
+ rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE} || true
+ rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${PV}-${PR} || true
+ rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR} || true
+}
+
+do_install:append:am62xx() {
+ install -d ${D}/boot
+ install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${D}/boot
+}
+
+do_deploy:append:am62xx() {
+ install -d ${DEPLOYDIR}
+ install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}
+}
+
+do_install:append:am62pxx() {
+ install -d ${D}/boot
+ install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${D}/boot
+}
+
+do_deploy:append:am62pxx() {
+ install -d ${DEPLOYDIR}
+ install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}
+}
+
+TOOLCHAIN = "gcc"
diff --git a/recipes-bsp/vis-fw/vis_01.50.07.15.bb b/meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb
index 6eaf8de7..4ec09a70 100644
--- a/recipes-bsp/vis-fw/vis_01.50.07.15.bb
+++ b/meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb
@@ -3,7 +3,6 @@ LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://${S}/J6_VIS_DEMO_LINUX_BINARY_01.50.07.15-Manifest.html;md5=a59aa54b9470f555cf086b91dca0afa3"
COMPATIBLE_MACHINE = "dra7xx"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
PR = "r1"
@@ -18,18 +17,19 @@ DSPAPP = "dra7-dsp1-fw-radio.xe66"
GPPAPP = "RadioApp"
do_install() {
- install -d ${D}${base_libdir}/firmware
+ install -d ${D}${nonarch_base_libdir}/firmware
install -d ${D}${bindir}
- install ${S}/prebuilt/${DSPAPP} ${D}${base_libdir}/firmware/${DSPAPP}
+ install ${S}/prebuilt/${DSPAPP} ${D}${nonarch_base_libdir}/firmware/${DSPAPP}
install -m 0755 ${S}/prebuilt/${GPPAPP} ${D}${bindir}/${GPPAPP}
}
PACKAGES += "${PN}-fw"
-RDEPENDS_${PN} += "${PN}-fw"
+RDEPENDS:${PN} += "${PN}-fw"
-FILES_${PN}-fw += "${base_libdir}/firmware/${DSPAPP}"
+FILES:${PN}-fw += "${nonarch_base_libdir}/firmware/${DSPAPP}"
-INSANE_SKIP_${PN}-fw = "arch"
+INSANE_SKIP:${PN} = "ldflags"
+INSANE_SKIP:${PN}-fw = "arch"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
diff --git a/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb b/meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb
index 4707f179..8af49577 100644
--- a/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb
+++ b/meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb
@@ -4,9 +4,6 @@ LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://COPYING;md5=fd463c9500441ed91d07a0331baa635c"
COMPATIBLE_MACHINE = "dra7xx"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS += "virtual/kernel"
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/vpdma-fw/03-2012/exports/vpdma-fw_03-2012.tar.gz;protocol=http;name=dra7xx-evm"
SRC_URI[dra7xx-evm.md5sum] = "80176df1350c21d9efa90171789c546e"
@@ -16,10 +13,10 @@ S = "${WORKDIR}/vpdma-fw-${PV}"
TARGET = "vpdma-1b8.bin"
do_install() {
- mkdir -p ${D}${base_libdir}/firmware
- cp ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
+ mkdir -p ${D}${nonarch_base_libdir}/firmware
+ cp ${S}/${TARGET} ${D}${nonarch_base_libdir}/firmware/${TARGET}
}
-FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
+FILES:${PN} += "${nonarch_base_libdir}/firmware/${TARGET}"
PR = "r1"
diff --git a/recipes-bsp/vpe-tests/vpe-tests_git.bb b/meta-ti-bsp/recipes-bsp/vpe-tests/vpe-tests_git.bb
index 92c425b1..7f4e8b77 100644
--- a/recipes-bsp/vpe-tests/vpe-tests_git.bb
+++ b/meta-ti-bsp/recipes-bsp/vpe-tests/vpe-tests_git.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "VPE test program"
-LICENSE = "BSD"
+LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"
DEPENDS = "virtual/kernel vpdma-fw"
@@ -14,7 +14,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "e3d8db1aa935775f9d196ad7428e0cd9864a36ca"
BRANCH ?= "master"
-SRC_URI = "git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BRANCH}"
+SRC_URI = "git://git.ti.com/git/vpe_tests/vpe_tests.git;protocol=https;branch=${BRANCH}"
S = "${WORKDIR}/git"
@@ -25,6 +25,6 @@ EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${FLOAT
do_install() {
oe_runmake DESTDIR="${D}" install
- rm -rf ${D}${base_libdir}/firmware/vpdma-*.bin
- rmdir -p ${D}${base_libdir}/firmware || true
+ rm -rf ${D}${nonarch_base_libdir}/firmware/vpdma-*.bin
+ rmdir -p ${D}${nonarch_base_libdir}/firmware || true
}
diff --git a/recipes-core/udev/eudev/firmware.rules b/meta-ti-bsp/recipes-core/udev/eudev/firmware.rules
index f7a08ce9..f7a08ce9 100644
--- a/recipes-core/udev/eudev/firmware.rules
+++ b/meta-ti-bsp/recipes-core/udev/eudev/firmware.rules
diff --git a/recipes-core/udev/eudev/omap-tty.rules b/meta-ti-bsp/recipes-core/udev/eudev/omap-tty.rules
index 989d60f8..989d60f8 100644
--- a/recipes-core/udev/eudev/omap-tty.rules
+++ b/meta-ti-bsp/recipes-core/udev/eudev/omap-tty.rules
diff --git a/recipes-core/udev/eudev_%.bbappend b/meta-ti-bsp/recipes-core/udev/eudev_%.bbappend
index 7c04fd23..ddb1e75d 100644
--- a/recipes-core/udev/eudev_%.bbappend
+++ b/meta-ti-bsp/recipes-core/udev/eudev_%.bbappend
@@ -1,13 +1,13 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
-SRC_URI_append_ti-soc = " \
+SRC_URI:append:ti-soc = " \
file://omap-tty.rules \
file://firmware.rules \
"
-PR_append_ti-soc = ".3"
+PR:append:ti-soc = ".3"
-do_install_append_ti-soc() {
+do_install:append:ti-soc() {
install -m 0644 ${WORKDIR}/omap-tty.rules ${D}${sysconfdir}/udev/rules.d/
install -m 0644 ${WORKDIR}/firmware.rules ${D}${sysconfdir}/udev/rules.d/
}
diff --git a/meta-ti-bsp/recipes-devtools/binutils/binutils-cross-canadian_%.bbappend b/meta-ti-bsp/recipes-devtools/binutils/binutils-cross-canadian_%.bbappend
new file mode 100644
index 00000000..c18bbe7a
--- /dev/null
+++ b/meta-ti-bsp/recipes-devtools/binutils/binutils-cross-canadian_%.bbappend
@@ -0,0 +1 @@
+FILES:${PN}-staticdev:append:ti-soc = " ${libdir}/gprofng/*.a"
diff --git a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb
new file mode 100644
index 00000000..c8da6674
--- /dev/null
+++ b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb
@@ -0,0 +1,17 @@
+SUMMARY = "Diagnostic tool for TI K3 processors"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a56bddef00b39fb0f45488fdc4ce108f"
+
+inherit cmake
+
+PV = "0.3+git"
+
+COMPATIBLE_MACHINE = "k3"
+
+BRANCH ?= "master"
+SRCREV = "85a7433202aafafbccea8a7b2491f4df8b1ecd80"
+
+SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
diff --git a/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb b/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb
index 9487e724..807f421c 100644
--- a/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb
+++ b/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb
@@ -3,16 +3,20 @@ HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-libs"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://Manifest.html;md5=a9121e8936ace09820d23f7626daaca5"
+inherit features_check
+
+REQUIRED_MACHINE_FEATURES = "gc320"
+
COMPATIBLE_MACHINE = "omap-a15"
CLEANBROKEN = "1"
BRANCH = "ti-${PV}"
-SRC_URI = "git://git.ti.com/graphics/ti-gc320-libs.git;protocol=git;branch=${BRANCH}"
+SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-libs.git;protocol=https;branch=${BRANCH}"
SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5"
-RRECOMMENDS_${PN} = "ti-gc320-driver"
+RRECOMMENDS:${PN} = "ti-gc320-driver"
# There's only hardfp version available
python __anonymous() {
@@ -39,4 +43,4 @@ do_install() {
chown -R root:root ${D}
}
-INSANE_SKIP_${PN} += "ldflags"
+INSANE_SKIP:${PN} += "ldflags"
diff --git a/meta-ti-bsp/recipes-graphics/mesa/files/0001-fix-gallivm-limit-usage-of-LLVMContextSetOpaquePoint.patch b/meta-ti-bsp/recipes-graphics/mesa/files/0001-fix-gallivm-limit-usage-of-LLVMContextSetOpaquePoint.patch
new file mode 100644
index 00000000..905fad04
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/mesa/files/0001-fix-gallivm-limit-usage-of-LLVMContextSetOpaquePoint.patch
@@ -0,0 +1,128 @@
+From 1a894699354f5f984f31e5d3418b651edf486df9 Mon Sep 17 00:00:00 2001
+From: Ryan Eatmon <reatmon@ti.com>
+Date: Fri, 22 Sep 2023 22:32:41 -0500
+Subject: [PATCH] fix: gallivm: limit usage of LLVMContextSetOpaquePointers()
+ to LLVM 15
+
+LLVMContextSetOpaquePointers() was a temporary workaround offered to
+allow transitioning to opaque pointers. Mesa is ready for this now with
+recent versions of LLVM (16+). Therefore we limit the workaround of
+using LLVMContextSetOpaquePointers() to LLVM 15 now, that this C
+interface was removed in LLVM 17.
+
+Reference: https://github.com/llvm/llvm-project/commit/1270879376025457e266572c7cccc51eb5de9276
+
+Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21124]
+Signed-off-by: Ryan Eatmon <reatmon@ti.com>
+---
+ src/gallium/auxiliary/draw/draw_llvm.c | 2 +-
+ src/gallium/drivers/llvmpipe/lp_context.c | 2 +-
+ src/gallium/drivers/llvmpipe/lp_test_arit.c | 2 +-
+ src/gallium/drivers/llvmpipe/lp_test_blend.c | 2 +-
+ src/gallium/drivers/llvmpipe/lp_test_conv.c | 2 +-
+ src/gallium/drivers/llvmpipe/lp_test_format.c | 4 ++--
+ src/gallium/drivers/llvmpipe/lp_test_printf.c | 2 +-
+ 7 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c
+index 50c157bc3cc..8b3a1522725 100644
+--- a/src/gallium/auxiliary/draw/draw_llvm.c
++++ b/src/gallium/auxiliary/draw/draw_llvm.c
+@@ -784,7 +784,7 @@ draw_llvm_create(struct draw_context *draw, LLVMContextRef context)
+ if (!llvm->context) {
+ llvm->context = LLVMContextCreate();
+
+-#if LLVM_VERSION_MAJOR >= 15
++#if LLVM_VERSION_MAJOR == 15
+ LLVMContextSetOpaquePointers(llvm->context, false);
+ #endif
+
+diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c
+index 8309335aebc..0ef4317fc76 100644
+--- a/src/gallium/drivers/llvmpipe/lp_context.c
++++ b/src/gallium/drivers/llvmpipe/lp_context.c
+@@ -263,7 +263,7 @@ llvmpipe_create_context(struct pipe_screen *screen, void *priv,
+ if (!llvmpipe->context)
+ goto fail;
+
+-#if LLVM_VERSION_MAJOR >= 15
++#if LLVM_VERSION_MAJOR == 15
+ LLVMContextSetOpaquePointers(llvmpipe->context, false);
+ #endif
+
+diff --git a/src/gallium/drivers/llvmpipe/lp_test_arit.c b/src/gallium/drivers/llvmpipe/lp_test_arit.c
+index 4118928d52e..565b1c47753 100644
+--- a/src/gallium/drivers/llvmpipe/lp_test_arit.c
++++ b/src/gallium/drivers/llvmpipe/lp_test_arit.c
+@@ -434,7 +434,7 @@ test_unary(unsigned verbose, FILE *fp, const struct unary_test_t *test, unsigned
+ }
+
+ context = LLVMContextCreate();
+-#if LLVM_VERSION_MAJOR >= 15
++#if LLVM_VERSION_MAJOR == 15
+ LLVMContextSetOpaquePointers(context, false);
+ #endif
+ gallivm = gallivm_create("test_module", context, NULL);
+diff --git a/src/gallium/drivers/llvmpipe/lp_test_blend.c b/src/gallium/drivers/llvmpipe/lp_test_blend.c
+index 37c3f731eaf..3d2899a78d4 100644
+--- a/src/gallium/drivers/llvmpipe/lp_test_blend.c
++++ b/src/gallium/drivers/llvmpipe/lp_test_blend.c
+@@ -452,7 +452,7 @@ test_one(unsigned verbose,
+ dump_blend_type(stdout, blend, type);
+
+ context = LLVMContextCreate();
+-#if LLVM_VERSION_MAJOR >= 15
++#if LLVM_VERSION_MAJOR == 15
+ LLVMContextSetOpaquePointers(context, false);
+ #endif
+ gallivm = gallivm_create("test_module", context, NULL);
+diff --git a/src/gallium/drivers/llvmpipe/lp_test_conv.c b/src/gallium/drivers/llvmpipe/lp_test_conv.c
+index c7ea9efc12d..83236f0c0ba 100644
+--- a/src/gallium/drivers/llvmpipe/lp_test_conv.c
++++ b/src/gallium/drivers/llvmpipe/lp_test_conv.c
+@@ -223,7 +223,7 @@ test_one(unsigned verbose,
+ }
+
+ context = LLVMContextCreate();
+-#if LLVM_VERSION_MAJOR >= 15
++#if LLVM_VERSION_MAJOR == 15
+ LLVMContextSetOpaquePointers(context, false);
+ #endif
+ gallivm = gallivm_create("test_module", context, NULL);
+diff --git a/src/gallium/drivers/llvmpipe/lp_test_format.c b/src/gallium/drivers/llvmpipe/lp_test_format.c
+index 0a2a1e449e8..89f7d5dec1a 100644
+--- a/src/gallium/drivers/llvmpipe/lp_test_format.c
++++ b/src/gallium/drivers/llvmpipe/lp_test_format.c
+@@ -150,7 +150,7 @@ test_format_float(unsigned verbose, FILE *fp,
+ unsigned i, j, k, l;
+
+ context = LLVMContextCreate();
+-#if LLVM_VERSION_MAJOR >= 15
++#if LLVM_VERSION_MAJOR == 15
+ LLVMContextSetOpaquePointers(context, false);
+ #endif
+ gallivm = gallivm_create("test_module_float", context, NULL);
+@@ -254,7 +254,7 @@ test_format_unorm8(unsigned verbose, FILE *fp,
+ unsigned i, j, k, l;
+
+ context = LLVMContextCreate();
+-#if LLVM_VERSION_MAJOR >= 15
++#if LLVM_VERSION_MAJOR == 15
+ LLVMContextSetOpaquePointers(context, false);
+ #endif
+ gallivm = gallivm_create("test_module_unorm8", context, NULL);
+diff --git a/src/gallium/drivers/llvmpipe/lp_test_printf.c b/src/gallium/drivers/llvmpipe/lp_test_printf.c
+index b3de9cb9e8b..850c0abfe22 100644
+--- a/src/gallium/drivers/llvmpipe/lp_test_printf.c
++++ b/src/gallium/drivers/llvmpipe/lp_test_printf.c
+@@ -96,7 +96,7 @@ test_printf(unsigned verbose, FILE *fp,
+ boolean success = TRUE;
+
+ context = LLVMContextCreate();
+-#if LLVM_VERSION_MAJOR >= 15
++#if LLVM_VERSION_MAJOR == 15
+ LLVMContextSetOpaquePointers(context, false);
+ #endif
+ gallivm = gallivm_create("test_module", context, NULL);
+--
+2.17.1
diff --git a/meta-ti-bsp/recipes-graphics/mesa/files/0001-freedreno-pm4-Use-unsigned-instead-of-uint-to-fix-mu.patch b/meta-ti-bsp/recipes-graphics/mesa/files/0001-freedreno-pm4-Use-unsigned-instead-of-uint-to-fix-mu.patch
new file mode 100644
index 00000000..f0775176
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/mesa/files/0001-freedreno-pm4-Use-unsigned-instead-of-uint-to-fix-mu.patch
@@ -0,0 +1,43 @@
+From 8a5de0b6cf1090d7f29f3974ec79c32776cf2745 Mon Sep 17 00:00:00 2001
+From: Jami Kettunen <jami.kettunen@protonmail.com>
+Date: Tue, 31 Aug 2021 00:15:58 +0300
+Subject: [PATCH] freedreno/pm4: Use unsigned instead of uint to fix musl build
+
+Upstream-Status: Backport
+
+Fixes the following error I noticed when building against aarch64 with
+musl libc:
+
+ In file included from ../src/freedreno/decode/crashdec.h:38,
+ from ../src/freedreno/decode/crashdec.c:40:
+ ../src/freedreno/common/freedreno_pm4.h:104:15: error: unknown type name 'uint'
+ 104 | static inline uint
+ | ^~~~
+ ../src/freedreno/common/freedreno_pm4.h:105:25: error: unknown type name 'uint'; did you mean 'int'?
+ 105 | pm4_calc_odd_parity_bit(uint val)
+ | ^~~~
+ | int
+
+Signed-off-by: Jami Kettunen <jami.kettunen@protonmail.com>
+Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19665>
+---
+ src/freedreno/common/freedreno_pm4.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/freedreno/common/freedreno_pm4.h b/src/freedreno/common/freedreno_pm4.h
+index 8f958953d693..091247e709a0 100644
+--- a/src/freedreno/common/freedreno_pm4.h
++++ b/src/freedreno/common/freedreno_pm4.h
+@@ -105,8 +105,8 @@ pm4_pkt7_hdr(uint8_t opcode, uint16_t cnt)
+ #define cp_type3_opcode(pkt) (((pkt) >> 8) & 0xFF)
+ #define type3_pkt_size(pkt) ((((pkt) >> 16) & 0x3FFF) + 1)
+
+-static inline uint
+-pm4_calc_odd_parity_bit(uint val)
++static inline unsigned
++pm4_calc_odd_parity_bit(unsigned val)
+ {
+ return (0x9669 >> (0xf & ((val) ^ ((val) >> 4) ^ ((val) >> 8) ^
+ ((val) >> 12) ^ ((val) >> 16) ^ ((val) >> 20) ^
+--
+2.39.2
diff --git a/meta-ti-bsp/recipes-graphics/mesa/files/0001-gallium-Fix-build-with-llvm-17.patch b/meta-ti-bsp/recipes-graphics/mesa/files/0001-gallium-Fix-build-with-llvm-17.patch
new file mode 100644
index 00000000..bdfe7bb8
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/mesa/files/0001-gallium-Fix-build-with-llvm-17.patch
@@ -0,0 +1,58 @@
+From 2dfe0f899aeb415a5491b8c67e208673d2a2914f Mon Sep 17 00:00:00 2001
+From: Ryan Eatmon <reatmon@ti.com>
+Date: Fri, 22 Sep 2023 21:50:08 -0500
+Subject: [PATCH] gallium: Fix build with llvm 17
+
+These headers are not available for C files in llvm 17+
+and they seem to be not needed to compile after all with llvm 17
+so add conditions to exclude them for llvm >= 17
+
+Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21262]
+Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22980]
+Signed-off-by: Ryan Eatmon <reatmon@ti.com>
+---
+ src/gallium/auxiliary/gallivm/lp_bld_init.c | 8 ++++----
+ src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 4 ++++
+ 2 files changed, 8 insertions(+), 4 deletions(-)
+
+diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c
+index 584ea738668..fe8bb2b11af 100644
+--- a/src/gallium/auxiliary/gallivm/lp_bld_init.c
++++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c
+@@ -42,14 +42,14 @@
+
+ #include <llvm/Config/llvm-config.h>
+ #include <llvm-c/Analysis.h>
+-#include <llvm-c/Transforms/Scalar.h>
+-#if LLVM_VERSION_MAJOR >= 7
+-#include <llvm-c/Transforms/Utils.h>
+-#endif
+ #include <llvm-c/BitWriter.h>
+ #if GALLIVM_USE_NEW_PASS == 1
+ #include <llvm-c/Transforms/PassBuilder.h>
+ #elif GALLIVM_HAVE_CORO == 1
++#include <llvm-c/Transforms/Scalar.h>
++#if LLVM_VERSION_MAJOR >= 7
++#include <llvm-c/Transforms/Utils.h>
++#endif
+ #if LLVM_VERSION_MAJOR <= 8 && (defined(PIPE_ARCH_AARCH64) || defined (PIPE_ARCH_ARM) || defined(PIPE_ARCH_S390) || defined(PIPE_ARCH_MIPS64))
+ #include <llvm-c/Transforms/IPO.h>
+ #endif
+diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+index 2279e5acb28..0caeaf94263 100644
+--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
++++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+@@ -56,7 +56,11 @@
+ #include <llvm-c/ExecutionEngine.h>
+ #include <llvm/Target/TargetOptions.h>
+ #include <llvm/ExecutionEngine/ExecutionEngine.h>
++#if LLVM_VERSION_MAJOR >= 17
++#include <llvm/TargetParser/Triple.h>
++#else
+ #include <llvm/ADT/Triple.h>
++#endif
+ #include <llvm/Analysis/TargetLibraryInfo.h>
+ #include <llvm/ExecutionEngine/SectionMemoryManager.h>
+ #include <llvm/Support/CommandLine.h>
+--
+2.17.1
diff --git a/meta-ti-bsp/recipes-graphics/mesa/files/0001-gbm-backend-fix-gbm-compile-without-dri.patch b/meta-ti-bsp/recipes-graphics/mesa/files/0001-gbm-backend-fix-gbm-compile-without-dri.patch
new file mode 100644
index 00000000..289ff032
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/mesa/files/0001-gbm-backend-fix-gbm-compile-without-dri.patch
@@ -0,0 +1,64 @@
+From 25946100e21cf2095bea334e8d7096798561d0b7 Mon Sep 17 00:00:00 2001
+From: Vincent Davis Jr <vince@underview.tech>
+Date: Wed, 28 Dec 2022 16:28:01 -0600
+Subject: [PATCH] gbm/backend: fix gbm compile without dri
+
+Upstream-Status: Backport
+
+https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20447
+https://gitlab.freedesktop.org/mesa/mesa/-/commit/842ca284650f066e58706741a7d22d67b5088e60
+
+At mesa version 22.2.3 patch wasn't introduced until after.
+
+Commit introduces a fix that allows for gbm to be built with an empty
+backend. There are situation especially in a Yocto/OE cross compilation
+environment where you want to build with an empty backend. The particular
+situation is as such:
+
+The mesa-gl recipe is the preferred provider for virtual/libgbm, virtual/libgl,
+virtual/mesa, etc... But the x11 DISTRO_FEATURE in't included this leads to build
+errors such as:
+
+| /../../../ld: src/gbm/libgbm.so.1.0.0.p/main_backend.c.o: in function `find_backend':
+| backend.c:(.text.find_backend+0xa4): undefined reference to `gbm_dri_backend'
+| /../../../ld: src/gbm/libgbm.so.1.0.0.p/main_backend.c.o:(.data.rel.ro.builtin_backends+0x4):
+ undefined reference to `gbm_dri_backend'
+| collect2: error: ld returned 1 exit status
+
+Issue should be replicable by setting -Ddri3=disabled and -Dgbm=enabled
+
+Add fix to bypasses compilation issue by excluding gbm dri backend. If
+HAVE_DRI || HAVE_DRIX not specified.
+
+Acked-by: David Heidelberg <david.heidelberg@collabora.com>
+Signed-off-by: Vincent Davis Jr <vince@underview.tech>
+---
+ src/gbm/main/backend.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/gbm/main/backend.c b/src/gbm/main/backend.c
+index 974d0a76a4e..feee0703495 100644
+--- a/src/gbm/main/backend.c
++++ b/src/gbm/main/backend.c
+@@ -42,7 +42,9 @@
+ #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0]))
+ #define VER_MIN(a, b) ((a) < (b) ? (a) : (b))
+
++#if defined(HAVE_DRI) || defined(HAVE_DRI2) || defined(HAVE_DRI3)
+ extern const struct gbm_backend gbm_dri_backend;
++#endif
+
+ struct gbm_backend_desc {
+ const char *name;
+@@ -51,7 +53,9 @@ struct gbm_backend_desc {
+ };
+
+ static const struct gbm_backend_desc builtin_backends[] = {
++#if defined(HAVE_DRI) || defined(HAVE_DRI2) || defined(HAVE_DRI3)
+ { "dri", &gbm_dri_backend },
++#endif
+ };
+
+ #define BACKEND_LIB_SUFFIX "_gbm"
+--
+2.34.1
diff --git a/meta-ti-bsp/recipes-graphics/mesa/files/0001-meson-misdetects-64bit-atomics-on-mips-clang.patch b/meta-ti-bsp/recipes-graphics/mesa/files/0001-meson-misdetects-64bit-atomics-on-mips-clang.patch
new file mode 100644
index 00000000..35bd0ea1
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/mesa/files/0001-meson-misdetects-64bit-atomics-on-mips-clang.patch
@@ -0,0 +1,25 @@
+From 3ef37c63f03ad6f2af407de350486fdd25e9132a Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 13 Jan 2020 15:23:47 -0800
+Subject: [PATCH] meson misdetects 64bit atomics on mips/clang
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+---
+ src/util/u_atomic.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/util/u_atomic.c b/src/util/u_atomic.c
+index 5a5eab4..e499516 100644
+--- a/src/util/u_atomic.c
++++ b/src/util/u_atomic.c
+@@ -21,7 +21,7 @@
+ * IN THE SOFTWARE.
+ */
+
+-#if defined(MISSING_64BIT_ATOMICS) && defined(HAVE_PTHREAD)
++#if !defined(__clang__) && defined(MISSING_64BIT_ATOMICS) && defined(HAVE_PTHREAD)
+
+ #include <stdint.h>
+ #include <pthread.h>
diff --git a/meta-ti-bsp/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch b/meta-ti-bsp/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch
new file mode 100644
index 00000000..f0c1de46
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch
@@ -0,0 +1,43 @@
+From 3b4d6b89f644b43e507c08181fef06db4326f9da Mon Sep 17 00:00:00 2001
+From: Alistair Francis <alistair@alistair23.me>
+Date: Thu, 14 Nov 2019 13:04:49 -0800
+Subject: [PATCH] meson.build: check for all linux host_os combinations
+
+Make sure that we are also looking for our host_os combinations like
+linux-musl etc. when assuming support for DRM/KMS.
+
+Also delete a duplicate line.
+
+Upstream-Status: Pending
+
+Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
+Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+Signed-off-by: Alistair Francis <alistair@alistair23.me>
+
+---
+ meson.build | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 172c64a..9b5294c 100644
+--- a/meson.build
++++ b/meson.build
+@@ -173,7 +173,7 @@ with_any_opengl = with_opengl or with_gles1 or with_gles2
+ # Only build shared_glapi if at least one OpenGL API is enabled
+ with_shared_glapi = with_shared_glapi and with_any_opengl
+
+-system_has_kms_drm = ['openbsd', 'netbsd', 'freebsd', 'gnu/kfreebsd', 'dragonfly', 'linux', 'sunos', 'android'].contains(host_machine.system())
++system_has_kms_drm = ['openbsd', 'netbsd', 'freebsd', 'gnu/kfreebsd', 'dragonfly', 'linux', 'sunos', 'android'].contains(host_machine.system()) or host_machine.system().startswith('linux')
+
+ with_freedreno_kgsl = get_option('freedreno-kgsl')
+ if with_freedreno_kgsl
+@@ -1076,7 +1076,7 @@ if cc.has_function('reallocarray')
+ endif
+
+ # TODO: this is very incomplete
+-if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd', 'haiku', 'android'].contains(host_machine.system())
++if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd', 'haiku'].contains(host_machine.system()) or host_machine.system().startswith('linux')
+ pre_args += '-D_GNU_SOURCE'
+ elif host_machine.system() == 'sunos'
+ pre_args += '-D__EXTENSIONS__'
diff --git a/meta-ti-bsp/recipes-graphics/mesa/files/0001-util-format-Check-for-NEON-before-using-it.patch b/meta-ti-bsp/recipes-graphics/mesa/files/0001-util-format-Check-for-NEON-before-using-it.patch
new file mode 100644
index 00000000..6eea5ed8
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/mesa/files/0001-util-format-Check-for-NEON-before-using-it.patch
@@ -0,0 +1,47 @@
+From f17e836ef9b1bbc6056790596420b699e48128c2 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Thu, 2 Dec 2021 19:57:42 -0800
+Subject: [PATCH] util/format: Check for NEON before using it
+
+This fixes build on rpi0-w and any other machine which does not have
+neon unit and is not used as FPU unit
+
+Fixes errors e.g.
+
+In file included from ../mesa-21.3.0/src/util/format/u_format_unpack_neon.c:35:
+/mnt/b/yoe/master/build/tmp/work/arm1176jzfshf-vfp-yoe-linux-gnueabi/mesa/2_21.3.0-r0/recipe-sysroot-native/usr/lib/clang/13.0.1/include/arm_neon.h:32:2: error: "NEON support not enabled"
+
+Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14032]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+---
+ src/util/format/u_format.c | 2 +-
+ src/util/format/u_format_unpack_neon.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/util/format/u_format.c b/src/util/format/u_format.c
+index c071250..0880984 100644
+--- a/src/util/format/u_format.c
++++ b/src/util/format/u_format.c
+@@ -1184,7 +1184,7 @@ static void
+ util_format_unpack_table_init(void)
+ {
+ for (enum pipe_format format = PIPE_FORMAT_NONE; format < PIPE_FORMAT_COUNT; format++) {
+-#if (defined(PIPE_ARCH_AARCH64) || defined(PIPE_ARCH_ARM)) && !defined(NO_FORMAT_ASM) && !defined(__SOFTFP__)
++#if (defined(PIPE_ARCH_AARCH64) || (defined(__ARM_NEON) && defined(PIPE_ARCH_ARM))) && !defined(NO_FORMAT_ASM)
+ const struct util_format_unpack_description *unpack = util_format_unpack_description_neon(format);
+ if (unpack) {
+ util_format_unpack_table[format] = unpack;
+diff --git a/src/util/format/u_format_unpack_neon.c b/src/util/format/u_format_unpack_neon.c
+index a4a5cb1..1e4f794 100644
+--- a/src/util/format/u_format_unpack_neon.c
++++ b/src/util/format/u_format_unpack_neon.c
+@@ -23,7 +23,7 @@
+
+ #include <u_format.h>
+
+-#if (defined(PIPE_ARCH_AARCH64) || defined(PIPE_ARCH_ARM)) && !defined(NO_FORMAT_ASM) && !defined(__SOFTFP__)
++#if (defined(PIPE_ARCH_AARCH64) || (defined(__ARM_NEON) && defined(PIPE_ARCH_ARM))) && !defined(NO_FORMAT_ASM)
+
+ /* armhf builds default to vfp, not neon, and refuses to compile neon intrinsics
+ * unless you tell it "no really".
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb
new file mode 100644
index 00000000..5abd0793
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb
@@ -0,0 +1,59 @@
+# PowerVR Graphics require several patches that have not made their way
+# upstream yet. This allows us to build the shims we need without completely
+# clobbering mesa.
+
+require recipes-graphics/mesa/mesa.inc
+
+SUMMARY += " (with PowerVR support for TI platforms)"
+
+LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10"
+
+BRANCH = "powervr/kirkstone/${PV}"
+
+SRC_URI = " \
+ git://gitlab.freedesktop.org/StaticRocket/mesa.git;protocol=https;branch=${BRANCH} \
+ file://0001-meson.build-check-for-all-linux-host_os-combinations.patch \
+ file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
+ file://0001-util-format-Check-for-NEON-before-using-it.patch \
+ file://0001-gbm-backend-fix-gbm-compile-without-dri.patch \
+ file://0001-freedreno-pm4-Use-unsigned-instead-of-uint-to-fix-mu.patch \
+ file://0001-gallium-Fix-build-with-llvm-17.patch \
+ file://0001-fix-gallivm-limit-usage-of-LLVMContextSetOpaquePoint.patch \
+"
+
+S = "${WORKDIR}/git"
+
+PACKAGECONFIG:append = " \
+ ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', 'pvr', '', d)} \
+ ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \
+"
+
+SRCREV = "1be98ba80452ebe38546a7fca26b5a70f2629083"
+
+PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
+PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
+PACKAGECONFIG[sgx] = "-Dgallium-sgx-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
+
+PACKAGECONFIG:remove = "video-codecs"
+PACKAGECONFIG[video-codecs] = ""
+PACKAGECONFIG:remove = "elf-tls"
+PACKAGECONFIG[elf-tls] = ""
+PACKAGECONFIG:remove = "xvmc"
+PACKAGECONFIG[xvmc] = ""
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}"
+GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', ',sgx', '', d)}"
+
+VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}"
+
+do_install:append () {
+ # remove pvr custom pkgconfig
+ rm -rf ${D}${datadir}/pkgconfig
+}
+
+FILES:${PN}-dev += "${datadir}/mesa/wayland-drm.xml"
+FILES:mesa-vulkan-drivers += "${libdir}/libpvr_mesa_wsi.so"
+
+RRECOMMENDS:mesa-megadriver:append:class-target = " ${@d.getVar('PREFERRED_PROVIDER_virtual/gpudriver')}"
diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb
new file mode 100644
index 00000000..a0a9a295
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb
@@ -0,0 +1,145 @@
+DESCRIPTION = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
+HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
+
+inherit bin_package
+
+INHIBIT_DEFAULT_DEPS = ""
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx|am62pxx|j722s"
+
+PR = "r3"
+
+BRANCH = "linuxws/scarthgap/k6.6/${PV}"
+SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}"
+SRCREV = "0b9e64254269be2fa95c4f3e1dd925d6e4d58199"
+S = "${WORKDIR}/git/targetfs/${TARGET_PRODUCT}/${PVR_WS}/${PVR_BUILD}"
+
+TARGET_PRODUCT:j721e = "j721e_linux"
+TARGET_PRODUCT:j721s2 = "j721s2_linux"
+TARGET_PRODUCT:j784s4 = "j784s4_linux"
+TARGET_PRODUCT:am62xx = "am62_linux"
+TARGET_PRODUCT:am62pxx = "am62p_linux"
+TARGET_PRODUCT:j722s = "j722s_linux"
+PVR_BUILD = "release"
+PVR_WS = "lws-generic"
+
+RDEPENDS:${PN} = " \
+ libdrm \
+ ti-img-rogue-driver \
+ ${PN}-firmware \
+"
+
+PACKAGECONFIG ?= " \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan wayland', 'vulkan', '', d)} \
+ ${@bb.utils.filter('DISTRO_FEATURES', 'opengl opencl', d)} \
+"
+
+PACKAGECONFIG[opengl] = ",,,,${GLES_PACKAGES}"
+PACKAGECONFIG[vulkan] = ",,,,${VULKAN_PACKAGES}"
+PACKAGECONFIG[opencl] = ",,,,${OPENCL_PACKAGES}"
+
+def get_file_list(package_list_var, d):
+ file_list = []
+ package_list = d.getVar(package_list_var)
+ prefix = f"{d.getVar('S')}/"
+ if package_list:
+ for package in package_list.split():
+ package_file_string = d.getVar(f"FILES:{package}")
+ if package_file_string:
+ for package_file in package_file_string.split():
+ file_list.append(f"{prefix}{package_file}")
+ return " ".join(file_list)
+
+do_install:prepend() {
+ if ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'false', 'true', d)}; then
+ for file in ${@get_file_list('GLES_PACKAGES', d)}; do
+ rm -rf ${file}
+ done
+ fi
+ if ${@bb.utils.contains('PACKAGECONFIG', 'vulkan', 'false', 'true', d)}; then
+ for file in ${@get_file_list('VULKAN_PACKAGES', d)}; do
+ rm -rf ${file}
+ done
+ fi
+ if ${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'false', 'true', d)}; then
+ for file in ${@get_file_list('OPENCL_PACKAGES', d)}; do
+ rm -rf ${file}
+ done
+ fi
+ if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then
+ if [ -e ${S}/lib/firmware ]; then
+ mv ${S}/lib/firmware ${S}${nonarch_base_libdir}
+ fi
+ fi
+
+ # clean up any empty directories
+ find "${S}" -empty -type d -delete
+}
+
+GLES_PACKAGES = "libgles1-rogue libgles2-rogue libgles3-rogue"
+VULKAN_PACKAGES = "libvk-rogue"
+OPENCL_PACKAGES = "libopencl-rogue libopencl-rogue-tools"
+
+PACKAGES = " \
+ ${@bb.utils.contains('PACKAGECONFIG', 'opengl', d.getVar('GLES_PACKAGES'), '', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'vulkan', d.getVar('VULKAN_PACKAGES'), '', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'opencl', d.getVar('OPENCL_PACKAGES'), '', d)} \
+ ${PN}-tools \
+ ${PN}-firmware \
+ ${PN} \
+"
+
+# Inject variables so that packages don't get Debian-renamed (which would
+# remove the -rogue suffix), but don't RPROVIDEs/RCONFLICTs on the generic
+# libgl name to prevent colliding with swrast libs
+python __anonymous() {
+ suffix = ""
+ if "-native" in d.getVar("PN"):
+ suffix = "-native"
+ for p in (("vulkan", "libvk",),
+ ("gles", "libgles1", "libglesv1-cm1"),
+ ("gles", "libgles2", "libglesv2-2"),
+ ("gles", "libgles3",),
+ ("opencl", "libopencl",)):
+ mlprefix = d.getVar("MLPREFIX")
+ fullp = mlprefix + p[1] + "-rogue" + suffix
+ mlprefix = d.getVar("MLPREFIX")
+ pkgs = " " + " ".join(mlprefix + x + suffix for x in p[1:])
+ d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1")
+ d.setVar("INSANE_SKIP:" + fullp, "dev-so")
+ d.appendVar("RRECOMMENDS:" + fullp, " ${MLPREFIX}ti-img-rogue-umlibs" + suffix)
+}
+
+# gles specific shared objects
+FILES:libgles1-rogue = "${libdir}/libGLESv1*.so*"
+FILES:libgles2-rogue = "${libdir}/libGLESv2*.so*"
+RDEPENDS:libgles1-rogue += "mesa-megadriver"
+RDEPENDS:libgles2-rogue += "mesa-megadriver"
+
+# vulkan specific shared objects and configs
+FILES:libvk-rogue = "${libdir}/libVK_IMG.so* ${datadir}/vulkan"
+RDEPENDS:libvk-rogue += "vulkan-loader wayland libdrm"
+
+# opencl specific shared objects and configs
+FILES:libopencl-rogue = "${libdir}/libPVROCL.so* ${sysconfdir}/OpenCL"
+RDEPENDS:libopencl-rogue += "opencl-icd-loader"
+RRECOMMENDS:libopencl-rogue += "libopencl-rogue-tools"
+FILES:libopencl-rogue-tools += "${bindir}/ocl*"
+DEBIAN_NOAUTONAME:libopencl-rogue-tools = "1"
+
+# optional tools and tests
+FILES:${PN}-tools = "${bindir}/"
+RDEPENDS:${PN}-tools = "python3-core ${PN}"
+
+# required firmware
+FILES:${PN}-firmware = "${base_libdir}/firmware/*"
+INSANE_SKIP:${PN}-firmware += "arch"
+
+RRECOMMENDS:${PN} += " \
+ ${PN}-tools \
+"
+
+INSANE_SKIP:${PN} += "already-stripped dev-so"
diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb
new file mode 100644
index 00000000..d2565318
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb
@@ -0,0 +1,58 @@
+DESCRIPTION = "Userspace libraries for PowerVR SGX chipset on TI SoCs"
+HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux"
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|am65xx"
+
+PR = "r38"
+
+BRANCH = "${PV}/mesa/glibc-2.35"
+
+SRC_URI = " \
+ git://git.ti.com/git/graphics/omap5-sgx-ddk-um-linux.git;protocol=https;branch=${BRANCH} \
+"
+SRCREV = "70364424dd496833fad5b243c9e6cc8b077f04ac"
+
+INITSCRIPT_NAME = "rc.pvr"
+INITSCRIPT_PARAMS = "defaults 8"
+
+PACKAGECONFIG ??= "udev"
+PACKAGECONFIG[udev] = "UDEV=true,,,udev"
+
+def use_sysvinit(d):
+ return d.getVar('VIRTUAL-RUNTIME_init_manager') == 'sysvinit'
+
+inherit ${@oe.utils.ifelse(use_sysvinit(d), 'update-rc.d', '')}
+
+TARGET_PRODUCT:ti33x = "ti335x_linux"
+TARGET_PRODUCT:ti43x = "ti437x_linux"
+TARGET_PRODUCT:omap-a15 = "ti572x_linux"
+TARGET_PRODUCT:am65xx = "ti654x_linux"
+
+RDEPENDS:${PN} += "libdrm"
+
+RRECOMMENDS:${PN} += "ti-sgx-ddk-km"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE += "DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} ${PACKAGECONFIG_CONFARGS}"
+
+do_install() {
+ oe_runmake install
+}
+
+FILES:${PN} = "${bindir}/*"
+FILES:${PN} += " ${libdir}/*"
+FILES:${PN} += "${includedir}/*"
+FILES:${PN} += "${sysconfdir}/*"
+FILES:${PN} += "${datadir}/*"
+FILES:${PN} += "${nonarch_base_libdir}/udev/rules.d"
+FILES:${PN} += "${nonarch_base_libdir}/systemd/system"
+
+# No debug or dev packages for this recipe
+PACKAGES = "${PN}"
+
+INSANE_SKIP:${PN} += "ldflags"
+INSANE_SKIP:${PN} += "already-stripped dev-so"
diff --git a/meta-ti-bsp/recipes-kernel/linux/files/0001-gcc-plugins-Fix-build-for-upcoming-GCC-release.patch b/meta-ti-bsp/recipes-kernel/linux/files/0001-gcc-plugins-Fix-build-for-upcoming-GCC-release.patch
new file mode 100644
index 00000000..3dfa31a1
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/files/0001-gcc-plugins-Fix-build-for-upcoming-GCC-release.patch
@@ -0,0 +1,46 @@
+From 3cd29a3d7c25cca9989e7d8966141f725fa99c68 Mon Sep 17 00:00:00 2001
+From: Palmer Dabbelt <palmer@rivosinc.com>
+Date: Fri, 13 Jan 2023 09:30:33 -0800
+Subject: [PATCH] gcc-plugins: Fix build for upcoming GCC release
+
+The upcoming GCC release has refactored the gimple plugin interface a
+bit and unless gimple-iterator.h is included before gimple-fold.h I end
+up with a bunch of missing declarations when building the stack
+protector plugin.
+
+Upstream-Status: Backport [https://lore.kernel.org/all/20230113173033.4380-1-palmer@rivosinc.com/]
+Reported-by: Palmer Dabbelt <palmer@rivosinc.com>
+Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
+Link: https://lore.kernel.org/all/20230113173033.4380-1-palmer@rivosinc.com/
+Cc: linux-hardening@vger.kernel.org
+Signed-off-by: Kees Cook <keescook@chromium.org>
+---
+ scripts/gcc-plugins/gcc-common.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/scripts/gcc-plugins/gcc-common.h
++++ b/scripts/gcc-plugins/gcc-common.h
+@@ -108,7 +108,9 @@
+ #include "varasm.h"
+ #include "stor-layout.h"
+ #include "internal-fn.h"
++#include "gimple.h"
+ #include "gimple-expr.h"
++#include "gimple-iterator.h"
+ #include "gimple-fold.h"
+ #include "context.h"
+ #include "tree-ssa-alias.h"
+@@ -124,13 +126,10 @@
+ #include "gimplify.h"
+ #endif
+
+-#include "gimple.h"
+-
+ #if BUILDING_GCC_VERSION >= 4009
+ #include "tree-ssa-operands.h"
+ #include "tree-phinodes.h"
+ #include "tree-cfg.h"
+-#include "gimple-iterator.h"
+ #include "gimple-ssa.h"
+ #include "ssa-iterators.h"
+ #endif
diff --git a/recipes-kernel/linux/files/configs/empty b/meta-ti-bsp/recipes-kernel/linux/files/configs/empty
index e69de29b..e69de29b 100644
--- a/recipes-kernel/linux/files/configs/empty
+++ b/meta-ti-bsp/recipes-kernel/linux/files/configs/empty
diff --git a/meta-ti-bsp/recipes-kernel/linux/files/init_disassemble_info-signature-changes-causes-compile-failures.patch b/meta-ti-bsp/recipes-kernel/linux/files/init_disassemble_info-signature-changes-causes-compile-failures.patch
new file mode 100644
index 00000000..e1e04c34
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/files/init_disassemble_info-signature-changes-causes-compile-failures.patch
@@ -0,0 +1,111 @@
+
+Adaption of a patch [A] applied to meta-arm for the kernel. But since TI has it's own
+kernel we have to "adjust" the patch to match our files.
+
+[A] https://patchwork.yoctoproject.org/project/arm/patch/20220824025819.4888-1-jon.mason@arm.com/#5104
+
+Upstream-Status: Pending
+
+Signed-off-by: Ryan Eatmon <reatmon@ti.com>
+
+
+
+From 1b2013986271de39360cf79e62ed9b7d2cc59f9b Mon Sep 17 00:00:00 2001
+From: Andres Freund <andres@anarazel.de>
+Date: Wed, 22 Jun 2022 11:19:18 -0700
+Subject: [PATCH] init_disassemble_info() signature changes causes compile
+ failures
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Hi,
+
+binutils changed the signature of init_disassemble_info(), which now causes
+perf and bpftool to fail to compile (e.g. on debian unstable).
+
+Relevant binutils commit: https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=60a3da00bd5407f07d64dff82a4dae98230dfaac
+
+util/annotate.c: In function ?symbol__disassemble_bpf?:
+util/annotate.c:1765:9: error: too few arguments to function ?init_disassemble_info?
+ 1765 | init_disassemble_info(&info, s,
+ | ^~~~~~~~~~~~~~~~~~~~~
+In file included from util/annotate.c:1718:
+/usr/include/dis-asm.h:472:13: note: declared here
+ 472 | extern void init_disassemble_info (struct disassemble_info *dinfo, void *stream,
+ | ^~~~~~~~~~~~~~~~~~~~~
+
+with equivalent failures in
+
+tools/bpf/bpf_jit_disasm.c
+tools/bpf/bpftool/jit_disasm.c
+
+The fix is easy enough, add a wrapper around fprintf() that conforms to the
+new signature.
+
+However I assume the necessary feature test and wrapper should only be added
+once? I don't know the kernel stuff well enough to choose the right structure
+here.
+
+Attached is my local fix for perf. Obviously would need work to be a real
+solution.
+
+Greetings,
+
+Andres Freund
+---
+
+binutils 2.39 changed the signature of init_disassemble_info(),
+which now causes perf and bpftool to fail to compile.
+
+Relevant binutils commit: [1]
+
+There is a proper fix in development upstream[2].
+This is a work-around for older kernels.
+
+[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=60a3da00bd5407f07d64dff82a4dae98230dfaac
+[2] https://patchwork.kernel.org/project/netdevbpf/cover/20220801013834.156015-1-andres@anarazel.de/
+
+Upstream-Status: Pending
+Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
+
+
+ tools/perf/util/annotate.c | 15 ++++++++++++++-
+ 1 file changed, 14 insertions(+), 1 deletion(-)
+
+diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c
+index 308189454788..6573d2b07548 100644
+--- a/tools/perf/util/annotate.c
++++ b/tools/perf/util/annotate.c
+@@ -1685,6 +1685,18 @@
+ #include <bfd.h>
+ #include <dis-asm.h>
+
++static int fprintf_styled(void *, enum disassembler_style, const char* fmt, ...)
++{
++ va_list args;
++ int r;
++
++ va_start(args, fmt);
++ r = vprintf(fmt, args);
++ va_end(args);
++
++ return r;
++}
++
+ static int symbol__disassemble_bpf(struct symbol *sym,
+ struct annotate_args *args)
+ {
+@@ -1727,7 +1739,8 @@ static int symbol__disassemble_bpf(struct symbol *sym,
+ goto out;
+ }
+ init_disassemble_info(&info, s,
+- (fprintf_ftype) fprintf);
++ (fprintf_ftype) fprintf,
++ fprintf_styled);
+
+ info.arch = bfd_get_arch(bfdf);
+ info.mach = bfd_get_mach(bfdf);
+--
+2.17.1
+
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch
new file mode 100644
index 00000000..a7806c22
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch
@@ -0,0 +1,56 @@
+From 5f2779dfa7b8cc7dfd4a1b6586d86e0d193266f3 Mon Sep 17 00:00:00 2001
+From: Arnd Bergmann <arnd@arndb.de>
+Date: Wed, 18 Jan 2023 09:07:01 +0100
+Subject: [PATCH] blk-iocost: avoid 64-bit division in ioc_timer_fn
+
+The behavior of 'enum' types has changed in gcc-13, so now the
+UNBUSY_THR_PCT constant is interpreted as a 64-bit number because
+it is defined as part of the same enum definition as some other
+constants that do not fit within a 32-bit integer. This in turn
+leads to some inefficient code on 32-bit architectures as well
+as a link error:
+
+arm-linux-gnueabi/bin/arm-linux-gnueabi-ld: block/blk-iocost.o: in function `ioc_timer_fn':
+blk-iocost.c:(.text+0x68e8): undefined reference to `__aeabi_uldivmod'
+arm-linux-gnueabi-ld: blk-iocost.c:(.text+0x6908): undefined reference to `__aeabi_uldivmod'
+
+Split the enum definition to keep the 64-bit timing constants in
+a separate enum type from those constants that can clearly fit
+within a smaller type.
+
+Signed-off-by: Arnd Bergmann <arnd@arndb.de>
+Acked-by: Tejun Heo <tj@kernel.org>
+Link: https://lore.kernel.org/r/20230118080706.3303186-1-arnd@kernel.org
+Signed-off-by: Jens Axboe <axboe@kernel.dk>
+---
+ block/blk-iocost.c | 8 +++++---
+ 1 file changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/block/blk-iocost.c b/block/blk-iocost.c
+index 6955605629e4..b691b6bb498f 100644
+--- a/block/blk-iocost.c
++++ b/block/blk-iocost.c
+@@ -258,6 +258,11 @@ enum {
+ VRATE_MIN = VTIME_PER_USEC * VRATE_MIN_PPM / MILLION,
+ VRATE_CLAMP_ADJ_PCT = 4,
+
++ /* switch iff the conditions are met for longer than this */
++ AUTOP_CYCLE_NSEC = 10LLU * NSEC_PER_SEC,
++};
++
++enum {
+ /* if IOs end up waiting for requests, issue less */
+ RQ_WAIT_BUSY_PCT = 5,
+
+@@ -296,9 +301,6 @@ enum {
+ /* don't let cmds which take a very long time pin lagging for too long */
+ MAX_LAGGING_PERIODS = 10,
+
+- /* switch iff the conditions are met for longer than this */
+- AUTOP_CYCLE_NSEC = 10LLU * NSEC_PER_SEC,
+-
+ /*
+ * Count IO size in 4k pages. The 12bit shift helps keeping
+ * size-proportional components of cost calculation in closer
+--
+2.40.1
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch
new file mode 100644
index 00000000..f5d0f476
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch
@@ -0,0 +1,54 @@
+From ff1cc97b1f4c10db224f276d9615b22835b8c424 Mon Sep 17 00:00:00 2001
+From: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
+Date: Tue, 13 Dec 2022 13:08:26 +0100
+Subject: [PATCH] block/blk-iocost (gcc13): keep large values in a new enum
+
+Since gcc13, each member of an enum has the same type as the enum [1]. And
+that is inherited from its members. Provided:
+ VTIME_PER_SEC_SHIFT = 37,
+ VTIME_PER_SEC = 1LLU << VTIME_PER_SEC_SHIFT,
+ ...
+ AUTOP_CYCLE_NSEC = 10LLU * NSEC_PER_SEC,
+the named type is unsigned long.
+
+This generates warnings with gcc-13:
+ block/blk-iocost.c: In function 'ioc_weight_prfill':
+ block/blk-iocost.c:3037:37: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int'
+
+ block/blk-iocost.c: In function 'ioc_weight_show':
+ block/blk-iocost.c:3047:34: error: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int'
+
+So split the anonymous enum with large values to a separate enum, so
+that they don't affect other members.
+
+[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36113
+
+Cc: Martin Liska <mliska@suse.cz>
+Cc: Tejun Heo <tj@kernel.org>
+Cc: Josef Bacik <josef@toxicpanda.com>
+Cc: Jens Axboe <axboe@kernel.dk>
+Cc: cgroups@vger.kernel.org
+Cc: linux-block@vger.kernel.org
+Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
+Link: https://lore.kernel.org/r/20221213120826.17446-1-jirislaby@kernel.org
+Signed-off-by: Jens Axboe <axboe@kernel.dk>
+---
+ block/blk-iocost.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/block/blk-iocost.c b/block/blk-iocost.c
+index d1bdc12deaa7..549ddc9e0c6f 100644
+--- a/block/blk-iocost.c
++++ b/block/blk-iocost.c
+@@ -232,7 +232,9 @@ enum {
+
+ /* 1/64k is granular enough and can easily be handled w/ u32 */
+ WEIGHT_ONE = 1 << 16,
++};
+
++enum {
+ /*
+ * As vtime is used to calculate the cost of each IO, it needs to
+ * be fairly high precision. For example, it should be able to
+--
+2.40.1
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/defconfig
new file mode 100644
index 00000000..a5de2e24
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/defconfig
@@ -0,0 +1 @@
+use-kernel-config=bb.org_defconfig
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
new file mode 100644
index 00000000..144028e5
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
@@ -0,0 +1,35 @@
+SECTION = "kernel"
+SUMMARY = "BeagleBoard.org Linux kernel"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+
+COMPATIBLE_MACHINE = "beagle.*"
+
+inherit kernel
+
+require recipes-kernel/linux/setup-defconfig.inc
+require recipes-kernel/linux/ti-kernel.inc
+
+# BB.org hasn't switched to "vendored" DTB layout by default yet
+KERNEL_DTBVENDORED = "0"
+
+DEPENDS += "gmp-native libmpc-native"
+
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
+
+S = "${WORKDIR}/git"
+
+# 6.1.69 version for 32-bit
+SRCREV:armv7a = "a1f26a19581970f76220c68c438981796ce5b767"
+PV:armv7a = "6.1.69+git"
+BRANCH:armv7a = "v6.1.69-ti-r22"
+
+# 6.1.69 version for 64-bit
+SRCREV:aarch64 = "bc76b5d278271f66a6faeb2d09cb09fc6c57dd3c"
+PV:aarch64 = "6.1.69+git"
+BRANCH:aarch64 = "v6.1.69-ti-arm64-r24"
+
+SRC_URI = " \
+ git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH} \
+ file://defconfig \
+"
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb
new file mode 100644
index 00000000..5c495d46
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb
@@ -0,0 +1,42 @@
+SECTION = "kernel"
+SUMMARY = "Mainline Linux kernel for TI devices"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+
+inherit kernel
+
+require recipes-kernel/linux/ti-kernel.inc
+
+DEPENDS += "gmp-native libmpc-native"
+
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
+ ${EXTRA_DTC_ARGS}"
+
+S = "${WORKDIR}/git"
+
+# 6.6 Mainline version
+SRCREV = "ffc253263a1375a65fa6c9f62a893e9767fbebfa"
+PV = "6.6+git"
+
+# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
+MACHINE_KERNEL_PR:append = "b"
+PR = "${MACHINE_KERNEL_PR}"
+
+KERNEL_GIT_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
+KERNEL_GIT_PROTOCOL = "https"
+KERNEL_GIT_BRANCH = "master"
+SRC_URI += " \
+ ${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${KERNEL_GIT_BRANCH} \
+"
+
+DEFCONFIG_NAME = "multi_v7_defconfig"
+DEFCONFIG_NAME:omapl138 = "davinci_all_defconfig"
+DEFCONFIG_NAME:k3 = "defconfig"
+KERNEL_CONFIG_COMMAND = "oe_runmake -C ${S} O=${B} ${DEFCONFIG_NAME}"
+
+do_shared_workdir:prepend() {
+ cd ${B}
+ echo >> Module.symvers
+}
+
+FILES:${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-next_git.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-next_git.bb
new file mode 100644
index 00000000..f1a14ab1
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-next_git.bb
@@ -0,0 +1,26 @@
+SECTION = "kernel"
+SUMMARY = "Linux-next kernel for TI devices"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+
+inherit kernel
+
+require recipes-kernel/linux/ti-kernel.inc
+include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
+
+DEPENDS += "gmp-native libmpc-native"
+
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
+
+S = "${WORKDIR}/git"
+
+# 6.6.0-rc3+ version
+SRCREV = "6465e260f48790807eef06b583b38ca9789b6072"
+PV = "6.6.0-rc3+git"
+
+SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git;protocol=https;branch=master"
+
+DEFCONFIG_NAME = "multi_v7_defconfig"
+DEFCONFIG_NAME:omapl138 = "davinci_all_defconfig"
+DEFCONFIG_NAME:k3 = "defconfig"
+KERNEL_CONFIG_COMMAND = "oe_runmake -C ${S} O=${B} ${DEFCONFIG_NAME}"
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/defconfig
new file mode 100644
index 00000000..24b53cf7
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/k3/defconfig
new file mode 100644
index 00000000..ef1d3efd
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/k3/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=kernel/configs/ti_arm64_prune.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig
new file mode 100644
index 00000000..099493af
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig
@@ -0,0 +1 @@
+use-kernel-config=davinci_all_defconfig
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/ti33x/defconfig
new file mode 100644
index 00000000..e6a967e1
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/ti33x/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/no_smp.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/ti43x/defconfig
new file mode 100644
index 00000000..e6a967e1
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/ti43x/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/no_smp.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/defconfig
new file mode 100644
index 00000000..24b53cf7
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/k3/defconfig
new file mode 100644
index 00000000..ef1d3efd
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/k3/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=kernel/configs/ti_arm64_prune.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/omapl138/defconfig
new file mode 100644
index 00000000..099493af
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/omapl138/defconfig
@@ -0,0 +1 @@
+use-kernel-config=davinci_all_defconfig
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti33x/defconfig
new file mode 100644
index 00000000..e6a967e1
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti33x/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/no_smp.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti43x/defconfig
new file mode 100644
index 00000000..e6a967e1
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.6/ti43x/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/no_smp.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/defconfig
new file mode 100644
index 00000000..43089dc8
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig
new file mode 100644
index 00000000..47d78664
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=kernel/configs/ti_arm64_prune.config kernel/configs/ti_rt.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/omapl138/defconfig
new file mode 100644
index 00000000..2c829c0b
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/omapl138/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=davinci_all_defconfig
+config-fragment=kernel/configs/ti_rt.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/ti33x/defconfig
new file mode 100644
index 00000000..5de2b229
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/ti33x/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config kernel/configs/no_smp.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/ti43x/defconfig
new file mode 100644
index 00000000..5de2b229
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/ti43x/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config kernel/configs/no_smp.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/defconfig
new file mode 100644
index 00000000..43089dc8
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/k3/defconfig
new file mode 100644
index 00000000..47d78664
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/k3/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=kernel/configs/ti_arm64_prune.config kernel/configs/ti_rt.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/omapl138/defconfig
new file mode 100644
index 00000000..2c829c0b
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/omapl138/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=davinci_all_defconfig
+config-fragment=kernel/configs/ti_rt.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti33x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti33x/defconfig
new file mode 100644
index 00000000..5de2b229
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti33x/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config kernel/configs/no_smp.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti43x/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti43x/defconfig
new file mode 100644
index 00000000..5de2b229
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.6/ti43x/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config kernel/configs/no_smp.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb
new file mode 100644
index 00000000..16f8cca9
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb
@@ -0,0 +1,15 @@
+require linux-ti-staging_6.1.bb
+
+KERNEL_LOCALVERSION:append = "-rt"
+
+# Look in the generic major.minor directory for files
+# This will have priority over generic non-rt path
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
+
+BRANCH = "ti-rt-linux-6.1.y"
+
+SRCREV = "871d5629a0ee4ae82d0caf8d57d4f711d54e1465"
+
+include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
+
+PV = "6.1.80+git${SRCPV}"
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb
new file mode 100644
index 00000000..235a5a90
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb
@@ -0,0 +1,17 @@
+require linux-ti-staging_6.6.bb
+
+DEFAULT_PREFERENCE = "-1"
+
+KERNEL_LOCALVERSION:append = "-rt"
+
+# Look in the generic major.minor directory for files
+# This will have priority over generic non-rt path
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
+
+BRANCH = "ti-rt-linux-6.6.y"
+
+SRCREV = "280ec6b126cf337d787b398b5717f55599ecb91f"
+
+include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
+
+PV = "6.6.20+git${SRCPV}"
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.1/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.1/defconfig
new file mode 100644
index 00000000..24b53cf7
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.1/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.1/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.1/k3/defconfig
new file mode 100644
index 00000000..ef1d3efd
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.1/k3/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=kernel/configs/ti_arm64_prune.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.1/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.1/omapl138/defconfig
new file mode 100644
index 00000000..099493af
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.1/omapl138/defconfig
@@ -0,0 +1 @@
+use-kernel-config=davinci_all_defconfig
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/defconfig
new file mode 100644
index 00000000..24b53cf7
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/k3/defconfig
new file mode 100644
index 00000000..ef1d3efd
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/k3/defconfig
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=kernel/configs/ti_arm64_prune.config
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/omapl138/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/omapl138/defconfig
new file mode 100644
index 00000000..099493af
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-6.6/omapl138/defconfig
@@ -0,0 +1 @@
+use-kernel-config=davinci_all_defconfig
diff --git a/recipes-kernel/linux/linux-ti-staging-systest_5.4.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.1.bb
index a2404574..9c170e65 100644
--- a/recipes-kernel/linux/linux-ti-staging-systest_5.4.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.1.bb
@@ -1,5 +1,5 @@
-require linux-ti-staging_5.4.bb
+require linux-ti-staging_6.1.bb
# Look in the generic major.minor directory for files
# This will have priority over generic non-rt path
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.4:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.6.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.6.bb
new file mode 100644
index 00000000..21090904
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.6.bb
@@ -0,0 +1,7 @@
+require linux-ti-staging_6.6.bb
+
+DEFAULT_PREFERENCE = "-1"
+
+# Look in the generic major.minor directory for files
+# This will have priority over generic non-rt path
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb
new file mode 100644
index 00000000..3c5272ad
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb
@@ -0,0 +1,42 @@
+SECTION = "kernel"
+SUMMARY = "Linux kernel for TI devices"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+
+inherit ti-secdev
+inherit kernel
+
+require recipes-kernel/linux/setup-defconfig.inc
+require recipes-kernel/linux/ti-kernel.inc
+include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
+include ${@ 'recipes-kernel/linux/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
+
+DEPENDS += "gmp-native libmpc-native"
+
+# Look in the generic major.minor directory for files
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
+
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
+ ${EXTRA_DTC_ARGS}"
+
+S = "${WORKDIR}/git"
+
+BRANCH ?= "ti-linux-6.1.y"
+
+SRCREV ?= "1c154b1fe4c462d8b383515bb388e289816e4b01"
+PV = "6.1.80+git${SRCPV}"
+
+# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
+MACHINE_KERNEL_PR:append = "b"
+PR = "${MACHINE_KERNEL_PR}"
+
+KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
+KERNEL_GIT_PROTOCOL = "https"
+SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
+ file://defconfig"
+
+# Special configuration for remoteproc/rpmsg IPC modules
+module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
+module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
+module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
+KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb
new file mode 100644
index 00000000..c72f8996
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb
@@ -0,0 +1,44 @@
+SECTION = "kernel"
+SUMMARY = "Linux kernel for TI devices"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+
+inherit ti-secdev
+inherit kernel
+
+DEFAULT_PREFERENCE = "-1"
+
+require recipes-kernel/linux/setup-defconfig.inc
+require recipes-kernel/linux/ti-kernel.inc
+include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
+include ${@ 'recipes-kernel/linux/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
+
+DEPENDS += "gmp-native libmpc-native"
+
+# Look in the generic major.minor directory for files
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
+
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
+ ${EXTRA_DTC_ARGS}"
+
+S = "${WORKDIR}/git"
+
+BRANCH ?= "ti-linux-6.6.y"
+
+SRCREV ?= "83b86d0fb4afa43229844c77df29890de5d7b8d1"
+PV = "6.6.20+git${SRCPV}"
+
+# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
+MACHINE_KERNEL_PR:append = "b"
+PR = "${MACHINE_KERNEL_PR}"
+
+KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
+KERNEL_GIT_PROTOCOL = "https"
+SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
+ file://defconfig"
+
+# Special configuration for remoteproc/rpmsg IPC modules
+module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
+module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
+module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
+KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
diff --git a/recipes-kernel/linux/setup-defconfig.inc b/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc
index dcf2adae..8da90c79 100644
--- a/recipes-kernel/linux/setup-defconfig.inc
+++ b/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc
@@ -1,14 +1,4 @@
-# KERNEL_LOCALVERSION can be set to add a tag to the end of the
-# kernel version string. such as the commit id
-def get_git_revision(p):
- import subprocess
-
- try:
- return subprocess.Popen("git rev-parse HEAD 2>/dev/null ", cwd=p, shell=True, stdout=subprocess.PIPE, universal_newlines=True).communicate()[0].rstrip()
- except OSError:
- return None
-
-KERNEL_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
+KERNEL_LOCALVERSION = "-ti"
# Check the defconfig file and see if it points to an in kernel
# defconfig that should be used, or if it is a complete config file
@@ -21,14 +11,16 @@ do_configure() {
# tree config
cp ${WORKDIR}/defconfig ${B}/.config
- echo ${KERNEL_LOCALVERSION} > ${B}/.scmversion
- echo ${KERNEL_LOCALVERSION} > ${S}/.scmversion
+ scm_version=$(printf '%s%s' -g $(git -C ${S} rev-parse --verify HEAD 2>/dev/null | cut -c1-12))
+
+ echo ${scm_version} > ${B}/.scmversion
+ echo ${scm_version} > ${S}/.scmversion
# Zero, when using "tisdk" configs, pass control to defconfig_builder
config=`cat ${B}/.config | grep use-tisdk-config | cut -d= -f2`
if [ -n "$config" ]
then
- ${S}/ti_config_fragments/defconfig_builder.sh -w ${S} -t $config
+ ${DEFCONFIG_BUILDER} -w ${S} -t $config
oe_runmake -C ${S} O=${B} "$config"_defconfig
else
# First, check if pointing to a combined config with config fragments
diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-extras-rt.inc b/meta-ti-bsp/recipes-kernel/linux/ti-extras-rt.inc
new file mode 100644
index 00000000..530a1783
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/ti-extras-rt.inc
@@ -0,0 +1,11 @@
+
+# Use different commit, repo and branch for TI extras build
+# This will have priority over generic rt path
+
+COMPATIBLE_MACHINE = "am62xx|am62pxx"
+
+BRANCH = "ti-rt-linux-6.1.y"
+BRANCH:tie-jailhouse = "ti-rt-linux-6.1.y-jailhouse"
+
+SRCREV = "685e77152461bd6b791500f717bec62d17c1b36d"
+SRCREV:tie-jailhouse = "a74088b40b4d27478a2af5c20cdc0b4ec8ed9470"
diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-extras.inc b/meta-ti-bsp/recipes-kernel/linux/ti-extras.inc
new file mode 100644
index 00000000..0b22aca9
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/ti-extras.inc
@@ -0,0 +1,14 @@
+
+# Use different commit, repo and branch for TI extras build
+# This will have priority over generic rt path
+
+COMPATIBLE_MACHINE = "am62xx|am62pxx"
+
+BRANCH = "ti-linux-6.1.y"
+BRANCH:tie-jailhouse = "ti-linux-6.1.y-jailhouse"
+
+SRCREV = "ec058c3ddc5377c629e988a95ef84826b14a3307"
+SRCREV:tie-jailhouse = "d035e0cc72399f1c087a63c4210d29e79a7a66e4"
+
+KERNEL_GIT_URI = "git://git.ti.com/git/processor-sdk/linux.git"
+
diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel-devicetree-prefix.inc b/meta-ti-bsp/recipes-kernel/linux/ti-kernel-devicetree-prefix.inc
new file mode 100644
index 00000000..04c91004
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel-devicetree-prefix.inc
@@ -0,0 +1,42 @@
+
+def get_dtbs_from_kernel(dts_dir, dts_prefix):
+ import os
+ import glob
+ matches = []
+
+ for prefix in dts_prefix.split():
+ filenames = glob.glob(dts_dir + prefix + '*.dts')
+ filenames += glob.glob(dts_dir + prefix + '*.dtso')
+ for filename in filenames:
+ # Before v6.2 kernels DTB Overlays shared the same name as DTB files
+ # so we need to search the file to find the type
+ with open(filename) as f:
+ file_postfix = '.dtbo' if '/plugin/;' in f.read() else '.dtb'
+ filename = os.path.split(filename)[1]
+ filename = os.path.splitext(filename)[0] + file_postfix
+ filename = os.path.join(os.path.split(prefix)[0], filename)
+ matches.append(filename)
+ return ' '.join(matches)
+
+def get_merge_dtbs_from_kernel(dts_dir, dts_pattern):
+ import os
+ matches = []
+ if dts_dir == "":
+ return ' '
+ for pattern in dts_pattern.split():
+ pattern_dir = os.path.split(pattern)[0]
+ pattern_target = os.path.split(pattern)[1].replace(".","-") + "s"
+ makefile = dts_dir + "/" + pattern_dir + "/Makefile"
+ if os.path.exists(makefile):
+ with open(makefile) as f:
+ if pattern_target in f.read():
+ matches.append(pattern)
+ return ' '.join(matches)
+
+KERNEL_DEVICETREE_DTBMERGE ?= ""
+
+KERNEL_DEVICETREE = " \
+ ${@get_dtbs_from_kernel('${S}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_PREFIX}')} \
+ ${@get_merge_dtbs_from_kernel('${S}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_DTBMERGE}')} \
+"
+
diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
new file mode 100644
index 00000000..dd5578f5
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
@@ -0,0 +1,14 @@
+# Add DTC FLAGS -@ when KERNEL_DTB_OVERLAY_SUPPORT is enabled
+
+def get_extra_dtc_args(d):
+ if d.getVar('KERNEL_DTB_OVERLAY_SUPPORT') == "1":
+ return "DTC_FLAGS=-@"
+ else:
+ return ""
+
+EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}"
+
+# Tell the kernel class to install the DTBs in the same directory structure as
+# the kernel.
+KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
+KERNEL_DTBVENDORED = "1"
diff --git a/meta-ti-bsp/recipes-security/optee/optee-%.bbappend b/meta-ti-bsp/recipes-security/optee/optee-%.bbappend
new file mode 100644
index 00000000..bc590bfd
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-%.bbappend
@@ -0,0 +1 @@
+COMPATIBLE_MACHINE:ti-soc = "ti-soc"
diff --git a/meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc
new file mode 100644
index 00000000..16fbd6c5
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc
@@ -0,0 +1,2 @@
+PV = "4.1.0+git"
+SRCREV = "f7e4ced15d1fefd073bbfc484fe0e1f74afe96c2"
diff --git a/meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend b/meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend
new file mode 100644
index 00000000..f193e78b
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend
@@ -0,0 +1,4 @@
+OPTEE_TI_VERSION = ""
+OPTEE_TI_VERSION:ti-soc = "${BPN}-ti-version.inc"
+
+require ${OPTEE_TI_VERSION}
diff --git a/meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc
new file mode 100644
index 00000000..23cd7580
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc
@@ -0,0 +1,2 @@
+PV = "4.0.0+git"
+SRCREV = "378dc0db2d5dd279f58a3b6cb3f78ffd6b165035"
diff --git a/meta-ti-bsp/recipes-security/optee/optee-examples_%.bbappend b/meta-ti-bsp/recipes-security/optee/optee-examples_%.bbappend
new file mode 100644
index 00000000..f193e78b
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-examples_%.bbappend
@@ -0,0 +1,4 @@
+OPTEE_TI_VERSION = ""
+OPTEE_TI_VERSION:ti-soc = "${BPN}-ti-version.inc"
+
+require ${OPTEE_TI_VERSION}
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-4.0.0/0002ti-core-Define-section-attributes-for-clang.patch b/meta-ti-bsp/recipes-security/optee/optee-os-4.0.0/0002ti-core-Define-section-attributes-for-clang.patch
new file mode 100644
index 00000000..06a8ff60
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-os-4.0.0/0002ti-core-Define-section-attributes-for-clang.patch
@@ -0,0 +1,249 @@
+
+This is a fixup of the patch in meta-arm. The file:
+ core/arch/arm/mm/pgt_cache.c
+was moved to:
+ core/mm/pgt_cache.c
+
+Ryan Eatmon <reatmon@ti.com>
+
+
+From 6f588813a170a671ebf1d6b51cebc7bc761295dc Mon Sep 17 00:00:00 2001
+From: Emekcan Aras <emekcan.aras@arm.com>
+Date: Wed, 21 Dec 2022 10:55:58 +0000
+Subject: [PATCH] core: Define section attributes for clang
+
+Clang's attribute section is not same as gcc, here we need to add flags
+to sections so they can be eventually collected by linker into final
+output segments. Only way to do so with clang is to use
+
+pragma clang section ...
+
+The behavious is described here [1], this allows us to define names bss
+sections. This was not an issue until clang-15 where LLD linker starts
+to detect the section flags before merging them and throws the following
+errors
+
+| ld.lld: error: section type mismatch for .nozi.kdata_page
+| >>> /mnt/b/yoe/master/build/tmp/work/qemuarm64-yoe-linux/optee-os-tadevkit/3.17.0-r0/build/core/arch/arm/kernel/thread.o:(.nozi.kdata_page): SHT_PROGBITS
+| >>> output section .nozi: SHT_NOBITS
+|
+| ld.lld: error: section type mismatch for .nozi.mmu.l2
+| >>> /mnt/b/yoe/master/build/tmp/work/qemuarm64-yoe-linux/optee-os-tadevkit/3.17.0-r0/build/core/arch/arm/mm/core_mmu_lpae.o:(.nozi.mmu.l2): SHT_PROGBITS
+| >>> output section .nozi: SHT_NOBITS
+
+These sections should be carrying SHT_NOBITS but so far it was not
+possible to do so, this patch tries to use clangs pragma to get this
+going and match the functionality with gcc.
+
+[1] https://intel.github.io/llvm-docs/clang/LanguageExtensions.html#specifying-section-names-for-global-objects-pragma-clang-section
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ core/arch/arm/kernel/thread.c | 19 +++++++++++++++--
+ core/arch/arm/mm/core_mmu_lpae.c | 35 +++++++++++++++++++++++++++----
+ core/arch/arm/mm/core_mmu_v7.c | 36 +++++++++++++++++++++++++++++---
+ core/arch/arm/mm/pgt_cache.c | 12 ++++++++++-
+ core/kernel/thread.c | 13 +++++++++++-
+ 5 files changed, 104 insertions(+), 11 deletions(-)
+
+diff --git a/core/arch/arm/kernel/thread.c b/core/arch/arm/kernel/thread.c
+index 4487ef026df9..f3624389611b 100644
+--- a/core/arch/arm/kernel/thread.c
++++ b/core/arch/arm/kernel/thread.c
+@@ -44,15 +44,30 @@ static size_t thread_user_kcode_size __nex_bss;
+ #if defined(CFG_CORE_UNMAP_CORE_AT_EL0) && \
+ defined(CFG_CORE_WORKAROUND_SPECTRE_BP_SEC) && defined(ARM64)
+ long thread_user_kdata_sp_offset __nex_bss;
++#ifdef __clang__
++#ifndef CFG_VIRTUALIZATION
++#pragma clang section bss=".nozi.kdata_page"
++#else
++#pragma clang section bss=".nex_nozi.kdata_page"
++#endif
++#endif
+ static uint8_t thread_user_kdata_page[
+ ROUNDUP(sizeof(struct thread_core_local) * CFG_TEE_CORE_NB_CORE,
+ SMALL_PAGE_SIZE)]
+ __aligned(SMALL_PAGE_SIZE)
++#ifndef __clang__
+ #ifndef CFG_NS_VIRTUALIZATION
+- __section(".nozi.kdata_page");
++ __section(".nozi.kdata_page")
+ #else
+- __section(".nex_nozi.kdata_page");
++ __section(".nex_nozi.kdata_page")
+ #endif
++#endif
++ ;
++#endif
++
++/* reset BSS section to default ( .bss ) */
++#ifdef __clang__
++#pragma clang section bss=""
+ #endif
+
+ #ifdef ARM32
+diff --git a/core/arch/arm/mm/core_mmu_lpae.c b/core/arch/arm/mm/core_mmu_lpae.c
+index 7e79f780ad28..ec4db9dc98c5 100644
+--- a/core/arch/arm/mm/core_mmu_lpae.c
++++ b/core/arch/arm/mm/core_mmu_lpae.c
+@@ -233,19 +233,46 @@ typedef uint16_t l1_idx_t;
+ typedef uint64_t base_xlat_tbls_t[CFG_TEE_CORE_NB_CORE][NUM_BASE_LEVEL_ENTRIES];
+ typedef uint64_t xlat_tbl_t[XLAT_TABLE_ENTRIES];
+
++#ifdef __clang__
++#pragma clang section bss=".nozi.mmu.base_table"
++#endif
+ static base_xlat_tbls_t base_xlation_table[NUM_BASE_TABLES]
+ __aligned(NUM_BASE_LEVEL_ENTRIES * XLAT_ENTRY_SIZE)
+- __section(".nozi.mmu.base_table");
++#ifndef __clang__
++ __section(".nozi.mmu.base_table")
++#endif
++;
++#ifdef __clang__
++#pragma clang section bss=""
++#endif
+
++#ifdef __clang__
++#pragma clang section bss=".nozi.mmu.l2"
++#endif
+ static xlat_tbl_t xlat_tables[MAX_XLAT_TABLES]
+- __aligned(XLAT_TABLE_SIZE) __section(".nozi.mmu.l2");
++ __aligned(XLAT_TABLE_SIZE)
++#ifndef __clang__
++ __section(".nozi.mmu.l2")
++#endif
++;
++#ifdef __clang__
++#pragma clang section bss=""
++#endif
+
+ #define XLAT_TABLES_SIZE (sizeof(xlat_tbl_t) * MAX_XLAT_TABLES)
+
++#ifdef __clang__
++#pragma clang section bss=".nozi.mmu.l2"
++#endif
+ /* MMU L2 table for TAs, one for each thread */
+ static xlat_tbl_t xlat_tables_ul1[CFG_NUM_THREADS]
+- __aligned(XLAT_TABLE_SIZE) __section(".nozi.mmu.l2");
+-
++#ifndef __clang__
++ __aligned(XLAT_TABLE_SIZE) __section(".nozi.mmu.l2")
++#endif
++;
++#ifdef __clang__
++#pragma clang section bss=""
++#endif
+ /*
+ * TAs page table entry inside a level 1 page table.
+ *
+diff --git a/core/arch/arm/mm/core_mmu_v7.c b/core/arch/arm/mm/core_mmu_v7.c
+index 61e703da89c8..1960c08ca688 100644
+--- a/core/arch/arm/mm/core_mmu_v7.c
++++ b/core/arch/arm/mm/core_mmu_v7.c
+@@ -204,16 +204,46 @@ typedef uint32_t l1_xlat_tbl_t[NUM_L1_ENTRIES];
+ typedef uint32_t l2_xlat_tbl_t[NUM_L2_ENTRIES];
+ typedef uint32_t ul1_xlat_tbl_t[NUM_UL1_ENTRIES];
+
++#ifdef __clang__
++#pragma clang section bss=".nozi.mmu.l1"
++#endif
+ static l1_xlat_tbl_t main_mmu_l1_ttb
+- __aligned(L1_ALIGNMENT) __section(".nozi.mmu.l1");
++ __aligned(L1_ALIGNMENT)
++#ifndef __clang__
++ __section(".nozi.mmu.l1")
++#endif
++;
++#ifdef __clang__
++#pragma clang section bss=""
++#endif
+
+ /* L2 MMU tables */
++#ifdef __clang__
++#pragma clang section bss=".nozi.mmu.l2"
++#endif
+ static l2_xlat_tbl_t main_mmu_l2_ttb[MAX_XLAT_TABLES]
+- __aligned(L2_ALIGNMENT) __section(".nozi.mmu.l2");
++ __aligned(L2_ALIGNMENT)
++#ifndef __clang__
++ __section(".nozi.mmu.l2")
++#endif
++;
++#ifdef __clang__
++#pragma clang section bss=""
++#endif
+
+ /* MMU L1 table for TAs, one for each thread */
++#ifdef __clang__
++#pragma clang section bss=".nozi.mmu.ul1"
++#endif
+ static ul1_xlat_tbl_t main_mmu_ul1_ttb[CFG_NUM_THREADS]
+- __aligned(UL1_ALIGNMENT) __section(".nozi.mmu.ul1");
++ __aligned(UL1_ALIGNMENT)
++#ifndef __clang__
++ __section(".nozi.mmu.ul1")
++#endif
++;
++#ifdef __clang__
++#pragma clang section bss=""
++#endif
+
+ struct mmu_partition {
+ l1_xlat_tbl_t *l1_table;
+diff --git a/core/mm/pgt_cache.c b/core/mm/pgt_cache.c
+index 79553c6d2183..b9efdf42780b 100644
+--- a/core/mm/pgt_cache.c
++++ b/core/mm/pgt_cache.c
+@@ -410,8 +410,18 @@ void pgt_init(void)
+ * has a large alignment, while .bss has a small alignment. The current
+ * link script is optimized for small alignment in .bss
+ */
++#ifdef __clang__
++#pragma clang section bss=".nozi.mmu.l2"
++#endif
+ static uint8_t pgt_tables[PGT_CACHE_SIZE][PGT_SIZE]
+- __aligned(PGT_SIZE) __section(".nozi.pgt_cache");
++ __aligned(PGT_SIZE)
++#ifndef __clang__
++ __section(".nozi.pgt_cache")
++#endif
++ ;
++#ifdef __clang__
++#pragma clang section bss=""
++#endif
+ size_t n;
+
+ for (n = 0; n < ARRAY_SIZE(pgt_tables); n++) {
+diff --git a/core/kernel/thread.c b/core/kernel/thread.c
+index 2a1f22dce635..5516b677141a 100644
+--- a/core/kernel/thread.c
++++ b/core/kernel/thread.c
+@@ -39,13 +39,24 @@ static uint32_t end_canary_value = 0xababab00;
+ name[stack_num][sizeof(name[stack_num]) / sizeof(uint32_t) - 1]
+ #endif
+
++#define DO_PRAGMA(x) _Pragma (#x)
++
++#ifdef __clang__
++#define DECLARE_STACK(name, num_stacks, stack_size, linkage) \
++DO_PRAGMA (clang section bss=".nozi_stack." #name) \
++linkage uint32_t name[num_stacks] \
++ [ROUNDUP(stack_size + STACK_CANARY_SIZE + STACK_CHECK_EXTRA, \
++ STACK_ALIGNMENT) / sizeof(uint32_t)] \
++ __attribute__((aligned(STACK_ALIGNMENT))); \
++DO_PRAGMA(clang section bss="")
++#else
+ #define DECLARE_STACK(name, num_stacks, stack_size, linkage) \
+ linkage uint32_t name[num_stacks] \
+ [ROUNDUP(stack_size + STACK_CANARY_SIZE + STACK_CHECK_EXTRA, \
+ STACK_ALIGNMENT) / sizeof(uint32_t)] \
+ __attribute__((section(".nozi_stack." # name), \
+ aligned(STACK_ALIGNMENT)))
+-
++#endif
+ #define GET_STACK(stack) ((vaddr_t)(stack) + STACK_SIZE(stack))
+
+ DECLARE_STACK(stack_tmp, CFG_TEE_CORE_NB_CORE, STACK_TMP_SIZE,
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-tadevkit-ti-overrides.inc b/meta-ti-bsp/recipes-security/optee/optee-os-tadevkit-ti-overrides.inc
new file mode 100644
index 00000000..df46e243
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-os-tadevkit-ti-overrides.inc
@@ -0,0 +1 @@
+EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y"
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_%.bbappend b/meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_%.bbappend
new file mode 100644
index 00000000..980f7a4b
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_%.bbappend
@@ -0,0 +1,9 @@
+OPTEE_TI_VERSION = ""
+OPTEE_TI_VERSION:ti-soc = "optee-os-ti-version.inc"
+
+require ${OPTEE_TI_VERSION}
+
+OPTEE_TI_OVERRIDES = ""
+OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc"
+
+require ${OPTEE_TI_OVERRIDES}
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc b/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc
new file mode 100644
index 00000000..0ea30907
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc
@@ -0,0 +1,78 @@
+# Use TI SECDEV for signing
+inherit ti-secdev
+
+EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y"
+
+EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
+
+EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1"
+EXTRA_OEMAKE:append:am62pxx = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"
+EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1"
+EXTRA_OEMAKE:append:j722s = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"
+
+do_compile:append:k3() {
+ cp ${B}/core/tee-pager_v2.bin ${B}/bl32.bin
+ cp ${B}/core/tee.elf ${B}/bl32.elf
+}
+
+# Signing procedure for legacy HS devices
+optee_sign_legacyhs() {
+ ( cd ${B}/core/; \
+ ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh tee.bin tee.bin.signed; \
+ normfl=`echo ${OPTEEFLAVOR} | tr "_" "-"`
+ mv tee.bin.signed ${B}/$normfl.optee; \
+ )
+
+ if [ "${OPTEEPAGER}" = "y" ]; then
+ oe_runmake -C ${S} clean
+ oe_runmake -C ${S} all CFG_TEE_TA_LOG_LEVEL=0 CFG_WITH_PAGER=y
+ ( cd ${B}/core/; \
+ ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh tee.bin tee.bin.signed; \
+ normfl=`echo ${OPTEEFLAVOR} | tr "_" "-"`
+ mv tee.bin.signed ${B}/$normfl-pager.optee; \
+ )
+ fi
+}
+
+do_compile:append:ti43x() {
+ optee_sign_legacyhs
+}
+
+do_compile:append:dra7xx() {
+ optee_sign_legacyhs
+}
+
+do_install:append() {
+ install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true
+ install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true
+ install -m 644 ${B}/bl32.elf ${D}${nonarch_base_libdir}/firmware/ || true
+
+ # Install embedded TAs
+ mkdir -p ${D}${nonarch_base_libdir}/optee_armtz/
+ install -D -p -m0444 ${B}/ta/*/*.ta ${D}${nonarch_base_libdir}/optee_armtz/
+}
+
+optee_deploy_legacyhs() {
+ cd ${DEPLOYDIR}/
+ for f in optee/*.optee; do
+ ln -sf $f ${DEPLOYDIR}/
+ done
+}
+
+do_deploy:append:ti43x() {
+ optee_deploy_legacyhs
+}
+
+do_deploy:append:dra7xx() {
+ optee_deploy_legacyhs
+}
+
+do_deploy:append:k3() {
+ ln -sf optee/bl32.bin ${DEPLOYDIR}/
+ ln -sf optee/bl32.elf ${DEPLOYDIR}/
+}
+
+FILES:${PN} += "${nonarch_base_libdir}/optee_armtz/"
+
+# This is needed for bl32.elf
+INSANE_SKIP:${PN}:append:k3 = " textrel"
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc
new file mode 100644
index 00000000..9db67567
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc
@@ -0,0 +1,7 @@
+PV = "4.1.0+git"
+SRCREV = "012cdca49db398693903e05c42a254a3a0c0d8f2"
+
+# Fixes for pointing to 4.0.0 before upstream meta-arm
+FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os-4.0.0:"
+SRC_URI:remove = "file://0002-core-Define-section-attributes-for-clang.patch"
+SRC_URI:append = " file://0002ti-core-Define-section-attributes-for-clang.patch"
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend b/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend
new file mode 100644
index 00000000..0cee127f
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend
@@ -0,0 +1,9 @@
+OPTEE_TI_VERSION = ""
+OPTEE_TI_VERSION:ti-soc = "${BPN}-ti-version.inc"
+
+require ${OPTEE_TI_VERSION}
+
+OPTEE_TI_OVERRIDES = ""
+OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc"
+
+require ${OPTEE_TI_OVERRIDES}
diff --git a/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc
new file mode 100644
index 00000000..16b2dfc3
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc
@@ -0,0 +1,6 @@
+PV = "4.1.0+git"
+SRCREV = "2e1e7a9c9d659585566a75fc8802f4758c42bcb2"
+
+# Fixes for pointing to 4.0.0 before upstream meta-arm
+SRC_URI:remove = "file://0001-xtest-regression_1000-remove-unneeded-stat.h-include.patch"
+
diff --git a/meta-ti-bsp/recipes-security/optee/optee-test_%.bbappend b/meta-ti-bsp/recipes-security/optee/optee-test_%.bbappend
new file mode 100644
index 00000000..f193e78b
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-test_%.bbappend
@@ -0,0 +1,4 @@
+OPTEE_TI_VERSION = ""
+OPTEE_TI_VERSION:ti-soc = "${BPN}-ti-version.inc"
+
+require ${OPTEE_TI_VERSION}
diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-common.inc b/meta-ti-bsp/recipes-ti/ipc/ti-ipc-common.inc
new file mode 100644
index 00000000..ec1e71be
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc-common.inc
@@ -0,0 +1,12 @@
+PV = "3.51.00.00"
+INC_PR = "r0"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST:ti-soc = "(.*)"
+
+PLATFORM = "UNKNOWN"
+PLATFORM:dra7xx = "DRA7XX"
+PLATFORM:omapl138 = "OMAPL138"
+
+ALT_PLATFORM:am57xx = "AM572X AM571X"
diff --git a/recipes-ti/ipc/ti-ipc.inc b/meta-ti-bsp/recipes-ti/ipc/ti-ipc.inc
index 3b0115eb..44be2466 100644
--- a/recipes-ti/ipc/ti-ipc.inc
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc.inc
@@ -1,11 +1,11 @@
DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)"
HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
-LICENSE = "BSD"
+LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255"
-TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
-TI_IPC_GIT_PROTOCOL = "git"
+TI_IPC_GIT_URI = "git://git.ti.com/git/ipc/ipcdev.git"
+TI_IPC_GIT_PROTOCOL = "https"
TI_IPC_GIT_BRANCH = "master"
#Corresponds to 3.51.00.00A
@@ -15,4 +15,6 @@ BRANCH = "${TI_IPC_GIT_BRANCH}"
SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"
SRCREV = "${TI_IPC_SRCREV}"
+CFLAGS += "-fcommon"
+
S = "${WORKDIR}/git"
diff --git a/recipes-ti/ipc/ti-ipc/0001-Add-kernel-build-dir.patch b/meta-ti-bsp/recipes-ti/ipc/ti-ipc/0001-Add-kernel-build-dir.patch
index 71d5b2be..cb178ee6 100644
--- a/recipes-ti/ipc/ti-ipc/0001-Add-kernel-build-dir.patch
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc/0001-Add-kernel-build-dir.patch
@@ -7,6 +7,8 @@ We build kernel outside of the source directory and the generated version.h
file ends up being in a separate directory from the rest of kernel headers.
Use another variable to point to the kernel build artifacts.
+Upstream-Status: Inappropriate [OE-specific]
+
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc/0001-MmRpc-Stop-looking-for-rpmsg_rpc.h-in-the-kernel.patch b/meta-ti-bsp/recipes-ti/ipc/ti-ipc/0001-MmRpc-Stop-looking-for-rpmsg_rpc.h-in-the-kernel.patch
new file mode 100644
index 00000000..522ad5e4
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc/0001-MmRpc-Stop-looking-for-rpmsg_rpc.h-in-the-kernel.patch
@@ -0,0 +1,34 @@
+From 66ca0e732c2e287814d4fc5082b818554ee42398 Mon Sep 17 00:00:00 2001
+From: Ryan Eatmon <reatmon@ti.com>
+Date: Fri, 28 Apr 2023 14:30:59 -0500
+Subject: [PATCH] MmRpc: Stop looking for rpmsg_rpc.h in the kernel
+
+Stop looking for the rpmsg_rpc.h in the kernel. While we are doing the
+LTS migration for kirkstone, this file is not going to be in the kernel
+for a bit. This patch works in conjunction with a recipe change that
+downloads the header and adds a -I to the CFLAGS to pick it up. This
+will be removed once the 6.1 kernel has been updated.
+
+Signed-off-by: Ryan Eatmon <reatmon@ti.com>
+
+Upstream-Status: Inappropriate [other]
+
+---
+ packages/ti/ipc/mm/MmRpc.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/packages/ti/ipc/mm/MmRpc.c b/packages/ti/ipc/mm/MmRpc.c
+index 2df7420..10f496b 100644
+--- a/packages/ti/ipc/mm/MmRpc.c
++++ b/packages/ti/ipc/mm/MmRpc.c
+@@ -64,7 +64,7 @@
+ #define linux_include(kd,m) <kd/include/uapi/linux/m.h>
+ #endif
+
+-#include linux_include(KERNEL_INSTALL_DIR,rpmsg_rpc)
++#include "linux/rpmsg_rpc.h"
+
+ #ifdef _linux_
+ #define linux _linux
+--
+2.17.1
diff --git a/recipes-ti/ipc/ti-ipc/omap_remoteproc.conf b/meta-ti-bsp/recipes-ti/ipc/ti-ipc/omap_remoteproc.conf
index 6b5034cd..6b5034cd 100644
--- a/recipes-ti/ipc/ti-ipc/omap_remoteproc.conf
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc/omap_remoteproc.conf
diff --git a/recipes-ti/ipc/ti-ipc/tiipclad-daemon.service b/meta-ti-bsp/recipes-ti/ipc/ti-ipc/tiipclad-daemon.service
index ea26845e..ea26845e 100644
--- a/recipes-ti/ipc/ti-ipc/tiipclad-daemon.service
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc/tiipclad-daemon.service
diff --git a/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh b/meta-ti-bsp/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh
index 9ebfa35a..9ebfa35a 100644
--- a/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh
diff --git a/recipes-ti/ipc/ti-ipc_git.bb b/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb
index 2ebd03fd..e2db6efd 100644
--- a/recipes-ti/ipc/ti-ipc_git.bb
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb
@@ -8,28 +8,28 @@ PR = "${INC_PR}.2"
DEPENDS += "virtual/kernel"
+SRC_URI:append = " https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/plain/include/uapi/linux/rpmsg_rpc.h?h=ti-linux-5.10.y;name=rpmsg_rpc;subdir=linux;downloadfilename=rpmsg_rpc.h"
+SRC_URI[rpmsg_rpc.sha256sum] = "cd237f40a37520a1f2df19fbfeefd00c0a5ad68efeaba9ba0fba60ca16ea09be"
+
SRC_URI += "file://tiipclad-daemon.sh \
file://omap_remoteproc.conf \
file://tiipclad-daemon.service \
file://0001-Add-kernel-build-dir.patch \
+ file://0001-MmRpc-Stop-looking-for-rpmsg_rpc.h-in-the-kernel.patch \
"
+CFLAGS += "-I${WORKDIR}"
+
DAEMON = "UNKNOWN"
-DAEMON_omap5-evm = "lad_omap54xx_smp"
-DAEMON_dra7xx = "lad_dra7xx"
-DAEMON_k2hk = "lad_tci6638"
-DAEMON_k2l = "lad_tci6630"
-DAEMON_k2e = "lad_66ak2e"
-DAEMON_k2g = "lad_66ak2g"
-DAEMON_omapl138 = "lad_omapl138"
-DAEMON_k3 = "lad_am65xx"
+DAEMON:dra7xx = "lad_dra7xx"
+DAEMON:omapl138 = "lad_omapl138"
inherit autotools-brokensep pkgconfig update-rc.d systemd
INITSCRIPT_NAME = "tiipclad-daemon.sh"
INITSCRIPT_PARAMS = "defaults 10"
-SYSTEMD_SERVICE_${PN} = "tiipclad-daemon.service"
+SYSTEMD_SERVICE:${PN} = "tiipclad-daemon.service"
EXTRA_OECONF += "PLATFORM=${PLATFORM} KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} KERNEL_BUILD_DIR=${STAGING_KERNEL_BUILDDIR}"
@@ -40,7 +40,7 @@ do_configure() {
oe_runconf
}
-do_install_append() {
+do_install:append() {
install -d ${D}${sysconfdir}/init.d/
# Modify the startup scripts to point to the right
@@ -54,15 +54,15 @@ do_install_append() {
install -c -m 755 ${WORKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
}
-do_install_append_dra7xx() {
+do_install:append:dra7xx() {
install -d ${D}${sysconfdir}/modprobe.d/
install -c -m 644 ${WORKDIR}/omap_remoteproc.conf ${D}${sysconfdir}/modprobe.d/
}
PACKAGES =+ "${PN}-test"
-RDEPENDS_${PN}-test += "${PN}"
+RDEPENDS:${PN}-test += "${PN}"
-FILES_${PN}-test = " \
+FILES:${PN}-test = " \
${bindir}/NameServerApp \
${bindir}/MessageQApp \
${bindir}/MessageQMulti \
diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char-examples/0001-examples-Remove-use-of-includedir-and-libdir.patch b/meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char-examples/0001-examples-Remove-use-of-includedir-and-libdir.patch
new file mode 100644
index 00000000..71fca1b0
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char-examples/0001-examples-Remove-use-of-includedir-and-libdir.patch
@@ -0,0 +1,38 @@
+From 1a26cb577ba54dd9214eeb94fed0ce3a0f4603b6 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sat, 24 Oct 2020 23:46:39 -0700
+Subject: [PATCH] examples: Remove use of includedir and libdir
+
+These point to standard include and library paths which already are used
+from sysroot relative paths secondly, they use absolute paths which
+means we are asking to add -I/usr/include which might be ok in a native
+build but not in cross build. This helps mitigate QA errors found with
+OE build system since it finds it adding host include and library search
+paths to linker/compiler commandline
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ examples/Makefile.am | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/examples/Makefile.am b/examples/Makefile.am
+index 5a9bedb..d547e41 100644
+--- a/examples/Makefile.am
++++ b/examples/Makefile.am
+@@ -1,6 +1,4 @@
+-INCLUDE = -I${includedir}
+-
+-AM_CFLAGS = -Wall -g -O2 $(INCLUDE)
++AM_CFLAGS = -Wall -g -O2
+
+ bin_PROGRAMS = rpmsg_char_simple
+
+@@ -8,4 +6,3 @@ bin_PROGRAMS = rpmsg_char_simple
+ rpmsg_char_simple_SOURCES = rpmsg_char_simple.c
+ rpmsg_char_simple_CPPFLAGS = $(AM_CFLAGS)
+ rpmsg_char_simple_LDADD = -lpthread -lti_rpmsg_char
+-rpmsg_char_simple_LDFLAGS = -L${libdir}
+--
+2.29.1
+
diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char-examples_git.bb b/meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char-examples_git.bb
new file mode 100644
index 00000000..cbe4d7fd
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char-examples_git.bb
@@ -0,0 +1,13 @@
+SUMMARY = "TI RPMsg Char Sample Applications and Tests"
+
+require ti-rpmsg-char.inc
+
+SRC_URI += "file://0001-examples-Remove-use-of-includedir-and-libdir.patch"
+
+DEPENDS = "ti-rpmsg-char"
+
+inherit autotools pkgconfig
+
+EXTRA_OEMAKE = "-C ${B}/examples"
+
+PR = "r0"
diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char.inc b/meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char.inc
new file mode 100644
index 00000000..4710be09
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char.inc
@@ -0,0 +1,18 @@
+SUMMARY = "TI RPMsg Char Utility Library"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://${S}/src/rpmsg_char.c;beginline=1;endline=31;md5=71987db43a2159cff5ea00505c6fce58"
+
+PROTOCOL = "https"
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/git/rpmsg/ti-rpmsg-char.git;protocol=${PROTOCOL};branch=${BRANCH};"
+
+# 0.6.6 release
+SRCREV = "55a6f4032246631a309f8608af5e822024664b59"
+
+PV = "0.6.6+git"
+
+S = "${WORKDIR}/git"
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST:ti-soc = "(.*)"
diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char_git.bb b/meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char_git.bb
new file mode 100644
index 00000000..63711a3b
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-rpmsg-char_git.bb
@@ -0,0 +1,7 @@
+SUMMARY = "TI RPMsg Char Utility Library"
+
+require ti-rpmsg-char.inc
+
+inherit autotools pkgconfig
+
+PR = "r0"
diff --git a/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb b/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb
new file mode 100644
index 00000000..e3267a23
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb
@@ -0,0 +1,39 @@
+DESCRIPTION = "Security development tools for High-Security(HS) TI K3 processors."
+HOMEPAGE = "https://git.ti.com/cgit/security-development-tools/core-secdev-k3"
+SECTION = "devel"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://manifest/k3-secdev-0.2-manifest.html;md5=f632a78870cc64550078d7b3cbac0892"
+
+# set a default install location
+TI_K3_SECDEV_INSTALL_DIR_RECIPE = "${datadir}/ti/ti-k3-secdev"
+
+# Native host tool only
+COMPATIBLE_MACHINE = "null"
+COMPATIBLE_MACHINE:class-native = "(.*)"
+COMPATIBLE_MACHINE:class-nativesdk = "(.*)"
+
+GIT_URI = "git://git.ti.com/git/security-development-tools/core-secdev-k3.git"
+GIT_PROTOCOL = "https"
+GIT_BRANCH = "master"
+GIT_SRCREV = "ed6951fd3877c6cac7f1237311f7278ac21634f3"
+
+SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${GIT_BRANCH}"
+SRCREV = "${GIT_SRCREV}"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+ CP_ARGS="-Prf --preserve=mode,links,timestamps --no-preserve=ownership"
+ install -d ${D}${TI_K3_SECDEV_INSTALL_DIR_RECIPE}
+ cp ${CP_ARGS} ${S}/* ${D}${TI_K3_SECDEV_INSTALL_DIR_RECIPE}
+}
+
+FILES:${PN} += "${TI_K3_SECDEV_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/ti-rtos-bin/files/empty b/meta-ti-bsp/recipes-ti/ti-rtos-bin/files/empty
new file mode 100644
index 00000000..c6cac692
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/ti-rtos-bin/files/empty
@@ -0,0 +1 @@
+empty
diff --git a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
new file mode 100644
index 00000000..7bf5030a
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
@@ -0,0 +1,394 @@
+SUMMARY = "TI Echo Test prebuilt binary firmware images"
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://${THISDIR}/../../licenses/TI-TFL;md5=a1b59cb7ba626b9dbbcbf00f3fbc438a"
+
+COMPATIBLE_MACHINE = "k3"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+INHIBIT_DEFAULT_DEPS = "1"
+
+inherit update-alternatives
+
+PLAT_SFX = ""
+PLAT_SFX:j721e = "j721e"
+PLAT_SFX:j7200 = "j7200"
+PLAT_SFX:j721s2 = "j721s2"
+PLAT_SFX:j784s4 = "j784s4"
+PLAT_SFX:j722s = "j722s"
+PLAT_SFX:am65xx = "am65xx"
+PLAT_SFX:am64xx = "am64xx"
+PLAT_SFX:am62xx = "am62xx"
+PLAT_SFX:am62axx = "am62axx"
+PLAT_SFX:am62pxx = "am62pxx"
+
+FILESEXTRAPATHS:prepend := "${METATIBASE}/recipes-bsp/ti-sci-fw/files/:"
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+PV = "${CORESDK_RTOS_VERSION}"
+PR = "${INC_PR}.1"
+
+# Secure Build
+inherit ti-secdev
+
+IPC_FW_DIR = "ti-ipc/${PLAT_SFX}"
+
+INSTALL_IPC_FW_DIR = "${nonarch_base_libdir}/firmware/${IPC_FW_DIR}"
+
+MCU_1_0_FW = "ipc_echo_test_mcu1_0_release_strip.xer5f"
+MCU_1_1_FW = "ipc_echo_test_mcu1_1_release_strip.xer5f"
+MCU_2_0_FW = "ipc_echo_test_mcu2_0_release_strip.xer5f"
+MCU_2_1_FW = "ipc_echo_test_mcu2_1_release_strip.xer5f"
+MCU_3_0_FW = "ipc_echo_test_mcu3_0_release_strip.xer5f"
+MCU_3_1_FW = "ipc_echo_test_mcu3_1_release_strip.xer5f"
+MCU_4_0_FW = "ipc_echo_test_mcu4_0_release_strip.xer5f"
+MCU_4_1_FW = "ipc_echo_test_mcu4_1_release_strip.xer5f"
+C66_1_FW = "ipc_echo_test_c66xdsp_1_release_strip.xe66"
+C66_2_FW = "ipc_echo_test_c66xdsp_2_release_strip.xe66"
+C7X_1_FW = "ipc_echo_test_c7x_1_release_strip.xe71"
+C7X_2_FW = "ipc_echo_test_c7x_2_release_strip.xe71"
+C7X_3_FW = "ipc_echo_test_c7x_3_release_strip.xe71"
+C7X_4_FW = "ipc_echo_test_c7x_4_release_strip.xe71"
+
+IPC_FW_LIST = ""
+IPC_FW_LIST:am65xx = "${MCU_1_0_FW} ${MCU_1_1_FW}"
+IPC_FW_LIST:am64xx = "${MCU_1_0_FW} ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW}"
+IPC_FW_LIST:am62xx = " ${MCU_2_0_FW}"
+IPC_FW_LIST:am62pxx = " ${MCU_2_0_FW}"
+IPC_FW_LIST:am62axx = " ${MCU_2_0_FW} ${C7X_1_FW}"
+IPC_FW_LIST:j721e = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C66_1_FW} ${C66_2_FW} ${C7X_1_FW}"
+IPC_FW_LIST:j7200 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW}"
+IPC_FW_LIST:j721s2 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C7X_1_FW} ${C7X_2_FW}"
+IPC_FW_LIST:j784s4 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${MCU_4_0_FW} ${MCU_4_1_FW} ${C7X_1_FW} ${C7X_2_FW} ${C7X_3_FW} ${C7X_4_FW}"
+IPC_FW_LIST:j722s = " ${MCU_2_0_FW} ${MCU_3_0_FW} ${C7X_1_FW} ${C7X_2_FW}"
+
+# Update the am64xx ipc binaries to be consistent with other platforms
+do_install:prepend:am64xx() {
+ ( cd ${S}/${IPC_FW_DIR}; \
+ ln -sf am64-main-r5f0_0-fw ${MCU_1_0_FW}; \
+ ln -sf am64-main-r5f0_1-fw ${MCU_1_1_FW}; \
+ ln -sf am64-main-r5f1_0-fw ${MCU_2_0_FW}; \
+ ln -sf am64-main-r5f1_1-fw ${MCU_2_1_FW}; \
+ ln -sf am64-mcu-m4f0_0-fw ${MCU_3_0_FW}; \
+ )
+}
+
+# Update the am62xx ipc binaries to be consistent with other platforms
+do_install:prepend:am62xx() {
+ ( cd ${S}/${IPC_FW_DIR}; \
+ ln -sf am62-mcu-m4f0_0-fw ${MCU_2_0_FW}; \
+ )
+}
+
+# Update the am62pxx ipc binaries to be consistent with other platforms
+do_install:prepend:am62pxx() {
+ ( cd ${S}/${IPC_FW_DIR}; \
+ ln -sf am62p-mcu-r5f0_0-fw ${MCU_2_0_FW}; \
+ )
+}
+
+# Update the am62axx ipc binaries to be consistent with other platforms
+do_install:prepend:am62axx() {
+ ( cd ${S}/${IPC_FW_DIR}; \
+ ln -sf am62a-mcu-r5f0_0-fw ${MCU_2_0_FW}; \
+ )
+}
+
+do_install() {
+ # IPC Firmware
+ for FW_NAME in ${IPC_FW_LIST}
+ do
+ ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${S}/${IPC_FW_DIR}/${FW_NAME} ${S}/${IPC_FW_DIR}/${FW_NAME}.signed
+ done
+
+ # IPC Firmware
+ install -d ${D}${INSTALL_IPC_FW_DIR}
+ for FW_NAME in ${IPC_FW_LIST}
+ do
+ install -m 0644 ${S}/${IPC_FW_DIR}/${FW_NAME} ${D}${INSTALL_IPC_FW_DIR}
+ install -m 0644 ${S}/${IPC_FW_DIR}/${FW_NAME}.signed ${D}${INSTALL_IPC_FW_DIR}
+ done
+}
+
+# Set up names for the firmwares
+ALTERNATIVE:${PN}:am65xx = "\
+ am65x-mcu-r5f0_0-fw am65x-mcu-r5f0_0-fw-sec \
+ am65x-mcu-r5f0_1-fw am65x-mcu-r5f0_1-fw-sec \
+ "
+
+ALTERNATIVE:${PN}:am64xx = "\
+ am64-main-r5f0_0-fw am64-main-r5f0_0-fw-sec \
+ am64-main-r5f0_1-fw am64-main-r5f0_1-fw-sec \
+ am64-main-r5f1_0-fw am64-main-r5f1_0-fw-sec \
+ am64-main-r5f1_1-fw am64-main-r5f1_1-fw-sec \
+ am64-mcu-m4f0_0-fw am64-mcu-m4f0_0-fw-sec \
+ "
+
+ALTERNATIVE:${PN}:am62xx = "\
+ am62-mcu-m4f0_0-fw am62-mcu-m4f0_0-fw-sec \
+ am62-main-r5f0_0-fw am62-main-r5f0_0-fw-sec \
+ "
+
+ALTERNATIVE:${PN}:am62pxx = "\
+ am62p-mcu-r5f0_0-fw am62p-mcu-r5f0_0-fw-sec \
+ "
+
+ALTERNATIVE:${PN}:am62axx = "\
+ am62a-mcu-r5f0_0-fw am62a-mcu-r5f0_0-fw-sec \
+ am62a-c71_0-fw am62a-c71_0-fw-sec \
+ "
+
+ALTERNATIVE:${PN}:j721e = "\
+ j7-mcu-r5f0_1-fw j7-mcu-r5f0_1-fw-sec \
+ j7-main-r5f0_0-fw j7-main-r5f0_0-fw-sec \
+ j7-main-r5f0_1-fw j7-main-r5f0_1-fw-sec \
+ j7-main-r5f1_0-fw j7-main-r5f1_0-fw-sec \
+ j7-main-r5f1_1-fw j7-main-r5f1_1-fw-sec \
+ j7-c66_0-fw j7-c66_0-fw-sec \
+ j7-c66_1-fw j7-c66_1-fw-sec \
+ j7-c71_0-fw j7-c71_0-fw-sec \
+ "
+
+ALTERNATIVE:${PN}:j7200 = "\
+ j7200-mcu-r5f0_1-fw j7200-mcu-r5f0_1-fw-sec \
+ j7200-main-r5f0_0-fw j7200-main-r5f0_0-fw-sec \
+ j7200-main-r5f0_1-fw j7200-main-r5f0_1-fw-sec \
+ "
+
+ALTERNATIVE:${PN}:j721s2 = "\
+ j721s2-mcu-r5f0_1-fw j721s2-mcu-r5f0_1-fw-sec \
+ j721s2-main-r5f0_0-fw j721s2-main-r5f0_0-fw-sec \
+ j721s2-main-r5f0_1-fw j721s2-main-r5f0_1-fw-sec \
+ j721s2-main-r5f1_0-fw j721s2-main-r5f1_0-fw-sec \
+ j721s2-main-r5f1_1-fw j721s2-main-r5f1_1-fw-sec \
+ j721s2-c71_0-fw j721s2-c71_0-fw-sec \
+ j721s2-c71_1-fw j721s2-c71_1-fw-sec \
+ "
+
+ALTERNATIVE:${PN}:j784s4 = "\
+ j784s4-mcu-r5f0_1-fw j784s4-mcu-r5f0_1-fw-sec \
+ j784s4-main-r5f0_0-fw j784s4-main-r5f0_0-fw-sec \
+ j784s4-main-r5f0_1-fw j784s4-main-r5f0_1-fw-sec \
+ j784s4-main-r5f1_0-fw j784s4-main-r5f1_0-fw-sec \
+ j784s4-main-r5f1_1-fw j784s4-main-r5f1_1-fw-sec \
+ j784s4-main-r5f2_0-fw j784s4-main-r5f2_0-fw-sec \
+ j784s4-main-r5f2_1-fw j784s4-main-r5f2_1-fw-sec \
+ j784s4-c71_0-fw j784s4-c71_0-fw-sec \
+ j784s4-c71_1-fw j784s4-c71_1-fw-sec \
+ j784s4-c71_2-fw j784s4-c71_2-fw-sec \
+ j784s4-c71_3-fw j784s4-c71_3-fw-sec \
+ "
+
+ALTERNATIVE:${PN}:j722s = "\
+ j722s-mcu-r5f0_0-fw j722s-mcu-r5f0_0-fw-sec \
+ j722s-main-r5f0_0-fw j722s-main-r5f0_0-fw-sec \
+ j722s-c71_0-fw j722s-c71_0-fw-sec \
+ j722s-c71_1-fw j722s-c71_1-fw-sec \
+ "
+
+# Set up link names for the firmwares
+
+ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am65x-mcu-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/am65x-mcu-r5f0_0-fw-sec"
+ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/am65x-mcu-r5f0_1-fw"
+ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/am65x-mcu-r5f0_1-fw-sec"
+
+ALTERNATIVE_LINK_NAME[am64-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am64-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[am64-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/am64-main-r5f0_0-fw-sec"
+ALTERNATIVE_LINK_NAME[am64-main-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/am64-main-r5f0_1-fw"
+ALTERNATIVE_LINK_NAME[am64-main-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/am64-main-r5f0_1-fw-sec"
+ALTERNATIVE_LINK_NAME[am64-main-r5f1_0-fw] = "${nonarch_base_libdir}/firmware/am64-main-r5f1_0-fw"
+ALTERNATIVE_LINK_NAME[am64-main-r5f1_0-fw-sec] = "${nonarch_base_libdir}/firmware/am64-main-r5f1_0-fw-sec"
+ALTERNATIVE_LINK_NAME[am64-main-r5f1_1-fw] = "${nonarch_base_libdir}/firmware/am64-main-r5f1_1-fw"
+ALTERNATIVE_LINK_NAME[am64-main-r5f1_1-fw-sec] = "${nonarch_base_libdir}/firmware/am64-main-r5f1_1-fw-sec"
+ALTERNATIVE_LINK_NAME[am64-mcu-m4f0_0-fw] = "${nonarch_base_libdir}/firmware/am64-mcu-m4f0_0-fw"
+ALTERNATIVE_LINK_NAME[am64-mcu-m4f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/am64-mcu-m4f0_0-fw-sec"
+
+ALTERNATIVE_LINK_NAME[am62-mcu-m4f0_0-fw] = "${nonarch_base_libdir}/firmware/am62-mcu-m4f0_0-fw"
+ALTERNATIVE_LINK_NAME[am62-mcu-m4f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62-mcu-m4f0_0-fw-sec"
+ALTERNATIVE_LINK_NAME[am62-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[am62-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62-main-r5f0_0-fw-sec"
+
+ALTERNATIVE_LINK_NAME[am62p-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62p-mcu-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[am62p-mcu-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62p-mcu-r5f0_0-fw-sec"
+
+ALTERNATIVE_LINK_NAME[am62a-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62a-mcu-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[am62a-mcu-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62a-mcu-r5f0_0-fw-sec"
+ALTERNATIVE_LINK_NAME[am62a-c71_0-fw] = "${nonarch_base_libdir}/firmware/am62a-c71_0-fw"
+ALTERNATIVE_LINK_NAME[am62a-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62a-c71_0-fw-sec"
+
+ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j7-mcu-r5f0_1-fw"
+ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j7-mcu-r5f0_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j7-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j7-main-r5f0_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j7-main-r5f0_1-fw"
+ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j7-main-r5f0_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j7-main-r5f1_0-fw] = "${nonarch_base_libdir}/firmware/j7-main-r5f1_0-fw"
+ALTERNATIVE_LINK_NAME[j7-main-r5f1_0-fw-sec] = "${nonarch_base_libdir}/firmware/j7-main-r5f1_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j7-main-r5f1_1-fw] = "${nonarch_base_libdir}/firmware/j7-main-r5f1_1-fw"
+ALTERNATIVE_LINK_NAME[j7-main-r5f1_1-fw-sec] = "${nonarch_base_libdir}/firmware/j7-main-r5f1_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j7-c66_0-fw] = "${nonarch_base_libdir}/firmware/j7-c66_0-fw"
+ALTERNATIVE_LINK_NAME[j7-c66_0-fw-sec] = "${nonarch_base_libdir}/firmware/j7-c66_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j7-c66_1-fw] = "${nonarch_base_libdir}/firmware/j7-c66_1-fw"
+ALTERNATIVE_LINK_NAME[j7-c66_1-fw-sec] = "${nonarch_base_libdir}/firmware/j7-c66_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j7-c71_0-fw] = "${nonarch_base_libdir}/firmware/j7-c71_0-fw"
+ALTERNATIVE_LINK_NAME[j7-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/j7-c71_0-fw-sec"
+
+ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j7200-mcu-r5f0_1-fw"
+ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j7200-mcu-r5f0_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j7200-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j7200-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j7200-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j7200-main-r5f0_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j7200-main-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j7200-main-r5f0_1-fw"
+ALTERNATIVE_LINK_NAME[j7200-main-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j7200-main-r5f0_1-fw-sec"
+
+ALTERNATIVE_LINK_NAME[j721s2-mcu-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j721s2-mcu-r5f0_1-fw"
+ALTERNATIVE_LINK_NAME[j721s2-mcu-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j721s2-mcu-r5f0_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j721s2-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j721s2-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j721s2-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j721s2-main-r5f0_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j721s2-main-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j721s2-main-r5f0_1-fw"
+ALTERNATIVE_LINK_NAME[j721s2-main-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j721s2-main-r5f0_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j721s2-main-r5f1_0-fw] = "${nonarch_base_libdir}/firmware/j721s2-main-r5f1_0-fw"
+ALTERNATIVE_LINK_NAME[j721s2-main-r5f1_0-fw-sec] = "${nonarch_base_libdir}/firmware/j721s2-main-r5f1_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j721s2-main-r5f1_1-fw] = "${nonarch_base_libdir}/firmware/j721s2-main-r5f1_1-fw"
+ALTERNATIVE_LINK_NAME[j721s2-main-r5f1_1-fw-sec] = "${nonarch_base_libdir}/firmware/j721s2-main-r5f1_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j721s2-c71_0-fw] = "${nonarch_base_libdir}/firmware/j721s2-c71_0-fw"
+ALTERNATIVE_LINK_NAME[j721s2-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/j721s2-c71_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j721s2-c71_1-fw] = "${nonarch_base_libdir}/firmware/j721s2-c71_1-fw"
+ALTERNATIVE_LINK_NAME[j721s2-c71_1-fw-sec] = "${nonarch_base_libdir}/firmware/j721s2-c71_1-fw-sec"
+
+ALTERNATIVE_LINK_NAME[j784s4-mcu-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j784s4-mcu-r5f0_1-fw"
+ALTERNATIVE_LINK_NAME[j784s4-mcu-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-mcu-r5f0_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f0_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f0_1-fw"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f0_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f1_0-fw] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f1_0-fw"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f1_0-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f1_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f1_1-fw] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f1_1-fw"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f1_1-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f1_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f2_0-fw] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f2_0-fw"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f2_0-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f2_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f2_1-fw] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f2_1-fw"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f2_1-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f2_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j784s4-c71_0-fw] = "${nonarch_base_libdir}/firmware/j784s4-c71_0-fw"
+ALTERNATIVE_LINK_NAME[j784s4-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-c71_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j784s4-c71_1-fw] = "${nonarch_base_libdir}/firmware/j784s4-c71_1-fw"
+ALTERNATIVE_LINK_NAME[j784s4-c71_1-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-c71_1-fw-sec"
+ALTERNATIVE_LINK_NAME[j784s4-c71_2-fw] = "${nonarch_base_libdir}/firmware/j784s4-c71_2-fw"
+ALTERNATIVE_LINK_NAME[j784s4-c71_2-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-c71_2-fw-sec"
+ALTERNATIVE_LINK_NAME[j784s4-c71_3-fw] = "${nonarch_base_libdir}/firmware/j784s4-c71_3-fw"
+ALTERNATIVE_LINK_NAME[j784s4-c71_3-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-c71_3-fw-sec"
+
+ALTERNATIVE_LINK_NAME[j722s-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j722s-mcu-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j722s-mcu-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j722s-mcu-r5f0_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j722s-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j722s-main-r5f0_0-fw"
+ALTERNATIVE_LINK_NAME[j722s-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j722s-main-r5f0_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j722s-c71_0-fw] = "${nonarch_base_libdir}/firmware/j722s-c71_0-fw"
+ALTERNATIVE_LINK_NAME[j722s-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/j722s-c71_0-fw-sec"
+ALTERNATIVE_LINK_NAME[j722s-c71_1-fw] = "${nonarch_base_libdir}/firmware/j722s-c71_1-fw"
+ALTERNATIVE_LINK_NAME[j722s-c71_1-fw-sec] = "${nonarch_base_libdir}/firmware/j722s-c71_1-fw-sec"
+
+# Create the firmware alternatives
+
+ALTERNATIVE_TARGET[am65x-mcu-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_0_FW}"
+ALTERNATIVE_TARGET[am65x-mcu-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_1_0_FW}.signed"
+ALTERNATIVE_TARGET[am65x-mcu-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}"
+ALTERNATIVE_TARGET[am65x-mcu-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}.signed"
+
+ALTERNATIVE_TARGET[am64-main-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_0_FW}"
+ALTERNATIVE_TARGET[am64-main-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_1_0_FW}.signed"
+ALTERNATIVE_TARGET[am64-main-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}"
+ALTERNATIVE_TARGET[am64-main-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}.signed"
+ALTERNATIVE_TARGET[am64-main-r5f1_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
+ALTERNATIVE_TARGET[am64-main-r5f1_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
+ALTERNATIVE_TARGET[am64-main-r5f1_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_1_FW}"
+ALTERNATIVE_TARGET[am64-main-r5f1_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_1_FW}.signed"
+ALTERNATIVE_TARGET[am64-mcu-m4f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}"
+ALTERNATIVE_TARGET[am64-mcu-m4f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}.signed"
+
+ALTERNATIVE_TARGET[am62-mcu-m4f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
+ALTERNATIVE_TARGET[am62-mcu-m4f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
+ALTERNATIVE_TARGET[am62-main-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
+ALTERNATIVE_TARGET[am62-main-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
+
+ALTERNATIVE_TARGET[am62p-mcu-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
+ALTERNATIVE_TARGET[am62p-mcu-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
+
+ALTERNATIVE_TARGET[am62a-mcu-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
+ALTERNATIVE_TARGET[am62a-mcu-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
+ALTERNATIVE_TARGET[am62a-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
+ALTERNATIVE_TARGET[am62a-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
+
+ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}"
+ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}.signed"
+ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
+ALTERNATIVE_TARGET[j7-main-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
+ALTERNATIVE_TARGET[j7-main-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_1_FW}"
+ALTERNATIVE_TARGET[j7-main-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_1_FW}.signed"
+ALTERNATIVE_TARGET[j7-main-r5f1_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}"
+ALTERNATIVE_TARGET[j7-main-r5f1_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}.signed"
+ALTERNATIVE_TARGET[j7-main-r5f1_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_3_1_FW}"
+ALTERNATIVE_TARGET[j7-main-r5f1_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_3_1_FW}.signed"
+ALTERNATIVE_TARGET[j7-c66_0-fw] = "${INSTALL_IPC_FW_DIR}/${C66_1_FW}"
+ALTERNATIVE_TARGET[j7-c66_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C66_1_FW}.signed"
+ALTERNATIVE_TARGET[j7-c66_1-fw] = "${INSTALL_IPC_FW_DIR}/${C66_2_FW}"
+ALTERNATIVE_TARGET[j7-c66_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C66_2_FW}.signed"
+ALTERNATIVE_TARGET[j7-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
+ALTERNATIVE_TARGET[j7-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
+
+ALTERNATIVE_TARGET[j7200-mcu-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}"
+ALTERNATIVE_TARGET[j7200-mcu-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}.signed"
+ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
+ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
+ALTERNATIVE_TARGET[j7200-main-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_1_FW}"
+ALTERNATIVE_TARGET[j7200-main-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_1_FW}.signed"
+
+ALTERNATIVE_TARGET[j721s2-mcu-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}"
+ALTERNATIVE_TARGET[j721s2-mcu-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}.signed"
+ALTERNATIVE_TARGET[j721s2-main-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
+ALTERNATIVE_TARGET[j721s2-main-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
+ALTERNATIVE_TARGET[j721s2-main-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_1_FW}"
+ALTERNATIVE_TARGET[j721s2-main-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_1_FW}.signed"
+ALTERNATIVE_TARGET[j721s2-main-r5f1_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}"
+ALTERNATIVE_TARGET[j721s2-main-r5f1_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}.signed"
+ALTERNATIVE_TARGET[j721s2-main-r5f1_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_3_1_FW}"
+ALTERNATIVE_TARGET[j721s2-main-r5f1_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_3_1_FW}.signed"
+ALTERNATIVE_TARGET[j721s2-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
+ALTERNATIVE_TARGET[j721s2-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
+ALTERNATIVE_TARGET[j721s2-c71_1-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_2_FW}"
+ALTERNATIVE_TARGET[j721s2-c71_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_2_FW}.signed"
+
+ALTERNATIVE_TARGET[j784s4-mcu-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}"
+ALTERNATIVE_TARGET[j784s4-mcu-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}.signed"
+ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
+ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
+ALTERNATIVE_TARGET[j784s4-main-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_1_FW}"
+ALTERNATIVE_TARGET[j784s4-main-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_1_FW}.signed"
+ALTERNATIVE_TARGET[j784s4-main-r5f1_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}"
+ALTERNATIVE_TARGET[j784s4-main-r5f1_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}.signed"
+ALTERNATIVE_TARGET[j784s4-main-r5f1_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_3_1_FW}"
+ALTERNATIVE_TARGET[j784s4-main-r5f1_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_3_1_FW}.signed"
+ALTERNATIVE_TARGET[j784s4-main-r5f2_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_4_0_FW}"
+ALTERNATIVE_TARGET[j784s4-main-r5f2_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_4_0_FW}.signed"
+ALTERNATIVE_TARGET[j784s4-main-r5f2_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_4_1_FW}"
+ALTERNATIVE_TARGET[j784s4-main-r5f2_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_4_1_FW}.signed"
+ALTERNATIVE_TARGET[j784s4-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
+ALTERNATIVE_TARGET[j784s4-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
+ALTERNATIVE_TARGET[j784s4-c71_1-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_2_FW}"
+ALTERNATIVE_TARGET[j784s4-c71_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_2_FW}.signed"
+ALTERNATIVE_TARGET[j784s4-c71_2-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_3_FW}"
+ALTERNATIVE_TARGET[j784s4-c71_2-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_3_FW}.signed"
+ALTERNATIVE_TARGET[j784s4-c71_3-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_4_FW}"
+ALTERNATIVE_TARGET[j784s4-c71_3-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_4_FW}.signed"
+
+ALTERNATIVE_TARGET[j722s-mcu-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
+ALTERNATIVE_TARGET[j722s-mcu-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
+ALTERNATIVE_TARGET[j722s-main-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}"
+ALTERNATIVE_TARGET[j722s-main-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}.signed"
+ALTERNATIVE_TARGET[j722s-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
+ALTERNATIVE_TARGET[j722s-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
+ALTERNATIVE_TARGET[j722s-c71_1-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_2_FW}"
+ALTERNATIVE_TARGET[j722s-c71_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_2_FW}.signed"
+
+ALTERNATIVE_PRIORITY = "10"
diff --git a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb
new file mode 100644
index 00000000..feee1cf9
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb
@@ -0,0 +1,47 @@
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
+
+COMPATIBLE_MACHINE = "j721e|j7200|am65xx|am64xx"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+INHIBIT_DEFAULT_DEPS = "1"
+
+inherit nopackages deploy
+
+PLAT_SFX = ""
+PLAT_SFX:j721e = "/j721e"
+PLAT_SFX:j7200 = "/j7200"
+PLAT_SFX:am65xx = "/am65xx"
+PLAT_SFX:am64xx = "/am64x"
+
+# Use weak assignment to set defaults to TI_RTOS_METADATA_* variables
+TI_RTOS_METADATA_URI ?= "git://git.ti.com/git/processor-sdk/coresdk_rtos_releases.git"
+TI_RTOS_METADATA_PROTOCOL ?= "https"
+TI_RTOS_METADATA_SRCREV ?= "2ecbf45af64bc47806623cc5bf7ab493489acaf9"
+TI_RTOS_METADATA_BRANCH ?= "master"
+TI_RTOS_METADATA_DIR ?= "${PLAT_SFX}"
+TI_RTOS_METADATA_FILE ?= "${S}${TI_RTOS_METADATA_DIR}/metadata.inc"
+TI_RTOS_METADATA_FILE:am64xx ?= "${S}${TI_RTOS_METADATA_DIR}/mcusdk_metadata.inc"
+
+PV = "1.0.0+git"
+
+S = "${WORKDIR}/git"
+
+SRC_URI = "${TI_RTOS_METADATA_URI};branch=${TI_RTOS_METADATA_BRANCH};protocol=${TI_RTOS_METADATA_PROTOCOL}"
+SRCREV = "${TI_RTOS_METADATA_SRCREV}"
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+do_install[noexec] = "1"
+
+do_deploy () {
+ :
+}
+
+do_deploy:k3 () {
+ install -d ${DEPLOYDIR}
+ install -m 0644 ${TI_RTOS_METADATA_FILE} ${DEPLOYDIR}/
+}
+
+addtask deploy before do_build after do_compile
diff --git a/meta-ti-bsp/wic/sdimage-2part-efi.wks.in b/meta-ti-bsp/wic/sdimage-2part-efi.wks.in
new file mode 100644
index 00000000..2213a348
--- /dev/null
+++ b/meta-ti-bsp/wic/sdimage-2part-efi.wks.in
@@ -0,0 +1,7 @@
+# short-description: Create SD card image with 2 partitions and EFI support
+# long-description: Creates a partitioned SD card image for TI platforms that
+# supports EFI. Boot files are located in the first vfat partition with extra
+# reserved space. We cannot use a GPT here.
+bootloader --timeout=3 --append="rootfstype=ext4"
+part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M
+part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
diff --git a/meta-ti-bsp/wic/sdimage-2part.wks b/meta-ti-bsp/wic/sdimage-2part.wks
new file mode 100644
index 00000000..3eab9407
--- /dev/null
+++ b/meta-ti-bsp/wic/sdimage-2part.wks
@@ -0,0 +1,6 @@
+# short-description: Create SD card image with 2 partitions
+# long-description: Creates a partitioned SD card image for TI platforms.
+# Boot files are located in the first vfat partition with extra reserved space.
+
+part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --fixed-size 128 --use-uuid
+part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --use-uuid
diff --git a/meta-ti-extras/COPYING.MIT b/meta-ti-extras/COPYING.MIT
new file mode 100644
index 00000000..fb950dc6
--- /dev/null
+++ b/meta-ti-extras/COPYING.MIT
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/meta-ti-extras/README b/meta-ti-extras/README
new file mode 100644
index 00000000..1b38921a
--- /dev/null
+++ b/meta-ti-extras/README
@@ -0,0 +1,31 @@
+OpenEmbedded/Yocto layer that extends and supplements Texas Instruments BSP layer.
+
+It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the
+source repository at git://git.yoctoproject.org/meta-ti
+
+
+This layer depends on:
+
+URI: git://git.openembedded.org/openembedded-core
+layers: meta
+branch: master
+
+URI: git://git.yoctoproject.org/meta-arm
+layers: meta-arm
+branch: master
+
+URI: git://git.yoctoproject.org/meta-ti
+branch: master
+revision: HEAD
+layers: meta-ti-bsp
+
+
+Send pull requests, patches, comments or questions to:
+meta-ti@lists.yoctoproject.org
+
+Please note - meta-ti mailing list requires subscription for posting:
+https://lists.yoctoproject.org/g/meta-ti
+
+Maintainers:
+Ryan Eatmon <reatmon@ti.com>
+Denys Dmytriyenko <denys@konsulko.com>
diff --git a/meta-ti-extras/conf/layer.conf b/meta-ti-extras/conf/layer.conf
new file mode 100644
index 00000000..a05dbe5f
--- /dev/null
+++ b/meta-ti-extras/conf/layer.conf
@@ -0,0 +1,18 @@
+# We have a conf and classes directory, append to BBPATH
+BBPATH .= ":${LAYERDIR}"
+METATIBASE := '${@os.path.normpath("${LAYERDIR}/")}'
+
+# We have a recipes directory, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "meta-ti-extras"
+BBFILE_PATTERN_meta-ti-extras := "^${LAYERDIR}/"
+BBFILE_PRIORITY_meta-ti-extras = "6"
+
+LAYERSERIES_COMPAT_meta-ti-extras = "kirkstone langdale mickledore nanbield scarthgap"
+
+LICENSE_PATH += "${LAYERDIR}/licenses"
+
+LAYERDEPENDS_meta-ti-extras = " \
+ meta-ti-bsp \
+"
diff --git a/licenses/Hewlett-Packard b/meta-ti-extras/licenses/Hewlett-Packard
index 569d009c..569d009c 100644
--- a/licenses/Hewlett-Packard
+++ b/meta-ti-extras/licenses/Hewlett-Packard
diff --git a/licenses/Patrick-Powell b/meta-ti-extras/licenses/Patrick-Powell
index 9c6eac42..9c6eac42 100644
--- a/licenses/Patrick-Powell
+++ b/meta-ti-extras/licenses/Patrick-Powell
diff --git a/licenses/Thai-Open-Source-Software-Center b/meta-ti-extras/licenses/Thai-Open-Source-Software-Center
index 3a3972dd..3a3972dd 100644
--- a/licenses/Thai-Open-Source-Software-Center
+++ b/meta-ti-extras/licenses/Thai-Open-Source-Software-Center
diff --git a/recipes-bsp/bt-fw/bt-fw_git.bb b/meta-ti-extras/recipes-bsp/bt-fw/bt-fw_git.bb
index f3d740b1..8fef493b 100644
--- a/recipes-bsp/bt-fw/bt-fw_git.bb
+++ b/meta-ti-extras/recipes-bsp/bt-fw/bt-fw_git.bb
@@ -8,7 +8,7 @@ CLEANBROKEN = "1"
SRCREV = "0ee619b598d023fffc77679f099bc2a4815510e4"
BRANCH = "master"
-SRC_URI = "git://git.ti.com/ti-bt/service-packs.git;branch=${BRANCH}"
+SRC_URI = "git://git.ti.com/git/ti-bt/service-packs.git;protocol=https;branch=${BRANCH}"
S = "${WORKDIR}/git"
@@ -17,8 +17,8 @@ do_compile() {
}
do_install() {
- install -d ${D}${base_libdir}/firmware/ti-connectivity
- oe_runmake "DEST_DIR=${D}" "BASE_LIB_DIR=${base_libdir}" install
+ install -d ${D}${nonarch_base_libdir}/firmware/ti-connectivity
+ oe_runmake "DEST_DIR=${D}" "BASE_LIB_DIR=${nonarch_base_libdir}" install
}
-FILES_${PN} += "${base_libdir}/firmware/ti-connectivity/*"
+FILES:${PN} += "${nonarch_base_libdir}/firmware/ti-connectivity/*"
diff --git a/recipes-bsp/dspdce-fw/dspdce-fw_git.bb b/meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb
index 2756c2d8..491ee0f3 100644
--- a/recipes-bsp/dspdce-fw/dspdce-fw_git.bb
+++ b/meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb
@@ -1,10 +1,14 @@
-DESCRIPTION = "Firmware for DSP for an example application called copycodectest"
+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"
-SRC_URI = "git://git.ti.com/glsdk/dspdce.git;protocol=git"
+inherit features_check
+
+REQUIRED_MACHINE_FEATURES = "dsp"
+
+SRC_URI = "git://git.ti.com/git/glsdk/dspdce.git;protocol=https;branch=master"
SRCREV = "de6e599f067b25c46cc0c8f74a22cc3b8aafbae8"
@@ -47,15 +51,15 @@ do_compile() {
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}
+ install -d ${D}${nonarch_base_libdir}/firmware
+ install -m 0644 ${S}/dra7xx-c66x-dsp.xe66 ${D}${nonarch_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:${PN} = "dra7-dsp1-fw.xe66"
+ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/${TARGET}"
+ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/${TARGET}.${BPN}"
ALTERNATIVE_PRIORITY = "10"
-INSANE_SKIP_${PN} = "arch"
+INSANE_SKIP:${PN} = "arch"
-FILES_${PN} += "${base_libdir}/firmware/*"
+FILES:${PN} += "${nonarch_base_libdir}/firmware/*"
diff --git a/recipes-bsp/dsptop/debugss-module-drv_git.bb b/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb
index 8f4bbf15..51e82983 100644
--- a/recipes-bsp/dsptop/debugss-module-drv_git.bb
+++ b/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb
@@ -1,24 +1,22 @@
DESCRIPTION = "Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
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"
+MACHINE_KERNEL_PR:append = "d"
PR = "${MACHINE_KERNEL_PR}"
-PV_append = "+git${SRCPV}"
+PV:append = "+git${SRCPV}"
S = "${WORKDIR}/git/debugss_module/debugss-mod"
inherit module
PLATFORM = ""
-PLATFORM_dra7xx = "DRA7xx_PLATFORM"
-PLATFORM_keystone = "KEYSTONE_PLATFORM"
-PLATFORM_k2e = "K2E_PLATFORM"
+PLATFORM:dra7xx = "DRA7xx_PLATFORM"
EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}' KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
-COMPATIBLE_MACHINE = "dra7xx|keystone"
+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..ec159c75
--- /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/git/sdo-emu/dsptop.git;protocol=https;branch=${BRANCH}"
+
+BRANCH = "master"
diff --git a/recipes-bsp/dsptop/dsptop_git.bb b/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb
index c4a9bf30..90ce8943 100644
--- a/recipes-bsp/dsptop/dsptop_git.bb
+++ b/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb
@@ -1,5 +1,5 @@
DESCRIPTION = "TI dsptop utility."
-LICENSE = "BSD"
+LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979"
DEPENDS = "libulm ncurses"
@@ -9,20 +9,19 @@ PR = "${INC_PR}.2"
S = "${WORKDIR}/git/dsptop"
DEVICE = ""
-DEVICE_dra7xx = "DRA7xx"
-DEVICE_keystone = "C66AK2Hxx"
+DEVICE:dra7xx = "DRA7xx"
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
do_install() {
oe_runmake install DESTDIR=${D}
+ chown -R root:root ${D}
}
-COMPATIBLE_MACHINE = "dra7xx|keystone"
+COMPATIBLE_MACHINE = "dra7xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
-RDEPENDS_${PN} = "debugss-module-drv bash"
-RDEPENDS_${PN}_append_keystone = " temperature-module-drv"
+RDEPENDS:${PN} = "debugss-module-drv bash"
include dsptop.inc
diff --git a/recipes-bsp/dsptop/libulm_git.bb b/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb
index 7bf7f090..6a2cde30 100644
--- a/recipes-bsp/dsptop/libulm_git.bb
+++ b/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb
@@ -1,15 +1,18 @@
-DESCRIPTION = "TI dsptop utility."
-LICENSE = "BSD"
+SUMMARY = "TI Usage & Load Monitor Implementation"
+LICENSE = "BSD-3-Clause"
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"
-DEVICE_keystone = "C66AK2Hxx"
+DEVICE:dra7xx = "DRA7xx"
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
@@ -28,15 +31,15 @@ do_install() {
cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm
}
-COMPATIBLE_MACHINE = "dra7xx|keystone"
+COMPATIBLE_MACHINE = "dra7xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
-FILES_${PN}-dev += "\
+FILES:${PN}-dev += "\
${datadir}/ti/ulm \
"
include dsptop.inc
-ALLOW_EMPTY_${PN} = "1"
+ALLOW_EMPTY:${PN} = "1"
PARALLEL_MAKE= ""
diff --git a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb b/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
index 2ef21016..8d066eb0 100644
--- a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
+++ b/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
@@ -1,28 +1,24 @@
-python __anonymous() {
- features = d.getVar("MACHINE_FEATURES")
- if not features:
- return
- if "mmip" not in features:
- raise bb.parse.SkipPackage('ipumm-fw does not apply to systems without the "mmip" flag in MACHINE_FEATURES')
-}
-
-DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode"
+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"
-RDEPENDS_${PN} = " libdce"
+inherit features_check
+
+REQUIRED_MACHINE_FEATURES = "mmip"
+
+RDEPENDS:${PN} = "libdce"
-SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
+SRC_URI = "git://git.ti.com/git/ivimm/ipumm.git;protocol=https;branch=master"
SRCREV = "df4c50aecc9aad7ab3eb1ca9ebacfe473fcad7c5"
S = "${WORKDIR}/git"
PV = "3.00.15.00"
-PR = "r5"
+PR = "r7"
require recipes-ti/includes/ti-paths.inc
@@ -58,14 +54,14 @@ 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
+ install -d ${D}${nonarch_base_libdir}/firmware
+ install -m 0644 ${S}/${TARGET} ${D}${nonarch_base_libdir}/firmware/${TARGET}.${BPN}
+ install -m 0644 ${S}/${TARGET_MAP} ${D}${nonarch_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:${PN} = "dra7-ipu2-fw.xem4"
+ALTERNATIVE_LINK_NAME[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/${TARGET}"
+ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/${TARGET}.${BPN}"
ALTERNATIVE_PRIORITY = "20"
-FILES_${PN} += "${base_libdir}/firmware/*"
+FILES:${PN} += "${nonarch_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..b01dd6a5
--- /dev/null
+++ b/meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb
@@ -0,0 +1,383 @@
+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/git/pru-software-support-package/pru-software-support-package.git;protocol=https;branch=${BRANCH}"
+SRCREV = "00a5efa5157feb84cb2e4bf50b481f7082acca82"
+
+PV = "6.3.0"
+
+require recipes-ti/includes/ti-paths.inc
+
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|am62xx|am64xx|am65xx|j721e"
+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:am62xx = "am62x"
+PLATFORM:am64xx = "am64x"
+PLATFORM:am65xx = "am65x"
+PLATFORM:j721e = "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}${nonarch_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}${nonarch_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}${nonarch_base_libdir}/firmware/pru
+ done
+}
+
+do_install:append:ti43x() {
+ install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
+ ${D}${nonarch_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}${nonarch_base_libdir}/firmware/pru
+ done
+ done
+}
+
+do_install:append:omap-a15() {
+ install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
+ ${D}${nonarch_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}${nonarch_base_libdir}/firmware/pru
+ done
+ done
+}
+
+do_install:append:am62xx() {
+ install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
+ ${D}${nonarch_base_libdir}/firmware/pru
+ for i in 0 1
+ do
+ install -m 0644 ${S}/examples/${PLATFORM}/PRU_RPMsg_Echo_Interrupt${i}/gen/PRU_RPMsg_Echo_Interrupt${i}.out \
+ ${D}${nonarch_base_libdir}/firmware/pru
+ 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}${nonarch_base_libdir}/firmware/pru
+ install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \
+ ${D}${nonarch_base_libdir}/firmware/pru
+ install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \
+ ${D}${nonarch_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}${nonarch_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}${nonarch_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}${nonarch_base_libdir}/firmware/pru
+ install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \
+ ${D}${nonarch_base_libdir}/firmware/pru
+ install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \
+ ${D}${nonarch_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}${nonarch_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}${nonarch_base_libdir}/firmware/pru
+
+ done
+ done
+}
+
+do_install:append:j721e() {
+ for i in 0 1
+ do
+ install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \
+ ${D}${nonarch_base_libdir}/firmware/pru
+ install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \
+ ${D}${nonarch_base_libdir}/firmware/pru
+ install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \
+ ${D}${nonarch_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}${nonarch_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}${nonarch_base_libdir}/firmware/pru
+
+ done
+ done
+}
+
+
+FILES:${PN}-halt = "${nonarch_base_libdir}/firmware/pru/PRU_Halt* ${nonarch_base_libdir}/firmware/pru/RTU_Halt* ${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt*"
+FILES:${PN}-rpmsg-echo = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt* ${nonarch_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:am62xx = "am62x-pru0-fw am62x-pru1-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:j721e = "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] = "${nonarch_base_libdir}/firmware/am335x-pru0-fw"
+ALTERNATIVE_LINK_NAME[am335x-pru1-fw] = "${nonarch_base_libdir}/firmware/am335x-pru1-fw"
+
+ALTERNATIVE_LINK_NAME[am437x-pru0_0-fw] = "${nonarch_base_libdir}/firmware/am437x-pru0_0-fw"
+ALTERNATIVE_LINK_NAME[am437x-pru0_1-fw] = "${nonarch_base_libdir}/firmware/am437x-pru0_1-fw"
+ALTERNATIVE_LINK_NAME[am437x-pru1_0-fw] = "${nonarch_base_libdir}/firmware/am437x-pru1_0-fw"
+ALTERNATIVE_LINK_NAME[am437x-pru1_1-fw] = "${nonarch_base_libdir}/firmware/am437x-pru1_1-fw"
+
+ALTERNATIVE_LINK_NAME[am57xx-pru1_0-fw] = "${nonarch_base_libdir}/firmware/am57xx-pru1_0-fw"
+ALTERNATIVE_LINK_NAME[am57xx-pru1_1-fw] = "${nonarch_base_libdir}/firmware/am57xx-pru1_1-fw"
+ALTERNATIVE_LINK_NAME[am57xx-pru2_0-fw] = "${nonarch_base_libdir}/firmware/am57xx-pru2_0-fw"
+ALTERNATIVE_LINK_NAME[am57xx-pru2_1-fw] = "${nonarch_base_libdir}/firmware/am57xx-pru2_1-fw"
+
+ALTERNATIVE_LINK_NAME[am62x-pru0-fw] = "${nonarch_base_libdir}/firmware/am62x-pru0-fw"
+ALTERNATIVE_LINK_NAME[am62x-pru1-fw] = "${nonarch_base_libdir}/firmware/am62x-pru1-fw"
+
+ALTERNATIVE_LINK_NAME[am64x-pru0_0-fw] = "${nonarch_base_libdir}/firmware/am64x-pru0_0-fw"
+ALTERNATIVE_LINK_NAME[am64x-pru0_1-fw] = "${nonarch_base_libdir}/firmware/am64x-pru0_1-fw"
+ALTERNATIVE_LINK_NAME[am64x-pru1_0-fw] = "${nonarch_base_libdir}/firmware/am64x-pru1_0-fw"
+ALTERNATIVE_LINK_NAME[am64x-pru1_1-fw] = "${nonarch_base_libdir}/firmware/am64x-pru1_1-fw"
+ALTERNATIVE_LINK_NAME[am64x-rtu0_0-fw] = "${nonarch_base_libdir}/firmware/am64x-rtu0_0-fw"
+ALTERNATIVE_LINK_NAME[am64x-rtu0_1-fw] = "${nonarch_base_libdir}/firmware/am64x-rtu0_1-fw"
+ALTERNATIVE_LINK_NAME[am64x-rtu1_0-fw] = "${nonarch_base_libdir}/firmware/am64x-rtu1_0-fw"
+ALTERNATIVE_LINK_NAME[am64x-rtu1_1-fw] = "${nonarch_base_libdir}/firmware/am64x-rtu1_1-fw"
+ALTERNATIVE_LINK_NAME[am64x-txpru0_0-fw] = "${nonarch_base_libdir}/firmware/am64x-txpru0_0-fw"
+ALTERNATIVE_LINK_NAME[am64x-txpru0_1-fw] = "${nonarch_base_libdir}/firmware/am64x-txpru0_1-fw"
+ALTERNATIVE_LINK_NAME[am64x-txpru1_0-fw] = "${nonarch_base_libdir}/firmware/am64x-txpru1_0-fw"
+ALTERNATIVE_LINK_NAME[am64x-txpru1_1-fw] = "${nonarch_base_libdir}/firmware/am64x-txpru1_1-fw"
+
+ALTERNATIVE_LINK_NAME[am65x-pru0_0-fw] = "${nonarch_base_libdir}/firmware/am65x-pru0_0-fw"
+ALTERNATIVE_LINK_NAME[am65x-pru0_1-fw] = "${nonarch_base_libdir}/firmware/am65x-pru0_1-fw"
+ALTERNATIVE_LINK_NAME[am65x-pru1_0-fw] = "${nonarch_base_libdir}/firmware/am65x-pru1_0-fw"
+ALTERNATIVE_LINK_NAME[am65x-pru1_1-fw] = "${nonarch_base_libdir}/firmware/am65x-pru1_1-fw"
+ALTERNATIVE_LINK_NAME[am65x-pru2_0-fw] = "${nonarch_base_libdir}/firmware/am65x-pru2_0-fw"
+ALTERNATIVE_LINK_NAME[am65x-pru2_1-fw] = "${nonarch_base_libdir}/firmware/am65x-pru2_1-fw"
+ALTERNATIVE_LINK_NAME[am65x-rtu0_0-fw] = "${nonarch_base_libdir}/firmware/am65x-rtu0_0-fw"
+ALTERNATIVE_LINK_NAME[am65x-rtu0_1-fw] = "${nonarch_base_libdir}/firmware/am65x-rtu0_1-fw"
+ALTERNATIVE_LINK_NAME[am65x-rtu1_0-fw] = "${nonarch_base_libdir}/firmware/am65x-rtu1_0-fw"
+ALTERNATIVE_LINK_NAME[am65x-rtu1_1-fw] = "${nonarch_base_libdir}/firmware/am65x-rtu1_1-fw"
+ALTERNATIVE_LINK_NAME[am65x-rtu2_0-fw] = "${nonarch_base_libdir}/firmware/am65x-rtu2_0-fw"
+ALTERNATIVE_LINK_NAME[am65x-rtu2_1-fw] = "${nonarch_base_libdir}/firmware/am65x-rtu2_1-fw"
+ALTERNATIVE_LINK_NAME[am65x-txpru0_0-fw] = "${nonarch_base_libdir}/firmware/am65x-txpru0_0-fw"
+ALTERNATIVE_LINK_NAME[am65x-txpru0_1-fw] = "${nonarch_base_libdir}/firmware/am65x-txpru0_1-fw"
+ALTERNATIVE_LINK_NAME[am65x-txpru1_0-fw] = "${nonarch_base_libdir}/firmware/am65x-txpru1_0-fw"
+ALTERNATIVE_LINK_NAME[am65x-txpru1_1-fw] = "${nonarch_base_libdir}/firmware/am65x-txpru1_1-fw"
+ALTERNATIVE_LINK_NAME[am65x-txpru2_0-fw] = "${nonarch_base_libdir}/firmware/am65x-txpru2_0-fw"
+ALTERNATIVE_LINK_NAME[am65x-txpru2_1-fw] = "${nonarch_base_libdir}/firmware/am65x-txpru2_1-fw"
+
+ALTERNATIVE_LINK_NAME[j7-pru0_0-fw] = "${nonarch_base_libdir}/firmware/j7-pru0_0-fw"
+ALTERNATIVE_LINK_NAME[j7-pru0_1-fw] = "${nonarch_base_libdir}/firmware/j7-pru0_1-fw"
+ALTERNATIVE_LINK_NAME[j7-pru1_0-fw] = "${nonarch_base_libdir}/firmware/j7-pru1_0-fw"
+ALTERNATIVE_LINK_NAME[j7-pru1_1-fw] = "${nonarch_base_libdir}/firmware/j7-pru1_1-fw"
+ALTERNATIVE_LINK_NAME[j7-rtu0_0-fw] = "${nonarch_base_libdir}/firmware/j7-rtu0_0-fw"
+ALTERNATIVE_LINK_NAME[j7-rtu0_1-fw] = "${nonarch_base_libdir}/firmware/j7-rtu0_1-fw"
+ALTERNATIVE_LINK_NAME[j7-rtu1_0-fw] = "${nonarch_base_libdir}/firmware/j7-rtu1_0-fw"
+ALTERNATIVE_LINK_NAME[j7-rtu1_1-fw] = "${nonarch_base_libdir}/firmware/j7-rtu1_1-fw"
+ALTERNATIVE_LINK_NAME[j7-txpru0_0-fw] = "${nonarch_base_libdir}/firmware/j7-txpru0_0-fw"
+ALTERNATIVE_LINK_NAME[j7-txpru0_1-fw] = "${nonarch_base_libdir}/firmware/j7-txpru0_1-fw"
+ALTERNATIVE_LINK_NAME[j7-txpru1_0-fw] = "${nonarch_base_libdir}/firmware/j7-txpru1_0-fw"
+ALTERNATIVE_LINK_NAME[j7-txpru1_1-fw] = "${nonarch_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:j721e = " j7-txpru0_0-fw j7-txpru0_1-fw j7-txpru1_0-fw j7-txpru1_1-fw"
+
+ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt.out"
+
+ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru0_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru0_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt.out"
+
+ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt.out"
+
+ALTERNATIVE_TARGET_pru-icss-halt[am62x-pru0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am62x-pru1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt.out"
+
+ALTERNATIVE_TARGET_pru-icss-halt[am64x-pru0_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am64x-pru0_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am64x-pru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am64x-pru1_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am64x-rtu0_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am64x-rtu0_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am64x-rtu1_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am64x-rtu1_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am64x-txpru0_0-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am64x-txpru0_1-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am64x-txpru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am64x-txpru1_1-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_1.out"
+
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru0_0-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru0_1-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru1_1-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru2_0-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[am65x-txpru2_1-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_1.out"
+
+ALTERNATIVE_TARGET_pru-icss-halt[j7-pru0_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[j7-pru0_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[j7-pru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[j7-pru1_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu0_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu0_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu1_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu1_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru0_0-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru0_1-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_1.out"
+ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/TX_PRU_Halt_0.out"
+ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru1_1-fw] = "${nonarch_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] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am335x-pru1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1.out"
+
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru0_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru0_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
+
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out"
+
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am62x-pru0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am62x-pru1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1.out"
+
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-pru0_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-pru0_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-pru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-pru1_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-rtu0_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-rtu0_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-rtu1_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am64x-rtu1_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out"
+
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru0_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru0_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru1_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru2_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru2_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu0_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu0_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu1_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu1_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt2_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt2_1.out"
+
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru0_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru0_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru1_0-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru1_1-fw] = "${nonarch_base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu0_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu0_1-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu1_0-fw] = "${nonarch_base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out"
+ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu1_1-fw] = "${nonarch_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 buildpaths"
+INSANE_SKIP:${PN}-rpmsg-echo = "arch buildpaths"
diff --git a/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch b/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch
index a8db0770..bb05c6fe 100644
--- a/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch
+++ b/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch
@@ -3,6 +3,8 @@ From: Denys Dmytriyenko <denys@ti.com>
Date: Fri, 10 Mar 2017 13:28:29 -0500
Subject: [PATCH] Add Makefile to install firmware files
+Upstream-Status: Pending
+
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
Makefile | 9 +++++++++
diff --git a/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb b/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb
new file mode 100644
index 00000000..dbae5a21
--- /dev/null
+++ b/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "Firmware files for use with TI wl18xx"
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e"
+
+SRC_URI = " \
+ git://git.ti.com/git/wilink8-wlan/wl18xx_fw.git;protocol=https;branch=${BRANCH} \
+ file://0001-Add-Makefile-to-install-firmware-files.patch \
+"
+
+SRCREV = "5ec05007f2662f460f881c5868311fd3ab7e6e71"
+BRANCH = "master"
+
+S = "${WORKDIR}/git"
+
+CLEANBROKEN = "1"
+
+do_compile() {
+ :
+}
+
+do_install() {
+ if ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)}; then
+ oe_runmake 'DEST_DIR=${D}/usr' install
+ else
+ oe_runmake 'DEST_DIR=${D}' install
+ fi
+}
+
+FILES:${PN} = "${nonarch_base_libdir}/firmware/ti-connectivity/*"
diff --git a/recipes-connectivity/uim/uim-sysfs_8.5.bb b/meta-ti-extras/recipes-connectivity/uim/uim-sysfs_8.5.bb
index 72e2166f..2e528376 100644
--- a/recipes-connectivity/uim/uim-sysfs_8.5.bb
+++ b/meta-ti-extras/recipes-connectivity/uim/uim-sysfs_8.5.bb
@@ -1,5 +1,5 @@
DESCRIPTION = "Shared Transport Line Discipline User Mode initialisation Manager Daemon"
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://uim.c;beginline=1;endline=18;md5=9f0bbfbc10c67689e81a523e2976c31e"
INITSCRIPT_NAME = "uim-sysfs"
@@ -8,7 +8,7 @@ INITSCRIPT_PARAMS = "defaults 03"
inherit update-rc.d
SRCREV = "a75f45be2d5c74fc1dd913d08afc30f09a230aa9"
-SRC_URI = "git://git.ti.com/ti-bt/uim.git"
+SRC_URI = "git://git.ti.com/git/ti-bt/uim.git;branch=master;protocol=https"
S = "${WORKDIR}/git"
diff --git a/meta-ti-extras/recipes-connectivity/wl18xx-calibrator/wl18xx-calibrator/0001-plt.h-Do-not-define-EFUSE_PARAMETER_TYPE_ENMT-type-e.patch b/meta-ti-extras/recipes-connectivity/wl18xx-calibrator/wl18xx-calibrator/0001-plt.h-Do-not-define-EFUSE_PARAMETER_TYPE_ENMT-type-e.patch
new file mode 100644
index 00000000..fc5542e0
--- /dev/null
+++ b/meta-ti-extras/recipes-connectivity/wl18xx-calibrator/wl18xx-calibrator/0001-plt.h-Do-not-define-EFUSE_PARAMETER_TYPE_ENMT-type-e.patch
@@ -0,0 +1,35 @@
+From e3f694496322d3679dd9b007dc3caa4343f0f376 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Tue, 11 Aug 2020 18:12:58 -0700
+Subject: [PATCH] plt.h: Do not define EFUSE_PARAMETER_TYPE_ENMT type enum in
+ header file
+
+gcc10 uses -fno-common by default and this causes multiple definitions
+of this enum in all files including plt.h file, therefore just define
+the type in header file
+
+Fixes
+arm-yoe-linux-musleabi-ld: misc_cmds.o:/usr/src/debug/wl18xx-calibrator/8.7.3-r0/git/./plt.h:402: multiple definition of `EFUSE_PARAMETER_TYPE_ENM'; nvs.o:/usr/src/debug/wl18xx-calibrator/8.7.3-r0/git/./plt.h:402: first defined here
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ plt.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/plt.h b/plt.h
+index 8b534a9..43d5dbc 100644
+--- a/plt.h
++++ b/plt.h
+@@ -399,7 +399,7 @@ enum EFUSE_PARAMETER_TYPE_ENMT {
+ TX_BIP_PD_BUFFER_VBIAS_ERROR_E,
+ EFUSE_NUMBER_OF_PARAMETERS_E,
+ EFUSE_LAST_PARAMETER_E = (EFUSE_NUMBER_OF_PARAMETERS_E - 1)
+-} EFUSE_PARAMETER_TYPE_ENM;
++};
+
+ int get_mac_addr(int ifc_num, unsigned char *mac_addr);
+
+--
+2.28.0
+
diff --git a/recipes-connectivity/wl18xx-calibrator/wl18xx-calibrator_8.7.3.bb b/meta-ti-extras/recipes-connectivity/wl18xx-calibrator/wl18xx-calibrator_8.7.3.bb
index 8a759ed8..1e9c445d 100644
--- a/recipes-connectivity/wl18xx-calibrator/wl18xx-calibrator_8.7.3.bb
+++ b/meta-ti-extras/recipes-connectivity/wl18xx-calibrator/wl18xx-calibrator_8.7.3.bb
@@ -1,13 +1,15 @@
DESCRIPTION = "The calibrator utility for TI wireless solution based on wl18xx driver"
-LICENSE = "BSD"
+LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"
DEPENDS = "libnl"
-RDEPENDS_${PN} = "wl18xx-fw"
+RDEPENDS:${PN} = "wl18xx-fw"
#Tag: R8.7_SP3 (8.7.3)
SRCREV = "5048b59a444ac59ba7171d6e122d5a84581aebf2"
-SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git"
+SRC_URI = "git://git.ti.com/git/wilink8-wlan/18xx-ti-utils.git;branch=master;protocol=https \
+ file://0001-plt.h-Do-not-define-EFUSE_PARAMETER_TYPE_ENMT-type-e.patch \
+ "
S = "${WORKDIR}/git"
diff --git a/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts/0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch b/meta-ti-extras/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts/0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch
index c0719e34..cde01541 100644
--- a/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts/0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch
+++ b/meta-ti-extras/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts/0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch
@@ -3,6 +3,8 @@ From: Denys Dmytriyenko <denys@ti.com>
Date: Fri, 10 Nov 2017 17:02:39 -0500
Subject: [PATCH] print_stat.sh: replace /system/bin/sh with /bin/sh
+Upstream-Status: Pending
+
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
testing/print_stat.sh | 2 +-
diff --git a/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_8.7.3.bb b/meta-ti-extras/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_8.7.3.bb
index 6c4b2b43..84e8764f 100644
--- a/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_8.7.3.bb
+++ b/meta-ti-extras/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_8.7.3.bb
@@ -1,11 +1,11 @@
DESCRIPTION = "Scripts and configuration files for TI wireless drivers"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=b8d6a0865f50159bf5c0d175d1f4a705"
# Tag: R8.7_SP3 (8.7.3)
SRCREV = "a07b6e711d2a70608101d3d6cdc5749c4d8a96d5"
BRANCH = "sitara-scripts"
-SRC_URI = "git://git.ti.com/wilink8-wlan/wl18xx-target-scripts.git;protocol=git;branch=${BRANCH} \
+SRC_URI = "git://git.ti.com/git/wilink8-wlan/wl18xx-target-scripts.git;protocol=https;branch=${BRANCH} \
file://0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch \
"
@@ -13,7 +13,7 @@ PR = "r1"
S = "${WORKDIR}/git"
-FILES_${PN} += "${datadir}/wl18xx/"
+FILES:${PN} += "${datadir}/wl18xx/"
do_install() {
install -d ${D}${datadir}/wl18xx/
diff --git a/recipes-connectivity/wlconf/wlconf_8.7.3.bb b/meta-ti-extras/recipes-connectivity/wlconf/wlconf_8.7.3.bb
index 19f28b75..a2a8b775 100644
--- a/recipes-connectivity/wlconf/wlconf_8.7.3.bb
+++ b/meta-ti-extras/recipes-connectivity/wlconf/wlconf_8.7.3.bb
@@ -1,10 +1,10 @@
DESCRIPTION = "Configuration utility for TI wireless drivers"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=adc05a1903d3f107f85c90328e3a9438"
# Tag: R8.7_SP3 (8.7.3)
SRCREV = "5048b59a444ac59ba7171d6e122d5a84581aebf2"
-SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git"
+SRC_URI = "git://git.ti.com/git/wilink8-wlan/18xx-ti-utils.git;branch=master;protocol=https"
S = "${WORKDIR}/git/wlconf"
@@ -14,14 +14,14 @@ do_install() {
install -d ${D}${sbindir}
install -d ${D}${sbindir}/wlconf/
install -d ${D}${sbindir}/wlconf/official_inis
- install -d ${D}/lib/firmware/ti-connectivity
+ install -d ${D}${nonarch_base_libdir}/firmware/ti-connectivity
install -m 0755 wlconf ${D}${sbindir}/wlconf/
install -m 0755 dictionary.txt ${D}${sbindir}/wlconf/
install -m 0755 struct.bin ${D}${sbindir}/wlconf/
install -m 0755 default.conf ${D}${sbindir}/wlconf/
install -m 0755 wl18xx-conf-default.bin ${D}${sbindir}/wlconf/
- install -m 0755 wl18xx-conf-default.bin ${D}/lib/firmware/ti-connectivity/wl18xx-conf.bin
+ install -m 0755 wl18xx-conf-default.bin ${D}${nonarch_base_libdir}/firmware/ti-connectivity/wl18xx-conf.bin
install -m 0755 README ${D}${sbindir}/wlconf/
install -m 0755 example.conf ${D}${sbindir}/wlconf/
install -m 0755 example.ini ${D}${sbindir}/wlconf/
@@ -30,10 +30,10 @@ do_install() {
${D}${sbindir}/wlconf/official_inis/
}
-FILES_${PN} += " \
+FILES:${PN} += " \
${sbindir}/wlconf \
${sbindir}/wlconf/official_inis \
- /lib/firmware/ti-connectivity/wl18xx-conf.bin \
+ ${nonarch_base_libdir}/firmware/ti-connectivity/wl18xx-conf.bin \
"
-FILES_${PN}-dbg += "${sbindir}/wlconf/.debug"
+FILES:${PN}-dbg += "${sbindir}/wlconf/.debug"
diff --git a/recipes-bsp/cuia/cuia_1.0.0.13.bb b/meta-ti-extras/recipes-devtools/cuia/cuia_1.0.0.13.bb
index 0422b0ef..8b16830f 100644
--- a/recipes-bsp/cuia/cuia_1.0.0.13.bb
+++ b/meta-ti-extras/recipes-devtools/cuia/cuia_1.0.0.13.bb
@@ -22,9 +22,12 @@ do_compile () {
do_install() {
cd ${S}
oe_runmake DESTDIR=${D} libdir=${libdir} includedir=${includedir} install
+ rm -rf ${D}${libdir}/boot.*
+ rm -rf ${D}${libdir}/gnu.targets.*
+ rm -rf ${D}${libdir}/syscalls.*
}
COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
+COMPATIBLE_HOST:ti-soc = "(.*)"
-INSANE_SKIP_${PN} += "textrel"
+INSANE_SKIP:${PN} += "textrel"
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..54115f4e
--- /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/git/sdo-emu/gdbc6x.git;protocol=https;branch=${BRANCH}"
+
+BRANCH = "master"
diff --git a/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
index 1cc23b32..e52efa56 100644
--- a/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
@@ -3,6 +3,8 @@ From: Denys Dmytriyenko <denys@ti.com>
Date: Sat, 15 Feb 2020 15:59:37 -0500
Subject: [PATCH] libbfd.h: suppress GCC9 -Wstringop-truncation
+Upstream-Status: Inappropriate [OE-specific]
+
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
gdbc6x/bfd/libbfd.h | 4 ++++
diff --git a/recipes-devtools/gdbc6x/gdbc6x/init b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/init
index 90210b82..90210b82 100644
--- a/recipes-devtools/gdbc6x/gdbc6x/init
+++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x/init
diff --git a/recipes-devtools/gdbc6x/gdbc6x_git.bb b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb
index 2d2f6c1d..d3ada9c6 100644
--- a/recipes-devtools/gdbc6x/gdbc6x_git.bb
+++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb
@@ -1,15 +1,15 @@
DESCRIPTION = "GNU debugger for TI C6X DSP."
SECTION = "devel"
-LICENSE = "GPLv3+"
+LICENSE = "GPL-3.0-or-later"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=bf0fe2872eb3dfeebb2cbe38206fe81f"
DEPENDS = "ncurses bison-native texinfo flex-native gettext"
-COMPATIBLE_MACHINE = "dra7xx|keystone"
+COMPATIBLE_MACHINE = "dra7xx"
PR = "${INC_PR}.1"
-SRC_URI_append = " \
+SRC_URI:append = " \
file://init \
file://0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch;striplevel=2 \
"
@@ -19,6 +19,8 @@ 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
@@ -37,7 +39,7 @@ do_install () {
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/gdbserverproxy
}
-RDEPENDS_${PN} = "gdbserverproxy-module-drv bash"
+RDEPENDS:${PN} = "gdbserverproxy-module-drv bash"
include gdbc6x.inc
diff --git a/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb
index 79b584be..3460eadb 100644
--- a/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb
+++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb
@@ -1,5 +1,5 @@
DESCRIPTION = "TI gdb-server to be used with c6xgdb."
-LICENSE = "BSD"
+LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://../debian/copyright;md5=82c616b6c8f9c11c46feaaf8f9a11495"
DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools-native"
@@ -9,8 +9,7 @@ PR = "${INC_PR}.0"
S = "${WORKDIR}/git/gdbserver-c6x/src"
PLATFORM = ""
-PLATFORM_dra7xx = "DRA7xx_PLATFORM"
-PLATFORM_keystone = "KEYSTONE_PLATFORM"
+PLATFORM:dra7xx = "DRA7xx_PLATFORM"
EXTRA_OEMAKE = "PLATFORM=${PLATFORM}"
@@ -34,10 +33,10 @@ do_install() {
cp -f ../lib/* ${D}${datadir}/ti/gdbc6x/lib
}
-COMPATIBLE_MACHINE = "dra7xx|keystone"
+COMPATIBLE_MACHINE = "dra7xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
-FILES_${PN}-dev += "\
+FILES:${PN}-dev += "\
${datadir}/ti/gdbc6x \
"
@@ -45,6 +44,6 @@ include gdbc6x.inc
require recipes-ti/includes/ti-paths.inc
-ALLOW_EMPTY_${PN} = "1"
+ALLOW_EMPTY:${PN} = "1"
PARALLEL_MAKE = ""
diff --git a/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv/0001-Support-Linux-kernels-v5.15.patch b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv/0001-Support-Linux-kernels-v5.15.patch
new file mode 100644
index 00000000..fdf7e95f
--- /dev/null
+++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv/0001-Support-Linux-kernels-v5.15.patch
@@ -0,0 +1,40 @@
+From 7e6e1312629f9bc7a24871f7f395f2d288a1758f Mon Sep 17 00:00:00 2001
+From: Andrew Davis <afd@ti.com>
+Date: Tue, 18 Apr 2023 11:38:54 -0500
+Subject: [PATCH] Support Linux kernels v5.15+
+
+put_tty_driver was removed and write_room return type has changed.
+
+Function tty_driver_kref_put has been around a while, so no need
+to do a kernel version check.
+
+Upstream-Status: Inactive-Upstream
+Signed-off-by: Andrew Davis <afd@ti.com>
+---
+ kernel_module/gdbproxy-mod/gdbserverproxy.c | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/kernel_module/gdbproxy-mod/gdbserverproxy.c b/kernel_module/gdbproxy-mod/gdbserverproxy.c
+index 418b6db..4b1c676 100644
+--- a/kernel_module/gdbproxy-mod/gdbserverproxy.c
++++ b/kernel_module/gdbproxy-mod/gdbserverproxy.c
+@@ -540,7 +540,11 @@ static int gdb_write(struct tty_struct *tty,
+ *
+ *
+ */
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,15,0))
++static unsigned int gdb_write_room(struct tty_struct *tty)
++#else
+ static int gdb_write_room(struct tty_struct *tty)
++#endif
+ {
+ return GDB_STR_SIZE;
+ }
+@@ -914,7 +918,7 @@ static int __init gdb_dev_init(void)
+ if (ret < 0) {
+
+ printk(KERN_ERR "Couldn't register gdbtty driver.\n");
+- put_tty_driver(tty_gdb_driver);
++ tty_driver_kref_put(tty_gdb_driver);
+ return ret;
+ }
diff --git a/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv/0002-Support-Linux-kernels-v6.6.patch b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv/0002-Support-Linux-kernels-v6.6.patch
new file mode 100644
index 00000000..1e897394
--- /dev/null
+++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv/0002-Support-Linux-kernels-v6.6.patch
@@ -0,0 +1,31 @@
+From: Ryan Eatmon <reatmon@ti.com>
+Date: Wed, 08 Feb 2024 10:43:00 -0500
+Subject: [PATCH] Support Linux kernels v6.6+
+
+gdb_write arg changed from int to unsigned int
+
+Upstream-Status: Inactive-Upstream
+
+Signed-off-by: Ryan Eatmon <reatmon@ti.com>
+---
+ kernel_module/gdbproxy-mod/gdbserverproxy.c | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/kernel_module/gdbproxy-mod/gdbserverproxy.c b/kernel_module/gdbproxy-mod/gdbserverproxy.c
+index 418b6db..4b1c676 100644
+--- a/kernel_module/gdbproxy-mod/gdbserverproxy.c
++++ b/kernel_module/gdbproxy-mod/gdbserverproxy.c
+@@ -496,8 +496,13 @@ static void gdb_close(struct tty_struct *tty, struct file *filp)
+ *
+ *
+ */
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,6,0))
++static int gdb_write(struct tty_struct *tty,
++ const unsigned char *buf, unsigned int count)
++#else
+ static int gdb_write(struct tty_struct *tty,
+ const unsigned char *buf, int count)
++#endif
+ {
+ struct dsp_session *dsp = tty->driver_data;
+ int ret = 0;
diff --git a/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb
index 77a29ec8..b68c4463 100644
--- a/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb
+++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb
@@ -1,19 +1,23 @@
DESCRIPTION = "Interface for GDB to commincate witha TI C66X DSP"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
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"
+MACHINE_KERNEL_PR:append = "b"
PR = "${MACHINE_KERNEL_PR}"
-PV_append = "+git${SRCPV}"
+PV:append = "+git${SRCPV}"
+
+SRC_URI:append = "\
+ file://0001-Support-Linux-kernels-v5.15.patch;patchdir=../.. \
+ file://0002-Support-Linux-kernels-v6.6.patch;patchdir=../.. \
+"
S = "${WORKDIR}/git/kernel_module/gdbproxy-mod"
inherit module
PLATFORM = ""
-PLATFORM_dra7xx = "DRA7xx_PLATFORM"
-PLATFORM_keystone = "KEYSTONE_PLATFORM"
+PLATFORM:dra7xx = "DRA7xx_PLATFORM"
EXTRA_OEMAKE = "PLATFORM=${PLATFORM} KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
@@ -24,7 +28,7 @@ do_configure() {
:
}
-COMPATIBLE_MACHINE = "dra7xx|keystone"
+COMPATIBLE_MACHINE = "dra7xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
include gdbc6x.inc
diff --git a/recipes-multimedia/libdce/libdce_3.00.14.00.bb b/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.15.00.bb
index 4d032422..54f6ff8a 100644
--- a/recipes-multimedia/libdce/libdce_3.00.14.00.bb
+++ b/meta-ti-extras/recipes-multimedia/libdce/libdce_3.00.15.00.bb
@@ -1,18 +1,16 @@
-DESCRIPTION = "Library used for remotely invoking the hw accelerated codec on IVA-HD"
-LICENSE = "BSD"
+SUMMARY = "Library for remotely invoking HW accelerated codecs on IVA-HD"
+LICENSE = "BSD-3-Clause"
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"
+SRC_URI = "git://git.omapzoom.org/repo/libdce.git;protocol=git;branch=master"
+SRCREV = "ec14e1d5cea1ed3c3ea0e2b9cf1fd581acff93e3"
S = "${WORKDIR}/git"
EXTRA_OECONF += "IPC_HEADERS=${STAGING_INCDIR}/ti/ipc/mm"
COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
+COMPATIBLE_HOST:ti-soc = "(.*)"
diff --git a/recipes-ti/README b/meta-ti-extras/recipes-ti/README
index b32c2842..b32c2842 100644
--- a/recipes-ti/README
+++ b/meta-ti-extras/recipes-ti/README
diff --git a/recipes-ti/beagleboard/beaglebone-capes.bb b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes.bb
index 569a3e5a..ceefe0d6 100644
--- a/recipes-ti/beagleboard/beaglebone-capes.bb
+++ b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes.bb
@@ -23,4 +23,4 @@ do_install() {
install -m 0755 ${WORKDIR}/cape*.sh ${D}${bindir}
}
-FILES_${PN} += "${base_libdir}/systemd/system"
+FILES:${PN} += "${base_libdir}/systemd/system"
diff --git a/recipes-ti/beagleboard/beaglebone-capes/cape-stop.sh b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes/cape-stop.sh
index 222a010d..222a010d 100755
--- a/recipes-ti/beagleboard/beaglebone-capes/cape-stop.sh
+++ b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes/cape-stop.sh
diff --git a/recipes-ti/beagleboard/beaglebone-capes/cape.service b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes/cape.service
index ce0db719..ce0db719 100644
--- a/recipes-ti/beagleboard/beaglebone-capes/cape.service
+++ b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes/cape.service
diff --git a/recipes-ti/beagleboard/beaglebone-capes/cape.sh b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes/cape.sh
index c279349d..c279349d 100755
--- a/recipes-ti/beagleboard/beaglebone-capes/cape.sh
+++ b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes/cape.sh
diff --git a/recipes-ti/beagleboard/beaglebone-getting-started.bb b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-getting-started.bb
index adde30b4..85ab861d 100644
--- a/recipes-ti/beagleboard/beaglebone-getting-started.bb
+++ b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-getting-started.bb
@@ -4,11 +4,11 @@ PR = "r22"
inherit allarch
-LICENSE = "CC-BY-SA-3.0 & GPLv3+ & MIT & PD"
+LICENSE = "CC-BY-SA-3.0 & GPL-3.0-or-later & MIT & PD"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6f02761e31334c48f7021fb94c89aaa"
SRCREV = "05bedba192646152b7bc80b0accaea75aef864e5"
-SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git"
+SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git;protocol=https;branch=master"
S = "${WORKDIR}/git"
@@ -17,5 +17,5 @@ do_install() {
cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${PN}
}
-FILES_${PN} += "${datadir}/${PN}"
-INSANE_SKIP_${PN} = "file-rdeps"
+FILES:${PN} += "${datadir}/${PN}"
+INSANE_SKIP:${PN} = "file-rdeps"
diff --git a/recipes-ti/beagleboard/gadget-init.bb b/meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb
index b546efbb..3ab00ec3 100644
--- a/recipes-ti/beagleboard/gadget-init.bb
+++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb
@@ -39,22 +39,22 @@ do_install() {
PACKAGES =+ "${PN}-storage ${PN}-network ${PN}-udhcpd"
-ALLOW_EMPTY_${PN} = "1"
+ALLOW_EMPTY:${PN} = "1"
-FILES_${PN}-storage = "${base_libdir}/systemd/system/storage-gadget-init.service \
+FILES:${PN}-storage = "${base_libdir}/systemd/system/storage-gadget-init.service \
${base_libdir}/systemd/system/basic.target.wants/storage-gadget-init.service \
${bindir}/g-storage-reinsert.sh \
${bindir}/update-image-info-on-mmcblk0p1.sh \
${sysconfdir}/udev/rules.d/bone-gmass-eject.rules"
-FILES_${PN}-network = "${base_libdir}/systemd/system/network-gadget-init.service \
+FILES:${PN}-network = "${base_libdir}/systemd/system/network-gadget-init.service \
${base_libdir}/systemd/system/basic.target.wants/network-gadget-init.service \
${bindir}/g-ether-load.sh \
${bindir}/g-ether-start-service.sh \
${sysconfdir}/udev/rules.d/udhcpd.rules"
-FILES_${PN}-udhcpd = "${base_libdir}/systemd/system/udhcpd.service \
+FILES:${PN}-udhcpd = "${base_libdir}/systemd/system/udhcpd.service \
${base_libdir}/systemd/system/basic.target.wants/udhcpd.service \
${sysconfdir}/udhcpd.conf"
-RRECOMMENDS_${PN} = "${PN}-storage ${PN}-network ${PN}-udhcpd"
+RRECOMMENDS:${PN} = "${PN}-storage ${PN}-network ${PN}-udhcpd"
diff --git a/recipes-ti/beagleboard/gadget-init/bone-gmass-eject.rules b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/bone-gmass-eject.rules
index ee6f93e2..ee6f93e2 100644
--- a/recipes-ti/beagleboard/gadget-init/bone-gmass-eject.rules
+++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/bone-gmass-eject.rules
diff --git a/recipes-ti/beagleboard/gadget-init/g-ether-load.sh b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-ether-load.sh
index f9400649..f9400649 100755
--- a/recipes-ti/beagleboard/gadget-init/g-ether-load.sh
+++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-ether-load.sh
diff --git a/recipes-ti/beagleboard/gadget-init/g-ether-start-service.sh b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-ether-start-service.sh
index 6e73b155..6e73b155 100755
--- a/recipes-ti/beagleboard/gadget-init/g-ether-start-service.sh
+++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-ether-start-service.sh
diff --git a/recipes-ti/beagleboard/gadget-init/g-storage-reinsert.sh b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-storage-reinsert.sh
index d358640a..d358640a 100755
--- a/recipes-ti/beagleboard/gadget-init/g-storage-reinsert.sh
+++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-storage-reinsert.sh
diff --git a/recipes-ti/beagleboard/gadget-init/network-gadget-init.service b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/network-gadget-init.service
index 0ee29147..0ee29147 100644
--- a/recipes-ti/beagleboard/gadget-init/network-gadget-init.service
+++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/network-gadget-init.service
diff --git a/recipes-ti/beagleboard/gadget-init/storage-gadget-init.service b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/storage-gadget-init.service
index 9a8513e8..9a8513e8 100644
--- a/recipes-ti/beagleboard/gadget-init/storage-gadget-init.service
+++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/storage-gadget-init.service
diff --git a/recipes-ti/beagleboard/gadget-init/udhcpd.conf b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.conf
index 3bcf00f0..3bcf00f0 100644
--- a/recipes-ti/beagleboard/gadget-init/udhcpd.conf
+++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.conf
diff --git a/recipes-ti/beagleboard/gadget-init/udhcpd.rules b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.rules
index db65f9ac..db65f9ac 100644
--- a/recipes-ti/beagleboard/gadget-init/udhcpd.rules
+++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.rules
diff --git a/recipes-ti/beagleboard/gadget-init/udhcpd.service b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.service
index 1f4ac688..1f4ac688 100644
--- a/recipes-ti/beagleboard/gadget-init/udhcpd.service
+++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.service
diff --git a/recipes-ti/beagleboard/gadget-init/update-image-info-on-mmcblk0p1.sh b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/update-image-info-on-mmcblk0p1.sh
index a4daf734..a4daf734 100755
--- a/recipes-ti/beagleboard/gadget-init/update-image-info-on-mmcblk0p1.sh
+++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/update-image-info-on-mmcblk0p1.sh
diff --git a/recipes-ti/bios/ti-sysbios.inc b/meta-ti-extras/recipes-ti/bios/ti-sysbios.inc
index 087f2edd..f31decec 100644
--- a/recipes-ti/bios/ti-sysbios.inc
+++ b/meta-ti-extras/recipes-ti/bios/ti-sysbios.inc
@@ -1,7 +1,7 @@
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"
+LICENSE = "BSD-3-Clause"
require ../includes/ti-paths.inc
require ../includes/ti-staging.inc
@@ -19,10 +19,10 @@ do_install() {
cp ${CP_ARGS} ${S}/* ${D}${SYSBIOS_INSTALL_DIR_RECIPE}
}
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN}-dev += "${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"
+INSANE_SKIP:${PN}-dev = "arch ldflags staticdev file-rdeps"
diff --git a/recipes-ti/bios/ti-sysbios_6.76.03.01.bb b/meta-ti-extras/recipes-ti/bios/ti-sysbios_6.76.03.01.bb
index 8ebe2f3e..d242510f 100644
--- a/recipes-ti/bios/ti-sysbios_6.76.03.01.bb
+++ b/meta-ti-extras/recipes-ti/bios/ti-sysbios_6.76.03.01.bb
@@ -1,5 +1,6 @@
require recipes-ti/bios/ti-sysbios.inc
+PE = "1"
PV = "6_76_03_01"
PR = "r0"
diff --git a/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
index aa538412..2e25ea76 100644
--- a/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
@@ -1,7 +1,7 @@
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"
+LICENSE = "BSD-3-Clause"
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc
@@ -25,5 +25,5 @@ do_install() {
cp ${CP_ARGS} ${S}/* ${D}${CE_INSTALL_DIR_RECIPE}
}
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN}-dev += "${CE_INSTALL_DIR_RECIPE}"
+ALLOW_EMPTY:${PN} = "1"
+FILES:${PN}-dev += "${CE_INSTALL_DIR_RECIPE}"
diff --git a/recipes-ti/ctoolslib/libaet_git.bb b/meta-ti-extras/recipes-ti/ctoolslib/libaet_git.bb
index 626ba926..400221f9 100644
--- a/recipes-ti/ctoolslib/libaet_git.bb
+++ b/meta-ti-extras/recipes-ti/ctoolslib/libaet_git.bb
@@ -1,13 +1,13 @@
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"
+LICENSE = "BSD-3-Clause"
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"
+SRC_URI = "git://git.ti.com/git/sdo-emu/ctoolslib.git;protocol=https;branch=opencl_aetlib_build"
SRCREV = "de7954abab0f0caa8a2c7b53095c30226d901a31"
DEPENDS = "ti-cgt6x-native"
@@ -16,8 +16,7 @@ PR = "r0"
S = "${WORKDIR}/git/aet"
DEVICE=""
-DEVICE_dra7xx = "DRA7xx"
-DEVICE_keystone = "C66AK2Hxx"
+DEVICE:dra7xx = "DRA7xx"
EXTRA_OEMAKE = "C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include"
@@ -29,11 +28,11 @@ do_install() {
install -m 0644 ${S}/build/c66/libaet.ae66 ${D}${datadir}/ti/ctoolslib/aet/lib/
}
-COMPATIBLE_MACHINE = "dra7xx|keystone"
+COMPATIBLE_MACHINE = "dra7xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
-FILES_${PN}-dev += "\
+FILES:${PN}-dev += "\
${datadir}/ti/ctoolslib/aet \
"
-ALLOW_EMPTY_${PN} = "1"
+ALLOW_EMPTY:${PN} = "1"
diff --git a/recipes-ti/devtools/gcc-arm-none-eabi_7-2018-q2-update.bb b/meta-ti-extras/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb
index f474c87f..64bac240 100644
--- a/recipes-ti/devtools/gcc-arm-none-eabi_7-2018-q2-update.bb
+++ b/meta-ti-extras/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb
@@ -1,5 +1,5 @@
DESCRIPTION = "Baremetal GCC for ARM"
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=f77466c63f5787f4bd669c402aabe061"
@@ -14,16 +14,16 @@ 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"
+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}/*"
+FILES:${PN} = "${GCC_ARM_NONE_TOOLCHAIN_RECIPE}/*"
-INSANE_SKIP_${PN} = "already-stripped libdir staticdev build-deps file-rdeps"
+INSANE_SKIP:${PN} = "already-stripped libdir staticdev build-deps file-rdeps"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-ti/devtools/ti-cg-xml_2.61.00.bb b/meta-ti-extras/recipes-ti/devtools/ti-cg-xml_2.61.00.bb
index e618af5a..c7608a76 100644
--- a/recipes-ti/devtools/ti-cg-xml_2.61.00.bb
+++ b/meta-ti-extras/recipes-ti/devtools/ti-cg-xml_2.61.00.bb
@@ -1,7 +1,7 @@
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"
+LICENSE = "BSD-3-Clause"
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc
@@ -29,9 +29,9 @@ do_install() {
cp ${CP_ARGS} ${S}/* ${D}${CG_XML_INSTALL_DIR_RECIPE}
}
-FILES_${PN} += "${CG_XML_INSTALL_DIR_RECIPE}"
+FILES:${PN} += "${CG_XML_INSTALL_DIR_RECIPE}"
-INSANE_SKIP_${PN} = "arch ldflags file-rdeps"
+INSANE_SKIP:${PN} = "arch ldflags file-rdeps"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
diff --git a/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb
index 8b496f44..b7b6d9b1 100644
--- a/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb
+++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb
@@ -10,6 +10,7 @@ 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}"
@@ -20,7 +21,7 @@ TI_BIN_UNPK_CMDS = ""
# only x86_64 is supported
COMPATIBLE_HOST = "x86_64.*-linux"
-COMPATIBLE_HOST_class-target = "null"
+COMPATIBLE_HOST:class-target = "null"
do_install() {
install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
@@ -32,12 +33,12 @@ SRC_URI[cgt_arm_installer.sha256sum] = "da976143128c619a278cb4214a4295c409d100f9
BINFILE_NAME = "cgt_arm_installer"
-FILES_${PN} += "${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
+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"
+INSANE_SKIP:${PN} += "arch staticdev file-rdeps"
BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-ti/devtools/ti-cgt-pru_2.3.2.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb
index ed10e272..c96113fe 100644
--- a/recipes-ti/devtools/ti-cgt-pru_2.3.2.bb
+++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/dow
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"
+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
@@ -13,16 +13,16 @@ 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"
+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-x86.md5sum] = "abb76fac986993aafaf467915985ec4f"
+SRC_URI[cgt-pru-x86.sha256sum] = "1f1405167214f2c0ef848591b17a7799fdcd9f55f11bc90db9ace3490d426215"
-SRC_URI[cgt-pru-arm.md5sum] = "fbf10083af1b0e5d69b018126603bb58"
-SRC_URI[cgt-pru-arm.sha256sum] = "75ac84775a5624ea7e4fad4efc1acb7e869c79160550d48ba780068a3dce879c"
+SRC_URI[cgt-pru-arm.md5sum] = "648a6d7d8162fd6a89f381c7b974e6b0"
+SRC_URI[cgt-pru-arm.sha256sum] = "8390cb77b46b728ce2940595b81406f76d86dfed58c21258e3206a7c1232ccf2"
do_install() {
install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}
@@ -30,13 +30,13 @@ do_install() {
${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}/
}
-do_install_class-target() {
+do_install:class-target() {
${WORKDIR}/${BINFILE} --prefix ${D}
}
-FILES_${PN} += "${datadir}/ti/*"
+FILES:${PN} += "${datadir}/ti/*"
-FILES_${PN}-dbg = "${TI_CGT_PRU_INSTALL_DIR_RECIPE}/bin/.debug \
+FILES:${PN}-dbg = "${TI_CGT_PRU_INSTALL_DIR_RECIPE}/bin/.debug \
${TI_CGT_PRU_INSTALL_DIR_RECIPE}/lib/.debug \
"
@@ -44,6 +44,6 @@ INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-INSANE_SKIP_${PN} += "arch staticdev already-stripped file-rdeps"
+INSANE_SKIP:${PN} += "arch staticdev already-stripped file-rdeps"
BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-ti/devtools/ti-cgt470.inc b/meta-ti-extras/recipes-ti/devtools/ti-cgt470.inc
index f0992aa7..f0992aa7 100644
--- a/recipes-ti/devtools/ti-cgt470.inc
+++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt470.inc
diff --git a/recipes-ti/devtools/ti-cgt470_4.6.6.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt470_4.6.6.bb
index 6ff2cc48..6ff2cc48 100644
--- a/recipes-ti/devtools/ti-cgt470_4.6.6.bb
+++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt470_4.6.6.bb
diff --git a/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb
index a67a2d8a..a7de8e38 100644
--- a/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb
+++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb
@@ -28,16 +28,16 @@ SRC_URI[cgt6x_7.4.16_x86_installer.sha256sum] = "baa0d1ef20397383f99f45068a6d160
# only x86_64 is supported
COMPATIBLE_HOST = "x86_64.*-linux"
-COMPATIBLE_HOST_class-target = "null"
+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}"
+FILES:${PN} += "${TI_CGT6X_7_INSTALL_DIR_RECIPE}"
-INSANE_SKIP_${PN} += "arch staticdev textrel"
+INSANE_SKIP:${PN} += "arch staticdev textrel"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
diff --git a/recipes-ti/devtools/ti-cgt6x_8.3.2.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb
index 38f5597d..fd34657a 100644
--- a/recipes-ti/devtools/ti-cgt6x_8.3.2.bb
+++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb
@@ -3,13 +3,13 @@ HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/dow
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"
+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"
+COMPATIBLE_HOST:class-target = "arm.*-linux"
# For now we only have hardfp version for target class
python __anonymous() {
@@ -31,8 +31,8 @@ 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"
+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}"
@@ -91,17 +91,17 @@ do_install() {
}
-do_install_class-target() {
+do_install:class-target() {
${WORKDIR}/${BINFILE} --prefix ${D}
}
-FILES_${PN} += "${datadir}/ti/*"
+FILES:${PN} += "${datadir}/ti/*"
-FILES_${PN}-dbg += "${datadir}/ti/cgt-c6x/bin/.debug"
+FILES:${PN}-dbg += "${datadir}/ti/cgt-c6x/bin/.debug"
-INSANE_SKIP_${PN} += "staticdev"
+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)"
+COMPATIBLE_MACHINE:class-target = "(ti-soc)"
diff --git a/recipes-ti/devtools/ti-cgt7x_1.2.0.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt7x_1.2.0.bb
index 09178af8..b45b52a3 100644
--- a/recipes-ti/devtools/ti-cgt7x_1.2.0.bb
+++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt7x_1.2.0.bb
@@ -15,7 +15,9 @@ require recipes-ti/includes/ti-paths.inc
# only x86_64 is supported
COMPATIBLE_HOST = "x86_64.*-linux"
-COMPATIBLE_HOST_class-target = "null"
+COMPATIBLE_HOST:class-target = "null"
+
+PE = "1"
BINFILE = "ti_cgt_c7000_${PV}.STS_linux_installer_x86.bin"
BINFILE_NAME = "cgt7x_x86_installer"
@@ -36,9 +38,9 @@ do_install() {
}
-FILES_${PN} += "${TI_CGT7X_INSTALL_DIR_RECIPE}"
+FILES:${PN} += "${TI_CGT7X_INSTALL_DIR_RECIPE}"
-INSANE_SKIP_${PN} += "arch staticdev textrel"
+INSANE_SKIP:${PN} += "arch staticdev textrel"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
diff --git a/recipes-ti/devtools/ti-xdctools-common.inc b/meta-ti-extras/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb
index 27f8f908..b1361804 100644
--- a/recipes-ti/devtools/ti-xdctools-common.inc
+++ b/meta-ti-extras/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb
@@ -1,7 +1,7 @@
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"
+LICENSE = "BSD-3-Clause & GPL-2.0-only"
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc
@@ -13,14 +13,14 @@ do_install() {
cp ${CP_ARGS} ${S}/* ${D}${XDC_INSTALL_DIR_RECIPE}
}
-FILES_${PN}-dev = "${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"
+INSANE_SKIP:${PN}-dev = "libdir dev-elf arch file-rdeps"
# Prevent internal libs from getting picked up
PRIVATE_LIBS = " \
@@ -60,9 +60,24 @@ 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 = "(.*)"
+COMPATIBLE_HOST:ti-soc = "(.*)"
+COMPATIBLE_HOST:class-native = "(.*)"
+COMPATIBLE_HOST:class-nativesdk = "(.*)"
+
+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"
+
+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/recipes-ti/dsplib/dsplib-c64xp_git.bb b/meta-ti-extras/recipes-ti/dsplib/dsplib-c64xp_git.bb
index 1550a538..1550a538 100644
--- a/recipes-ti/dsplib/dsplib-c64xp_git.bb
+++ b/meta-ti-extras/recipes-ti/dsplib/dsplib-c64xp_git.bb
diff --git a/recipes-ti/dsplib/dsplib-c66x_git.bb b/meta-ti-extras/recipes-ti/dsplib/dsplib-c66x_git.bb
index b28d8df6..b28d8df6 100644
--- a/recipes-ti/dsplib/dsplib-c66x_git.bb
+++ b/meta-ti-extras/recipes-ti/dsplib/dsplib-c66x_git.bb
diff --git a/recipes-ti/dsplib/dsplib-c674x_git.bb b/meta-ti-extras/recipes-ti/dsplib/dsplib-c674x_git.bb
index 47974ea1..47974ea1 100644
--- a/recipes-ti/dsplib/dsplib-c674x_git.bb
+++ b/meta-ti-extras/recipes-ti/dsplib/dsplib-c674x_git.bb
diff --git a/recipes-ti/dsplib/dsplib.inc b/meta-ti-extras/recipes-ti/dsplib/dsplib.inc
index 111d83cb..6ebc3b34 100644
--- a/recipes-ti/dsplib/dsplib.inc
+++ b/meta-ti-extras/recipes-ti/dsplib/dsplib.inc
@@ -17,8 +17,8 @@ DEPENDS = "ti-cgt6x-native \
S = "${WORKDIR}/git"
DSPLIB_GIT_BRANCH = "master"
-DSPLIB_GIT_PROTOCOL = "git"
-DSPLIB_GIT_URI = "git://git.ti.com/ep-processor-libraries/dsplib.git"
+DSPLIB_GIT_PROTOCOL = "https"
+DSPLIB_GIT_URI = "git://git.ti.com/git/ep-processor-libraries/dsplib.git"
DSPLIB_SRCREV = "0390b171042c602e07669fd28a371cc319b90161"
SRC_URI = "${DSPLIB_GIT_URI};protocol=${DSPLIB_GIT_PROTOCOL};branch=${DSPLIB_GIT_BRANCH}"
@@ -35,7 +35,7 @@ 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}"
+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};"
@@ -70,9 +70,9 @@ do_deploy() {
rm -r ./${DSPLIB_PACKAGE_NAME}
}
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN}-dev += "${DSPLIB_INSTALL_DIR_RECIPE}"
+ALLOW_EMPTY:${PN} = "1"
+FILES:${PN}-dev += "${DSPLIB_INSTALL_DIR_RECIPE}"
-INSANE_SKIP_${PN}-dev = "arch"
+INSANE_SKIP:${PN}-dev = "arch"
COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
+COMPATIBLE_HOST:ti-soc = "(.*)"
diff --git a/recipes-ti/framework-components/ti-framework-components.inc b/meta-ti-extras/recipes-ti/framework-components/ti-framework-components.inc
index ca152328..81407ed7 100644
--- a/recipes-ti/framework-components/ti-framework-components.inc
+++ b/meta-ti-extras/recipes-ti/framework-components/ti-framework-components.inc
@@ -1,7 +1,7 @@
DESCRIPTION = "TI Framework Components"
HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/fc"
SECTION = "devel"
-LICENSE = "BSD"
+LICENSE = "BSD-3-Clause"
require recipes-ti/includes/ti-paths.inc
@@ -15,7 +15,7 @@ do_install() {
cp ${CP_ARGS} ${S}/* ${D}${FC_INSTALL_DIR_RECIPE}
}
-INSANE_SKIP_${PN} = "ldflags"
+INSANE_SKIP:${PN} = "ldflags"
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN}-dev += "${FC_INSTALL_DIR_RECIPE}"
+ALLOW_EMPTY:${PN} = "1"
+FILES:${PN}-dev += "${FC_INSTALL_DIR_RECIPE}"
diff --git a/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
index 1ec10b15..1ec10b15 100644
--- a/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
diff --git a/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
index 56c00283..56c00283 100644
--- a/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
diff --git a/recipes-ti/imglib/imglib-c66x.inc b/meta-ti-extras/recipes-ti/imglib/imglib-c66x.inc
index 164bf41d..ab5cbdb6 100644
--- a/recipes-ti/imglib/imglib-c66x.inc
+++ b/meta-ti-extras/recipes-ti/imglib/imglib-c66x.inc
@@ -7,7 +7,7 @@ require ../includes/ti-paths.inc
require ../includes/ti-staging.inc
require ../includes/ti-unpack.inc
-COMPATIBLE_MACHINE = "omap-a15|keystone"
+COMPATIBLE_MACHINE = "omap-a15"
SRC_URI = "http://software-dl.ti.com/sdoemb/sdoemb_public_sw/imglib/${PV}/exports/${BINFILE};name=imglib"
@@ -23,12 +23,12 @@ do_install() {
cp ${CP_ARGS} ${S}/* ${D}${IMGLIB_C66_INSTALL_DIR_RECIPE}
}
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN}-dev += "${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"
+RDEPENDS:${PN}-dev += "perl"
+INSANE_SKIP:${PN}-dev = "arch"
diff --git a/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb b/meta-ti-extras/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb
index e614352c..e614352c 100644
--- a/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb
+++ b/meta-ti-extras/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb
diff --git a/recipes-ti/includes/ti-eula-unpack.inc b/meta-ti-extras/recipes-ti/includes/ti-eula-unpack.inc
index ead06100..ead06100 100644
--- a/recipes-ti/includes/ti-eula-unpack.inc
+++ b/meta-ti-extras/recipes-ti/includes/ti-eula-unpack.inc
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..e8b0f17b
--- /dev/null
+++ b/meta-ti-extras/recipes-ti/includes/ti-paths.inc
@@ -0,0 +1,60 @@
+installdir = "${datadir}/ti"
+
+export TOOLCHAIN_PATH ?= "${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_SYS}"
+
+# This is where do_install will put it
+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 CG_XML_INSTALL_DIR_RECIPE = "${installdir}/ti-cg-xml-tree"
+export DSPLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplib-c66x-tree"
+export DSPLIB_C674_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplib-c674x-tree"
+export DSPLIB_C64P_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplib-c64p-tree"
+export EDMA3_LLD_INSTALL_DIR_RECIPE = "${installdir}/ti-edma3lld-tree"
+export FC_INSTALL_DIR_RECIPE = "${installdir}/ti-framework-components-tree"
+export GCC_ARM_NONE_TOOLCHAIN_RECIPE = "${installdir}/gcc-arm-none-eabi"
+export IMGLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-imglib-c66x-tree"
+export IPC_INSTALL_DIR_RECIPE = "${installdir}/ti-ipc-tree"
+export M4_TOOLCHAIN_INSTALL_DIR_RECIPE = "${installdir}/ti-cgt-arm"
+export MATHLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c66x-tree"
+export MATHLIB_C674_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c674x-tree"
+export MPM_INSTALL_DIR_RECIPE = "${installdir}/ti-mpm-tree"
+export OMP_INSTALL_DIR_RECIPE = "${installdir}/ti-omp-tree"
+export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree"
+export PDK_INSTALL_DIR_RECIPE = "${installdir}/ti-pdk-tree"
+export SYSBIOS_INSTALL_DIR_RECIPE = "${installdir}/ti-sysbios-tree"
+export SWTOOLS_INSTALL_DIR_RECIPE = "${installdir}/ti-swtools-tree"
+export TI_CGT_PRU_INSTALL_DIR_RECIPE = "${installdir}/cgt-pru"
+export TI_CGT6X_7_INSTALL_DIR_RECIPE = "${installdir}/cgt6x-7"
+export TI_CGT7X_INSTALL_DIR_RECIPE = "${installdir}/cgt-c7x"
+export VLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-vlib-c66x-tree"
+export XDAIS_INSTALL_DIR_RECIPE = "${installdir}/ti-xdais-tree"
+export XDC_INSTALL_DIR_RECIPE = "${installdir}/ti-xdctools-tree"
+
+# This is where the tools will end up in sysroot
+export CE_INSTALL_DIR = "${STAGING_DIR_TARGET}${CE_INSTALL_DIR_RECIPE}"
+export CODEGEN_ARM_INSTALL_DIR = "${STAGING_DIR_TARGET}${CODEGEN_ARM_INSTALL_DIR_RECIPE}"
+export CG_XML_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CG_XML_INSTALL_DIR_RECIPE}"
+export DSPLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSPLIB_C66_INSTALL_DIR_RECIPE}"
+export DSPLIB_C674_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSPLIB_C674_INSTALL_DIR_RECIPE}"
+export DSPLIB_C64P_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSPLIB_C64P_INSTALL_DIR_RECIPE}"
+export EDMA3_LLD_INSTALL_DIR = "${STAGING_DIR_TARGET}${EDMA3_LLD_INSTALL_DIR_RECIPE}"
+export FC_INSTALL_DIR = "${STAGING_DIR_TARGET}${FC_INSTALL_DIR_RECIPE}"
+export GCC_ARM_NONE_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}"
+export IMGLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${IMGLIB_C66_INSTALL_DIR_RECIPE}"
+export IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}${IPC_INSTALL_DIR_RECIPE}"
+export M4_TOOLCHAIN_INSTALL_DIR = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_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 MPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${MPM_INSTALL_DIR_RECIPE}"
+export OMP_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMP_INSTALL_DIR_RECIPE}"
+export OSAL_INSTALL_DIR = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}"
+export PDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}"
+export SWTOOLS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SWTOOLS_INSTALL_DIR_RECIPE}"
+export SYSBIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECIPE}"
+export TI_CGT_PRU_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT_PRU_INSTALL_DIR_RECIPE}"
+export TI_CGT6X_7_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT6X_7_INSTALL_DIR_RECIPE}"
+export TI_CGT7X_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT7X_INSTALL_DIR_RECIPE}"
+export VLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${VLIB_C66_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}"
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/recipes-ti/includes/ti-unpack.inc b/meta-ti-extras/recipes-ti/includes/ti-unpack.inc
index 828f3d5a..13068843 100644
--- a/recipes-ti/includes/ti-unpack.inc
+++ b/meta-ti-extras/recipes-ti/includes/ti-unpack.inc
@@ -24,7 +24,6 @@ python ti_bin_do_unpack() {
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)
@@ -78,6 +77,6 @@ python ti_bin_do_unpack() {
}
COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
-COMPATIBLE_HOST_class-native = "(.*)"
-COMPATIBLE_HOST_class-nativesdk = "(.*)"
+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 <denis@denix.org>
+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 <denis@denix.org>
+---
+ 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/recipes-ti/ipc/ti-ipc-examples-linux_git.bb b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb
index 471d7ff2..81706592 100644
--- a/recipes-ti/ipc/ti-ipc-examples-linux_git.bb
+++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb
@@ -1,9 +1,11 @@
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() {
+do_compile:append() {
if [ "${PLATFORM}" != "UNKNOWN" ]; then
oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
@@ -25,7 +27,7 @@ do_compile_append() {
fi
}
-do_install_append() {
+do_install:append() {
cd ${S_ipc-examples}/src
if [ "${PLATFORM}" != "UNKNOWN" ]; then
@@ -44,4 +46,4 @@ do_install_append() {
fi
}
-FILES_${PN} += "${bindir}/*"
+FILES:${PN} += "${bindir}/*"
diff --git a/recipes-ti/ipc/ti-ipc-examples.inc b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc
index 022b13f0..09352505 100644
--- a/recipes-ti/ipc/ti-ipc-examples.inc
+++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc
@@ -1,13 +1,13 @@
HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC"
-require ti-ipc-common.inc
+require recipes-ti/ipc/ti-ipc-common.inc
require ti-ipc-rtos.inc
-LICENSE = "BSD"
+LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea07bade1244ac9a"
-INSANE_SKIP_${PN} += "arch"
+INSANE_SKIP:${PN} += "arch"
-ALLOW_EMPTY_${PN} = "1"
+ALLOW_EMPTY:${PN} = "1"
IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
diff --git a/recipes-ti/ipc/ti-ipc-examples_git.bb b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb
index 43e45e64..bcc8674e 100644
--- a/recipes-ti/ipc/ti-ipc-examples_git.bb
+++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb
@@ -3,9 +3,7 @@ require ti-ipc-examples.inc
DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native"
-DEPENDS_append_am65xx = " sciclient-rtos"
-
-do_compile_append() {
+do_compile:append() {
if [ "${PLATFORM}" != "UNKNOWN" ]; then
oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
@@ -23,7 +21,7 @@ do_compile_append() {
fi
}
-do_install_append() {
+do_install:append() {
if [ "${PLATFORM}" != "UNKNOWN" ]; then
# Install directory for bios examples
install -d ${D}/ipc_${IPC_VERSION}/examples/bios
@@ -43,4 +41,4 @@ do_install_append() {
fi
}
-FILES_${PN} += "ipc_*"
+FILES:${PN} += "ipc_*"
diff --git a/recipes-ti/ipc/ti-ipc-rtos.inc b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc
index c4ab2687..14ac7c77 100644
--- a/recipes-ti/ipc/ti-ipc-rtos.inc
+++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc
@@ -1,8 +1,8 @@
require recipes-ti/includes/ti-paths.inc
-TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git"
+TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/git/ipc/ipc-examples.git"
TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples"
-TI_IPC_EXAMPLES_GIT_PROTOCOL = "git"
+TI_IPC_EXAMPLES_GIT_PROTOCOL = "https"
TI_IPC_EXAMPLES_GIT_BRANCH = "master"
TI_IPC_EXAMPLES_NAME = "ipc-examples"
@@ -12,9 +12,9 @@ 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_GIT_URI = "git://git.ti.com/git/ipc/ipc-metadata.git"
TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata"
-TI_IPC_METADATA_GIT_PROTOCOL = "git"
+TI_IPC_METADATA_GIT_PROTOCOL = "https"
TI_IPC_METADATA_GIT_BRANCH = "master"
TI_IPC_METADATA_NAME = "ipc-metadata"
@@ -41,49 +41,26 @@ RELEASE_SUFFIX = ""
PR = "${INC_PR}.r0"
-DEPENDS_append_keystone = " ti-cgt6x-native \
- gcc-arm-none-eabi-native \
-"
-DEPENDS_append_omap-a15 = " ti-cgt6x-native \
+DEPENDS:append:omap-a15 = " ti-cgt6x-native \
ti-cgt-arm-native \
- gcc-arm-none-eabi-native \
-"
-DEPENDS_append_omapl138 = " ti-cgt6x-native \
+ gcc-arm-baremetal-native \
"
-DEPENDS_append_c66x = " ti-cgt6x-native \
+DEPENDS:append:omapl138 = " ti-cgt6x-native \
"
-DEPENDS_append_am65xx = " ti-cgt-arm-native \
- gcc-linaro-baremetal-aarch64-native"
-
IPC_TARGETS = ""
-IPC_TARGETS_omap-a15 = "\
+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 = "\
+IPC_TARGETS:omapl138 = "\
ti.targets.elf.C674="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
"
-IPC_TARGETS_keystone = " \
- 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" \
-"
-IPC_TARGETS_c66x = " \
- 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" \
-"
-
-IPC_TARGETS_am65xx = "\
- gnu.targets.arm.A53F="${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}" \
- ti.targets.arm.elf.R5F="${M4_TOOLCHAIN_INSTALL_DIR}" \
-"
-
PARALLEL_XDC = "${@oe.utils.parallel_make_argument(d, '--jobs=%d')}"
EXTRA_OEMAKE = "\
PLATFORM=${PLATFORM} \
@@ -93,5 +70,4 @@ EXTRA_OEMAKE = "\
${PARALLEL_XDC} \
JAVA_TOOL_OPTIONS=-Xss2560k \
"
-EXTRA_OEMAKE_append_am65xx = " PDK_INSTALL_DIR=${PDK_INSTALL_DIR}"
diff --git a/recipes-ti/ipc/ti-ipc-rtos_git.bb b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb
index 4c0e71e6..999993ea 100644
--- a/recipes-ti/ipc/ti-ipc-rtos_git.bb
+++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb
@@ -1,18 +1,17 @@
-require ti-ipc.inc
-require ti-ipc-common.inc
+require recipes-ti/ipc/ti-ipc.inc
+require recipes-ti/ipc/ti-ipc-common.inc
require ti-ipc-rtos.inc
DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native"
-DEPENDS_append_am65xx = " sciclient-rtos"
PACKAGES =+ "${PN}-fw"
-FILES_${PN}-fw = "${base_libdir}/firmware/*"
-FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}"
+FILES:${PN}-fw = "${nonarch_base_libdir}/firmware/*"
+FILES:${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}"
-INSANE_SKIP_${PN}-fw += "arch"
-INSANE_SKIP_${PN}-dev += "arch"
+INSANE_SKIP:${PN}-fw += "arch"
+INSANE_SKIP:${PN}-dev += "arch"
-ALLOW_EMPTY_${PN} = "1"
+ALLOW_EMPTY:${PN} = "1"
IPC_PACKAGE_DIR = "${S}/ipc-package"
@@ -62,12 +61,6 @@ do_compile() {
fi
}
-do_install_prepend_am65xx () {
- # Trim directory name
- mv ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_false_R5F0 ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_R5F0
- mv ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_false_R5F1 ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_R5F1
-}
-
do_install() {
CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
@@ -75,67 +68,34 @@ do_install() {
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
+ install -d ${D}${nonarch_base_libdir}/firmware/ipc
+ cp ${CP_ARGS} ${S}/packages/ti/ipc/tests/bin/* ${D}${nonarch_base_libdir}/firmware/ipc || true
}
KFDSPNUM = "0"
-KFDSPNUM_k2hk = "8"
-KFDSPNUM_k2l = "4"
-KFDSPNUM_keystone = "1"
KFPLAT = ""
-KFPLAT_k2hk = "TCI6638K2K"
-KFPLAT_k2l = "TCI6630K2L"
-KFPLAT_k2e = "C66AK2E"
-KFPLAT_k2g = "TCI66AK2G02"
ALTERNATIVE_PRIORITY = "5"
-pkg_postinst_${PN}-fw_keystone () {
- i=0
- while [ $i -lt ${KFDSPNUM} ]; do
- update-alternatives --install /lib/firmware/keystone-dsp$i-fw keystone-dsp$i-fw ipc/ti_platforms_evm${KFPLAT}_core0/messageq_single.xe66 ${ALTERNATIVE_PRIORITY}
- i=$(($i + 1))
- done
-}
-
-pkg_postrm_${PN}-fw_keystone () {
- i=0
- while [ $i -lt ${KFDSPNUM} ]; do
- update-alternatives --remove keystone-dsp$i-fw ipc/ti_platforms_evm${KFPLAT}_core0/messageq_single.xe66
- i=$(($i + 1))
- done
-}
-
-pkg_postinst_${PN}-fw_omap-a15 () {
+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 () {
+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 () {
+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 () {
+pkg_postrm:${PN}-fw:omapl138 () {
update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674
}
-
-pkg_postinst_${PN}-fw_am65xx () {
- update-alternatives --install /lib/firmware/am65x-mcu-r5f0_0-fw am65x-mcu-r5f0_0-fw ipc/ti_platforms_cortexR_AM65X_R5F0/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}
- update-alternatives --install /lib/firmware/am65x-mcu-r5f0_1-fw am65x-mcu-r5f0_1-fw ipc/ti_platforms_cortexR_AM65X_R5F1/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}
-}
-
-pkg_postrm_${PN}-fw_am65xx () {
- update-alternatives --remove am65x-mcu-r5f0_0-fw ipc/ti_platforms_cortexR_AM65X_R5F0/messageq_single.xer5f
- update-alternatives --remove am65x-mcu-r5f0_1-fw ipc/ti_platforms_cortexR_AM65X_R5F1/messageq_single.xer5f
-}
diff --git a/meta-ti-extras/recipes-ti/jailhouse/jailhouse-inmate.bb b/meta-ti-extras/recipes-ti/jailhouse/jailhouse-inmate.bb
new file mode 100644
index 00000000..39654a53
--- /dev/null
+++ b/meta-ti-extras/recipes-ti/jailhouse/jailhouse-inmate.bb
@@ -0,0 +1,12 @@
+require ti-jailhouse.inc
+
+do_install() {
+
+ install -d ${D}${bindir}
+ install -m 0755 ${TOOLS_SRC_DIR}/demos/ivshmem-demo ${D}${bindir}
+
+}
+
+FILES:${PN} = " \
+ ${bindir}/ivshmem-demo \
+"
diff --git a/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb b/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
new file mode 100644
index 00000000..98ec0e9e
--- /dev/null
+++ b/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
@@ -0,0 +1,126 @@
+require ti-jailhouse.inc
+
+RDEPENDS:${PN} += "\
+ python3-curses\
+ python3-datetime\
+ python3-mmap\
+"
+
+JH_CELL_FILES ?= "*.cell"
+JH_CELL_FILES:k3 ?= "k3-*.cell"
+JH_CELL_FILES:am62xx ?= "k3-am625-*.cell"
+JH_CELL_FILES:am62pxx ?= "k3-am62p5-*.cell"
+
+JH_INMATE_DTB ?= ""
+JH_INMATE_DTB:am62xx ?= "inmate-k3-am625-sk.dtb"
+JH_INMATE_DTB:am65xx ?= "inmate-k3-am654-idk.dtb"
+JH_INMATE_DTB:am62pxx ?= "inmate-k3-am62p5-sk.dtb"
+JH_INMATE_DTB:j7 ?= "inmate-k3-j721e-evm.dtb"
+JH_INMATE_DTB:j7200-evm ?= "inmate-k3-j7200-evm.dtb"
+
+JH_LINUX_DEMO_CELL ?= ""
+JH_LINUX_DEMO_CELL:am62xx ?= "k3-am625-sk-linux-demo.cell"
+JH_LINUX_DEMO_CELL:am65xx ?= "k3-am654-idk-linux-demo.cell"
+JH_LINUX_DEMO_CELL:am62pxx ?= "k3-am62p5-sk-linux-demo.cell"
+JH_LINUX_DEMO_CELL:j7 ?= "k3-j721e-evm-linux-demo.cell"
+JH_LINUX_DEMO_CELL:j7200-evm ?= "k3-j7200-evm-linux-demo.cell"
+
+INITRAMFS_IMAGE ?= ""
+JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}"
+
+JH_CMDLINE ?= ""
+JH_CMDLINE:am62xx ?= "console=ttyS3,115200n8 earlycon=ns16550a,mmio32,0x02810000"
+JH_CMDLINE:am62pxx ?= "console=ttyS1,115200n8"
+JH_CMDLINE:am65xx ?= "console=ttyS1,115200n8"
+JH_CMDLINE:j7 ?= "console=ttyS3,115200n8"
+JH_CMDLINE:j7200-evm ?= "console=ttyS3,115200n8"
+
+do_install() {
+
+ # We want to install the python tools, but we do not want to use pip...
+ # At least with v0.10, we can work around this with
+ # 'PIP=":" PYTHON_PIP_USEABLE=yes'
+ oe_runmake PIP=: PYTHON=python3 PYTHON_PIP_USEABLE=yes DESTDIR=${D} install
+
+ install -d ${D}${CELL_DIR}
+ install -m 0644 ${B}/configs/${JH_ARCH}/${JH_CELL_FILES} ${D}${CELL_DIR}/
+
+ install -d ${D}${INMATES_DIR}
+ install -m 0644 ${B}/inmates/demos/${JH_ARCH}/*.bin ${D}${INMATES_DIR}
+
+ install -d ${D}/boot
+ if [ -n "${JH_RAMFS_IMAGE}" ]
+ then
+ if [ -f ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}-${MACHINE}.cpio ]
+ then
+ install -m 0644 ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}-${MACHINE}.cpio ${D}/boot
+ else
+ bberror "Could not find JH_RAMFS_IMAGE (${JH_RAMFS_IMAGE}-${MACHINE}.cpio)!"
+ bberror "Please make sure that \"cpio\" is in IMAGE_FSTYPES."
+ fi
+ fi
+
+ if [ -n "${JH_INMATE_DTB}" -a -n "${JH_LINUX_DEMO_CELL}" ]; then
+ cd ${TOOLS_SRC_DIR}
+
+ echo "#! /bin/sh" > ${D}${JH_DATADIR}/linux-demo.sh
+ echo "jailhouse enable ${CELL_DIR}/${JH_SYSCONFIG_CELL}" >> ${D}${JH_DATADIR}/linux-demo.sh
+ ./jailhouse-cell-linux -w ${D}${JH_DATADIR}/${JH_INMATE_DTB} \
+ -a ${JH_ARCH} -c "${JH_CMDLINE}" \
+ -d ../configs/${JH_ARCH}/dts/${JH_INMATE_DTB} \
+ -i ${D}/boot/${JH_RAMFS_IMAGE}-${MACHINE}.cpio \
+ ${D}${CELL_DIR}/${JH_LINUX_DEMO_CELL} \
+ ${DEPLOY_DIR_IMAGE}/Image \
+ | tr -cd '\11\12\15\40-\176' \
+ >> ${D}${JH_DATADIR}/linux-demo.sh
+
+ sed -i -e 's,^Modified device tree written.*,,g' ${D}${JH_DATADIR}/linux-demo.sh
+ sed -i -e 's,\${D},,g' ${D}${JH_DATADIR}/linux-demo.sh
+ sed -i -e 's, linux-loader.bin, ${JH_EXEC_DIR}/linux-loader.bin,g' ${D}${JH_DATADIR}/linux-demo.sh
+ sed -i -e 's,\${DEPLOY_DIR_IMAGE},/boot,g' ${D}${JH_DATADIR}/linux-demo.sh
+ sed -i -e '/^\s*$/d' ${D}${JH_DATADIR}/linux-demo.sh
+ chmod +x ${D}${JH_DATADIR}/linux-demo.sh
+ fi
+
+ rm ${D}${JH_DATADIR}/root-cell-config.c.tmpl
+ rm ${D}${JH_DATADIR}/jailhouse-config-collect.tmpl
+}
+
+PACKAGE_BEFORE_PN = "kernel-module-jailhouse pyjailhouse ${PN}-tools"
+
+FILES:pyjailhouse = "${PYTHON_SITEPACKAGES_DIR}"
+FILES:${PN}-tools = "${libexecdir}/${BPN}/${BPN}-*"
+
+RDEPENDS:${PN}-tools = "pyjailhouse python3-mmap python3-math python3-datetime python3-curses python3-compression"
+RDEPENDS:pyjailhouse = "python3-core python3-ctypes python3-fcntl python3-shell"
+
+RRECOMMENDS:${PN} = "${PN}-tools"
+
+INSANE_SKIP:${PN} = "ldflags"
+
+KERNEL_MODULE_AUTOLOAD += "jailhouse"
+
+# Any extra cells/inmates from external recipes/packages
+CELLS = ""
+
+python __anonymous () {
+ d.appendVarFlag('do_install', 'depends', ' virtual/kernel:do_deploy')
+ ramfs = d.getVar('JH_RAMFS_IMAGE', True)
+ if ramfs:
+ d.appendVarFlag('do_install', 'depends', ' ${JH_RAMFS_IMAGE}:do_image_complete')
+
+ # Setup DEPENDS and RDEPENDS to included cells
+ cells = d.getVar('CELLS', True) or ""
+ for cell in cells.split():
+ d.appendVar('DEPENDS', ' ' + cell)
+ d.appendVar('RDEPENDS_${PN}', ' ' + cell)
+}
+
+FILES:${PN} = " \
+ /boot/* \
+ /usr/libexec \
+ /usr/sbin/* \
+ /usr/libexec/* \
+ /usr/share/* \
+ /lib/firmware/* \
+"
diff --git a/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc b/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc
new file mode 100644
index 00000000..a63891bf
--- /dev/null
+++ b/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc
@@ -0,0 +1,87 @@
+SUMMARY = "Linux-based partitioning hypervisor"
+DESCRIPTION = "Jailhouse is a partitioning Hypervisor based on Linux. It is able to run bare-metal applications or (adapted) \
+operating systems besides Linux. For this purpose, it configures CPU and device virtualization features of the hardware \
+platform in a way that none of these domains, called 'cells' here, can interfere with each other in an unacceptable way."
+HOMEPAGE = "https://github.com/siemens/jailhouse"
+SECTION = "jailhouse"
+
+LICENSE = "GPL-2.0-only & BSD-2-Clause"
+
+LIC_FILES_CHKSUM = " \
+ file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \
+"
+
+COMPATIBLE_MACHINE = "am62xx|am62pxx"
+TARGET_CC_ARCH += "${LDFLAGS}"
+PV = "0.12+git${SRCPV}"
+SRCREV = "0b29ad90f6f54105b98d6bbf35cc47fb244f7799"
+BRANCH = "master"
+SRC_URI = " \
+ git://git.ti.com/git/jailhouse/ti-jailhouse.git;protocol=https;branch=${BRANCH} \
+"
+
+# Set jailhouse architecture JH_ARCH variable
+#
+# return value must match one of architectures supported by jailhouse
+#
+valid_jh_archs = "x86 arm"
+
+def map_jh_arch(a, d):
+ import re
+
+ valid_jh_archs = d.getVar('valid_jh_archs', True).split()
+
+ if re.match('(i.86|athlon|x86.64)$', a): return 'x86'
+ elif re.match('armeb$', a): return 'arm'
+ elif re.match('aarch64$', a): return 'arm64'
+ elif re.match('aarch64_be$', a): return 'arm64'
+ elif a in valid_jh_archs: return a
+ else:
+ bb.error("cannot map '%s' to a jailhouse supported architecture" % a)
+
+export JH_ARCH = "${@map_jh_arch(d.getVar('TARGET_ARCH', True), d)}"
+
+COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
+
+S = "${WORKDIR}/git"
+B = "${S}"
+
+DEPENDS = "virtual/kernel dtc-native python3-mako-native python3-mako make-native"
+
+inherit module python3native bash-completion deploy setuptools3
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(ti-soc)"
+
+JH_DATADIR ?= "${datadir}/jailhouse"
+JH_EXEC_DIR ?= "${libexecdir}/jailhouse"
+CELL_DIR ?= "${JH_DATADIR}/cells"
+CELLCONF_DIR ?= "${JH_DATADIR}/configs"
+INMATES_DIR ?= "${JH_DATADIR}/inmates"
+
+JH_SYSCONFIG_CELL ?= ""
+JH_SYSCONFIG_CELL:am62xx ?= "k3-am625-sk.cell"
+JH_SYSCONFIG_CELL:am65xx ?= "k3-am654-idk.cell"
+JH_SYSCONFIG_CELL:am62pxx ?= "k3-am62p5-sk.cell"
+JH_SYSCONFIG_CELL:j7 ?= "k3-j721e-evm.cell"
+JH_SYSCONFIG_CELL:j7200-evm ?= "k3-j7200-evm.cell"
+
+do_configure() {
+ if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ];
+ then
+ cp ${STAGING_DIR_HOST}/${CELLCONF_DIR}/*.c ${S}/configs/
+ fi
+}
+
+USER_SPACE_CFLAGS = '${CFLAGS} -DLIBEXECDIR=\\\"${libexecdir}\\\" \
+ -DJAILHOUSE_VERSION=\\\"$JAILHOUSE_VERSION\\\" \
+ -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Werror \
+ -I../driver'
+
+TOOLS_SRC_DIR = "${S}/tools"
+
+EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" KDIR=${STAGING_KERNEL_BUILDDIR}"
+
+do_compile() {
+ oe_runmake V=1
+}
diff --git a/recipes-ti/mathlib/mathlib-c66x_git.bb b/meta-ti-extras/recipes-ti/mathlib/mathlib-c66x_git.bb
index 22683855..22683855 100644
--- a/recipes-ti/mathlib/mathlib-c66x_git.bb
+++ b/meta-ti-extras/recipes-ti/mathlib/mathlib-c66x_git.bb
diff --git a/recipes-ti/mathlib/mathlib-c674x_git.bb b/meta-ti-extras/recipes-ti/mathlib/mathlib-c674x_git.bb
index 1654baf2..1654baf2 100644
--- a/recipes-ti/mathlib/mathlib-c674x_git.bb
+++ b/meta-ti-extras/recipes-ti/mathlib/mathlib-c674x_git.bb
diff --git a/recipes-ti/mathlib/mathlib.inc b/meta-ti-extras/recipes-ti/mathlib/mathlib.inc
index cfc5409f..6ad073ec 100644
--- a/recipes-ti/mathlib/mathlib.inc
+++ b/meta-ti-extras/recipes-ti/mathlib/mathlib.inc
@@ -17,8 +17,8 @@ DEPENDS = "ti-cgt6x-native \
S = "${WORKDIR}/git"
MATHLIB_GIT_BRANCH = "master"
-MATHLIB_GIT_PROTOCOL = "git"
-MATHLIB_GIT_URI = "git://git.ti.com/ep-processor-libraries/mathlib.git"
+MATHLIB_GIT_PROTOCOL = "https"
+MATHLIB_GIT_URI = "git://git.ti.com/git/ep-processor-libraries/mathlib.git"
MATHLIB_SRCREV = "eadcc9547faf69789661b004bb0b5ef53bb69951"
SRC_URI = "${MATHLIB_GIT_URI};protocol=${MATHLIB_GIT_PROTOCOL};branch=${MATHLIB_GIT_BRANCH}"
@@ -34,7 +34,7 @@ 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}"
+PATH:append = ":${XDC_INSTALL_DIR}"
XDCPATH.="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;"
XDCPATH.="${SWTOOLS_INSTALL_DIR};${MATHLIB_WORK_DIR};"
@@ -69,9 +69,9 @@ do_deploy() {
rm -r ./${MATHLIB_PACKAGE_NAME}
}
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN}-dev += "${MATHLIB_INSTALL_DIR_RECIPE}"
+ALLOW_EMPTY:${PN} = "1"
+FILES:${PN}-dev += "${MATHLIB_INSTALL_DIR_RECIPE}"
-INSANE_SKIP_${PN}-dev = "arch"
+INSANE_SKIP:${PN}-dev = "arch"
COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
+COMPATIBLE_HOST:ti-soc = "(.*)"
diff --git a/recipes-ti/openmp-rtos/openmp-rtos_git.bb b/meta-ti-extras/recipes-ti/openmp-rtos/openmp-rtos_git.bb
index 67d9edf5..aa4bc6cd 100644
--- a/recipes-ti/openmp-rtos/openmp-rtos_git.bb
+++ b/meta-ti-extras/recipes-ti/openmp-rtos/openmp-rtos_git.bb
@@ -1,14 +1,19 @@
DESCRIPTION = "TI OpenMP RTOS"
-HOMEPAGE = "git://git.ti.com/openmp/ti-openmp-dsp-runtime.git"
-LICENSE = "BSD"
+HOMEPAGE = "git://git.ti.com/git/openmp/ti-openmp-dsp-runtime.git"
+LICENSE = "BSD-3-Clause"
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_URI = "git://git.ti.com/git/openmp/ti-openmp-dsp-runtime.git"
+OPENMP_RTOS_GIT_PROTOCOL = "https"
OPENMP_RTOS_GIT_BRANCH = "master"
BRANCH = "${OPENMP_RTOS_GIT_BRANCH}"
@@ -19,11 +24,8 @@ 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"
-DEPENDS_append_k2hk = " qmss-lld-rtos cppi-lld-rtos"
-DEPENDS_append_k2e = " qmss-lld-rtos cppi-lld-rtos"
-DEPENDS_append_k2l = " qmss-lld-rtos cppi-lld-rtos"
-COMPATIBLE_MACHINE = "keystone|omap-a15"
+COMPATIBLE_MACHINE = "omap-a15"
PACKAGE_ARCH = "${MACHINE_ARCH}"
S = "${WORKDIR}/git"
@@ -33,22 +35,14 @@ 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 K2G_PDK_DIR ="${PDK_INSTALL_DIR}"
export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
-export BUILD_K2H = "0"
export BUILD_AM572 = "0"
-export BUILD_K2G = "0"
-BUILD_K2H_keystone = "1"
-BUILD_AM572_omap-a15 = "1"
-BUILD_K2H_k2g = "0"
-BUILD_K2G_k2g = "1"
+BUILD_AM572:omap-a15 = "1"
RELEASE_TARGET = ""
-RELEASE_TARGET_keystone = "k2x"
-RELEASE_TARGET_omap-a15 = "am57xx"
-RELEASE_TARGET_k2g = "k2g"
+RELEASE_TARGET:omap-a15 = "am57xx"
do_compile() {
make -f utils/product/Makefile .zipfile
@@ -59,10 +53,10 @@ do_install() {
cp -r ${S}/exports/openmp_dsp_${RELEASE_TARGET}_*/. -d ${D}${OMP_INSTALL_DIR_RECIPE}
}
-ALLOW_EMPTY_${PN} = "1"
+ALLOW_EMPTY:${PN} = "1"
-FILES_${PN}-dev += " \
+FILES:${PN}-dev += " \
${OMP_INSTALL_DIR_RECIPE}/ \
"
-INSANE_SKIP_${PN}-dev = "arch"
+INSANE_SKIP:${PN}-dev = "arch"
diff --git a/recipes-ti/osal/ti-osal.inc b/meta-ti-extras/recipes-ti/osal/ti-osal.inc
index 0a966d40..b0470793 100644
--- a/recipes-ti/osal/ti-osal.inc
+++ b/meta-ti-extras/recipes-ti/osal/ti-osal.inc
@@ -1,6 +1,6 @@
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"
+LICENSE = "BSD-3-Clause & EPL-1.0"
SECTION = "devel"
require ../includes/ti-paths.inc
@@ -15,10 +15,10 @@ do_install() {
cp -pPrf ${S}/* ${D}${OSAL_INSTALL_DIR_RECIPE}
}
-INSANE_SKIP_${PN}-dev = "staticdev"
+INSANE_SKIP:${PN}-dev = "staticdev"
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN}-dev += "${OSAL_INSTALL_DIR_RECIPE}"
+ALLOW_EMPTY:${PN} = "1"
+FILES:${PN}-dev += "${OSAL_INSTALL_DIR_RECIPE}"
COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
+COMPATIBLE_HOST:ti-soc = "(.*)"
diff --git a/recipes-ti/osal/ti-osal_1.24.00.09.bb b/meta-ti-extras/recipes-ti/osal/ti-osal_1.24.00.09.bb
index 226458be..226458be 100644
--- a/recipes-ti/osal/ti-osal_1.24.00.09.bb
+++ b/meta-ti-extras/recipes-ti/osal/ti-osal_1.24.00.09.bb
diff --git a/recipes-ti/swtools/swtools_git.bb b/meta-ti-extras/recipes-ti/swtools/swtools_git.bb
index 497c0e0d..4bcd6754 100644
--- a/recipes-ti/swtools/swtools_git.bb
+++ b/meta-ti-extras/recipes-ti/swtools/swtools_git.bb
@@ -1,7 +1,7 @@
SUMMARY = "TI Software Tools"
HOMEPAGE = "https://git.ti.com/ep-processor-libraries/swtools"
SECTION = "devel"
-LICENSE = "BSD"
+LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://ti/mas/swtools/copyright.txt;md5=b1f52a1435051fdb18f8885b0384147d"
require ../includes/ti-paths.inc
@@ -15,8 +15,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_GIT_PROTOCOL = "https"
+SWTOOLS_GIT_URI = "git://git.ti.com/git/ep-processor-libraries/swtools.git"
SWTOOLS_SRCREV = "7d1c85e686b1466cd2d535fc9cac5baf1aae24a4"
SRC_URI = "${SWTOOLS_GIT_URI};protocol=${SWTOOLS_GIT_PROTOCOL};branch=${SWTOOLS_GIT_BRANCH}"
@@ -27,7 +27,7 @@ export C64PCODEGENTOOL = "${CGTOOLS_INSTALL_DIR}"
export C674CODEGENTOOL = "${CGTOOLS_INSTALL_DIR}"
export C66CODEGENTOOL = "${CGTOOLS_INSTALL_DIR}"
-PATH_append = ":${XDC_INSTALL_DIR}"
+PATH:append = ":${XDC_INSTALL_DIR}"
XDCPATH .= "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;"
@@ -44,9 +44,9 @@ do_install() {
cp ${CP_ARGS} ${S}/* ${D}${SWTOOLS_INSTALL_DIR_RECIPE}
}
-FILES_${PN}-dev += "${SWTOOLS_INSTALL_DIR_RECIPE}"
+FILES:${PN}-dev += "${SWTOOLS_INSTALL_DIR_RECIPE}"
-INSANE_SKIP_${PN}-dev = "arch staticdev"
-ALLOW_EMPTY_${PN} = "1"
+INSANE_SKIP:${PN}-dev = "arch staticdev"
+ALLOW_EMPTY:${PN} = "1"
COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
+COMPATIBLE_HOST:ti-soc = "(.*)"
diff --git a/recipes-ti/vlib/vlib-c66x.inc b/meta-ti-extras/recipes-ti/vlib/vlib-c66x.inc
index a539e4d7..6b5e186c 100644
--- a/recipes-ti/vlib/vlib-c66x.inc
+++ b/meta-ti-extras/recipes-ti/vlib/vlib-c66x.inc
@@ -7,7 +7,7 @@ require ../includes/ti-paths.inc
require ../includes/ti-staging.inc
require ../includes/ti-eula-unpack.inc
-COMPATIBLE_MACHINE = "omap-a15|keystone"
+COMPATIBLE_MACHINE = "omap-a15"
SRC_URI = "http://software-dl.ti.com/libs/vlib/${PV}//exports/vlib_c66x_obj_${PV}_Linux.bin;name=vlibbin"
@@ -23,10 +23,10 @@ do_install() {
cp ${CP_ARGS} ${S}/* ${D}${VLIB_C66_INSTALL_DIR_RECIPE}
}
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN}-dev += "${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"
+INSANE_SKIP:${PN}-dev = "arch"
diff --git a/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb b/meta-ti-extras/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb
index e3742d10..e3742d10 100644
--- a/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb
+++ b/meta-ti-extras/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb
diff --git a/recipes-ti/xdais/ti-xdais.inc b/meta-ti-extras/recipes-ti/xdais/ti-xdais.inc
index 24268b3a..67d19022 100644
--- a/recipes-ti/xdais/ti-xdais.inc
+++ b/meta-ti-extras/recipes-ti/xdais/ti-xdais.inc
@@ -1,6 +1,6 @@
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"
+LICENSE = "GPL-2.0-only"
SECTION = "devel"
require ../includes/ti-paths.inc
@@ -19,7 +19,7 @@ do_install() {
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-INSANE_SKIP_${PN}-dev = "arch"
+INSANE_SKIP:${PN}-dev = "arch"
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN}-dev += "${XDAIS_INSTALL_DIR_RECIPE}"
+ALLOW_EMPTY:${PN} = "1"
+FILES:${PN}-dev += "${XDAIS_INSTALL_DIR_RECIPE}"
diff --git a/recipes-ti/xdais/ti-xdais_6.26.01.03.bb b/meta-ti-extras/recipes-ti/xdais/ti-xdais_6.26.01.03.bb
index 3d358632..ee9826e6 100644
--- a/recipes-ti/xdais/ti-xdais_6.26.01.03.bb
+++ b/meta-ti-extras/recipes-ti/xdais/ti-xdais_6.26.01.03.bb
@@ -7,5 +7,3 @@ LIC_FILES_CHKSUM = "file://xdais_6_26_01_03_manifest.html;md5=a5a675d49db2f658bb
SRC_URI[xdaistarball.md5sum] = "9b2bea3408254e737ec0d819a031adf6"
SRC_URI[xdaistarball.sha256sum] = "d7bcbd8bcfe6fdfc5f402e4b125ced6c806dc30bc5296e98d5d43b0b5a237a0d"
-
-INSANE_SKIP_${PN} = "installed-vs-shipped"
diff --git a/recipes-ti/xdais/ti-xdais_7.24.00.04.bb b/meta-ti-extras/recipes-ti/xdais/ti-xdais_7.24.00.04.bb
index 8148f73a..8148f73a 100644
--- a/recipes-ti/xdais/ti-xdais_7.24.00.04.bb
+++ b/meta-ti-extras/recipes-ti/xdais/ti-xdais_7.24.00.04.bb
diff --git a/recipes-bsp/abefw/abefw_1.0.14.bb b/recipes-bsp/abefw/abefw_1.0.14.bb
deleted file mode 100644
index 302bdcde..00000000
--- a/recipes-bsp/abefw/abefw_1.0.14.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-SUMMARY = "Firmware for OMAP4 and OMAP5 ABE"
-HOMEPAGE = "http://git.ti.com"
-LICENSE = "BSD | GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=923db086ed9463ab3215b24d87e05ec5"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-COMPATIBLE_MACHINE = "pandaboard|omap5-evm"
-
-SRC_URI = "git://git.ti.com/glsdk/abefw-omap4plus.git;protocol=git"
-
-S = "${WORKDIR}/git"
-
-SRCREV = "ceccc0332264e39bdc51e54f80ea7256a3886c58"
-
-PR = "r0"
-
-do_install() {
- mkdir -p ${D}/lib/firmware
- cp ${S}/firmware/omap4_abe_new ${D}/lib/firmware/
-}
-
-FILES_${PN} += "/lib/firmware/omap4_abe_new"
diff --git a/recipes-bsp/aif2-lld/aif2-lld-rtos_git.bb b/recipes-bsp/aif2-lld/aif2-lld-rtos_git.bb
deleted file mode 100644
index 962965b0..00000000
--- a/recipes-bsp/aif2-lld/aif2-lld-rtos_git.bb
+++ /dev/null
@@ -1,16 +0,0 @@
-SUMMARY = "TI RTOS low level driver for Antenna Interface"
-
-inherit ti-pdk
-
-require recipes-bsp/aif2-lld/aif2-lld.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS_append = " qmss-lld-rtos \
- cppi-lld-rtos \
-"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "AIF2 LLD"
diff --git a/recipes-bsp/aif2-lld/aif2-lld-test_git.bb b/recipes-bsp/aif2-lld/aif2-lld-test_git.bb
deleted file mode 100644
index 9180b953..00000000
--- a/recipes-bsp/aif2-lld/aif2-lld-test_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-DESCRIPTION = "TI Antenna Interface peripheral module low level driver test binaries"
-
-DEPENDS = "common-csl-ip aif2-lld qmss-lld cppi-lld"
-
-include aif2-lld.inc
-
-PR = "${INC_PR}.0"
-
-EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} AIF2_SRC_DIR=${WORKDIR}/git"
-
-do_compile () {
- oe_runmake clean DEVICE=k2hk
- oe_runmake tests DEVICE=k2hk
-}
-
-do_install () {
- oe_runmake installbin DEVICE=k2hk AIF2_SRC_DIR=${WORKDIR}/git INSTALL_BIN_BASE_DIR=${D}/${bindir}
-}
diff --git a/recipes-bsp/aif2-lld/aif2-lld.inc b/recipes-bsp/aif2-lld/aif2-lld.inc
deleted file mode 100644
index 718f3a7f..00000000
--- a/recipes-bsp/aif2-lld/aif2-lld.inc
+++ /dev/null
@@ -1,14 +0,0 @@
-LICENSE = "BSD-3-Clause"
-
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.aif2"
-
-PE = "1"
-
-INC_PR = "r0"
-
-COMPATIBLE_MACHINE = "k2hk"
-
diff --git a/recipes-bsp/aif2-lld/aif2-lld_git.bb b/recipes-bsp/aif2-lld/aif2-lld_git.bb
deleted file mode 100644
index 12b1d06d..00000000
--- a/recipes-bsp/aif2-lld/aif2-lld_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-DESCRIPTION = "Antenna Interface low level driver"
-
-DEPENDS = "common-csl-ip qmss-lld cppi-lld"
-
-include aif2-lld.inc
-
-PR = "${INC_PR}.0"
-
-EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
-
-do_compile () {
- oe_runmake lib DEVICE=k2hk
-}
-
-do_install () {
- oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-}
diff --git a/recipes-bsp/alsa-state/alsa-state.bbappend b/recipes-bsp/alsa-state/alsa-state.bbappend
deleted file mode 100644
index 72d991c7..00000000
--- a/recipes-bsp/alsa-state/alsa-state.bbappend
+++ /dev/null
@@ -1 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
diff --git a/recipes-bsp/alsa-state/alsa-state/beagleboard/asound.state b/recipes-bsp/alsa-state/alsa-state/beagleboard/asound.state
deleted file mode 100644
index f9244915..00000000
--- a/recipes-bsp/alsa-state/alsa-state/beagleboard/asound.state
+++ /dev/null
@@ -1,656 +0,0 @@
-state.omap3beagle {
- control.1 {
- comment.access 'read write'
- comment.type ENUMERATED
- comment.count 1
- comment.item.0 'Option 2 (voice/audio)'
- comment.item.1 'Option 1 (audio)'
- iface MIXER
- name 'Codec Operation Mode'
- value 'Option 1 (audio)'
- }
- control.2 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 2
- comment.range '0 - 63'
- comment.dbmin -6300
- comment.dbmax 0
- iface MIXER
- name 'DAC1 Digital Fine Playback Volume'
- value.0 0
- value.1 0
- }
- control.3 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 2
- comment.range '0 - 63'
- comment.dbmin -6300
- comment.dbmax 0
- iface MIXER
- name 'DAC2 Digital Fine Playback Volume'
- value.0 50
- value.1 50
- }
- control.4 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 2
- comment.range '0 - 2'
- comment.dbmin 0
- comment.dbmax 1200
- iface MIXER
- name 'DAC1 Digital Coarse Playback Volume'
- value.0 0
- value.1 0
- }
- control.5 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 2
- comment.range '0 - 2'
- comment.dbmin 0
- comment.dbmax 1200
- iface MIXER
- name 'DAC2 Digital Coarse Playback Volume'
- value.0 2
- value.1 2
- }
- control.6 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 2
- comment.range '0 - 18'
- comment.dbmin -2400
- comment.dbmax 1200
- iface MIXER
- name 'DAC1 Analog Playback Volume'
- value.0 0
- value.1 0
- }
- control.7 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 2
- comment.range '0 - 18'
- comment.dbmin -2400
- comment.dbmax 1200
- iface MIXER
- name 'DAC2 Analog Playback Volume'
- value.0 15
- value.1 15
- }
- control.8 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 2
- iface MIXER
- name 'DAC1 Analog Playback Switch'
- value.0 false
- value.1 false
- }
- control.9 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 2
- iface MIXER
- name 'DAC2 Analog Playback Switch'
- value.0 true
- value.1 true
- }
- control.10 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 1
- comment.range '0 - 49'
- comment.dbmin -3700
- comment.dbmax 1200
- iface MIXER
- name 'DAC Voice Digital Downlink Volume'
- value 0
- }
- control.11 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 1
- comment.range '0 - 18'
- comment.dbmin -2400
- comment.dbmax 1200
- iface MIXER
- name 'DAC Voice Analog Downlink Volume'
- value 18
- }
- control.12 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'DAC Voice Analog Downlink Switch'
- value false
- }
- control.13 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 2
- comment.range '0 - 3'
- comment.dbmin -1200
- comment.dbmax 600
- iface MIXER
- name 'PreDriv Playback Volume'
- value.0 0
- value.1 0
- }
- control.14 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 2
- comment.range '0 - 3'
- comment.dbmin -1200
- comment.dbmax 600
- iface MIXER
- name 'Headset Playback Volume'
- value.0 3
- value.1 3
- }
- control.15 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 2
- comment.range '0 - 3'
- comment.dbmin -1200
- comment.dbmax 600
- iface MIXER
- name 'Carkit Playback Volume'
- value.0 0
- value.1 0
- }
- control.16 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 1
- comment.range '0 - 3'
- comment.dbmin -600
- comment.dbmax 1200
- iface MIXER
- name 'Earpiece Playback Volume'
- value 0
- }
- control.17 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 2
- comment.range '0 - 31'
- comment.dbmin 0
- comment.dbmax 3100
- iface MIXER
- name 'TX1 Digital Capture Volume'
- value.0 12
- value.1 12
- }
- control.18 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 2
- comment.range '0 - 31'
- comment.dbmin 0
- comment.dbmax 3100
- iface MIXER
- name 'TX2 Digital Capture Volume'
- value.0 0
- value.1 0
- }
- control.19 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 2
- comment.range '0 - 5'
- comment.dbmin 0
- comment.dbmax 3000
- iface MIXER
- name 'Analog Capture Volume'
- value.0 0
- value.1 0
- }
- control.20 {
- comment.access 'read write'
- comment.type ENUMERATED
- comment.count 1
- comment.item.0 'Voice high priority'
- comment.item.1 'HiFi high priority'
- iface MIXER
- name 'AVADC Clock Priority'
- value 'Voice high priority'
- }
- control.21 {
- comment.access 'read write'
- comment.type ENUMERATED
- comment.count 1
- comment.item.0 '27/20/14 ms'
- comment.item.1 '55/40/27 ms'
- comment.item.2 '109/81/55 ms'
- comment.item.3 '218/161/109 ms'
- comment.item.4 '437/323/218 ms'
- comment.item.5 '874/645/437 ms'
- comment.item.6 '1748/1291/874 ms'
- comment.item.7 '3495/2581/1748 ms'
- iface MIXER
- name 'HS ramp delay'
- value '27/20/14 ms'
- }
- control.22 {
- comment.access 'read write'
- comment.type ENUMERATED
- comment.count 1
- comment.item.0 'Vibra H-bridge direction'
- comment.item.1 'Audio data MSB'
- iface MIXER
- name 'Vibra H-bridge mode'
- value 'Vibra H-bridge direction'
- }
- control.23 {
- comment.access 'read write'
- comment.type ENUMERATED
- comment.count 1
- comment.item.0 'Positive polarity'
- comment.item.1 'Negative polarity'
- iface MIXER
- name 'Vibra H-bridge direction'
- value 'Positive polarity'
- }
- control.24 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Analog Right Sub Mic Capture Switch'
- value false
- }
- control.25 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Analog Right AUXR Capture Switch'
- value true
- }
- control.26 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Analog Left Main Mic Capture Switch'
- value false
- }
- control.27 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Analog Left Headset Mic Capture Switch'
- value false
- }
- control.28 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Analog Left AUXL Capture Switch'
- value true
- }
- control.29 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Analog Left Carkit Mic Capture Switch'
- value false
- }
- control.30 {
- comment.access 'read write'
- comment.type ENUMERATED
- comment.count 1
- comment.item.0 Analog
- comment.item.1 Digimic1
- iface MIXER
- name 'TX2 Capture Route'
- value Analog
- }
- control.31 {
- comment.access 'read write'
- comment.type ENUMERATED
- comment.count 1
- comment.item.0 Analog
- comment.item.1 Digimic0
- iface MIXER
- name 'TX1 Capture Route'
- value Analog
- }
- control.32 {
- comment.access 'read write'
- comment.type ENUMERATED
- comment.count 1
- comment.item.0 'Local vibrator'
- comment.item.1 Audio
- iface MIXER
- name 'Vibra Route'
- value 'Local vibrator'
- }
- control.33 {
- comment.access 'read write'
- comment.type ENUMERATED
- comment.count 1
- comment.item.0 AudioL1
- comment.item.1 AudioR1
- comment.item.2 AudioL2
- comment.item.3 AudioR2
- iface MIXER
- name 'Vibra Mux'
- value AudioL1
- }
- control.34 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'HandsfreeR Switch'
- value false
- }
- control.35 {
- comment.access 'read write'
- comment.type ENUMERATED
- comment.count 1
- comment.item.0 Voice
- comment.item.1 AudioR1
- comment.item.2 AudioR2
- comment.item.3 AudioL2
- iface MIXER
- name 'HandsfreeR Mux'
- value Voice
- }
- control.36 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'HandsfreeL Switch'
- value false
- }
- control.37 {
- comment.access 'read write'
- comment.type ENUMERATED
- comment.count 1
- comment.item.0 Voice
- comment.item.1 AudioL1
- comment.item.2 AudioL2
- comment.item.3 AudioR2
- iface MIXER
- name 'HandsfreeL Mux'
- value Voice
- }
- control.38 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'CarkitR Mixer Voice'
- value false
- }
- control.39 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'CarkitR Mixer AudioR1'
- value false
- }
- control.40 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'CarkitR Mixer AudioR2'
- value false
- }
- control.41 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'CarkitL Mixer Voice'
- value false
- }
- control.42 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'CarkitL Mixer AudioL1'
- value false
- }
- control.43 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'CarkitL Mixer AudioL2'
- value false
- }
- control.44 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'HeadsetR Mixer Voice'
- value false
- }
- control.45 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'HeadsetR Mixer AudioR1'
- value false
- }
- control.46 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'HeadsetR Mixer AudioR2'
- value true
- }
- control.47 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'HeadsetL Mixer Voice'
- value false
- }
- control.48 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'HeadsetL Mixer AudioL1'
- value false
- }
- control.49 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'HeadsetL Mixer AudioL2'
- value true
- }
- control.50 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'PredriveR Mixer Voice'
- value false
- }
- control.51 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'PredriveR Mixer AudioR1'
- value false
- }
- control.52 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'PredriveR Mixer AudioR2'
- value false
- }
- control.53 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'PredriveR Mixer AudioL2'
- value false
- }
- control.54 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'PredriveL Mixer Voice'
- value false
- }
- control.55 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'PredriveL Mixer AudioL1'
- value false
- }
- control.56 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'PredriveL Mixer AudioL2'
- value false
- }
- control.57 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'PredriveL Mixer AudioR2'
- value false
- }
- control.58 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Earpiece Mixer Voice'
- value false
- }
- control.59 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Earpiece Mixer AudioL1'
- value false
- }
- control.60 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Earpiece Mixer AudioL2'
- value false
- }
- control.61 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Earpiece Mixer AudioR1'
- value false
- }
- control.62 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 1
- comment.range '0 - 41'
- comment.dbmin -5100
- comment.dbmax -1000
- iface MIXER
- name 'Voice Digital Loopback Volume'
- value 0
- }
- control.63 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 1
- comment.range '0 - 7'
- comment.dbmin -2400
- comment.dbmax 0
- iface MIXER
- name 'Right Digital Loopback Volume'
- value 0
- }
- control.64 {
- comment.access 'read write'
- comment.type INTEGER
- comment.count 1
- comment.range '0 - 7'
- comment.dbmin -2400
- comment.dbmax 0
- iface MIXER
- name 'Left Digital Loopback Volume'
- value 0
- }
- control.65 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Voice Analog Loopback Switch'
- value false
- }
- control.66 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Left2 Analog Loopback Switch'
- value false
- }
- control.67 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Right2 Analog Loopback Switch'
- value false
- }
- control.68 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Left1 Analog Loopback Switch'
- value false
- }
- control.69 {
- comment.access 'read write'
- comment.type BOOLEAN
- comment.count 1
- iface MIXER
- name 'Right1 Analog Loopback Switch'
- value false
- }
-}
diff --git a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.2.bb b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.2.bb
deleted file mode 100644
index f15570cf..00000000
--- a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.2.bb
+++ /dev/null
@@ -1,71 +0,0 @@
-SUMMARY = "ARM Trusted Firmware"
-DESCRIPTION = "ARM Trusted Firmware provides a reference implementation of \
-Secure World software for ARMv8-A, including Exception Level 3 (EL3) software. \
-It provides implementations of various ARM interface standards such as the \
-Power State Coordination Interface (PSCI), Trusted Board Boot Requirements \
-(TBBR) and Secure monitor code."
-HOMEPAGE = "http://infocenter.arm.com/help/topic/com.arm.doc.dui0928e/CJHIDGJF.html"
-
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89"
-
-inherit deploy
-
-DEPENDS += "dtc-native openssl-native"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-S = "${WORKDIR}/git"
-
-PV_append = "+git${SRCPV}"
-
-BRANCH = "ti-atf"
-SRC_URI = "git://git.ti.com/atf/arm-trusted-firmware.git;branch=${BRANCH}"
-
-SRCREV ?= "e516a389ac12fbe1597f61fea80ed3f230b9c5fd"
-
-# Make ATF "aware" of OPTEE, no build dependency
-PACKAGECONFIG[optee] = "SPD=opteed"
-
-COMPATIBLE_MACHINE = "k3"
-ATFPLATFORM_k3 = "k3"
-ATFBOARD_k3 = "generic"
-
-PACKAGECONFIG_k3 = "optee"
-
-CFLAGS[unexport] = "1"
-LDFLAGS[unexport] = "1"
-AS[unexport] = "1"
-LD[unexport] = "1"
-
-do_configure[noexec] = "1"
-
-EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" PLAT="${ATFPLATFORM}" TARGET_BOARD="${ATFBOARD}" ${PACKAGECONFIG_CONFARGS}'
-
-do_compile() {
- oe_runmake all
-}
-
-do_compile_append_am65xx-hs-evm() {
- export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
- ( cd ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/; \
- mv bl31.bin bl31.bin.unsigned; \
- ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
- )
-}
-
-do_install() {
- install -d ${D}/boot
- install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31.bin ${D}/boot/
- install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31/bl31.elf ${D}/boot/
-}
-
-do_deploy() {
- install -d ${DEPLOYDIR}
- install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31.bin ${DEPLOYDIR}/
- install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31/bl31.elf ${DEPLOYDIR}/
-}
-addtask deploy before do_build after do_compile
-
-FILES_${PN} = "/boot"
-SYSROOT_DIRS += "/boot"
diff --git a/recipes-bsp/audk2g-addon/audk2g-addon-rtos_git.bb b/recipes-bsp/audk2g-addon/audk2g-addon-rtos_git.bb
deleted file mode 100644
index 0cb9ff17..00000000
--- a/recipes-bsp/audk2g-addon/audk2g-addon-rtos_git.bb
+++ /dev/null
@@ -1,38 +0,0 @@
-SUMMARY = "TI RTOS Audio add-on software for k2g"
-
-inherit ti-pdk
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://audk2gaddonver.h;beginline=8;endline=47;md5=7a3996aaf1a3d3ca87358cf9b89bce3d"
-
-COMPATIBLE_MACHINE = "k2g"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-AUDK2G_ADDON_GIT_URI = "git://git.ti.com/processor-sdk/audk2g-addon.git"
-AUDK2G_ADDON_GIT_PROTOCOL = "git"
-AUDK2G_ADDON_GIT_BRANCH = "master"
-AUDK2G_ADDON_GIT_DESTSUFFIX = "git/ti/addon/audk2g"
-
-# Below commit ID corresponds to "DEV.AUDK2G.01.04.00.00"
-AUDK2G_ADDON_SRCREV = "815180b45ceb1fa3c110f9979106c7f5aa8b3ca2"
-
-BRANCH = "${AUDK2G_ADDON_GIT_BRANCH}"
-SRC_URI = "${AUDK2G_ADDON_GIT_URI};destsuffix=${AUDK2G_ADDON_GIT_DESTSUFFIX};protocol=${AUDK2G_ADDON_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${AUDK2G_ADDON_SRCREV}"
-PV = "01.04.00.00"
-PR = "r0"
-
-S = "${WORKDIR}/git/ti/addon/audk2g"
-
-DEPENDS_append = " ti-sysbios \
- gpio-lld-rtos \
- i2c-lld-rtos \
- board-rtos \
-"
-
-export PDK_AUDK2G_ROOT_PATH = "${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
diff --git a/recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb b/recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb
deleted file mode 100644
index 62cee07b..00000000
--- a/recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-SUMMARY = "TI Bit Coprocessor (BCP) low level driver"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.bcp"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://bcp.h;beginline=1;endline=40;md5=4f6e6128dd075a89548c0287a39b8896"
-
-COMPATIBLE_MACHINE = "k2hk|k2l|c667x-evm"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r0"
-
-
-DEPENDS_append = " qmss-lld-rtos \
- cppi-lld-rtos \
-"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "BCP LLD"
diff --git a/recipes-bsp/board-rtos/board-rtos_git.bb b/recipes-bsp/board-rtos/board-rtos_git.bb
deleted file mode 100644
index dfbe20a2..00000000
--- a/recipes-bsp/board-rtos/board-rtos_git.bb
+++ /dev/null
@@ -1,76 +0,0 @@
-SUMMARY = "TI RTOS Board Library"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.board"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://board.h;beginline=1;endline=32;md5=9bed8e4ac2fb37fc627cefe49eb1c919"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-
-
-PR = "r0"
-
-DEPENDS_append = " i2c-lld-rtos \
- spi-lld-rtos \
- uart-lld-rtos \
- osal-rtos \
-"
-
-DEPENDS_append_omap-a15 = " ti-ndk \
- mmcsd-lld-rtos \
- pm-lld-rtos \
-"
-
-DEPENDS_append_am57xx-evm = " gpio-lld-rtos \
- icss-emac-lld-rtos \
- pruss-lld-rtos \
-"
-
-
-DEPENDS_append_ti33x = " gpio-lld-rtos \
- gpmc-lld-rtos \
- icss-emac-lld-rtos \
- mmcsd-lld-rtos \
- pruss-lld-rtos \
- starterware-rtos \
- ti-ndk \
-"
-
-DEPENDS_append_ti43x = " gpio-lld-rtos \
- gpmc-lld-rtos \
- icss-emac-lld-rtos \
- mmcsd-lld-rtos \
- pruss-lld-rtos \
- starterware-rtos \
- ti-ndk \
-"
-
-DEPENDS_append_dra7xx = " pm-lld-rtos \
- mmcsd-lld-rtos \
-"
-
-DEPENDS_append_am65xx = " sciclient-rtos \
-"
-DEPENDS_append_j7-evm = " udma-lld-rtos \
- sciclient-rtos \
- mmcsd-lld-rtos \
-"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-INHIBIT_SYSROOT_STRIP = "1"
-INHIBIT_PACKAGE_STRIP = "1"
-
-export PDK_BOARD_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-XDCPATH_append = ";${PDK_INSTALL_DIR}/packages/ti/csl;${NDK_INSTALL_DIR}/packages"
-
-INSANE_SKIP_${PN} = "arch"
diff --git a/recipes-bsp/boot-monitor/boot-monitor_git.bb b/recipes-bsp/boot-monitor/boot-monitor_git.bb
deleted file mode 100644
index 1b6f3206..00000000
--- a/recipes-bsp/boot-monitor/boot-monitor_git.bb
+++ /dev/null
@@ -1,47 +0,0 @@
-DESCRIPTION = "Boot Monitor - TI ARM Boot monitor code"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=25fe219a6febf6e5bb45beda1b2eb315"
-
-COMPATIBLE_MACHINE = "keystone"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS = "u-boot-mkimage-native"
-
-SRC_URI = "git://git.ti.com/processor-firmware/ks2-boot-monitor.git;protocol=git;branch=${BRANCH}"
-
-PV = "4.0+git${SRCPV}"
-
-BRANCH = "master"
-
-S = "${WORKDIR}/git"
-
-SRCREV = "e1f885ab6dc544884728e333cc6e396f7eb08286"
-
-BOOT_MONITOR_IMAGE ?= "skern-${BOOT_MONITOR_MAKE_TARGET}.bin"
-
-FLOATABI = "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
-
-EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}" LD="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}""
-
-FILES_${PN} = "/boot"
-
-inherit deploy
-
-do_compile () {
- unset LDFLAGS
- unset CFLAGS
- unset CPPFLAGS
- oe_runmake image_${BOOT_MONITOR_MAKE_TARGET}
-}
-
-do_install () {
- install -d ${D}/boot
- install -m 0644 ${S}/${BOOT_MONITOR_IMAGE} ${D}/boot/
-}
-
-do_deploy () {
- install -d ${DEPLOYDIR}
- install -m 0644 ${S}/${BOOT_MONITOR_IMAGE} ${DEPLOYDIR}/
-}
-
-addtask deploy before do_build after do_compile
diff --git a/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb b/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
deleted file mode 100644
index 70c28671..00000000
--- a/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-SUMMARY = "Cadence MHDP DP bridge firmware"
-
-LICENSE = "BSD-3-Clause | Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENCE.cadence;md5=009f46816f6956cfb75ede13d3e1cee0"
-
-PV = "1.2.17"
-PR = "r0"
-
-CLEANBROKEN = "1"
-
-COMPATIBLE_MACHINE = "j7-evm"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRCREV = "7bad9a69a343e01056ece5ce6da4d4060c42f6bc"
-BRANCH ?= "ti-linux-firmware"
-
-SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-TARGET = "mhdp8546.bin"
-
-do_install() {
- install -d ${D}${base_libdir}/firmware/cadence
- install -m 0644 ${S}/cadence/${TARGET} ${D}${base_libdir}/firmware/cadence/${TARGET}
-}
-
-FILES_${PN} = "${base_libdir}/firmware"
diff --git a/recipes-bsp/cal-lld/cal-lld-rtos_git.bb b/recipes-bsp/cal-lld/cal-lld-rtos_git.bb
deleted file mode 100644
index f3c780f6..00000000
--- a/recipes-bsp/cal-lld/cal-lld-rtos_git.bb
+++ /dev/null
@@ -1,76 +0,0 @@
-SUMMARY = "TI RTOS low level driver for CAL"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.cal"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://cal.h;beginline=1;endline=31;md5=83d177cf3df55c16b27ae4102b6ade9a"
-
-COMPATIBLE_MACHINE = "k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-
-PR = "r0"
-
-DEPENDS_append = " osal-rtos \
- fvid2-rtos \
-"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-CAL_PACKAGE_BASE = "${WORKDIR}/cal_base"
-CAL_LLD_ROOTPATH = "${CAL_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/cal"
-
-export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
-export PDK_CAL_ROOT_PATH = "${CAL_PACKAGE_BASE}/package/all/pdk_/packages"
-
-LIMSOCS = ""
-LIMSOCS_am65xx-evm = "am65xx"
-LIMSOCS_am65xx-hs-evm = "am65xx"
-
-LIMBOARDS = ""
-LIMBOARDS_am65xx-evm = "am65xx_evm"
-LIMBOARDS_am65xx-hs-evm = "am65xx_evm"
-
-BOARD_PACKAGE = ""
-BOARD_PACKAGE_am65xx-evm = "am65xx_evm"
-BOARD_PACKAGE_am65xx-hs-evm = "am65xx_evm"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "CAL"
-
-do_configure() {
- rm -rf ${CAL_PACKAGE_BASE}
- cd ${S}
-
- # remove any previous package
- rm -f ${CAL_PACKAGE_BASE}
-
- # make the release package before building it
- make package BOARD=${BOARD_PACKAGE} DEST_ROOT=${CAL_PACKAGE_BASE} PDK_CAL_COMP_PATH=${S}
-}
-
-do_compile() {
- echo "cal lld root path is ${CAL_LLD_ROOTPATH}"
- cd ${CAL_LLD_ROOTPATH}
-
- # Build am65xx libraries
- make clean lib xdc_meta doxygen LIMIT_SOCS="${LIMSOCS}" LIMIT_BOARDS="${LIMBOARDS}"
-
- #archive
- tar -cf cal_lld.tar --exclude='*.tar' ./*
-}
-
-do_install() {
- cd ${CAL_LLD_ROOTPATH}
- install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/cal
- find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/cal \;
-}
-
-FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
-
-INSANE_SKIP_${PN} = "arch ldflags"
diff --git a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
deleted file mode 100644
index bbbc3ec1..00000000
--- a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
-
-LICENSE = "TI-TSPA"
-LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
-
-PV = "1.9.2"
-PR = "r0"
-
-SRCREV = "fb484c5e54f2e31cf0a338d2927a06a2870bcc2c"
-BRANCH ?= "ti-v4.1.y"
-
-SRC_URI = "git://git.ti.com/processor-firmware/ti-amx3-cm3-pm-firmware.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
- make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS}"
-}
-
-do_install() {
- install -d ${D}${base_libdir}/firmware
- install -m 0644 bin/am335x-pm-firmware.elf ${D}${base_libdir}/firmware/
- install -m 0644 bin/*-scale-data.bin ${D}${base_libdir}/firmware/
-}
-
-FILES_${PN} += "${base_libdir}/firmware"
-
-COMPATIBLE_MACHINE = "(ti-soc)"
-TOOLCHAIN = "gcc"
diff --git a/recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb b/recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
deleted file mode 100644
index a10c4862..00000000
--- a/recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
+++ /dev/null
@@ -1,41 +0,0 @@
-SUMMARY = "TI RTOS software supporting circular microphone array board"
-
-inherit ti-pdk
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://cmbaddonver.h;beginline=8;endline=47;md5=d0cb159bf210cfafed63042da01c83e0"
-
-COMPATIBLE_MACHINE = "k2g|omapl137-evm"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-CMB_ADDON_GIT_URI = "git://git.ti.com/processor-sdk/circmicarray-addon.git"
-CMB_ADDON_GIT_PROTOCOL = "git"
-CMB_ADDON_GIT_BRANCH = "master"
-CMB_ADDON_GIT_DESTSUFFIX = "git/ti/addon"
-
-# Below commit ID corresponds to "DEV.CMB.01.01.00.03"
-CMB_ADDON_SRCREV = "4b16dd77eb929708a5134714c3194fc5b5bc1808"
-
-SRCREV = "${CMB_ADDON_SRCREV}"
-PV = "01.01.00.03"
-PR = "r0"
-
-BRANCH = "${CMB_ADDON_GIT_BRANCH}"
-SRC_URI = "${CMB_ADDON_GIT_URI};destsuffix=${CMB_ADDON_GIT_DESTSUFFIX};protocol=${CMB_ADDON_GIT_PROTOCOL};branch=${BRANCH}"
-
-
-S = "${WORKDIR}/git/ti/addon/cmb"
-
-DEPENDS_append = " ti-sysbios \
- gpio-lld-rtos \
- i2c-lld-rtos \
- mcasp-lld-rtos \
- board-rtos \
-"
-
-export PDK_CMB_ROOT_PATH = "${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
diff --git a/recipes-bsp/cmem/cmem-mod_git.bb b/recipes-bsp/cmem/cmem-mod_git.bb
deleted file mode 100644
index 1031e859..00000000
--- a/recipes-bsp/cmem/cmem-mod_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-DESCRIPTION = "Kernel module for contiguous memory allocation from userspace"
-
-include cmem.inc
-
-# This package builds a kernel module, use kernel PR as base and append a local
-MACHINE_KERNEL_PR_append = "a"
-PR = "${MACHINE_KERNEL_PR}"
-
-inherit module
-
-EXTRA_OEMAKE += '-f lu.mak KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" TOOLCHAIN_PREFIX="${TOOLCHAIN_PREFIX}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra"'
-MAKE_TARGETS = "module"
-
-KERNEL_MODULE_AUTOLOAD += "cmemk"
-
-do_install_prepend() {
- cp ${B}/src/cmem/module/Module.symvers ${B}/ || true
-}
diff --git a/recipes-bsp/cmem/cmem.inc b/recipes-bsp/cmem/cmem.inc
deleted file mode 100644
index c2719403..00000000
--- a/recipes-bsp/cmem/cmem.inc
+++ /dev/null
@@ -1,16 +0,0 @@
-HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:CMEM"
-
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=26be509e4bb413905bda8309e338e2b1"
-
-BRANCH = "master"
-# This corresponds to version 4.16.00.00
-SRCREV = "4f970f053b42e8d2a6f1a8cd4b14786196468fd3"
-
-PV = "4.16.00.00+git${SRCPV}"
-
-SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
deleted file mode 100644
index 98b2d136..00000000
--- a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-require common-csl-ip.inc
-PR = "${INC_PR}.6"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE_append = "|c66x|k3"
-
-inherit ti-pdk
-
-DEPENDS_remove = "${PN}"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_CSL_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "CSL-Chip Support Library"
-
-# Workaround: dra7xx build requires am57xx CSL libraries for opencl-monitor
-TI_PDK_LIMIT_SOCS_append_dra7xx = " am571x am572x am574x"
-TI_PDK_LIMIT_BOARDS_append_dra7xx = " evmAM571x evmAM572x idkAM574x"
diff --git a/recipes-bsp/common-csl-ip/common-csl-ip.inc b/recipes-bsp/common-csl-ip/common-csl-ip.inc
deleted file mode 100644
index a680298f..00000000
--- a/recipes-bsp/common-csl-ip/common-csl-ip.inc
+++ /dev/null
@@ -1,23 +0,0 @@
-DESCRIPTION = "Chip support library low level interface"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
-
-COMPATIBLE_MACHINE = "keystone|dra7xx|ti33x|ti43x|omapl1"
-
-PV = "03.03.00.16B"
-INC_PR = "r0"
-PE = "1"
-
-CSL_GIT_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git"
-CSL_GIT_PROTOCOL ="git"
-CSL_GIT_BRANCH = "release"
-CSL_GIT_DESTSUFFIX = "git"
-
-# Below commit ID corresponding to "DEV.CSL_PROCESSOR-SDK.03.03.00.16B"
-CSL_SRCREV = "8894e988f23f103f699411fa0aab4b4702d6c289"
-
-BRANCH="${CSL_GIT_BRANCH}"
-SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}"
-SRCREV = "${CSL_SRCREV}"
-
-S = "${WORKDIR}/${CSL_GIT_DESTSUFFIX}"
diff --git a/recipes-bsp/common-csl-ip/common-csl-ip_git.bb b/recipes-bsp/common-csl-ip/common-csl-ip_git.bb
deleted file mode 100644
index 9ea87d36..00000000
--- a/recipes-bsp/common-csl-ip/common-csl-ip_git.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-require common-csl-ip.inc
-
-PR = "${INC_PR}.0"
-
-ALLOW_EMPTY_${PN} = "1"
-
-CLEANBROKEN = "1"
-
-do_compile() {
- :
-}
-
-do_install () {
- install -d ${D}${includedir}/ti/csl
- find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl
- find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl
-}
diff --git a/recipes-bsp/common-csl-ip/csl-rti-dwwdtest-fw_git.bb b/recipes-bsp/common-csl-ip/csl-rti-dwwdtest-fw_git.bb
deleted file mode 100644
index 55e583b4..00000000
--- a/recipes-bsp/common-csl-ip/csl-rti-dwwdtest-fw_git.bb
+++ /dev/null
@@ -1,77 +0,0 @@
-SUMMARY = "MCU Watchdog test firmware"
-DESCRIPTION = "Firmware for the R5F core to test the detection of watchdog timeout events to trigger SOC reset though DMSC."
-
-require recipes-bsp/common-csl-ip/common-csl-ip.inc
-require recipes-ti/includes/ti-paths.inc
-
-LIC_FILES_CHKSUM = "file://../../../COPYING.txt;md5=5857833e20836213677fac33f9aded21"
-
-S = "${WORKDIR}/${CSL_GIT_DESTSUFFIX}/example/rti/rti_dwwdtest_app"
-
-COMPATIBLE_MACHINE = "am65xx"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS = "ti-cgt-arm-native \
- ti-pdk-build-rtos \
- uart-lld-rtos \
- board-rtos \
- sciclient-rtos \
- udma-lld-rtos"
-
-export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
-export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
-
-EXTRA_OEMAKE = "WDT_RESET=enable DEST_ROOT=${S}"
-
-do_compile() {
- for soc in ${TI_PDK_LIMIT_SOCS}
- do
- for board in ${TI_PDK_LIMIT_BOARDS}
- do
- oe_runmake SOC=$soc BOARD=$board
- done
- done
-}
-
-do_install() {
- install -d ${D}${base_libdir}/firmware/rti_dwwdtest
-
- for board in ${TI_PDK_LIMIT_BOARDS}
- do
- install -d ${D}${base_libdir}/firmware/rti_dwwdtest/$board
- install -m 0644 csl_rti_dwwd_test_app/bin/$board/csl_rti_dwwd_test_app_mcu1_0_release.xer5f \
- ${D}${base_libdir}/firmware/rti_dwwdtest/$board
- done
-}
-
-# Create separate package for each firmware so we can utilize
-# update-alternatives.
-PACKAGES =+ "${PN}-evm ${PN}-idk"
-RDEPENDS_${PN} = "${PN}-evm ${PN}-idk"
-ALLOW_EMPTY_${PN} = "1"
-
-FILES_${PN}-evm = "${base_libdir}/firmware/rti_dwwdtest/am65xx_evm"
-FILES_${PN}-idk = "${base_libdir}/firmware/rti_dwwdtest/am65xx_idk"
-
-# We are packaging R5 firmware
-INSANE_SKIP_${PN}-evm = "arch"
-INSANE_SKIP_${PN}-idk = "arch"
-
-# Configure update-alternatives as there may be other firmwares provided in an
-# image.
-inherit update-alternatives
-
-# It might be nice to dynamically declare the following based on
-# TI_PDK_LIMIT_BOARDS, but that is probably overkill.
-ALTERNATIVE_${PN}-evm = "am65x-mcu-r5f0_0-fw"
-ALTERNATIVE_${PN}-idk = "am65x-mcu-r5f0_0-fw"
-
-ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/am65x-mcu-r5f0_0-fw"
-
-ALTERNATIVE_TARGET_${PN}-evm = "${base_libdir}/firmware/rti_dwwdtest/am65xx_evm/csl_rti_dwwd_test_app_mcu1_0_release.xer5f"
-ALTERNATIVE_TARGET_${PN}-idk = "${base_libdir}/firmware/rti_dwwdtest/am65xx_idk/csl_rti_dwwd_test_app_mcu1_0_release.xer5f"
-
-# Use a lesser priority than ipc example fw
-# See meta-ti/recipes-ti/ipc/ti-ipc-rtos_git.bb
-ALTERNATIVE_PRIORITY_${PN}-evm = "4"
-ALTERNATIVE_PRIORITY_${PN}-idk = "3"
diff --git a/recipes-bsp/cppi-lld/cppi-lld-rtos_git.bb b/recipes-bsp/cppi-lld/cppi-lld-rtos_git.bb
deleted file mode 100644
index 1cdaf3a4..00000000
--- a/recipes-bsp/cppi-lld/cppi-lld-rtos_git.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-inherit ti-pdk
-require cppi-lld.inc
-
-PR = "${INC_PR}.1"
-
-COMPATIBLE_MACHINE_append = "|c66x"
-
-DEPENDS_append = " rm-lld-rtos \
- qmss-lld-rtos \
-"
diff --git a/recipes-bsp/cppi-lld/cppi-lld-test_git.bb b/recipes-bsp/cppi-lld/cppi-lld-test_git.bb
deleted file mode 100644
index b4f5c239..00000000
--- a/recipes-bsp/cppi-lld/cppi-lld-test_git.bb
+++ /dev/null
@@ -1,27 +0,0 @@
-DESCRIPTION = "TI CPPI low level driver unit test and example binaries"
-DEPENDS = "common-csl-ip rm-lld cppi-lld qmss-lld"
-
-include cppi-lld.inc
-
-PR = "${INC_PR}.0"
-
-CHOICELIST = "yes no"
-
-do_compile () {
-# Now build the lld in the updated directory
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_SRC_DIR=${S}
- for choice in ${CHOICELIST}
- do
- make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
- done
- done
-}
-
-do_install () {
- for device in ${DEVICELIST}
-do
- make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
- done
-}
diff --git a/recipes-bsp/cppi-lld/cppi-lld.inc b/recipes-bsp/cppi-lld/cppi-lld.inc
deleted file mode 100644
index 40810f7f..00000000
--- a/recipes-bsp/cppi-lld/cppi-lld.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/cppi/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
-
-COMPATIBLE_MACHINE = "keystone"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.cppi"
-
-PE = "1"
-
-INC_PR = "r0"
-
-DEVICELIST = "k2h k2k k2l k2e"
-DEVICELIST_k2hk = "k2h k2k"
-DEVICELIST_k2l = "k2l"
-DEVICELIST_k2e = "k2e"
-
diff --git a/recipes-bsp/cppi-lld/cppi-lld_git.bb b/recipes-bsp/cppi-lld/cppi-lld_git.bb
deleted file mode 100644
index 6ac72cfa..00000000
--- a/recipes-bsp/cppi-lld/cppi-lld_git.bb
+++ /dev/null
@@ -1,32 +0,0 @@
-DESCRIPTION = "TI CPPI Module low level driver"
-
-DEPENDS = "common-csl-ip rm-lld qmss-lld"
-
-include cppi-lld.inc
-
-PR = "${INC_PR}.1"
-
-do_compile () {
-# Now build the lld in the updated directory
- make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="${device}"
- done
-}
-
-do_install () {
- make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-
-# Set the generic device library symbolic link to default k2h
- cd ${D}${libdir}
-
- # Link only the first device in the list
- for device in ${DEVICELIST}
- do
- ln -sf libcppi_${device}.so.1.0.0 libcppi_device.so.1
- break
- done
- ln -sf libcppi_device.so.1 libcppi_device.so
-}
diff --git a/recipes-bsp/dfe-lld/dfe-lld-rtos_git.bb b/recipes-bsp/dfe-lld/dfe-lld-rtos_git.bb
deleted file mode 100644
index 5caa07ab..00000000
--- a/recipes-bsp/dfe-lld/dfe-lld-rtos_git.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-SUMMARY = "TI RTOS level driver for Digital Radio Front End"
-
-inherit ti-pdk
-
-require recipes-bsp/dfe-lld/dfe-lld.inc
-
-PR = "${INC_PR}.0"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "DFE LLD"
diff --git a/recipes-bsp/dfe-lld/dfe-lld-test_git.bb b/recipes-bsp/dfe-lld/dfe-lld-test_git.bb
deleted file mode 100644
index 34b90c7d..00000000
--- a/recipes-bsp/dfe-lld/dfe-lld-test_git.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-DESCRIPTION = "TI Digital Radio Front End lld test application"
-
-DEPENDS = "common-csl-ip dfe-lld iqn2-lld"
-
-include dfe-lld.inc
-
-PR = "${INC_PR}.0"
-
-EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}"
-
-do_compile () {
-# Now build the lld in the updated directory
- oe_runmake clean DEVICE=k2l
- oe_runmake tests DEVICE=k2l
- oe_runmake tests DEVICE=k2l USEDYNAMIC_LIB=yes
-}
-
-do_install () {
- oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}/${bindir}
-}
diff --git a/recipes-bsp/dfe-lld/dfe-lld.inc b/recipes-bsp/dfe-lld/dfe-lld.inc
deleted file mode 100644
index 9ac317d4..00000000
--- a/recipes-bsp/dfe-lld/dfe-lld.inc
+++ /dev/null
@@ -1,14 +0,0 @@
-LICENSE = "BSD-3-Clause"
-
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1f4217b705bf98762a302fd720649dcc"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.dfe"
-
-PE = "1"
-
-INC_PR = "r0"
-
-COMPATIBLE_MACHINE = "k2l"
-
diff --git a/recipes-bsp/dfe-lld/dfe-lld_git.bb b/recipes-bsp/dfe-lld/dfe-lld_git.bb
deleted file mode 100644
index 4456cc03..00000000
--- a/recipes-bsp/dfe-lld/dfe-lld_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-DESCRIPTION = "Digital Radio Front End low level driver"
-
-DEPENDS = "common-csl-ip"
-
-include dfe-lld.inc
-
-PR = "${INC_PR}.0"
-
-EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
-
-do_compile () {
- oe_runmake lib DEVICE=k2l
-}
-
-do_install () {
- oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-}
diff --git a/recipes-bsp/dsptop/dsptop.inc b/recipes-bsp/dsptop/dsptop.inc
deleted file mode 100644
index 6bc38373..00000000
--- a/recipes-bsp/dsptop/dsptop.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-# This corresponds to version 1.4.0
-SRCREV = "25e823b04e62af224dce97b90359b7569ce3fbb5"
-PV = "1.4.0"
-INC_PR = "r1"
-
-SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}"
-
-BRANCH = "master"
diff --git a/recipes-bsp/dsptop/temperature-module-drv_git.bb b/recipes-bsp/dsptop/temperature-module-drv_git.bb
deleted file mode 100644
index 0bd54c5e..00000000
--- a/recipes-bsp/dsptop/temperature-module-drv_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-DESCRIPTION = "Smart Reflex Sub-System (SRSS) module driver for Keystone 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 = "a"
-PR = "${MACHINE_KERNEL_PR}"
-PV_append = "+git${SRCPV}"
-
-S = "${WORKDIR}/git/temperature_module/temperature-mod"
-
-inherit module
-
-EXTRA_OEMAKE = "KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
-
-COMPATIBLE_MACHINE = "keystone"
-
-include dsptop.inc
diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
deleted file mode 100644
index 71c4fce4..00000000
--- a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
+++ /dev/null
@@ -1,145 +0,0 @@
-require edma3-lld.inc
-require recipes-ti/includes/ti-paths.inc
-
-PR = "${INC_PR}.1"
-
-DEPENDS = "ti-sysbios ti-xdctools-native gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PLATFORMLIST = ""
-TARGETLIST = ""
-
-PLATFORMLIST_ti33x = " \
- am335x-evm \
-"
-
-TARGETLIST_ti33x = " \
- a8 \
-"
-
-PLATFORMLIST_ti43x = " \
- am437x-evm \
-"
-
-TARGETLIST_ti43x = " \
- arm9 \
-"
-
-PLATFORMLIST_omap-a15 = " \
- tda2xx-evm \
-"
-
-TARGETLIST_omap-a15 = " \
- 66 \
- a15 \
- m4 \
-"
-
-PLATFORMLIST_keystone = " \
- tci6636k2h-evm \
- tci6638k2k-evm \
- tci6630k2l-evm \
- c66ak2e-evm \
- tci66ak2g02-evm \
-"
-
-TARGETLIST_keystone = " \
- 66 \
- a15 \
-"
-
-PLATFORMLIST_append_dra7xx-evm = " \
- tda3xx-evm \
-"
-
-TARGETLIST_c66x = " \
- 66 \
-"
-
-PLATFORMLIST_c665x-evm = " \
- c6657-evm \
-"
-
-PLATFORMLIST_c667x-evm = " \
- c6678-evm \
-"
-
-PLATFORMLIST_omapl1 = " \
- omapl137-evm \
- omapl138-evm \
-"
-
-TARGETLIST_omapl1 = " \
- arm9 \
- 674 \
-"
-
-EXTRA_OEMAKE_remove = "TARGET=66"
-FORMAT="ELF"
-
-S = "${WORKDIR}/git"
-
-PARALLEL_MAKE = ""
-
-export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr"
-export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
-export CGTOOLS = "${XDCCGROOT}"
-export CGTOOLS_ELF = "${XDCCGROOT}"
-export CODEGEN_PATH_DSP = "${XDCCGROOT}"
-export CODEGEN_PATH_DSPELF = "${XDCCGROOT}"
-export TMS470_CGTOOLS = "${M4_TOOLCHAIN_INSTALL_DIR}"
-export UTILS_INSTALL_DIR = "${XDC_INSTALL_DIR}"
-export XDCPATH = "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
-export PATH := "${XDC_INSTALL_DIR}:${PATH}"
-export ROOTDIR="${S}"
-export INTERNAL_SW_ROOT="${S}"
-export CROSSCC="${TARGET_PREFIX}gcc"
-export CROSSAR="${TARGET_PREFIX}ar"
-export CROSSLNK="${TARGET_PREFIX}gcc"
-
-do_configure () {
- rm -rf ${S}/examples/edma3_driver/evmTCI6614
- rm -rf ${S}/examples/edma3_driver/evmTCI6614BE
- sed -i -e "s|_config.bld|config.bld|g" ${S}/makerules/env.mk
- sed -i -e "s|^edma3_lld_PATH =.*$|edma3_lld_PATH = ${S}|g" ${S}/makerules/env.mk
- sed -i -e "s|^CODEGEN_PATH_M3 =.*$|CODEGEN_PATH_M3 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
- sed -i -e "s|^CODEGEN_PATH_M4 =.*$|CODEGEN_PATH_M4 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
- sed -i -e "s|^CODEGEN_PATH_A8 =.*$|CODEGEN_PATH_A8 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
- sed -i -e "s|^CODEGEN_PATH_A8_GCC =.*$|CODEGEN_PATH_A8_GCC = ${GCC_ARM_NONE_TOOLCHAIN}|g" ${S}/makerules/env.mk
- sed -i -e "s|^CODEGEN_PATH_ARM9 =.*$|CODEGEN_PATH_ARM9 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
- sed -i -e "s|^CODEGEN_PATH_A9_GCC =.*$|CODEGEN_PATH_A9_GCC = ${GCC_ARM_NONE_TOOLCHAIN}|g" ${S}/makerules/env.mk
- sed -i -e "s|^CODEGEN_PATH_A15 =.*$|CODEGEN_PATH_A15 = ${GCC_ARM_NONE_TOOLCHAIN}|g" ${S}/makerules/env.mk
- sed -i -e "s|^CODEGEN_PATH_A15_GCC =.*$|CODEGEN_PATH_A15_GCC = ${GCC_ARM_NONE_TOOLCHAIN}|g" ${S}/makerules/env.mk
- sed -i -e "s|^UTILS_INSTALL_DIR =.*$|UTILS_INSTALL_DIR = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
- sed -i -e "s|^bios_PATH =.*$|bios_PATH = ${SYSBIOS_INSTALL_DIR}|g" ${S}/makerules/env.mk
- sed -i -e "s|^xdc_PATH =.*$|xdc_PATH = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
- sed -i -e "s|^CODEGEN_PATH_DSP =.*$|CODEGEN_PATH_DSP = ${XDCCGROOT}|g" ${S}/makerules/env.mk
- sed -i -e "s|^CODEGEN_PATH_DSPELF =.*$|CODEGEN_PATH_DSPELF = ${XDCCGROOT}|g" ${S}/makerules/env.mk
-
- cd ${S}/packages
- ${XDC_INSTALL_DIR}/xdc .interfaces -PR .
-}
-
-do_compile () {
- cd ${S}/packages
- for p in ${PLATFORMLIST}
- do
- for t in ${TARGETLIST}
- do
- make PLATFORM=${p} TARGET=${t} FORMAT=${FORMAT}
- done
- done
-}
-
-do_install () {
- CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
- install -d ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
- cp ${CP_ARGS} ${S}/* ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
-}
-
-INSANE_SKIP_${PN}-dev = "arch ldflags file-rdeps"
-
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN}-dev += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"
diff --git a/recipes-bsp/edma3-lld/edma3-lld.inc b/recipes-bsp/edma3-lld/edma3-lld.inc
deleted file mode 100644
index 34d3170f..00000000
--- a/recipes-bsp/edma3-lld/edma3-lld.inc
+++ /dev/null
@@ -1,17 +0,0 @@
-DESCRIPTION = "TI EDMA3 low level driver and test code"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
-
-EDMA3_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
-EDMA3_LLD_GIT_PROTOCOL = "git"
-EDMA3_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to version 2.12.05.30E
-EDMA3_LLD_SRCREV = "ce5ced2ac5eb1e0f1515288d279f5690813b5413"
-
-BRANCH = "${EDMA3_LLD_GIT_BRANCH}"
-SRC_URI = "${EDMA3_LLD_GIT_URI};protocol=${EDMA3_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${EDMA3_LLD_SRCREV}"
-
-PV = "2.12.05.30E"
-INC_PR = "r1"
diff --git a/recipes-bsp/edma3-lld/edma3-lld_git.bb b/recipes-bsp/edma3-lld/edma3-lld_git.bb
deleted file mode 100644
index 38db2e21..00000000
--- a/recipes-bsp/edma3-lld/edma3-lld_git.bb
+++ /dev/null
@@ -1,75 +0,0 @@
-require edma3-lld.inc
-
-PR = "${INC_PR}.0"
-
-COMPATIBLE_MACHINE = "keystone"
-
-DEPENDS = "common-csl-ip"
-
-PLATFORMLIST = "tci6636k2h-evm \
- tci6636k2h-evm \
- tci6638k2k-evm \
- tci6630k2l-evm \
- c66ak2e-evm \
- tci66ak2g02-evm \
- "
-
-PACKAGES =+ "${PN}-test"
-
-FILES_${PN}-test = "${bindir}/*"
-
-S = "${WORKDIR}/git"
-
-do_compile () {
- cd ${S}/packages
- for platform in ${PLATFORMLIST}
- do
- ROOTDIR=${S} CROSSCC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" CROSSAR="${TARGET_PREFIX}ar" \
- CROSSLNK="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" INTERNAL_SW_ROOT="${S}" make \
- PLATFORM="$platform" TARGET=a15 TOOLCHAIN_a15=GCC FORMAT=ELF \
- SONAME=libedma3.so all
- done
-}
-
-do_install () {
- CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
-
- install -d ${D}/${libdir}
-
- # Static Libraries
- cp ${CP_ARGS} ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/edma3_lld_drv.aa15fg \
- ${D}/${libdir}/libedma3.a
- cp ${CP_ARGS} ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/edma3_lld_rm.aa15fg \
- ${D}/${libdir}/libedma3rm.a
-
- # Shared Libraries
- cp ${CP_ARGS} ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/libedma* ${D}/${libdir}
- cp ${CP_ARGS} ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/libedma* ${D}/${libdir}
-
- # Copy Headers
- install -d ${D}/${includedir}/ti/sdo/edma3/drv/
- install -d ${D}/${includedir}/ti/sdo/edma3/rm
- cp ${CP_ARGS} ${S}/packages/ti/sdo/edma3/drv/*.h ${D}/${includedir}/ti/sdo/edma3/drv/
- cp ${CP_ARGS} ${S}/packages/ti/sdo/edma3/rm/*.h ${D}/${includedir}/ti/sdo/edma3/rm/
-
- # Copy Sample Config
- install -d ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
- cp ${CP_ARGS} ${S}/examples/edma3_user_space_driver/evmTCI6636K2H/evmTCI6636K2HSample.c \
- ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
- cp ${CP_ARGS} ${S}/examples/edma3_user_space_driver/evmTCI6638K2K/evmTCI6638K2KSample.c \
- ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
- cp ${CP_ARGS} ${S}/examples/edma3_user_space_driver/evmTCI6630K2L/evmTCI6630K2LSample.c \
- ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
- cp ${CP_ARGS} ${S}/examples/edma3_user_space_driver/evmC66AK2E/evmC66AK2ESample.c \
- ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
-
- install -d ${D}/${bindir}
- install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6636K2H/bin/tci6636k2h-evm/edma3_drv_6636k2h_a15_sample_a15host_release.xa15fg \
- ${D}/${bindir}/edma3_drv_6636k2h_a15_sample_a15host_release.xa15fg
- install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6638K2K/bin/tci6638k2k-evm/edma3_drv_6638k2k_a15_sample_a15host_release.xa15fg \
- ${D}/${bindir}/edma3_drv_6638k2k_a15_sample_a15host_release.xa15fg
- install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6630K2L/bin/tci6630k2l-evm/edma3_drv_6630k2l_a15_sample_a15host_release.xa15fg \
- ${D}/${bindir}/edma3_drv_6630k2l_a15_sample_a15host_release.xa15fg
- install -c -m 755 ${S}/examples/edma3_user_space_driver/evmC66AK2E/bin/c66ak2e-evm/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg \
- ${D}/${bindir}/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg
-}
diff --git a/recipes-bsp/emac-lld/emac-lld-rtos_git.bb b/recipes-bsp/emac-lld/emac-lld-rtos_git.bb
deleted file mode 100644
index bbf56b49..00000000
--- a/recipes-bsp/emac-lld/emac-lld-rtos_git.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-SUMMARY = "TI RTOS low level driver for Ethernet MAC (EMAC) peripheral"
-
-inherit ti-pdk
-
-require emac-lld.inc
-
-PR = "r0"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://emacver.h;beginline=1;endline=47;md5=f66bb3695972ca2a85d990a390f45d88"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|c665x-evm|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS_append = " board-rtos osal-rtos"
-DEPENDS_append_ti33x = " starterware-rtos"
-DEPENDS_append_ti43x = " starterware-rtos"
-DEPENDS_append_k2g = " cppi-lld-rtos qmss-lld-rtos"
-
-DEPENDS_remove_k3 = "board-rtos "
-DEPENDS_append_k3 = " udma-lld-rtos trace-rtos"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_EMAC_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "EMAC LLD"
diff --git a/recipes-bsp/emac-lld/emac-lld.inc b/recipes-bsp/emac-lld/emac-lld.inc
deleted file mode 100644
index eea56b31..00000000
--- a/recipes-bsp/emac-lld/emac-lld.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.emac"
-
-PE = "1"
-
-# The LLD version
diff --git a/recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb b/recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb
deleted file mode 100644
index 20d8ba8c..00000000
--- a/recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-SUMMARY = "TI RTOS driver for FAT filesystem"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.fs.fatfs"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://FATFS.h;beginline=1;endline=32;md5=6619832755598d1cc2b01f2e6a1801d6"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r0"
-
-DEPENDS_append = " mmcsd-lld-rtos \
- osal-rtos \
-"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_FATFS_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "FATFS Library"
diff --git a/recipes-bsp/faultmanagement/faultmanagement-rtos_git.bb b/recipes-bsp/faultmanagement/faultmanagement-rtos_git.bb
deleted file mode 100644
index bf8aba6a..00000000
--- a/recipes-bsp/faultmanagement/faultmanagement-rtos_git.bb
+++ /dev/null
@@ -1,36 +0,0 @@
-SUMMARY = "TI Fault management module for keystone devices"
-
-inherit ti-pdk
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://fault_mgmt.h;beginline=1;endline=41;md5=4be5df2b9c314da729e9e4f6cc0b2979"
-
-COMPATIBLE_MACHINE = "k2hk|k2e|k2l"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-FAULT_MANAGEMENT_GIT_URI = "git://git.ti.com/keystone-rtos/fault_mgmt.git"
-FAULT_MANAGEMENT_GIT_PROTOCOL = "git"
-FAULT_MANAGEMENT_GIT_BRANCH = "master"
-FAULT_MANAGEMENT_GIT_DESTSUFFIX = "git/ti/instrumentation/fault_mgmt"
-
-# Below commit ID corresponds to "DEV.FAULT_MGMT.01.00.01.04A"
-FAULT_MANAGEMENT_SRCREV = "67becdff0e3d181ab7b8fada226f5737517c1c52"
-
-BRANCH = "${FAULT_MANAGEMENT_GIT_BRANCH}"
-SRC_URI = "${FAULT_MANAGEMENT_GIT_URI};destsuffix=${FAULT_MANAGEMENT_GIT_DESTSUFFIX};protocol=${FAULT_MANAGEMENT_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${FAULT_MANAGEMENT_SRCREV}"
-PV = "01.00.01.04A"
-PR = "r0"
-
-S = "${WORKDIR}/${FAULT_MANAGEMENT_GIT_DESTSUFFIX}"
-
-DEPENDS_append_keystone = " qmss-lld-rtos \
- cppi-lld-rtos \
- pa-lld-rtos \
-"
-
-DEPENDS_append_k2hk = " aif2-lld-rtos \
-"
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "Fault Management"
diff --git a/recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb b/recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb
deleted file mode 100644
index c8668c99..00000000
--- a/recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-SUMMARY = "TI FFT Coprocessor (FFTC) low level driver "
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.fftc"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://fftc.h;beginline=1;endline=39;md5=2f1010c47d364414644caf6d30a2b7df"
-
-COMPATIBLE_MACHINE = "k2hk|k2l"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r0"
-
-DEPENDS_append= " qmss-lld-rtos \
- cppi-lld-rtos \
-"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "FFTC LLD"
diff --git a/recipes-bsp/formfactor/formfactor/beagleboard/machconfig b/recipes-bsp/formfactor/formfactor/beagleboard/machconfig
deleted file mode 100755
index a46859f1..00000000
--- a/recipes-bsp/formfactor/formfactor/beagleboard/machconfig
+++ /dev/null
@@ -1,3 +0,0 @@
-# Assume a USB mouse and touchscreen are connected
-HAVE_TOUCHSCREEN=0
-HAVE_KEYBOARD=1
diff --git a/recipes-bsp/formfactor/formfactor_0.0.bbappend b/recipes-bsp/formfactor/formfactor_0.0.bbappend
deleted file mode 100644
index 72d991c7..00000000
--- a/recipes-bsp/formfactor/formfactor_0.0.bbappend
+++ /dev/null
@@ -1 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
diff --git a/recipes-bsp/fvid2/fvid2-rtos_git.bb b/recipes-bsp/fvid2/fvid2-rtos_git.bb
deleted file mode 100755
index db1f9e1c..00000000
--- a/recipes-bsp/fvid2/fvid2-rtos_git.bb
+++ /dev/null
@@ -1,68 +0,0 @@
-SUMMARY = "TI RTOS Video Driver Interface"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.fvid2"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://fvid2.h;beginline=1;endline=31;md5=83d177cf3df55c16b27ae4102b6ade9a"
-
-COMPATIBLE_MACHINE = "k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r0"
-
-DEPENDS_append = " osal-rtos \
-"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-FVID2_PACKAGE_BASE = "${WORKDIR}/fvid2_base"
-FVID2_ROOTPATH = "${FVID2_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/fvid2"
-
-export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
-export PDK_FVID2_ROOT_PATH = "${FVID2_PACKAGE_BASE}/package/all/pdk_/packages"
-
-
-BOARD_PACKAGE = ""
-BOARD_PACKAGE_am65xx-evm = "am65xx_evm"
-BOARD_PACKAGE_am65xx-hs-evm = "am65xx_evm"
-BOARD_PACKAGE_j7-evm = "j721e_evm"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "FVID2"
-
-do_configure() {
- rm -rf ${FVID2_PACKAGE_BASE}
- cd ${S}
-
- # remove any previous package
- rm -f ${FVID2_PACKAGE_BASE}
-
- # make the release package before building it
- make package BOARD=${BOARD_PACKAGE} DEST_ROOT=${FVID2_PACKAGE_BASE} PDK_FVID2_COMP_PATH=${S}
-}
-
-do_compile() {
- echo "fvid2 root path is ${FVID2_ROOTPATH}"
- cd ${FVID2_ROOTPATH}
-
- # Build am65xx libraries
- make clean lib xdc_meta LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" LIMIT_CORES="${TI_PDK_LIMIT_CORES}"
-
- #archive
- tar -cf fvid2.tar --exclude='*.tar' ./*
-}
-
-do_install() {
- cd ${FVID2_ROOTPATH}
- install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/fvid2
- find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/fvid2 \;
-}
-
-FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
-
-INSANE_SKIP_${PN} = "arch ldflags"
diff --git a/recipes-bsp/goodix-fw/goodix-fw_git.bb b/recipes-bsp/goodix-fw/goodix-fw_git.bb
deleted file mode 100644
index 0a9f3ff9..00000000
--- a/recipes-bsp/goodix-fw/goodix-fw_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-DESCRIPTION = "Goodix GT9271 config firmware"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENCE.Spectrum-GT9271;md5=2a6de6be7af1fe46370c684daf27c852"
-
-PV = "1.0.0.0"
-PR = "r0"
-
-CLEANBROKEN = "1"
-
-COMPATIBLE_MACHINE = "dra7xx"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRCREV = "f1a8d1d0131f83bd1a775cde7075eb67c070892c"
-BRANCH ?= "ti-linux-firmware"
-
-SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-ORIGIN = "DRA71x-RevA-GT9271_SpecDig_Config.bin"
-TARGET = "goodix_9271_cfg.bin"
-
-do_install() {
- install -d ${D}${base_libdir}/firmware
- install -m 0644 ${S}/ti-evm/${ORIGIN} ${D}${base_libdir}/firmware/${TARGET}
-}
-
-FILES_${PN} = "${base_libdir}/firmware"
diff --git a/recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb b/recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb
deleted file mode 100644
index bfdb16ce..00000000
--- a/recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb
+++ /dev/null
@@ -1,34 +0,0 @@
-SUMMARY = "TI RTOS driver for General Purpose IO (GPIO)"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.gpio"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://GPIO.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d13518cf18a0122b8"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c667x-evm|c665x-evm|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r0"
-
-
-DEPENDS_append = " osal-rtos \
-"
-DEPENDS_append_ti33x = " starterware-rtos \
-"
-DEPENDS_append_ti43x = " starterware-rtos \
-"
-DEPENDS_append_k3 = " sciclient-rtos \
-"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_GPIO_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "GPIO LLD"
diff --git a/recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb b/recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb
deleted file mode 100644
index 6054d6b7..00000000
--- a/recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb
+++ /dev/null
@@ -1,32 +0,0 @@
-SUMMARY = "TI RTOS low level driver for General Purpose Memory Controller (GPMC)"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.gpmc"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://GPMC.h;beginline=1;endline=31;md5=485ec97c36f809bf92323fde3e988c72"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-
-PR = "r0"
-
-DEPENDS_append = " osal-rtos \
-"
-DEPENDS_append_ti33x = " starterware-rtos \
-"
-DEPENDS_append_ti43x = " starterware-rtos \
-"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "GPMC LLD"
-
-export PDK_GPMC_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
diff --git a/recipes-bsp/hplib/hplib-mod_git.bb b/recipes-bsp/hplib/hplib-mod_git.bb
deleted file mode 100644
index c7217d73..00000000
--- a/recipes-bsp/hplib/hplib-mod_git.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-DESCRIPTION = "TI High Performance Library kernel module"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/module/COPYING.txt;md5=c1c4d3453cddc5b7f0ce84a277e66779"
-
-DEPENDS = "hplib"
-
-include hplib.inc
-
-# This package builds a kernel module, use kernel PR as base and append a local
-MACHINE_KERNEL_PR_append = "b"
-PR = "${MACHINE_KERNEL_PR}"
-
-S ="${WORKDIR}/git/ti/runtime/hplib/module"
-EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR} PDK_INSTALL_PATH=${STAGING_INCDIR}"
-
-inherit module
-
-do_install () {
- oe_runmake install INSTALL_MOD_PATH="${D}"
-}
-
-KERNEL_MODULE_AUTOLOAD += "hplibmod"
diff --git a/recipes-bsp/hplib/hplib-test_git.bb b/recipes-bsp/hplib/hplib-test_git.bb
deleted file mode 100644
index 4ba79dbd..00000000
--- a/recipes-bsp/hplib/hplib-test_git.bb
+++ /dev/null
@@ -1,32 +0,0 @@
-DESCRIPTION = "TI High performance library test binaries"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
-
-DEPENDS = "common-csl-ip qmss-lld sa-lld pktlib hplib"
-
-include hplib.inc
-
-PR = "${INC_PR}.0"
-
-CHOICELIST = "yes no"
-
-S = "${WORKDIR}/git/ti/runtime/hplib"
-
-EXTRA_OEMAKE += '-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}'
-
-do_compile () {
- for device in ${DEVICELIST}
- do
- for choice in ${CHOICELIST}
- do
- oe_runmake tests HPLIB_SRC_DIR=${S} USEDYNAMIC_LIB=$choice DEVICE="$device"
- done
- done
-}
-
-do_install () {
- for device in ${DEVICELIST}
- do
- oe_runmake installbin INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
- done
-}
diff --git a/recipes-bsp/hplib/hplib.inc b/recipes-bsp/hplib/hplib.inc
deleted file mode 100644
index dda47344..00000000
--- a/recipes-bsp/hplib/hplib.inc
+++ /dev/null
@@ -1,20 +0,0 @@
-COMPATIBLE_MACHINE = "keystone"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEVICELIST_k2hk = "k2h k2k"
-DEVICELIST_k2l = "k2l"
-DEVICELIST_k2e = "k2e"
-
-HPLIB_GIT_URI = "git://git.ti.com/keystone-rtos/hplib.git"
-HPLIB_GIT_PROTOCOL = "git"
-HPLIB_GIT_BRANCH = "master"
-
-# Below Commit ID corresponds to "DEV.HPLIB.01.01.00.08"
-HPLIB_SRCREV = "5e9b27854f5d6f9f37a0ed8d7516d4874427cd8b"
-
-BRANCH = "${HPLIB_GIT_BRANCH}"
-SRC_URI = "${HPLIB_GIT_URI};protocol=${HPLIB_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${HPLIB_SRCREV}"
-
-PV = "01.01.00.08+git${SRCPV}"
-INC_PR = "r0"
diff --git a/recipes-bsp/hplib/hplib_git.bb b/recipes-bsp/hplib/hplib_git.bb
deleted file mode 100644
index 1423de5b..00000000
--- a/recipes-bsp/hplib/hplib_git.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-DESCRIPTION = "TI High performance libraries"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
-
-DEPENDS = "common-csl-ip rm-lld qmss-lld sa-lld pktlib"
-RDEPENDS_${PN} = "hplib-mod"
-
-include hplib.inc
-
-PR = "${INC_PR}.0"
-
-CHOICELIST = "yes no"
-
-S = "${WORKDIR}/git/ti/runtime/hplib"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
-
-do_compile () {
- for device in ${DEVICELIST}
- do
- for choice in ${CHOICELIST}
- do
- oe_runmake lib HPLIB_SRC_DIR=${S} USEDYNAMIC_LIB=$choice DEVICE="$device"
- done
- done
-}
-
-do_install () {
- for device in ${DEVICELIST}
- do
- oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
- done
-}
diff --git a/recipes-bsp/hyplnk-lld/hyplnk-lld-rtos_git.bb b/recipes-bsp/hyplnk-lld/hyplnk-lld-rtos_git.bb
deleted file mode 100644
index 3be848b3..00000000
--- a/recipes-bsp/hyplnk-lld/hyplnk-lld-rtos_git.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-SUMMARY = "TI RTOS low level driver for Hyperlink peripheral"
-
-inherit ti-pdk
-
-require recipes-bsp/hyplnk-lld/hyplnk-lld.inc
-
-PR = "${INC_PR}.0"
-
-COMPATIBLE_MACHINE_append = "|c66x"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "HYPLNK LLD"
diff --git a/recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb b/recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb
deleted file mode 100644
index 31b69c26..00000000
--- a/recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb
+++ /dev/null
@@ -1,26 +0,0 @@
-include hyplnk-lld.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS = "common-csl-ip hyplnk-lld"
-
-do_compile () {
- make -f makefile_armv7 clean PDK_INSTALL_PATH="${STAGING_INCDIR}" \
- HYPLNK_SRC_DIR="${S}"
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 tests examples \
- PDK_INSTALL_PATH="${STAGING_INCDIR}" \
- DEVICE="$device" HYPLNK_SRC_DIR="${S}"
- done
-}
-
-do_install () {
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 installbin \
- PDK_INSTALL_PATH="${STAGING_INCDIR}" DEVICE="$device" \
- HYPLNK_SRC_DIR="${S}" \
- INSTALL_BIN_BASE_DIR="${D}/${bindir}"
- done
-}
diff --git a/recipes-bsp/hyplnk-lld/hyplnk-lld.inc b/recipes-bsp/hyplnk-lld/hyplnk-lld.inc
deleted file mode 100644
index 849c2eee..00000000
--- a/recipes-bsp/hyplnk-lld/hyplnk-lld.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-DESCRIPTION = "TI Hyperlink Low Level Driver"
-LICENSE = "BSD-3-Clause"
-
-COMPATIBLE_MACHINE = "k2hk|k2e"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-LLDNAME="hyplnk"
-
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=623325cc19e613a4e770fbb749922592"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.hyplnk"
-
-PE = "1"
-
-INC_PR = "r0"
-
-DEVICELIST_k2hk = "k2h k2k"
-DEVICELIST_k2e = "k2e"
-
diff --git a/recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb b/recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb
deleted file mode 100644
index 08124d7c..00000000
--- a/recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-include hyplnk-lld.inc
-
-PR = "${INC_PR}.1"
-
-DEPENDS = "common-csl-ip"
-
-do_compile () {
- make -f makefile_armv7 clean PDK_INSTALL_PATH="${STAGING_INCDIR}" \
- HYPLNK_SRC_DIR="${S}"
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 lib PDK_INSTALL_PATH="${STAGING_INCDIR}"\
- DEVICE="$device" HYPLNK_SRC_DIR="${S}"
- done
-}
-
-do_install () {
- make -f makefile_armv7 install PDK_INSTALL_PATH="${STAGING_INCDIR}" \
- INSTALL_INC_BASE_DIR="${D}/${includedir}" \
- INSTALL_LIB_BASE_DIR="${D}${libdir}" HYPLNK_SRC_DIR="${S}"
- chown -R root:root ${D}
-
- # Set the generic device library symbolic link to default k2h
- cd ${D}${libdir}
-
- # Link only the first device in the list
- for device in ${DEVICELIST}
- do
- ln -sf libhyplnk_${device}.so.1.0.0 libhyplnk_device.so.1
- break
- done
- ln -sf libhyplnk_device.so.1 libhyplnk_device.so
-}
diff --git a/recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb b/recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb
deleted file mode 100644
index 1cd1c998..00000000
--- a/recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb
+++ /dev/null
@@ -1,45 +0,0 @@
-SUMMARY = "TI RTOS low level driver for Inter-IC module (I2C)"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.i2c"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://I2C.h;beginline=1;endline=32;md5=50084375278c1a2779571be134f98f7c"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-
-PR = "r0"
-
-DEPENDS_append = " osal-rtos \
-"
-DEPENDS_append_ti33x = " starterware-rtos \
- pruss-lld-rtos \
-"
-DEPENDS_append_ti43x = " starterware-rtos \
- pruss-lld-rtos \
-"
-DEPENDS_append_am57xx-evm = " pruss-lld-rtos \
-"
-
-DEPENDS_append_k2g = " pruss-lld-rtos \
-"
-
-DEPENDS_append_j7-evm = " sciclient-rtos \
-"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-
-export PDK_I2C_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-INSANE_SKIP_${PN} = "arch"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "I2C LLD"
diff --git a/recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb b/recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb
deleted file mode 100644
index 59b75b3a..00000000
--- a/recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb
+++ /dev/null
@@ -1,75 +0,0 @@
-SUMMARY = "Second stage bootloader for c66x"
-DESCRIPTION = "The Intermediate Bootloader (IBL) is a second stage \
-bootloader for the c66x family of embedded processors. This second \
-stage bootloader takes care of additional initializations, advisory \
-setups, and errata workarounds that are not present in the first stage boot."
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://src/ibl.h;beginline=1;endline=34;md5=ee7d7a3305d1e524955996d1c5e31cb9"
-
-require recipes-ti/includes/ti-paths.inc
-
-DEPENDS = " ti-cgt6x-7-native \
- bison-native \
- flex-native \
-"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "c66x"
-
-CLEANBROKEN = "1"
-
-IBL_BOOT_GIT_URI = "git://git.ti.com/keystone-rtos/ibl.git"
-IBL_BOOT_GIT_PROTOCOL = "git"
-IBL_BOOT_GIT_BRANCH = "master"
-IBL_BOOT_SRCREV = "ed3f0989d8cdc813b7ca1ed899c4d84b63de3a75"
-
-BRANCH = "${IBL_BOOT_GIT_BRANCH}"
-SRC_URI = "${IBL_BOOT_GIT_URI};protocol=${IBL_BOOT_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${IBL_BOOT_SRCREV}"
-
-
-PR = "r2"
-
-S = "${WORKDIR}/git"
-
-PATH_prepend = "${TI_CGT6X_7_INSTALL_DIR}/bin:"
-
-IBLTARGETS = ""
-IBLTARGETS_c665x-evm = "evm_c6657_i2c"
-IBLTARGETS_c667x-evm = "evm_c6678_i2c"
-
-IBLENDIAN = ""
-IBLENDIAN_c665x-evm = "little"
-IBLENDIAN_c667x-evm = "little"
-
-export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}"
-export TOOLSC6X="${C6X_BASE_DIR}"
-export TOOLSC6XDOS="${C6X_BASE_DIR}"
-export TOOLSBIOSC6XDOS="${C6X_BASE_DIR}"
-export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
-
-do_compile() {
- cd src/make
- for t in ${IBLTARGETS}
- do
- for e in ${IBLENDIAN}
- do
- make ${t} ENDIAN=${e} I2C_BUS_ADDR=0x51
- done
- done
- cd -
-}
-
-do_install() {
- install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/ibl
- cp -rP --preserve=mode,links,timestamps --no-preserve=ownership * ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/ibl
-}
-
-FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
-
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_SYSROOT_STRIP = "1"
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-
-INSANE_SKIP_${PN} = "arch file-rdeps"
diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb b/recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb
deleted file mode 100644
index 882ce997..00000000
--- a/recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb
+++ /dev/null
@@ -1,25 +0,0 @@
-SUMMARY = "TI RTOS low level driver for ICSS-EMAC"
-
-inherit ti-pdk
-require icss-emac-lld.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS_append = " osal-rtos \
- pruss-lld-rtos \
-"
-DEPENDS_append_ti33x = " starterware-rtos \
-"
-DEPENDS_append_ti43x = " starterware-rtos \
-"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_ICSS_EMAC_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "ICSS-EMAC LLD"
-
-INSANE_SKIP_${PN} = "arch"
diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb b/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
deleted file mode 100644
index 5093d7ce..00000000
--- a/recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-DESCRIPTION = "TI ICSS-EMAC low level driver tests"
-
-DEPENDS="common-csl-ip pruss-lld icss-emac-lld osal ti-pdk-build-rtos icss-emac-lld-rtos"
-
-DEPENDS_append_ti33x = " starterware"
-DEPENDS_append_ti43x = " starterware"
-
-include icss-emac-lld.inc
-
-PR = "${INC_PR}.0"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PDK_PKG_PATH=${STAGING_DATADIR}/ti/ti-pdk-tree/packages ICSS_EMAC_SRC_DIR=${S}"
-
-DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
-
-do_compile () {
- # Build the tests
- for device in ${DEVICE_LIST}
- do
- oe_runmake tests DEVICE="$device"
- done
-}
-
-do_install() {
- # Install the binary
- for device in ${DEVICE_LIST}
- do
- oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
- done
-}
diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
deleted file mode 100644
index e315c897..00000000
--- a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
+++ /dev/null
@@ -1,15 +0,0 @@
-LICENSE = "BSD-3-Clause"
-
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=76cafd87d8495b42c2355f7681de15a2"
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.icss_emac"
-
-PE = "1"
-
-INC_PR = "r1"
-
-INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libdir}/libicss_emac.a"
diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb b/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
deleted file mode 100644
index 4c305db6..00000000
--- a/recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
+++ /dev/null
@@ -1,25 +0,0 @@
-DESCRIPTION = "TI ICSS-EMAC low level driver library"
-
-DEPENDS = "common-csl-ip pruss-lld osal"
-
-include icss-emac-lld.inc
-
-PR = "${INC_PR}.0"
-
-TARGET_NAME_omap-a15 = "SOC_AM572x"
-TARGET_NAME_ti33x = "SOC_AM335x"
-TARGET_NAME_ti43x = "SOC_AM437x"
-TARGET_NAME_k2g = "SOC_K2G"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} TARGET=${TARGET_NAME}"
-
-do_compile () {
-# Build the lib
- oe_runmake clean
- oe_runmake lib
-}
-
-do_install () {
-# Install the lib
- oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
-}
diff --git a/recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb b/recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb
deleted file mode 100644
index c0c27b60..00000000
--- a/recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-SUMMARY = "TI RTOS low level driver for IO-Link Master"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.iolink"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://IOLINK.h;beginline=1;endline=32;md5=da669339a4b8594ed3edbe7ca30c726e"
-
-COMPATIBLE_MACHINE = "ti43x"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r2"
-
-DEPENDS_append = " osal-rtos \
-"
-DEPENDS_append_ti43x = " starterware-rtos \
- pruss-lld-rtos \
-"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-
-export PDK_IOLINK_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-INSANE_SKIP_${PN} = "arch"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "IOLINK LLD"
diff --git a/recipes-bsp/ipc-lld/ipc-lld-examples-rtos_git.bb b/recipes-bsp/ipc-lld/ipc-lld-examples-rtos_git.bb
deleted file mode 100644
index 8defbac1..00000000
--- a/recipes-bsp/ipc-lld/ipc-lld-examples-rtos_git.bb
+++ /dev/null
@@ -1,145 +0,0 @@
-SUMMARY = "echo_test for IPC-LLD"
-
-require ipc-lld.inc
-
-inherit update-alternatives
-
-DEPENDS += " ipc-lld-rtos common-csl-ip-rtos sciclient-rtos board-rtos"
-
-REMOTE_FW_DIR = "${S}/examples/yocto_bin"
-REMOTE_FW_BIN_DIR = "${REMOTE_FW_DIR}/ipc_echo_test/bin"
-REMOTE_FWB_BIN_DIR = "${REMOTE_FW_DIR}/ipc_echo_testb/bin"
-RTOS_ALL_CORES_BIN_DIR = "${REMOTE_FW_DIR}/ex02_bios_multicore_echo_test/bin"
-RTOS_2_CORES_BIN_DIR = "${REMOTE_FW_DIR}/ex01_bios_2core_echo_test/bin"
-LINUX_2_CORES_BIN_DIR = "${REMOTE_FW_DIR}/ex03_linux_bios_2core_echo_test/bin"
-
-DST_BIN_PATH = "${base_libdir}/firmware/pdk-ipc"
-
-TI_PDK_LIMIT_BOARDS_j7-evm = "j721e_evm"
-
-do_configure[noexec] = "1"
-
-do_compile() {
- cd ${S}
-
- oe_runmake apps LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" LIMIT_CORES="${TI_PDK_LIMIT_CORES}" DEST_ROOT=${REMOTE_FW_DIR}
-}
-
-do_install() {
- CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
- install -d ${D}${DST_BIN_PATH}
-
- cp ${CP_ARGS} ${REMOTE_FW_DIR}/ex02_bios_multicore_echo_test/bin -d ${D}/ex02_bios_multicore_echo_test
- cp ${CP_ARGS} ${REMOTE_FW_DIR}/ex01_bios_2core_echo_test/bin -d ${D}/ex01_bios_2core_echo_test
- cp ${CP_ARGS} ${REMOTE_FW_DIR}/ex03_linux_bios_2core_echo_test/bin -d ${D}/ex03_linux_bios_2core_echo_test
-
- for board in ${TI_PDK_LIMIT_BOARDS}
- do
- for core in ${TI_PDK_LIMIT_CORES}
- do
- install -m 0644 ${REMOTE_FW_BIN_DIR}/$board/ipc_echo_test_${core}_release* ${D}${DST_BIN_PATH}
-
- #removing map files copied in previous line
- rm ${D}${DST_BIN_PATH}/*.map
- done
-
- #remove mpu binarires
- rm ${D}${DST_BIN_PATH}/ipc_echo_test_mpu1_0_release.xa*
-
- done
-}
-
-do_install_append_j7-evm() {
- #copy ipc_echo_testb binaries for J721
- install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu1_0_release.xer5f ${D}${DST_BIN_PATH}
- install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu1_1_release.xer5f ${D}${DST_BIN_PATH}
- install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu2_0_release.xer5f ${D}${DST_BIN_PATH}
- install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu2_1_release.xer5f ${D}${DST_BIN_PATH}
- install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu3_0_release.xer5f ${D}${DST_BIN_PATH}
- install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu3_1_release.xer5f ${D}${DST_BIN_PATH}
-
- install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu1_0_release_strip.xer5f ${D}${DST_BIN_PATH}
- install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu1_1_release_strip.xer5f ${D}${DST_BIN_PATH}
- install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu2_0_release_strip.xer5f ${D}${DST_BIN_PATH}
- install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu2_1_release_strip.xer5f ${D}${DST_BIN_PATH}
- install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu3_0_release_strip.xer5f ${D}${DST_BIN_PATH}
- install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu3_1_release_strip.xer5f ${D}${DST_BIN_PATH}
-}
-
-
-# Set up names for the firmwares
-ALTERNATIVE_${PN}_am65xx = "\
- am65x-mcu-r5f0_0-fw \
- am65x-mcu-r5f0_1-fw \
- "
-ALTERNATIVE_${PN}_j7-evm = "\
- j7-mcu-r5f0_0-fw \
- j7-mcu-r5f0_1-fw \
- j7-main-r5f0_0-fw \
- j7-main-r5f0_1-fw \
- j7-main-r5f1_0-fw \
- j7-main-r5f1_1-fw \
- j7-c66_0-fw \
- j7-c66_1-fw \
- j7-c71_0-fw\
- "
-
-# Set up link names for the firmwares
-
-TARGET_MCU_R5FSS0_0_am65xx = "am65x-mcu-r5f0_0-fw"
-TARGET_MCU_R5FSS0_1_am65xx = "am65x-mcu-r5f0_1-fw"
-
-TARGET_MCU_R5FSS0_0_j7-evm = "j7-mcu-r5f0_0-fw"
-TARGET_MCU_R5FSS0_1_j7-evm = "j7-mcu-r5f0_1-fw"
-TARGET_MAIN_R5FSS0_0_j7-evm = "j7-main-r5f0_0-fw"
-TARGET_MAIN_R5FSS0_1_j7-evm = "j7-main-r5f0_1-fw"
-TARGET_MAIN_R5FSS1_0_j7-evm = "j7-main-r5f1_0-fw"
-TARGET_MAIN_R5FSS1_1_j7-evm = "j7-main-r5f1_1-fw"
-TARGET_C66_0_j7-evm = "j7-c66_0-fw"
-TARGET_C66_1_j7-evm = "j7-c66_1-fw"
-TARGET_C7X_j7-evm = "j7-c71_0-fw"
-
-ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
-ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
-
-ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
-ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
-ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}"
-ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1}"
-ALTERNATIVE_LINK_NAME[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_0}"
-ALTERNATIVE_LINK_NAME[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_1}"
-ALTERNATIVE_LINK_NAME[j7-c66_0-fw] = "${base_libdir}/firmware/${TARGET_C66_0}"
-ALTERNATIVE_LINK_NAME[j7-c66_1-fw] = "${base_libdir}/firmware/${TARGET_C66_1}"
-ALTERNATIVE_LINK_NAME[j7-c71_0-fw] = "${base_libdir}/firmware/${TARGET_C7X}"
-
-# Create the firmware alternatives
-
-ALTERNATIVE_TARGET[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_0_release_strip.xer5f"
-ALTERNATIVE_TARGET[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release_strip.xer5f"
-
-ALTERNATIVE_TARGET[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f"
-ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release_strip.xer5f"
-ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_0_release_strip.xer5f"
-ALTERNATIVE_TARGET[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_1_release_strip.xer5f"
-ALTERNATIVE_TARGET[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_0_release_strip.xer5f"
-ALTERNATIVE_TARGET[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_1_release_strip.xer5f"
-ALTERNATIVE_TARGET[j7-c66_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_1_release_strip.xe66"
-ALTERNATIVE_TARGET[j7-c66_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release_strip.xe66"
-ALTERNATIVE_TARGET[j7-c71_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release_strip.xe71"
-
-ALTERNATIVE_PRIORITY = "10"
-
-#add source and all rtos binaries package
-PACKAGES =+ "${PN}-rtos"
-
-# make sure that lib/firmware, and all its contents are part of the package
-FILES_${PN} += "${base_libdir}/firmware"
-
-FILES_${PN}-rtos += "ex02_bios_multicore_echo_test"
-FILES_${PN}-rtos += "ex01_bios_2core_echo_test"
-FILES_${PN}-rtos += "ex03_linux_bios_2core_echo_test"
-
-INSANE_SKIP_${PN} = "arch ldflags file-rdeps"
-INSANE_SKIP_${PN}-rtos = "arch ldflags file-rdeps"
-
-INSANE_SKIP_${PN}-dbg = "arch"
diff --git a/recipes-bsp/ipc-lld/ipc-lld-fw_git.bb b/recipes-bsp/ipc-lld/ipc-lld-fw_git.bb
deleted file mode 100644
index df992762..00000000
--- a/recipes-bsp/ipc-lld/ipc-lld-fw_git.bb
+++ /dev/null
@@ -1,196 +0,0 @@
-SUMMARY = "R5 and DSP IPC Echo Test Firmware Binaries"
-
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=7eae093f2b09fd39307f30028a068b91"
-
-inherit deploy
-inherit update-alternatives
-
-COMPATIBLE_MACHINE = "k3"
-
-PV = "1.0-git${SRCPV}"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PROTOCOL = "git"
-BRANCH = "master"
-SRCREV = "c9f7cfe61b67998a053fe145344ce0c9b5bb22aa"
-
-SRC_URI = "git://git.ti.com/keystone-rtos/ipc-lld.git;protocol=${PROTOCOL};branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-AM65X_R5_FW_DIR = "${S}/examples/echo_test/binaries/am65xx"
-J721E_R5_DSP_FW_DIR = "${S}/examples/echo_test/binaries/j721e"
-
-PLATFORM_am65xx = "am65xx"
-PLATFORM_j7-evm = "j7-evm"
-
-# make sure that lib/firmware, and all its contents are part of the package
-FILES_${PN} += "${base_libdir}/firmware"
-
-# install all R5 & DSP ipc echo test binaries in lib/firmware/pdk-ipc, with softlinks up a level
-do_install() {
- install -d ${D}${base_libdir}/firmware/pdk-ipc
-}
-
-do_install_append_am65xx() {
- install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
-}
-
-do_install_append_j7-evm() {
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_1_release.xe66 ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_1_release.strip.xe66 ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_2_release.xe66 ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_2_release.strip.xe66 ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c7x_1_release.xe71 ${D}${base_libdir}/firmware/pdk-ipc/
- install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c7x_1_release.strip.xe71 ${D}${base_libdir}/firmware/pdk-ipc/
-}
-
-# Set up names for the firmwares
-ALTERNATIVE_${PN}_am65xx = "\
- am65x-mcu-r5f0_0-fw \
- am65x-mcu-r5f0_1-fw \
- "
-ALTERNATIVE_${PN}_j7-evm = "\
- j7-mcu-r5f0_0-fw \
- j7-mcu-r5f0_1-fw \
- j7-main-r5f0_0-fw \
- j7-main-r5f0_1-fw \
- j7-main-r5f1_0-fw \
- j7-main-r5f1_1-fw \
- j7-c66_0-fw \
- j7-c66_1-fw \
- j7-c71_0-fw\
- "
-
-# Set up link names for the firmwares
-
-TARGET_MCU_R5FSS0_0_am65xx = "am65x-mcu-r5f0_0-fw"
-TARGET_MCU_R5FSS0_1_am65xx = "am65x-mcu-r5f0_1-fw"
-
-TARGET_MCU_R5FSS0_0_j7-evm = "j7-mcu-r5f0_0-fw"
-TARGET_MCU_R5FSS0_1_j7-evm = "j7-mcu-r5f0_1-fw"
-TARGET_MAIN_R5FSS0_0_j7-evm = "j7-main-r5f0_0-fw"
-TARGET_MAIN_R5FSS0_1_j7-evm = "j7-main-r5f0_1-fw"
-TARGET_MAIN_R5FSS1_0_j7-evm = "j7-main-r5f1_0-fw"
-TARGET_MAIN_R5FSS1_1_j7-evm = "j7-main-r5f1_1-fw"
-TARGET_C66_0_j7-evm = "j7-c66_0-fw"
-TARGET_C66_1_j7-evm = "j7-c66_1-fw"
-TARGET_C7X_j7-evm = "j7-c71_0-fw"
-
-ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
-ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
-
-ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
-ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
-ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}"
-ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1}"
-ALTERNATIVE_LINK_NAME[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_0}"
-ALTERNATIVE_LINK_NAME[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_1}"
-ALTERNATIVE_LINK_NAME[j7-c66_0-fw] = "${base_libdir}/firmware/${TARGET_C66_0}"
-ALTERNATIVE_LINK_NAME[j7-c66_1-fw] = "${base_libdir}/firmware/${TARGET_C66_1}"
-ALTERNATIVE_LINK_NAME[j7-c71_0-fw] = "${base_libdir}/firmware/${TARGET_C7X}"
-
-# Create the firmware alternatives
-
-ALTERNATIVE_TARGET[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_0_release.strip.xer5f"
-ALTERNATIVE_TARGET[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release.strip.xer5f"
-
-ALTERNATIVE_TARGET[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release.strip.xer5f"
-ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release.strip.xer5f"
-ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_0_release.strip.xer5f"
-ALTERNATIVE_TARGET[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_1_release.strip.xer5f"
-ALTERNATIVE_TARGET[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_0_release.strip.xer5f"
-ALTERNATIVE_TARGET[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_1_release.strip.xer5f"
-ALTERNATIVE_TARGET[j7-c66_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_1_release.strip.xe66"
-ALTERNATIVE_TARGET[j7-c66_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release.strip.xe66"
-ALTERNATIVE_TARGET[j7-c71_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release.strip.xe71"
-
-ALTERNATIVE_PRIORITY = "10"
-
-# copy the executables into the deploy directory
-
-do_deploy() {
- :
-}
-
-do_deploy_am65xx() {
- install ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${DEPLOYDIR}/
- install ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${DEPLOYDIR}/
- install ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.xer5f ${DEPLOYDIR}/
- install ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${DEPLOYDIR}/
-}
-
-do_deploy_j7-evm() {
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.strip.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_1_release.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_1_release.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_1_release.strip.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_0_release.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_0_release.strip.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_0_release.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_0_release.strip.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_1_release.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_1_release.strip.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_1_release.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_1_release.strip.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_0_release.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_0_release.strip.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_0_release.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_0_release.strip.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_1_release.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_1_release.strip.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_1_release.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_1_release.strip.xer5f ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_1_release.xe66 ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_1_release.strip.xe66 ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_2_release.xe66 ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_2_release.strip.xe66 ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c7x_1_release.xe71 ${DEPLOYDIR}/
- install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c7x_1_release.strip.xe71 ${DEPLOYDIR}/
-}
-
-addtask deploy after do_install before do_build
-
-# This is used to prevent the build system to strip the executables
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_SYSROOT_STRIP = "1"
-# This is used to prevent the build system to split the debug info in a separate file
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP
-INSANE_SKIP_${PN} += "arch"
-
-# we don't want to configure and build the source code
-do_compile[noexec] = "1"
-do_configure[noexec] = "1"
diff --git a/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb b/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb
deleted file mode 100644
index e005ea70..00000000
--- a/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb
+++ /dev/null
@@ -1,45 +0,0 @@
-SUMMARY = "TI RTOS low level driver for IPC"
-
-require ipc-lld.inc
-
-DEPENDS += " osal-rtos common-csl-ip-rtos sciclient-rtos"
-
-do_configure() {
- # remove any previous package
- rm -rf ${IPCLLD_PACKAGE_BASE}
- cd ${S}
-
- mkdir -p ${IPCLLD_ROOTPATH}
-
- for board in ${TI_PDK_LIMIT_BOARDS}
- do
- # make the release package before building it
- oe_runmake package BOARD=$board DEST_ROOT=${IPCLLD_PACKAGE_BASE} PDK_IPC_COMP_PATH=${S}
- done
-
-}
-
-do_compile() {
- cd ${IPCLLD_ROOTPATH}
-
- oe_runmake lib LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" PDK_IPC_COMP_PATH=${IPCLLD_ROOTPATH}
-}
-
-do_install() {
- cd ${IPCLLD_ROOTPATH}
-
- #remove prebuilt binaries
- rm -rf examples/echo_test/binaries
-
- #archive
- tar -cf ipc-lld.tar --exclude='*.tar' ./*
-
- install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/ipc
- find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/ipc \;
-}
-
-FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
-
-INSANE_SKIP_${PN} = "arch ldflags file-rdeps"
-
-INSANE_SKIP_${PN}-dbg = "arch"
diff --git a/recipes-bsp/ipc-lld/ipc-lld.inc b/recipes-bsp/ipc-lld/ipc-lld.inc
deleted file mode 100644
index f271f31d..00000000
--- a/recipes-bsp/ipc-lld/ipc-lld.inc
+++ /dev/null
@@ -1,29 +0,0 @@
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.ipc"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=7eae093f2b09fd39307f30028a068b91"
-
-COMPATIBLE_MACHINE = "k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r3"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-IPCLLD_PACKAGE_BASE = "${WORKDIR}/ipclld_base"
-IPCLLD_ROOTPATH = "${IPCLLD_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/ipc"
-
-export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
-export PDK_IPC_ROOT_PATH = "${IPCLLD_PACKAGE_BASE}/package/all/pdk_/packages"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "IPCLLD"
-
-EXTRA_OEMAKE = "PDK_INSTALL_PATH=${PDK_INSTALL_PATH} "
-
-TI_PDK_LIMIT_CORES_append_am65xx-evm = " mcu1_1 "
diff --git a/recipes-bsp/iqn2-lld/iqn2-lld-rtos_git.bb b/recipes-bsp/iqn2-lld/iqn2-lld-rtos_git.bb
deleted file mode 100644
index 318f1cfe..00000000
--- a/recipes-bsp/iqn2-lld/iqn2-lld-rtos_git.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-SUMMARY = "TI RTOS low level driver for IQN2 peripheral module"
-
-inherit ti-pdk
-
-require recipes-bsp/iqn2-lld/iqn2-lld.inc
-
-PR = "${INC_PR}.0"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "IQN2 LLD"
diff --git a/recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb b/recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb
deleted file mode 100644
index f276c4b3..00000000
--- a/recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-DESCRIPTION = "TI IQN2 peripheral module low level driver test binaries"
-
-DEPENDS = "common-csl-ip iqn2-lld dfe-lld"
-
-include iqn2-lld.inc
-
-PR = "${INC_PR}.0"
-
-EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} IQN2_SRC_DIR=${WORKDIR}/git"
-
-do_compile () {
- oe_runmake clean DEVICE=k2l
- oe_runmake tests DEVICE=k2l
-}
-
-do_install () {
- oe_runmake installbin DEVICE=k2l IQN2_SRC_DIR=${WORKDIR}/git INSTALL_BIN_BASE_DIR=${D}/${bindir}
-}
diff --git a/recipes-bsp/iqn2-lld/iqn2-lld.inc b/recipes-bsp/iqn2-lld/iqn2-lld.inc
deleted file mode 100644
index 078509fc..00000000
--- a/recipes-bsp/iqn2-lld/iqn2-lld.inc
+++ /dev/null
@@ -1,13 +0,0 @@
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
-LICENSE = "BSD-3-Clause"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.iqn2"
-
-PE = "1"
-
-INC_PR = "r0"
-
-COMPATIBLE_MACHINE = "k2l"
-
diff --git a/recipes-bsp/iqn2-lld/iqn2-lld_git.bb b/recipes-bsp/iqn2-lld/iqn2-lld_git.bb
deleted file mode 100644
index 169ab6e4..00000000
--- a/recipes-bsp/iqn2-lld/iqn2-lld_git.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-DESCRIPTION = "TI IQN2 peripheral module low level driver"
-
-DEPENDS = "common-csl-ip"
-
-include iqn2-lld.inc
-
-PR = "${INC_PR}.0"
-
-EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
-
-do_configure () {
- sed -i -e 's/march=armv7-a/march=armv7ve/' build/armv7/libiqn2_aearmv7.mk
-}
-
-do_compile () {
- oe_runmake clean
- oe_runmake lib
-}
-
-do_install () {
- oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-}
diff --git a/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb b/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
deleted file mode 100644
index 39a75533..00000000
--- a/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-SUMMARY = "Kernel driver for IVSHMEM based UIO driver"
-DESCRIPTION = "Kernel module which registers a UIO (userspace io) device for inter VM shared memory"
-HOMEPAGE = "https://github.com/henning-schild-work/ivshmem-guest-code"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=0546a27aad86c83b75ad4ee6133e9d5e"
-
-inherit module
-
-RDEPENDS_${PN} = "jailhouse"
-
-PROTOCOL = "git"
-BRANCH = "jailhouse"
-SRCREV = "f3ad79881bebb6c6068966ee3d265d8034c20492"
-SRC_URI = "git://github.com/henning-schild-work/ivshmem-guest-code.git;protocol=${PROTOCOL};branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-EXTRA_OEMAKE += 'KDIR="${STAGING_KERNEL_DIR}"'
-
-COMPATIBLE_MACHINE = "(ti-soc)"
-
-do_compile_prepend() {
- cd ${S}/kernel_module/uio
-}
-
-do_install() {
- install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
- install -m 644 ${S}/kernel_module/uio/uio_ivshmem.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
-}
diff --git a/recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb b/recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb
deleted file mode 100644
index 997b8c48..00000000
--- a/recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-SUMMARY = "UIO tests for IVSHMEM based UIO driver"
-DESCRIPTION = "Test programs which use UIO (userspace io) device for inter VM communication"
-HOMEPAGE = "https://github.com/henning-schild-work/ivshmem-guest-code"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=0546a27aad86c83b75ad4ee6133e9d5e"
-
-inherit cmake
-
-PROTOCOL = "git"
-BRANCH = "jailhouse"
-SRCREV = "f3ad79881bebb6c6068966ee3d265d8034c20492"
-SRC_URI = "git://github.com/henning-schild-work/ivshmem-guest-code.git;protocol=${PROTOCOL};branch=${BRANCH}"
-
-S = "${WORKDIR}/git/uio/tests/Interrupts/VM"
-
-COMPATIBLE_MACHINE = "(ti-soc)"
-OECMAKE_TARGET_COMPILE = "uio_send uio_read"
-
-do_install() {
- install -d ${D}/${bindir}
- install -m 755 ${B}/uio_send ${D}/${bindir}/
- install -m 755 ${B}/uio_read ${D}/${bindir}/
-}
diff --git a/recipes-bsp/mad-utils/mad-utils-rtos_git.bb b/recipes-bsp/mad-utils/mad-utils-rtos_git.bb
deleted file mode 100644
index 0144aad2..00000000
--- a/recipes-bsp/mad-utils/mad-utils-rtos_git.bb
+++ /dev/null
@@ -1,57 +0,0 @@
-SUMMARY = "Utility for loading and running multicore applications"
-DESCRIPTION = "Multicore Application Deployment (MAD) utility is used \
-for loading and running a multicore application on an embedded \
-processor with multiple cores. This utility package contains the \
-scripts to combine multiple applications for different cores into a \
-single binary as well as loadable application to parse and execute the applications on different cores."
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://README.txt;md5=44b2180aec0657f6b0e42e5611c0bafb"
-
-require recipes-ti/includes/ti-paths.inc
-
-DEPENDS = "ti-cgt6x-7-native"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "c66x"
-
-BRANCH = "master"
-SRC_URI = "git://git.ti.com/keystone-rtos/mad-utils.git;protocol=git;branch=${BRANCH}"
-SRCREV = "2458510f76eddfa837c2b83448965e233156944b"
-PR = "r0"
-
-S = "${WORKDIR}/git"
-
-export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}"
-PATH_prepend = "${TI_CGT6X_7_INSTALL_DIR}/bin:"
-
-DEVICE = ""
-DEVICE_c665x-evm = "C6657"
-DEVICE_c667x-evm = "C6678"
-
-ENDIAN = ""
-ENDIAN_c665x-evm = "little big"
-ENDIAN_c667x-evm = "little big"
-
-do_compile() {
- cd mad-loader
- for e in ${ENDIAN}
- do
- mkdir -p bin/${DEVICE}/${e}
- make -C mal/malLib/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR}
- make -C mal/malApp/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR}
- cp mal/malApp/build/mal_app.exe bin/${DEVICE}/${e}
- make -C nmlLoader/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR}
- cp nmlLoader/build/nml.exe bin/${DEVICE}/${e}
- done
- cd -
-}
-
-do_install() {
- install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils
- cp -rP --preserve=mode,links,timestamps --no-preserve=ownership * ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils
-}
-
-FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils"
-
-INSANE_SKIP_${PN} += "arch staticdev ldflags file-rdeps"
diff --git a/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb b/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
deleted file mode 100644
index 5775d84b..00000000
--- a/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
+++ /dev/null
@@ -1,41 +0,0 @@
-SUMMARY = "TI RTOS low level driver for Multi channel Audio Serial port (McASP)"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.mcasp"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://mcaspver.h;beginline=19;endline=47;md5=75a9adc782a6df0d3a5419743e9a9f18"
-
-COMPATIBLE_MACHINE = "ti43x|omap-a15|k2g|ti33x|omapl1|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-
-PR = "r0"
-
-
-DEPENDS_append = " edma3-lld-rtos \
- osal-rtos \
-"
-DEPENDS_append_ti43x = " starterware-rtos \
-"
-DEPENDS_append_ti33x = " starterware-rtos \
-"
-
-DEPENDS_remove_k3 = "edma3-lld-rtos "
-DEPENDS_append_k3 = " udma-lld-rtos \
-"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_MCASP_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
-XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "MCASP LLD"
diff --git a/recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb b/recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb
deleted file mode 100644
index 96ac5d75..00000000
--- a/recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-SUMMARY = "TI RTOS low level driver for Multi-channel Buffered Serial Port (McBSP)"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.mcbsp"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://mcbspver.h;beginline=1;endline=47;md5=a8a39efd13fa6fe66da5461b898d620e"
-
-COMPATIBLE_MACHINE = "k2g|c665x-evm|omapl1"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r0"
-
-
-DEPENDS_append = " edma3-lld-rtos \
-"
-
-export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
-XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
-
-TI_PDK_XDCMAKE = "0"
-
-export PDK_MCBSP_ROOT_PATH = "${WORKDIR}/build"
-export DEST_ROOT = "${S}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "MCBSP LLD"
diff --git a/recipes-bsp/mmap-lld/mmap-lld-rtos_git.bb b/recipes-bsp/mmap-lld/mmap-lld-rtos_git.bb
deleted file mode 100644
index faee5973..00000000
--- a/recipes-bsp/mmap-lld/mmap-lld-rtos_git.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-inherit ti-pdk
-
-require recipes-bsp/mmap-lld/mmap-lld.inc
-
-PR = "${INC_PR}.0"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "MMAP LLD"
diff --git a/recipes-bsp/mmap-lld/mmap-lld-test_git.bb b/recipes-bsp/mmap-lld/mmap-lld-test_git.bb
deleted file mode 100644
index 8a09524e..00000000
--- a/recipes-bsp/mmap-lld/mmap-lld-test_git.bb
+++ /dev/null
@@ -1,44 +0,0 @@
-DESCRIPTION = "TI KEYSTONE MMAP driver test binaries "
-include mmap-lld.inc
-
-PR = "${INC_PR}.0"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS="common-csl-ip mmap-lld"
-RDEPENDS_${PN}="uio-module-drv"
-
-DEVICELIST_k2hk = "k2h k2k"
-DEVICELIST_k2e = "k2e"
-DEVICELIST_k2l = "k2l"
-DEVICELIST_k2g = "k2g"
-
-CHOICELIST = " yes \
- no \
-"
-
-do_compile () {
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 clean \
- PDK_INSTALL_PATH="${STAGING_INCDIR}" \
- DEVICE="$device" MPAX_SRC_DIR="${S}"
- for choice in ${CHOICELIST}
- do
- make -f makefile_armv7 tests examples \
- PDK_INSTALL_PATH=${STAGING_INCDIR} \
- DEVICE="$device" MPAX_SRC_DIR="${S}" \
- USEDYNAMIC_LIB="$choice"
- done
- done
-}
-
-do_install () {
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 installbin \
- PDK_INSTALL_PATH=${STAGING_INCDIR} \
- DEVICE="$device" MPAX_SRC_DIR="${S}" \
- INSTALL_BIN_BASE_DIR="${D}/${bindir}"
- done
-}
diff --git a/recipes-bsp/mmap-lld/mmap-lld.inc b/recipes-bsp/mmap-lld/mmap-lld.inc
deleted file mode 100644
index 7e11a4c5..00000000
--- a/recipes-bsp/mmap-lld/mmap-lld.inc
+++ /dev/null
@@ -1,22 +0,0 @@
-LICENSE = "BSD-3-Clause"
-
-COMPATIBLE_MACHINE = "keystone"
-
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=b3315b8190036fe1c6a8263d02e15606"
-
-MMAP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/mmap-lld.git"
-MMAP_LLD_GIT_PROTOCOL = "git"
-MMAP_LLD_GIT_BRANCH = "master"
-MMAP_LLD_GIT_DESTSUFFIX = "git/ti/runtime/mmap"
-
-# Commit correspond to DEV.MMAP.02.00.00.08C
-MMAP_LLD_SRCREV = "62e75191ab7144604102dabaa288c5fd5048fc49"
-
-BRANCH="${MMAP_LLD_GIT_BRANCH}"
-SRC_URI = "${MMAP_LLD_GIT_URI};destsuffix=${MMAP_LLD_GIT_DESTSUFFIX};protocol=${MMAP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${MMAP_LLD_SRCREV}"
-
-PV = "2.0.0.8C"
-INC_PR = "r0"
-
-S = "${WORKDIR}/git/ti/runtime/mmap"
diff --git a/recipes-bsp/mmap-lld/mmap-lld_git.bb b/recipes-bsp/mmap-lld/mmap-lld_git.bb
deleted file mode 100644
index cfc5d4c9..00000000
--- a/recipes-bsp/mmap-lld/mmap-lld_git.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-DESCRIPTION = "TI KEYSTONE mmap driver using Keystone MPAX Programming"
-include mmap-lld.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS="common-csl-ip"
-
-do_compile () {
- make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR}
-}
-
-do_install () {
- make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-}
diff --git a/recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb b/recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb
deleted file mode 100644
index 8c027cdd..00000000
--- a/recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb
+++ /dev/null
@@ -1,41 +0,0 @@
-SUMMARY = "TI Multimedia card(MMC)/Secure Digital(SD) low level driver for RTOS "
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.mmcsd"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://MMCSD.h;beginline=1;endline=32;md5=f74069541d4d165a000a66b4043cb065"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-
-PR = "r0"
-
-
-DEPENDS_append = " edma3-lld-rtos \
- osal-rtos \
-"
-DEPENDS_append_ti33x = " starterware-rtos \
-"
-DEPENDS_append_ti43x = " starterware-rtos \
-"
-DEPENDS_remove_k3 = "edma3-lld-rtos "
-
-DEPENDS_append_k3 = " sciclient-rtos \
-"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_MMCSD_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
-XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "MMCSD LLD"
diff --git a/recipes-bsp/netcp-pa-fw/netcp-pa-fw_git.bb b/recipes-bsp/netcp-pa-fw/netcp-pa-fw_git.bb
deleted file mode 100644
index fe7fa2b2..00000000
--- a/recipes-bsp/netcp-pa-fw/netcp-pa-fw_git.bb
+++ /dev/null
@@ -1,56 +0,0 @@
-DESCRIPTION = "NETCP PA firmware for Keystone"
-
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
-
-PV = "3.0.2.3"
-PR = "r1"
-
-CLEANBROKEN = "1"
-
-COMPATIBLE_MACHINE = "k2hk|k2l|k2e"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRCREV = "953ab647b0b6af411965242ecd919b1cb0e570d6"
-BRANCH ?= "ti-linux-firmware"
-
-SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-FWBASENAME = " \
-ks2_pa_eg0_pdsp0 \
-ks2_pa_eg0_pdsp1 \
-ks2_pa_eg0_pdsp2 \
-ks2_pa_eg1_pdsp0 \
-ks2_pa_eg2_pdsp0 \
-ks2_pa_in0_pdsp0 \
-ks2_pa_in0_pdsp1 \
-ks2_pa_in1_pdsp0 \
-ks2_pa_in1_pdsp1 \
-ks2_pa_in2_pdsp0 \
-ks2_pa_in3_pdsp0 \
-ks2_pa_in4_pdsp0 \
-ks2_pa_in4_pdsp1 \
-ks2_pa_post_pdsp0 \
-ks2_pa_post_pdsp1 \
-"
-
-FWBASENAME_k2hk = " \
-ks2_pa_pdsp0_classify1 \
-ks2_pa_pdsp1_classify1 \
-ks2_pa_pdsp2_classify1 \
-ks2_pa_pdsp3_classify2 \
-ks2_pa_pdsp4_pam \
-ks2_pa_pdsp5_pam \
-"
-
-do_install() {
- install -d ${D}${base_libdir}/firmware
- for f in ${FWBASENAME}; do
- install -m 0644 ${S}/ti-keystone/$f.bin ${D}${base_libdir}/firmware/$f.bin
- done
-}
-
-FILES_${PN} = "${base_libdir}/firmware"
diff --git a/recipes-bsp/netcp-sa-fw/netcp-sa-fw_git.bb b/recipes-bsp/netcp-sa-fw/netcp-sa-fw_git.bb
deleted file mode 100644
index 56373a73..00000000
--- a/recipes-bsp/netcp-sa-fw/netcp-sa-fw_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-DESCRIPTION = "NETCP SA firmware for Keystone"
-
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
-
-PV = "1.0.0"
-PR = "r0"
-
-CLEANBROKEN = "1"
-
-COMPATIBLE_MACHINE = "keystone"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRCREV = "588f602a21c62f90b1f4318b881c80a1e711317a"
-BRANCH ?= "ti-linux-firmware"
-
-SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-TARGET = "sa_mci.fw"
-
-do_install() {
- install -d ${D}${base_libdir}/firmware
- install -m 0644 ${S}/ti-keystone/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
-}
-
-FILES_${PN} = "${base_libdir}/firmware"
diff --git a/recipes-bsp/nwal-lld/nwal-lld-rtos_git.bb b/recipes-bsp/nwal-lld/nwal-lld-rtos_git.bb
deleted file mode 100644
index b5c4bf13..00000000
--- a/recipes-bsp/nwal-lld/nwal-lld-rtos_git.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-SUMMARY = "TI Network abstraction layer RTOS LLD library "
-
-inherit ti-pdk
-
-require recipes-bsp/nwal-lld/nwal-lld.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS_append = " cppi-lld-rtos \
- pa-lld-rtos \
- pktlib-rtos \
- qmss-lld-rtos \
- sa-lld-rtos \
-"
-
-COMPATIBLE_MACHINE = "k2hk|k2e|k2l|c667x-evm"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "NWAL LLD"
diff --git a/recipes-bsp/nwal-lld/nwal-lld-test_git.bb b/recipes-bsp/nwal-lld/nwal-lld-test_git.bb
deleted file mode 100644
index 79528a0a..00000000
--- a/recipes-bsp/nwal-lld/nwal-lld-test_git.bb
+++ /dev/null
@@ -1,27 +0,0 @@
-DESCRIPTION = "TI Network Abstraction Layer unit test binaries"
-
-DEPENDS = "common-csl-ip rm-lld qmss-lld hplib pa-lld sa-lld pktlib nwal-lld"
-
-include nwal-lld.inc
-
-PR = "${INC_PR}.0"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
-
-do_compile () {
- for device in ${DEVICELIST}
- do
- for choice in ${CHOICELIST}
- do
- oe_runmake clean NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
- oe_runmake tests NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
- done
- done
-}
-
-do_install () {
- for device in ${DEVICELIST}
- do
- oe_runmake installbin INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
- done
-}
diff --git a/recipes-bsp/nwal-lld/nwal-lld.inc b/recipes-bsp/nwal-lld/nwal-lld.inc
deleted file mode 100644
index 3a593c70..00000000
--- a/recipes-bsp/nwal-lld/nwal-lld.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
-
-COMPATIBLE_MACHINE = "keystone"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.nwal"
-
-PE = "1"
-
-INC_PR = "r0"
-
-BASEDIR = "${WORKDIR}/git"
-
-DEVICELIST_k2hk = "k2h k2k"
-DEVICELIST_k2l = "k2l"
-DEVICELIST_k2e = "k2e"
-
-CHOICELIST = "yes no"
diff --git a/recipes-bsp/nwal-lld/nwal-lld_git.bb b/recipes-bsp/nwal-lld/nwal-lld_git.bb
deleted file mode 100644
index a9690cab..00000000
--- a/recipes-bsp/nwal-lld/nwal-lld_git.bb
+++ /dev/null
@@ -1,27 +0,0 @@
-DESCRIPTION = "TI Network abstraction layer LLD library "
-
-DEPENDS = "common-csl-ip rm-lld qmss-lld hplib pa-lld sa-lld pktlib"
-
-include nwal-lld.inc
-
-PR = "${INC_PR}.0"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
-
-do_compile () {
- for device in ${DEVICELIST}
- do
- for choice in ${CHOICELIST}
- do
- oe_runmake clean NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
- oe_runmake lib NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
- done
- done
-}
-
-do_install () {
- for device in ${DEVICELIST}
- do
- oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
- done
-}
diff --git a/recipes-bsp/osal/osal-rtos_git.bb b/recipes-bsp/osal/osal-rtos_git.bb
deleted file mode 100644
index a718f7ca..00000000
--- a/recipes-bsp/osal/osal-rtos_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-inherit ti-pdk
-require recipes-bsp/osal/osal.inc
-
-PR = "${INC_PR}.0"
-
-COMPATIBLE_MACHINE_append = "|c66x|k3"
-
-DEPENDS_append_ti33x = " starterware-rtos"
-DEPENDS_append_ti43x = " starterware-rtos"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_OSAL_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "OSAL Library"
diff --git a/recipes-bsp/osal/osal-test_git.bb b/recipes-bsp/osal/osal-test_git.bb
deleted file mode 100644
index 354aa797..00000000
--- a/recipes-bsp/osal/osal-test_git.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-DESCRIPTION = "TI OSAL tests"
-
-DEPENDS="common-csl-ip osal"
-
-include osal.inc
-
-PR = "${INC_PR}.1"
-
-EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S}"
-
-do_compile () {
-# Build the tests
- oe_runmake clean
- oe_runmake tests
-}
-
-do_install () {
-# Install the binary
- oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}
-}
diff --git a/recipes-bsp/osal/osal.inc b/recipes-bsp/osal/osal.inc
deleted file mode 100644
index e2143e13..00000000
--- a/recipes-bsp/osal/osal.inc
+++ /dev/null
@@ -1,15 +0,0 @@
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://osal.h;beginline=1;endline=31;md5=6fbde6922f8bca1e6cd371d3c2faa4f9"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.osal"
-
-PE = "1"
-
-INC_PR = "r0"
-
-INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libdir}/libosal.a"
diff --git a/recipes-bsp/osal/osal_git.bb b/recipes-bsp/osal/osal_git.bb
deleted file mode 100644
index 4f881d2e..00000000
--- a/recipes-bsp/osal/osal_git.bb
+++ /dev/null
@@ -1,21 +0,0 @@
-DESCRIPTION = "TI OSAL library for Linux"
-
-DEPENDS="common-csl-ip"
-
-include osal.inc
-
-PR = "${INC_PR}.1"
-
-EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
-
-do_compile () {
-# Build the lib
- oe_runmake clean
- oe_runmake lib
-}
-
-do_install () {
-# Install the lib
- oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-}
diff --git a/recipes-bsp/pa-lld/pa-lld-rtos_git.bb b/recipes-bsp/pa-lld/pa-lld-rtos_git.bb
deleted file mode 100644
index e415f36c..00000000
--- a/recipes-bsp/pa-lld/pa-lld-rtos_git.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-SUMMARY = "TI RTOS low level driver for Packet Accelerator (PA)"
-
-inherit ti-pdk
-
-require recipes-bsp/pa-lld/pa-lld.inc
-COMPATIBLE_MACHINE_append = "|c667x-evm"
-PR = "${INC_PR}.0"
-
-DEPENDS_append = " rm-lld-rtos"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "PA LLD"
diff --git a/recipes-bsp/pa-lld/pa-lld-test_git.bb b/recipes-bsp/pa-lld/pa-lld-test_git.bb
deleted file mode 100644
index 62ec1222..00000000
--- a/recipes-bsp/pa-lld/pa-lld-test_git.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-DESCRIPTION = "TI PA LLD unit test and example binaries"
-
-DEPENDS = "common-csl-ip pa-lld cppi-lld qmss-lld sa-lld"
-
-include pa-lld.inc
-
-PR = "${INC_PR}.1"
-
-CHOICELIST = "yes no"
-
-do_compile () {
-# Now build the lld unit test examples
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S}
- for choice in ${CHOICELIST}
- do
- make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
- done
- done
-}
-
-do_install () {
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
- done
-}
diff --git a/recipes-bsp/pa-lld/pa-lld.inc b/recipes-bsp/pa-lld/pa-lld.inc
deleted file mode 100644
index 83c57e31..00000000
--- a/recipes-bsp/pa-lld/pa-lld.inc
+++ /dev/null
@@ -1,24 +0,0 @@
-LICENSE = "BSD-3-Clause & TI-TFL"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=cd04fb087063a2a82c4ce61983836871"
-
-COMPATIBLE_MACHINE = "keystone"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.pa"
-
-PE = "1"
-
-INC_PR = "r0"
-
-
-DEVICELIST = "k2h k2k k2l k2e"
-DEVICELIST_k2hk = "k2h k2k"
-DEVICELIST_k2l = "k2l"
-DEVICELIST_k2e = "k2e"
-
-LIBPA = "libpa"
-LIBPA_k2hk = "libpa"
-LIBPA_k2e = "libpa2"
-LIBPA_k2l = "libpa2"
diff --git a/recipes-bsp/pa-lld/pa-lld_git.bb b/recipes-bsp/pa-lld/pa-lld_git.bb
deleted file mode 100644
index f636ce4a..00000000
--- a/recipes-bsp/pa-lld/pa-lld_git.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-DESCRIPTION = "TI PA LLD library"
-
-DEPENDS = "common-csl-ip rm-lld"
-
-include pa-lld.inc
-
-PR = "${INC_PR}.1"
-
-do_compile () {
-# Now build the lld in the updated directory
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device"
- done
-}
-
-do_install () {
- make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-
-# Set the generic device library symbolic link
- ln -sf ${LIBPA}.so.1.0.0 ${D}${libdir}/libpa_device.so.1
- ln -sf libpa_device.so.1 ${D}${libdir}/libpa_device.so
-}
diff --git a/recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb b/recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb
deleted file mode 100644
index ccd9a44b..00000000
--- a/recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-SUMMARY = "TI RTOS low lever driver for Peripheral Interconnect Express (PCIE)"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.pcie"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://pcie.h;beginline=1;endline=34;md5=232c0b07bdf7ab934b23c09e6c5279b0"
-
-COMPATIBLE_MACHINE = "omap-a15|keystone|c66x|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r1"
-
-DEPENDS_append_k3 = " udma-lld-rtos \
-"
-
-
-export PDK_PCIE_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "PCIe LLD"
diff --git a/recipes-bsp/pktlib/pktlib-rtos_git.bb b/recipes-bsp/pktlib/pktlib-rtos_git.bb
deleted file mode 100644
index 8d5747f4..00000000
--- a/recipes-bsp/pktlib/pktlib-rtos_git.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-inherit ti-pdk
-require pktlib.inc
-
-PR = "${INC_PR}.1"
-
-DEPENDS_append = " rm-lld-rtos \
- qmss-lld-rtos \
- cppi-lld-rtos \
-"
-COMPATIBLE_MACHINE_append = "|c66x"
diff --git a/recipes-bsp/pktlib/pktlib.inc b/recipes-bsp/pktlib/pktlib.inc
deleted file mode 100644
index af3f8bb1..00000000
--- a/recipes-bsp/pktlib/pktlib.inc
+++ /dev/null
@@ -1,24 +0,0 @@
-DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://docs/Doxyfile;md5=91d01dc3788e1f405f000b2089191a0a"
-
-COMPATIBLE_MACHINE = "keystone"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PKTLIB_GIT_URI = "git://git.ti.com/keystone-rtos/pktlib.git"
-PKTLIB_GIT_PROTOCOL = "git"
-PKTLIB_GIT_BRANCH = "master"
-PKTLIB_GIT_DESTSUFFIX = "git/ti/runtime/pktlib"
-
-# Below commit ID corresponds to "DEV.PKTLIB.2.1.0.8B"
-PKTLIB_SRCREV = "6d3758fda4c8c40fa9bd1194a9c713c9675b5a40"
-
-BRANCH = "${PKTLIB_GIT_BRANCH}"
-# Don't use DESTSUFFIX when cloning since repo contains ti/runtime/pktlib directory tree
-SRC_URI = "${PKTLIB_GIT_URI};protocol=${PKTLIB_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${PKTLIB_SRCREV}"
-PV = "2.1.0.8B"
-INC_PR = "r0"
-
-S = "${WORKDIR}/${PKTLIB_GIT_DESTSUFFIX}"
diff --git a/recipes-bsp/pktlib/pktlib_git.bb b/recipes-bsp/pktlib/pktlib_git.bb
deleted file mode 100644
index b15b61b2..00000000
--- a/recipes-bsp/pktlib/pktlib_git.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
-
-DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld"
-
-include pktlib.inc
-
-PR = "${INC_PR}.1"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}"
-
-do_compile () {
- oe_runmake lib
-}
-
-do_install () {
- oe_runmake install
- chown -R root:root ${D}
-}
diff --git a/recipes-bsp/pm-lld/pm-lld-rtos_git.bb b/recipes-bsp/pm-lld/pm-lld-rtos_git.bb
deleted file mode 100644
index 5db670e3..00000000
--- a/recipes-bsp/pm-lld/pm-lld-rtos_git.bb
+++ /dev/null
@@ -1,71 +0,0 @@
-SUMMARY = "TI RTOS driver for Power Management module (PM)"
-
-inherit ti-pdk
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://Power.h;beginline=1;endline=31;md5=527b91fdcd26cd19ac07a754f45dedbe"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-
-PM_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pm-lld.git"
-PM_LLD_GIT_PROTOCOL = "git"
-
-PM_LLD_GIT_BRANCH = "master"
-
-PM_LLD_GIT_BRANCH_ti33x = "int_pm_am335x"
-PM_LLD_GIT_BRANCH_ti43x = "int_pm_am335x"
-PM_LLD_GIT_BRANCH_k2g = "int_pm_am335x"
-
-PM_LLD_GIT_DESTSUFFIX = "git/ti/drv/pm"
-
-# Below commit ID corresponds to "DEV.PM_LLD.01.08.00.23"
-PM_LLD_SRCREV = "7c064b93a0ae648441991abb5c71b99d2c209eeb"
-
-# Below commit ID corresponds to "DEV.PM_LLD.01.04.00.05C"
-PM_LLD_SRCREV_ti33x = "dd1f8486e7738956631b7f4829c8238be2e49dd6"
-PM_LLD_SRCREV_ti43x = "dd1f8486e7738956631b7f4829c8238be2e49dd6"
-PM_LLD_SRCREV_k2g = "dd1f8486e7738956631b7f4829c8238be2e49dd6"
-
-BRANCH = "${PM_LLD_GIT_BRANCH}"
-SRC_URI = "${PM_LLD_GIT_URI};destsuffix=${PM_LLD_GIT_DESTSUFFIX};protocol=${PM_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${PM_LLD_SRCREV}"
-PV = "01.08.00.23"
-PR = "r0"
-
-S = "${WORKDIR}/${PM_LLD_GIT_DESTSUFFIX}"
-
-DEPENDS_append = " ti-sysbios \
- osal-rtos \
-"
-DEPENDS_append_ti33x = " starterware-rtos \
-"
-DEPENDS_append_ti43x = " starterware-rtos \
-"
-
-DEPENDS_append_k3 = " sciclient-rtos \
-"
-
-export PDK_PM_ROOT_PATH = "${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-do_compile_append() {
- # Delete archive created by XDC release command since it does not contain all content
- find -name "*.tar" -exec rm -f {} \;
-
- # Archive from build/ to capture ti/drv/pm/ in archive
- cd ${B}
- tar -cf pm_lld.tar --exclude='*.tar' ./*
-}
-
-
-# Workaround: dra7xx build requires am57xx pm libraries for opencl-monitor
-TI_PDK_LIMIT_SOCS_append_dra7xx = " am571x am572x am574x"
-TI_PDK_LIMIT_BOARDS_append_dra7xx = " evmAM571x evmAM572x idkAM574x"
-
-INSANE_SKIP_${PN} = "arch staticdev"
diff --git a/recipes-bsp/powervr-drivers/ti-img-rogue-driver/0001-km-support-general-toolchain.patch b/recipes-bsp/powervr-drivers/ti-img-rogue-driver/0001-km-support-general-toolchain.patch
deleted file mode 100644
index 4dc219cd..00000000
--- a/recipes-bsp/powervr-drivers/ti-img-rogue-driver/0001-km-support-general-toolchain.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From dbdbd9309a58ee723fc827ef5fd45c28347cf61f Mon Sep 17 00:00:00 2001
-From: Eric Ruei <e-ruei1@ti.com>
-Date: Tue, 7 May 2019 17:06:09 -0400
-Subject: [PATCH] km: support general toolchain
-
-This is a patch from IMG to support general toolchains such as
-aarch64-oe-linux-gnu, aarch64-poky-linux-gnu, arm-none-linux-gnueabi
-per IMG ticket 122059
-
-Signed-off-by: Eric Ruei <e-ruei1@ti.com>
-Signed-off-by: Denys Dmytriyenko <denys@ti.com>
----
- build/linux/config/compiler.mk | 12 +++++++++++-
- .../build/linux/config/compilers/arm-linux-gnueabi.mk | 6 ++++++
- 2 files changed, 17 insertions(+), 1 deletion(-)
- create mode 100644 build/linux/config/compilers/arm-linux-gnueabi.mk
-
-diff --git a/build/linux/config/compiler.mk b/build/linux/config/compiler.mk
-index 82c9d44..dead2f9 100644
---- a/build/linux/config/compiler.mk
-+++ b/build/linux/config/compiler.mk
-@@ -48,13 +48,14 @@ define calculate-compiler-preferred-target
- ifeq ($(2),qcc)
- $(1)_compiler_preferred_target := qcc
- else
-- $(1)_compiler_preferred_target := $$(subst --,-,$$(shell $(2) -dumpmachine))
-+ $(1)_compiler_preferred_target := $$(subst --,-,$$(subst unknown,,$$(shell $(2) -dumpmachine)))
- ifeq ($$($(1)_compiler_preferred_target),)
- $$(warning No output from '$(2) -dumpmachine')
- $$(warning Check that the compiler is in your PATH and CROSS_COMPILE is)
- $$(warning set correctly.)
- $$(error Unable to run compiler '$(2)')
- endif
-+ $$(warning $(1) $(2))
- ifneq ($$(filter %-w64-mingw32,$$($(1)_compiler_preferred_target)),)
- # Use the compiler target name.
- else
-@@ -64,6 +65,15 @@ define calculate-compiler-preferred-target
- ifneq ($$(filter arm-linux-android,$$($(1)_compiler_preferred_target)),)
- $(1)_compiler_preferred_target := arm-linux-androideabi
- endif
-+ ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),)
-+ $(1)_compiler_preferred_target := aarch64-linux-gnu
-+ endif
-+ ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
-+ $(1)_compiler_preferred_target := arm-linux-gnueabi
-+ endif
-+ ifneq ($$(filter arm-%-gnueabihf,$$($(1)_compiler_preferred_target)),)
-+ $(1)_compiler_preferred_target := arm-linux-gnueabihf
-+ endif
- ifneq ($$(filter clang%,$(2)),)
- ifeq ($(1),target)
- ifeq (arm-linux-gnueabihf,$$(CROSS_TRIPLE))
---
-2.7.4
-
diff --git a/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.10.5371573.bb b/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.10.5371573.bb
deleted file mode 100644
index 81f72302..00000000
--- a/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.10.5371573.bb
+++ /dev/null
@@ -1,36 +0,0 @@
-DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
-HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
-LICENSE = "MIT | GPLv2"
-LIC_FILES_CHKSUM = "file://README;beginline=15;endline=20;md5=0403c7dea01a2b8232261e805325fac2"
-
-inherit module
-
-MACHINE_KERNEL_PR_append = "f"
-PR = "${MACHINE_KERNEL_PR}"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "j7-evm"
-
-DEPENDS = "virtual/kernel"
-
-PROVIDES = "virtual/gpudriver"
-
-BRANCH = "linuxws/zeus/k5.4/${PV}"
-
-SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH} \
- file://0001-km-support-general-toolchain.patch \
-"
-S = "${WORKDIR}/git"
-
-SRCREV = "e0bc128ee5098e30c9fb096634ba6bec01b5fc17"
-
-PVR_SOC = "j721e_linux"
-PVR_BVNC = "22.104.208.318"
-PVR_BUILD = "release"
-PVR_WS = "wayland"
-
-EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" RGX_BVNC=${PVR_BVNC} BUILD=${PVR_BUILD} PVR_BUILD_DIR=${PVR_SOC} WINDOW_SYSTEM=${PVR_WS}'
-
-do_install() {
- make -C ${STAGING_KERNEL_DIR} M=${B}/binary_${PVR_SOC}_${PVR_WS}_${PVR_BUILD}/target_aarch64/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
-}
diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch
deleted file mode 100644
index 071ce0ca..00000000
--- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 755632b4f3a40996a12bc7816a9839af7112040a Mon Sep 17 00:00:00 2001
-From: Denys Dmytriyenko <denys@ti.com>
-Date: Mon, 9 Sep 2019 17:05:48 -0400
-Subject: [PATCH] km: support OpenEmbedded hardfp toolchain w/o -gnueabihf
- suffix
-
-Signed-off-by: Denys Dmytriyenko <denys@ti.com>
----
- eurasia_km/eurasiacon/build/linux2/config/compiler.mk | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
-index dead2f9..2ba3e5e 100644
---- a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
-+++ b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
-@@ -68,12 +68,12 @@ define calculate-compiler-preferred-target
- ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),)
- $(1)_compiler_preferred_target := aarch64-linux-gnu
- endif
-+ ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
-+ $(1)_compiler_preferred_target := arm-linux-gnueabihf
-+ endif
- ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
- $(1)_compiler_preferred_target := arm-linux-gnueabi
- endif
-- ifneq ($$(filter arm-%-gnueabihf,$$($(1)_compiler_preferred_target)),)
-- $(1)_compiler_preferred_target := arm-linux-gnueabihf
-- endif
- endif
- endef
-
---
-2.7.4
-
diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
deleted file mode 100644
index b44671f8..00000000
--- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
+++ /dev/null
@@ -1,48 +0,0 @@
-DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the TI SoCs"
-HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-linux"
-LICENSE = "MIT | GPLv2"
-LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=74506d9b8e5edbce66c2747c50fcef12"
-
-inherit module
-
-COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
-
-MACHINE_KERNEL_PR_append = "v"
-PR = "${MACHINE_KERNEL_PR}"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS = "virtual/kernel"
-
-PROVIDES = "virtual/gpudriver"
-
-BRANCH = "ti-img-sgx/${PV}/k5.4"
-
-SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \
- file://0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch \
-"
-
-S = "${WORKDIR}/git"
-
-SRCREV = "50c1ec2308b9f64488d252ac55d65b51a0dfe287"
-
-TARGET_PRODUCT_omap-a15 = "jacinto6evm"
-TARGET_PRODUCT_ti33x = "ti335x"
-TARGET_PRODUCT_ti43x = "ti437x"
-TARGET_PRODUCT_k3 = "ti654x"
-TARGET_PRODUCT_beagleboard = "ti343x"
-TARGET_PRODUCT_pandaboard = "ti443x"
-
-EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT} WINDOW_SYSTEM=nulldrmws'
-
-do_compile_prepend() {
- cd ${S}/eurasia_km/eurasiacon/build/linux2/omap_linux
-}
-
-do_install() {
- make -C ${STAGING_KERNEL_DIR} M=${B}/eurasia_km/eurasiacon/binary_omap_linux_nulldrmws_release/target_armhf/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
-}
-
-do_install_k3() {
- make -C ${STAGING_KERNEL_DIR} M=${B}/eurasia_km/eurasiacon/binary_omap_linux_nulldrmws_release/target_aarch64/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
-}
diff --git a/recipes-bsp/pru/pru-icss_git.bb b/recipes-bsp/pru/pru-icss_git.bb
deleted file mode 100644
index 88d28f37..00000000
--- a/recipes-bsp/pru/pru-icss_git.bb
+++ /dev/null
@@ -1,318 +0,0 @@
-DESCRIPTION = "Programmable Real-time Unit Software Package"
-HOMEPAGE = "http://processors.wiki.ti.com/index.php/PRU-ICSS"
-LICENSE = "BSD-3-Clause & GPL-2.0 & PD"
-
-LIC_FILES_CHKSUM = "file://PRU-Package-v6.0-Manifest.html;md5=ea854230556f47609efdaedca174b44c"
-
-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 = "ff252a5e174f1b6aa42931744939f20d25d8e070"
-
-PV = "5.6.0"
-PR = "r1"
-
-require recipes-ti/includes/ti-paths.inc
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|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_k2g = "k2g"
-PLATFORM_am65xx = "am65x"
-PLATFORM_j7-evm = "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}/lib/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}/lib/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}/lib/firmware/pru
- done
-}
-
-do_install_append_ti43x() {
- install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
- ${D}/lib/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}/lib/firmware/pru
- done
- done
-}
-
-do_install_append_omap-a15() {
- install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
- ${D}/lib/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}/lib/firmware/pru
- done
- done
-}
-
-do_install_append_k2g() {
- install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
- ${D}/lib/firmware/pru
- for i in 0 1
- do
- for j in 0 1
- do
- install -m 0644 ${S}/examples/k2g/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
- ${D}/lib/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}/lib/firmware/pru
- install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \
- ${D}/lib/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}/lib/firmware/pru
- install -m 0644 ${S}/examples/am65x/RTU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/RTU_RPMsg_Echo_Interrupt${i}_${j}.out \
- ${D}/lib/firmware/pru
-
- done
- done
-}
-
-do_install_append_j7-evm() {
- for i in 0 1
- do
- install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \
- ${D}/lib/firmware/pru
- install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \
- ${D}/lib/firmware/pru
- install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \
- ${D}/lib/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}/lib/firmware/pru
- install -m 0644 ${S}/examples/j721e/RTU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/RTU_RPMsg_Echo_Interrupt${i}_${j}.out \
- ${D}/lib/firmware/pru
-
- done
- done
-}
-
-
-FILES_${PN}-halt = "/lib/firmware/pru/PRU_Halt* /lib/firmware/pru/RTU_Halt* /lib/firmware/pru/TX_PRU_Halt*"
-FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt* /lib/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_k2g = "k2g-pru0_0-fw k2g-pru0_1-fw k2g-pru1_0-fw k2g-pru1_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-evm = "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] = "/lib/firmware/am335x-pru0-fw"
-ALTERNATIVE_LINK_NAME[am335x-pru1-fw] = "/lib/firmware/am335x-pru1-fw"
-
-ALTERNATIVE_LINK_NAME[am437x-pru0_0-fw] = "/lib/firmware/am437x-pru0_0-fw"
-ALTERNATIVE_LINK_NAME[am437x-pru0_1-fw] = "/lib/firmware/am437x-pru0_1-fw"
-ALTERNATIVE_LINK_NAME[am437x-pru1_0-fw] = "/lib/firmware/am437x-pru1_0-fw"
-ALTERNATIVE_LINK_NAME[am437x-pru1_1-fw] = "/lib/firmware/am437x-pru1_1-fw"
-
-ALTERNATIVE_LINK_NAME[am57xx-pru1_0-fw] = "/lib/firmware/am57xx-pru1_0-fw"
-ALTERNATIVE_LINK_NAME[am57xx-pru1_1-fw] = "/lib/firmware/am57xx-pru1_1-fw"
-ALTERNATIVE_LINK_NAME[am57xx-pru2_0-fw] = "/lib/firmware/am57xx-pru2_0-fw"
-ALTERNATIVE_LINK_NAME[am57xx-pru2_1-fw] = "/lib/firmware/am57xx-pru2_1-fw"
-
-ALTERNATIVE_LINK_NAME[k2g-pru0_0-fw] = "/lib/firmware/k2g-pru0_0-fw"
-ALTERNATIVE_LINK_NAME[k2g-pru0_1-fw] = "/lib/firmware/k2g-pru0_1-fw"
-ALTERNATIVE_LINK_NAME[k2g-pru1_0-fw] = "/lib/firmware/k2g-pru1_0-fw"
-ALTERNATIVE_LINK_NAME[k2g-pru1_1-fw] = "/lib/firmware/k2g-pru1_1-fw"
-
-ALTERNATIVE_LINK_NAME[am65x-pru0_0-fw] = "/lib/firmware/am65x-pru0_0-fw"
-ALTERNATIVE_LINK_NAME[am65x-pru0_1-fw] = "/lib/firmware/am65x-pru0_1-fw"
-ALTERNATIVE_LINK_NAME[am65x-pru1_0-fw] = "/lib/firmware/am65x-pru1_0-fw"
-ALTERNATIVE_LINK_NAME[am65x-pru1_1-fw] = "/lib/firmware/am65x-pru1_1-fw"
-ALTERNATIVE_LINK_NAME[am65x-pru2_0-fw] = "/lib/firmware/am65x-pru2_0-fw"
-ALTERNATIVE_LINK_NAME[am65x-pru2_1-fw] = "/lib/firmware/am65x-pru2_1-fw"
-ALTERNATIVE_LINK_NAME[am65x-rtu0_0-fw] = "/lib/firmware/am65x-rtu0_0-fw"
-ALTERNATIVE_LINK_NAME[am65x-rtu0_1-fw] = "/lib/firmware/am65x-rtu0_1-fw"
-ALTERNATIVE_LINK_NAME[am65x-rtu1_0-fw] = "/lib/firmware/am65x-rtu1_0-fw"
-ALTERNATIVE_LINK_NAME[am65x-rtu1_1-fw] = "/lib/firmware/am65x-rtu1_1-fw"
-ALTERNATIVE_LINK_NAME[am65x-rtu2_0-fw] = "/lib/firmware/am65x-rtu2_0-fw"
-ALTERNATIVE_LINK_NAME[am65x-rtu2_1-fw] = "/lib/firmware/am65x-rtu2_1-fw"
-
-ALTERNATIVE_LINK_NAME[j7-pru0_0-fw] = "/lib/firmware/j7-pru0_0-fw"
-ALTERNATIVE_LINK_NAME[j7-pru0_1-fw] = "/lib/firmware/j7-pru0_1-fw"
-ALTERNATIVE_LINK_NAME[j7-pru1_0-fw] = "/lib/firmware/j7-pru1_0-fw"
-ALTERNATIVE_LINK_NAME[j7-pru1_1-fw] = "/lib/firmware/j7-pru1_1-fw"
-ALTERNATIVE_LINK_NAME[j7-rtu0_0-fw] = "/lib/firmware/j7-rtu0_0-fw"
-ALTERNATIVE_LINK_NAME[j7-rtu0_1-fw] = "/lib/firmware/j7-rtu0_1-fw"
-ALTERNATIVE_LINK_NAME[j7-rtu1_0-fw] = "/lib/firmware/j7-rtu1_0-fw"
-ALTERNATIVE_LINK_NAME[j7-rtu1_1-fw] = "/lib/firmware/j7-rtu1_1-fw"
-ALTERNATIVE_LINK_NAME[j7-txpru0_0-fw] = "/lib/firmware/j7-txpru0_0-fw"
-ALTERNATIVE_LINK_NAME[j7-txpru0_1-fw] = "/lib/firmware/j7-txpru0_1-fw"
-ALTERNATIVE_LINK_NAME[j7-txpru1_0-fw] = "/lib/firmware/j7-txpru1_0-fw"
-ALTERNATIVE_LINK_NAME[j7-txpru1_1-fw] = "/lib/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_j7-evm = " j7-txpru0_0-fw j7-txpru0_1-fw j7-txpru1_0-fw j7-txpru1_1-fw"
-
-ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "/lib/firmware/pru/PRU_Halt.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "/lib/firmware/pru/PRU_Halt.out"
-
-ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru0_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru0_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
-
-ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
-
-ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru0_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
-ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru0_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
-ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
-ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
-
-ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
-ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
-
-ALTERNATIVE_TARGET_pru-icss-halt[j7-pru0_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
-ALTERNATIVE_TARGET_pru-icss-halt[j7-pru0_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
-ALTERNATIVE_TARGET_pru-icss-halt[j7-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
-ALTERNATIVE_TARGET_pru-icss-halt[j7-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
-ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu0_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
-ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu0_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
-ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu1_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
-ALTERNATIVE_TARGET_pru-icss-halt[j7-rtu1_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
-ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru0_0-fw] = "/lib/firmware/pru/TX_PRU_Halt_0.out"
-ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru0_1-fw] = "/lib/firmware/pru/TX_PRU_Halt_1.out"
-ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru1_0-fw] = "/lib/firmware/pru/TX_PRU_Halt_0.out"
-ALTERNATIVE_TARGET_pru-icss-halt[j7-txpru1_1-fw] = "/lib/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] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am335x-pru1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1.out"
-
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru0_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru0_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
-
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out"
-
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[k2g-pru0_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[k2g-pru0_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[k2g-pru1_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[k2g-pru1_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
-
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru0_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru0_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru1_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru1_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru2_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-pru2_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu0_0-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu0_1-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu1_0-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu1_1-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt1_1.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_0-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt2_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_1-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt2_1.out"
-
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru0_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru0_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0_1.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru1_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-pru1_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu0_0-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt0_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu0_1-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt0_1.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu1_0-fw] = "/lib/firmware/pru/RTU_RPMsg_Echo_Interrupt1_0.out"
-ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[j7-rtu1_1-fw] = "/lib/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/recipes-bsp/pru/pru-pwm-fw_git.bb b/recipes-bsp/pru/pru-pwm-fw_git.bb
deleted file mode 100644
index a8c71034..00000000
--- a/recipes-bsp/pru/pru-pwm-fw_git.bb
+++ /dev/null
@@ -1,39 +0,0 @@
-SUMMARY = "Programmable Real-time Unit PWM Firmware"
-LICENSE = "BSD-3-Clause"
-
-LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=32;md5=893d6a0cf1644338ea96642c0db97f59"
-
-require recipes-ti/includes/ti-paths.inc
-
-COMPATIBLE_MACHINE = "am65xx"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.pruss.example.apps.icssg_pwm.firmware.src"
-
-PE = "1"
-
-DEPENDS = "ti-cgt-pru-native pru-icss common-csl-ip-rtos"
-
-
-EXTRA_OEMAKE += " \
- PRU_CGT="${TI_CGT_PRU_INSTALL_DIR}" \
- PRU_SSP="${STAGING_DIR_TARGET}/usr" \
- PDK_INSTALL_DIR="${STAGING_DATADIR}/ti/ti-pdk-tree/packages" \
-"
-
-do_compile() {
- oe_runmake
-}
-
-do_install() {
- install -d ${D}/lib/firmware/ti-pruss
- install -m 0644 ${S}/gen/pwm.out ${D}/lib/firmware/ti-pruss/am65x-pru0-pwm-fw.elf
-}
-
-FILES_${PN} = "/lib/firmware"
-
-INSANE_SKIP_${PN} = "arch"
diff --git a/recipes-bsp/pru/pru-swuart-fw/0001-icss_uart-add-Makefile-for-building-firmware.patch b/recipes-bsp/pru/pru-swuart-fw/0001-icss_uart-add-Makefile-for-building-firmware.patch
deleted file mode 100644
index 8414d945..00000000
--- a/recipes-bsp/pru/pru-swuart-fw/0001-icss_uart-add-Makefile-for-building-firmware.patch
+++ /dev/null
@@ -1,145 +0,0 @@
-From d37359e7b2bd26da4d04fc97a94967cf457558e9 Mon Sep 17 00:00:00 2001
-From: Denys Dmytriyenko <denys@ti.com>
-Date: Tue, 6 Aug 2019 19:50:59 -0400
-Subject: [PATCH] icss_uart: add Makefile for building firmware
-
-Signed-off-by: Denys Dmytriyenko <denys@ti.com>
----
- firmware/icss_uart/src/Makefile | 125 ++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 125 insertions(+)
- create mode 100644 firmware/icss_uart/src/Makefile
-
-diff --git a/firmware/icss_uart/src/Makefile b/firmware/icss_uart/src/Makefile
-new file mode 100644
-index 0000000..4764622
---- /dev/null
-+++ b/firmware/icss_uart/src/Makefile
-@@ -0,0 +1,125 @@
-+# PRU_CGT environment variable must point to the TI PRU code gen tools directory. E.g.:
-+#(Desktop Linux) export PRU_CGT=/path/to/pru/code/gen/tools/ti-cgt-pru_2.x.y
-+#(Windows) set PRU_CGT=C:/path/to/pru/code/gen/tools/ti-cgt-pru_2.x.y
-+#(ARM Linux*) export PRU_CGT=/usr/share/ti/cgt-pru
-+#
-+# *ARM Linux also needs to create a symbolic link to the /usr/bin/ directory in
-+# order to use the same Makefile
-+#(ARM Linux) ln -s /usr/bin/ /usr/share/ti/cgt-pru/bin
-+
-+ifndef PRU_CGT
-+define ERROR_BODY
-+
-+*******************************************************************************
-+PRU_CGT environment variable is not set. Examples given:
-+(Desktop Linux) export PRU_CGT=/path/to/pru/code/gen/tools/ti-cgt-pru_2.1.2
-+(Windows) set PRU_CGT=C:/path/to/pru/code/gen/tools/ti-cgt-pru_2.1.2
-+(ARM Linux*) export PRU_CGT=/usr/share/ti/cgt-pru
-+
-+*ARM Linux also needs to create a symbolic link to the /usr/bin/ directory in
-+order to use the same Makefile
-+(ARM Linux) ln -s /usr/bin/ /usr/share/ti/cgt-pru/bin
-+*******************************************************************************
-+
-+endef
-+$(error $(ERROR_BODY))
-+endif
-+
-+# PRU_SSP environment variable must point to the PRU Software Support Package. E.g.:
-+#(Desktop Linux) export PRU_SSP=/path/to/pru_software_support_package
-+#(Windows) set PRU_SSP=C:/path/to/pru_software_support_package
-+#(ARM Linux*) export PRU_SSP=/path/to/pru_software_support_package
-+
-+ifndef PRU_SSP
-+define ERROR_BODY
-+
-+*******************************************************************************
-+PRU_SSP environment variable must point to the PRU Software Support Package. E.g.:
-+(Desktop Linux) export PRU_SSP=/path/to/pru_software_support_package
-+(Windows) set PRU_SSP=C:/path/to/pru_software_support_package
-+(ARM Linux*) export PRU_SSP=/path/to/pru_software_support_package
-+PRU_CGT environment variable is not set. Examples given:
-+*******************************************************************************
-+
-+endef
-+$(error $(ERROR_BODY))
-+endif
-+
-+MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
-+CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
-+PROJ_NAME=$(CURRENT_DIR)
-+LINKER_COMMAND_FILE=./AM335x_PRU.cmd
-+LIBS=--library=$(PRU_SSP)/lib/rpmsg_lib.lib
-+INCLUDE=--include_path=$(PRU_SSP)/include --include_path=$(PRU_SSP)/include/am335x
-+STACK_SIZE=0x100
-+HEAP_SIZE=0x100
-+GEN_DIR=gen
-+
-+#Common compiler and linker flags (Defined in 'PRU Optimizing C/C++ Compiler User's Guide)
-+CFLAGS=-v3 -o2 --display_error_number --endian=little --hardware_mac=on --asm_directory=$(GEN_DIR) --obj_directory=$(GEN_DIR) --pp_directory=$(GEN_DIR) -ppd -ppa -DICSS_REV2
-+#Linker flags (Defined in 'PRU Optimizing C/C++ Compiler User's Guide)
-+LFLAGS=--reread_libs --warn_sections --stack_size=$(STACK_SIZE) --heap_size=$(HEAP_SIZE)
-+
-+TARGET=$(GEN_DIR)/$(PROJ_NAME).out
-+MAP=$(GEN_DIR)/$(PROJ_NAME).map
-+OBJECTS=$(patsubst %.asm,$(GEN_DIR)/%.object,$(wildcard *.asm))
-+OBJECTS+=$(patsubst %.c,$(GEN_DIR)/%.object,$(wildcard *.c))
-+
-+
-+all: printStart $(TARGET) printEnd
-+
-+printStart:
-+ @echo ''
-+ @echo '************************************************************'
-+ @echo 'Building project: $(PROJ_NAME)'
-+
-+printEnd:
-+ @echo ''
-+ @echo 'Output files can be found in the "$(GEN_DIR)" directory'
-+ @echo ''
-+ @echo 'Finished building project: $(PROJ_NAME)'
-+ @echo '************************************************************'
-+ @echo ''
-+
-+# Invokes the linker (-z flag) to make the .out file
-+$(TARGET): $(OBJECTS) $(LINKER_COMMAND_FILE)
-+ @echo ''
-+ @echo 'Building target: $@'
-+ @echo 'Invoking: PRU Linker'
-+ $(PRU_CGT)/bin/clpru $(CFLAGS) -z -i$(PRU_CGT)/lib -i$(PRU_CGT)/include $(LFLAGS) -o $(TARGET) $(OBJECTS) -m$(MAP) $(LINKER_COMMAND_FILE) --library=libc.a $(LIBS)
-+ @echo 'Finished building target: $@'
-+
-+# Invokes the compiler on all assembly files in the directory to create the object files
-+$(GEN_DIR)/%.object: %.asm
-+ @mkdir -p $(GEN_DIR)
-+ @echo ''
-+ @echo 'Building file: $<'
-+ @echo 'Invoking: PRU Compiler'
-+ $(PRU_CGT)/bin/clpru --include_path=$(PRU_CGT)/include $(INCLUDE) $(CFLAGS) -fe $@ $<
-+
-+# Invokes the compiler on all c files in the directory to create the object files
-+$(GEN_DIR)/%.object: %.c
-+ @mkdir -p $(GEN_DIR)
-+ @echo ''
-+ @echo 'Building file: $<'
-+ @echo 'Invoking: PRU Compiler'
-+ $(PRU_CGT)/bin/clpru -k --include_path=$(PRU_CGT)/include $(INCLUDE) $(CFLAGS) -fe $@ $<
-+
-+.PHONY: all clean
-+
-+# Remove the $(GEN_DIR) directory
-+clean:
-+ @echo ''
-+ @echo '************************************************************'
-+ @echo 'Cleaning project: $(PROJ_NAME)'
-+ @echo ''
-+ @echo 'Removing files in the "$(GEN_DIR)" directory'
-+ @rm -rf $(GEN_DIR)
-+ @echo ''
-+ @echo 'Finished cleaning project: $(PROJ_NAME)'
-+ @echo '************************************************************'
-+ @echo ''
-+
-+# Includes the dependencies that the compiler creates (-ppd and -ppa flags)
-+-include $(OBJECTS:%.object=%.pp)
-+
---
-2.7.4
-
diff --git a/recipes-bsp/pru/pru-swuart-fw/0001-icss_uart-remove-dependency-on-PDK-CSL.patch b/recipes-bsp/pru/pru-swuart-fw/0001-icss_uart-remove-dependency-on-PDK-CSL.patch
deleted file mode 100644
index b565ba0e..00000000
--- a/recipes-bsp/pru/pru-swuart-fw/0001-icss_uart-remove-dependency-on-PDK-CSL.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 1b853cfd6194d3855310f47d43cb8c9f498b6182 Mon Sep 17 00:00:00 2001
-From: Bin Liu <b-liu@ti.com>
-Date: Wed, 27 Feb 2019 14:38:43 -0600
-Subject: [PATCH] icss_uart: remove dependency on PDK/CSL
-
-Signed-off-by: Bin Liu <b-liu@ti.com>
----
- firmware/icss_uart/src/icss_ctrl_regs.h | 32 ++++----------------------------
- 1 file changed, 4 insertions(+), 28 deletions(-)
-
-diff --git a/firmware/icss_uart/src/icss_ctrl_regs.h b/firmware/icss_uart/src/icss_ctrl_regs.h
-index ce640f5..99ec90d 100644
---- a/firmware/icss_uart/src/icss_ctrl_regs.h
-+++ b/firmware/icss_uart/src/icss_ctrl_regs.h
-@@ -39,32 +39,8 @@
- .if !$isdefed("__icss_ctrl_regs_h")
- __icss_ctrl_regs_h .set 1
-
-- .cdecls C,NOLIST
--%{
--#include "cslr_icss.h"
--%}
--
-- .if $defined("ICSS_REV1")
--ICSS_PRU_CTRL_CONTROL .set (CSL_ICSSM_PRU_CTRL_CONTROL)
--ICSS_PRU_CTRL_STATUS .set (CSL_ICSSM_PRU_CTRL_STATUS)
--ICSS_PRU_CTRL_WAKEUP_EN .set (CSL_ICSSM_PRU_CTRL_WAKEUP_EN)
--ICSS_PRU_CTRL_CYCLE .set (CSL_ICSSM_PRU_CTRL_CYCLE)
--ICSS_PRU_CTRL_STALL .set (CSL_ICSSM_PRU_CTRL_STALL)
--ICSS_PRU_CTRL_CTBIR0 .set (CSL_ICSSM_PRU_CTRL_CTBIR0)
--ICSS_PRU_CTRL_CTBIR1 .set (CSL_ICSSM_PRU_CTRL_CTBIR1)
--ICSS_PRU_CTRL_CTPPR0 .set (CSL_ICSSM_PRU_CTRL_CTPPR0)
--ICSS_PRU_CTRL_CTPPR1 .set (CSL_ICSSM_PRU_CTRL_CTPPR1)
-- .endif ;ICSS_REV1
--
-- .if $defined("ICSS_REV2")
--ICSS_PRU_CTRL_CONTROL .set (CSL_ICSSPRUCTRL_CONTROL)
--ICSS_PRU_CTRL_STATUS .set (CSL_ICSSPRUCTRL_STATUS)
--ICSS_PRU_CTRL_WAKEUP_EN .set (CSL_ICSSPRUCTRL_WAKEUP_EN)
--ICSS_PRU_CTRL_CYCLE .set (CSL_ICSSPRUCTRL_CYCLE)
--ICSS_PRU_CTRL_STALL .set (CSL_ICSSPRUCTRL_STALL)
--ICSS_PRU_CTRL_CTBIR0 .set (CSL_ICSSPRUCTRL_CTBIR0)
--ICSS_PRU_CTRL_CTBIR1 .set (CSL_ICSSPRUCTRL_CTBIR1)
--ICSS_PRU_CTRL_CTPPR0 .set (CSL_ICSSPRUCTRL_CTPPR0)
--ICSS_PRU_CTRL_CTPPR1 .set (CSL_ICSSPRUCTRL_CTPPR1)
-- .endif ;ICSS_REV2
-+ICSS_PRU_CTRL_CONTROL .set (0x0U)
-+ICSS_PRU_CTRL_STATUS .set (0x4U)
-+ICSS_PRU_CTRL_WAKEUP_EN .set (0x8U)
-+ICSS_PRU_CTRL_CYCLE .set (0xcU)
- .endif
---
-2.7.4
-
diff --git a/recipes-bsp/pru/pru-swuart-fw_git.bb b/recipes-bsp/pru/pru-swuart-fw_git.bb
deleted file mode 100644
index 1cb51f38..00000000
--- a/recipes-bsp/pru/pru-swuart-fw_git.bb
+++ /dev/null
@@ -1,40 +0,0 @@
-SUMMARY = "Programmable Real-time Unit Software UART Firmware"
-LICENSE = "BSD-3-Clause"
-
-LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=1;endline=31;md5=94b6a199da1caf777f6756cb70aca4a7"
-
-require recipes-ti/includes/ti-paths.inc
-
-COMPATIBLE_MACHINE = "ti33x"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.uart"
-
-PE = "1"
-
-SRC_URI_append = " \
- file://0001-icss_uart-add-Makefile-for-building-firmware.patch \
- file://0001-icss_uart-remove-dependency-on-PDK-CSL.patch \
-"
-
-DEPENDS = "ti-cgt-pru-native pru-icss"
-
-
-export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}"
-export PRU_SSP = "${STAGING_DIR_TARGET}/usr"
-
-do_compile() {
- oe_runmake -C firmware/icss_uart/src
-}
-
-do_install() {
- install -d ${D}/lib/firmware/ti-pruss
- install -m 0644 ${S}/firmware/icss_uart/src/gen/src.out ${D}/lib/firmware/ti-pruss/pru_swuart-fw.elf
-}
-
-FILES_${PN} = "/lib/firmware"
-
-INSANE_SKIP_${PN} = "arch"
diff --git a/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb b/recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb
deleted file mode 100644
index a837b356..00000000
--- a/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/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb b/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
deleted file mode 100644
index 430e2a4e..00000000
--- a/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
+++ /dev/null
@@ -1,45 +0,0 @@
-SUMMARY = "PRU Ethernet firmware for AM65x"
-
-require recipes-ti/includes/ti-paths.inc
-require recipes-bsp/emac-lld/emac-lld.inc
-
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://icss_dualmac/src/makefile;beginline=6;endline=53;md5=3f9129d208f240940749757214bdc191"
-
-PR = "r0"
-
-TI_PDK_COMP = "ti.drv.emac.firmware"
-
-B = "${S}/icss_dualmac"
-
-COMPATIBLE_MACHINE = "am65xx"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS = "ti-cgt-pru-native"
-
-EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}""
-
-do_compile() {
- oe_runmake -C src
-}
-
-do_install() {
- install -d ${D}${base_libdir}/firmware/ti-pruss
-
- install -m 0644 bin/rxl2_txl2_rgmii0/rxl2_txl2.out \
- ${D}${base_libdir}/firmware/ti-pruss/am65x-pru0-prueth-fw.elf
-
- install -m 0644 bin/rtu_test0/rtu_v2.out \
- ${D}${base_libdir}/firmware/ti-pruss/am65x-rtu0-prueth-fw.elf
-
- install -m 0644 bin/rxl2_txl2_rgmii1/rxl2_txl2.out \
- ${D}${base_libdir}/firmware/ti-pruss/am65x-pru1-prueth-fw.elf
-
- install -m 0644 bin/rtu_test1/rtu_v2.out \
- ${D}${base_libdir}/firmware/ti-pruss/am65x-rtu1-prueth-fw.elf
-}
-
-FILES_${PN} = "${base_libdir}/firmware"
-
-INSANE_SKIP_${PN} = "arch"
diff --git a/recipes-bsp/prueth-fw/prueth-fw_git.bb b/recipes-bsp/prueth-fw/prueth-fw_git.bb
deleted file mode 100644
index f7718ad2..00000000
--- a/recipes-bsp/prueth-fw/prueth-fw_git.bb
+++ /dev/null
@@ -1,47 +0,0 @@
-DESCRIPTION = "PRU Ethernet firmware for AM57xx, AM437x, AM335x and K2G"
-
-require recipes-ti/includes/ti-paths.inc
-require recipes-bsp/icss-emac-lld/icss-emac-lld.inc
-
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3"
-
-PR = "${INC_PR}.0"
-
-TI_PDK_COMP = "ti.drv.icss_emac.firmware"
-
-B = "${S}/icss_dualemac"
-
-COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm|ti43x|ti33x|k2g"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS = "ti-cgt-pru-native"
-
-PRU_VERSION = ""
-PRU_VERSION_ti33x = "REV1"
-PRU_VERSION_ti43x = "REV1"
-PRU_VERSION_am57xx-evm = "REV2"
-PRU_VERSION_am57xx-hs-evm = "REV2"
-PRU_VERSION_k2g = "REV2"
-
-FW_PREFIX = ""
-FW_PREFIX_ti33x = "am335x"
-FW_PREFIX_ti43x = "am437x"
-FW_PREFIX_am57xx-evm = "am57xx"
-FW_PREFIX_am57xx-hs-evm = "am57xx"
-FW_PREFIX_k2g = "k2g"
-
-EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}" PRU_VERSION_LIST="${PRU_VERSION}""
-
-do_install() {
- install -d ${D}${base_libdir}/firmware/ti-pruss
- install -m 0644 ./elf/${PRU_VERSION}/icss_dualemac_PRU0.elf \
- ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru0-prueth-fw.elf
- install -m 0644 ./elf/${PRU_VERSION}/icss_dualemac_PRU1.elf \
- ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru1-prueth-fw.elf
-}
-
-FILES_${PN} = "${base_libdir}/firmware"
-
-INSANE_SKIP_${PN} = "arch"
diff --git a/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb b/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
deleted file mode 100644
index 48eab404..00000000
--- a/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
+++ /dev/null
@@ -1,31 +0,0 @@
-DESCRIPTION = "TI PRUSS low level driver example applications"
-
-DEPENDS="common-csl-ip pruss-lld osal ti-pdk-build-rtos pruss-lld-rtos"
-
-DEPENDS_append_ti33x = " starterware"
-DEPENDS_append_ti43x = " starterware"
-
-include pruss-lld.inc
-
-PR = "${INC_PR}.0"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PDK_PKG_PATH=${STAGING_DATADIR}/ti/ti-pdk-tree/packages PRUSS_SRC_DIR=${S}"
-
-
-DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
-
-do_compile () {
-# Build the apps
- for device in ${DEVICE_LIST}
- do
- oe_runmake apps DEVICE="$device"
- done
-}
-
-do_install () {
-# Install the app binary
- for device in ${DEVICE_LIST}
- do
- oe_runmake installapp INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
- done
-}
diff --git a/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb b/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
deleted file mode 100644
index 9ab09b64..00000000
--- a/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-SUMMARY = "TI RTOS low level driver library for PRUSS"
-
-inherit ti-pdk
-require recipes-bsp/pruss-lld/pruss-lld.inc
-
-COMPATIBLE_MACHINE_append = "|k3"
-PR = "${INC_PR}.0"
-
-DEPENDS_append = " osal-rtos"
-DEPENDS_append_ti33x = " starterware-rtos"
-DEPENDS_append_ti43x = " starterware-rtos"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_PRUSS_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${WORKDIR}/build"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "PRUSS LLD"
-
-INSANE_SKIP_${PN} = "arch"
diff --git a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
deleted file mode 100644
index 8007f652..00000000
--- a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
+++ /dev/null
@@ -1,27 +0,0 @@
-DESCRIPTION = "TI PRUSS low level driver tests"
-
-DEPENDS = "common-csl-ip pruss-lld osal"
-
-include pruss-lld.inc
-
-PR = "${INC_PR}.2"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}"
-
-DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
-
-do_compile () {
-# Build the tests
- for device in ${DEVICE_LIST}
- do
- oe_runmake tests DEVICE="$device"
- done
-}
-
-do_install () {
-# Install the binary
- for device in ${DEVICE_LIST}
- do
- oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
- done
-}
diff --git a/recipes-bsp/pruss-lld/pruss-lld.inc b/recipes-bsp/pruss-lld/pruss-lld.inc
deleted file mode 100644
index fe5987a4..00000000
--- a/recipes-bsp/pruss-lld/pruss-lld.inc
+++ /dev/null
@@ -1,15 +0,0 @@
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://pruicss.h;beginline=1;endline=31;md5=315177aa03d58bcd124a6e799e2bd458"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.pruss"
-
-PE = "1"
-
-INC_PR = "r0"
-
-INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libdir}/libpruss.a"
diff --git a/recipes-bsp/pruss-lld/pruss-lld_git.bb b/recipes-bsp/pruss-lld/pruss-lld_git.bb
deleted file mode 100644
index f1e93cd7..00000000
--- a/recipes-bsp/pruss-lld/pruss-lld_git.bb
+++ /dev/null
@@ -1,21 +0,0 @@
-DESCRIPTION = "TI PRUSS low level driver library"
-
-DEPENDS = "common-csl-ip osal"
-
-include pruss-lld.inc
-
-PR = "${INC_PR}.2"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
-
-do_compile () {
-# Build the lib
- oe_runmake clean
- oe_runmake lib
-}
-
-do_install () {
-# Install the lib
- oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-}
diff --git a/recipes-bsp/prusw-fw/prusw-fw_git.bb b/recipes-bsp/prusw-fw/prusw-fw_git.bb
deleted file mode 100644
index 2921fb1d..00000000
--- a/recipes-bsp/prusw-fw/prusw-fw_git.bb
+++ /dev/null
@@ -1,40 +0,0 @@
-DESCRIPTION = "PRU Switch firmware for AM57xx"
-
-require recipes-ti/includes/ti-paths.inc
-require recipes-bsp/icss-emac-lld/icss-emac-lld.inc
-
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3"
-
-PR = "${INC_PR}.0"
-
-TI_PDK_COMP = "ti.drv.icss_emac.firmware"
-
-B = "${S}/icss_switch"
-
-COMPATIBLE_MACHINE = "dra7xx"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS = "ti-cgt-pru-native"
-
-PRU_VERSION = ""
-PRU_VERSION_dra7xx = "REV2"
-
-FW_PREFIX = ""
-FW_PREFIX_dra7xx = "am57xx"
-
-
-EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}" PRU_VERSION_LIST="${PRU_VERSION}""
-
-do_install() {
- install -d ${D}${base_libdir}/firmware/ti-pruss
- install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU0.elf \
- ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru0-prusw-fw.elf
- install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU1.elf \
- ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru1-prusw-fw.elf
-}
-
-FILES_${PN} = "${base_libdir}/firmware"
-
-INSANE_SKIP_${PN} = "arch"
diff --git a/recipes-bsp/qmss-lld/qmss-lld-rtos_git.bb b/recipes-bsp/qmss-lld/qmss-lld-rtos_git.bb
deleted file mode 100644
index 7f771429..00000000
--- a/recipes-bsp/qmss-lld/qmss-lld-rtos_git.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-inherit ti-pdk
-
-require qmss-lld.inc
-
-PR = "${INC_PR}.1"
-
-COMPATIBLE_MACHINE_append = "|c66x"
-
-DEPENDS_append = " rm-lld-rtos"
diff --git a/recipes-bsp/qmss-lld/qmss-lld-test_git.bb b/recipes-bsp/qmss-lld/qmss-lld-test_git.bb
deleted file mode 100644
index 77e698a4..00000000
--- a/recipes-bsp/qmss-lld/qmss-lld-test_git.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-DESCRIPTION = "TI QMSS low level driver unit test and example binaries"
-
-DEPENDS = "common-csl-ip rm-lld cppi-lld qmss-lld cmem uio-module-drv"
-
-include qmss-lld.inc
-
-PR = "${INC_PR}.2"
-
-CHOICELIST = "yes no"
-
-do_compile () {
-# Now build the lld in the updated directory
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S}
- for choice in ${CHOICELIST}
- do
- make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
- done
- done
-}
-
-do_install () {
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
- done
-}
diff --git a/recipes-bsp/qmss-lld/qmss-lld.inc b/recipes-bsp/qmss-lld/qmss-lld.inc
deleted file mode 100644
index 5c9620f9..00000000
--- a/recipes-bsp/qmss-lld/qmss-lld.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-LICENSE = "BSD-3-Clause & TI-TFL"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/qmss/COPYING.txt;md5=cd04fb087063a2a82c4ce61983836871"
-
-COMPATIBLE_MACHINE = "keystone"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.qmss"
-
-PE = "1"
-
-INC_PR = "r0"
-
-DEVICELIST = "k2h k2k k2l k2e"
-DEVICELIST_k2hk = "k2h k2k"
-DEVICELIST_k2l = "k2l"
-DEVICELIST_k2e = "k2e"
-
diff --git a/recipes-bsp/qmss-lld/qmss-lld_git.bb b/recipes-bsp/qmss-lld/qmss-lld_git.bb
deleted file mode 100644
index a87f4905..00000000
--- a/recipes-bsp/qmss-lld/qmss-lld_git.bb
+++ /dev/null
@@ -1,32 +0,0 @@
-DESCRIPTION = "TI QMSS low level driver library"
-
-DEPENDS = "common-csl-ip rm-lld"
-
-include qmss-lld.inc
-
-PR = "${INC_PR}.1"
-
-do_compile () {
-# Now build the lld
- make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
- for device in ${DEVICELIST}
- do
- make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="${device}"
- done
-}
-
-do_install () {
- make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-
- # Set the generic device library symbolic link to default k2h
- cd ${D}${libdir}
-
- # Link only the first device in the list
- for device in ${DEVICELIST}
- do
- ln -sf libqmss_${device}.so.1.0.0 libqmss_device.so.1
- break
- done
- ln -sf libqmss_device.so.1 libqmss_device.so
-}
diff --git a/recipes-bsp/qmss-pdsp-fw/qmss-pdsp-fw_git.bb b/recipes-bsp/qmss-pdsp-fw/qmss-pdsp-fw_git.bb
deleted file mode 100644
index cd207826..00000000
--- a/recipes-bsp/qmss-pdsp-fw/qmss-pdsp-fw_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-DESCRIPTION = "QMSS PDSP firmware"
-
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
-
-PV = "1.0.0.9"
-PR = "r1"
-
-CLEANBROKEN = "1"
-
-COMPATIBLE_MACHINE = "keystone"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRCREV = "778668c4bb5fe59870e549a4a2820b9f7f90e89e"
-BRANCH ?= "ti-linux-firmware"
-
-SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-ORIGIN = "ks2_qmss_pdsp_acc48_k2_le_1_0_0_9.bin"
-TARGET = "ks2_qmss_pdsp_acc48.bin"
-
-do_install() {
- install -d ${D}${base_libdir}/firmware
- install -m 0644 ${S}/ti-keystone/${ORIGIN} ${D}${base_libdir}/firmware/${TARGET}
-}
-
-FILES_${PN} = "${base_libdir}/firmware"
diff --git a/recipes-bsp/rm-lld/rm-lld-rtos_git.bb b/recipes-bsp/rm-lld/rm-lld-rtos_git.bb
deleted file mode 100644
index 2f49892c..00000000
--- a/recipes-bsp/rm-lld/rm-lld-rtos_git.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-inherit ti-pdk
-
-COMPATIBLE_MACHINE_append = "|c66x"
-
-require rm-lld.inc
-
-PR = "${INC_PR}.2"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "RM LLD"
-
diff --git a/recipes-bsp/rm-lld/rm-lld.inc b/recipes-bsp/rm-lld/rm-lld.inc
deleted file mode 100644
index e6e61af0..00000000
--- a/recipes-bsp/rm-lld/rm-lld.inc
+++ /dev/null
@@ -1,15 +0,0 @@
-DESCRIPTION = "TI Resource Manager Low Level Driver"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.rm"
-
-PE = "1"
-
-INC_PR = "r0"
-
-COMPATIBLE_MACHINE = "keystone"
-
-BASEDIR = "${WORKDIR}/git"
diff --git a/recipes-bsp/rm-lld/rm-lld_git.bb b/recipes-bsp/rm-lld/rm-lld_git.bb
deleted file mode 100644
index ae79a34c..00000000
--- a/recipes-bsp/rm-lld/rm-lld_git.bb
+++ /dev/null
@@ -1,31 +0,0 @@
-require rm-lld.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS = "ti-ipc libdaemon"
-
-PACKAGES =+ "${PN}-test"
-
-FILES_${PN}-test = "${bindir}/rmDspClientTest.out \
- ${bindir}/rmLinuxClientTest.out \
- ${bindir}/rmLinuxMtClientTest.out \
- ${bindir}/ti/drv/rm/test/dts_files/*.dtb"
-
-CHOICELIST = "yes no"
-
-do_compile () {
-# Now build the lld
- make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S}
- for choice in ${CHOICELIST}
- do
- make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} USEDYNAMIC_LIB="$choice"
- done
-}
-
-do_install () {
- install -d ${D}${includedir}/ti/drv/rm
- install -d ${D}${libdir}
- install -d ${D}${bindir}
- make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir}
- chown -R root:root ${D}
-}
diff --git a/recipes-bsp/sa-lld/sa-lld-rtos_git.bb b/recipes-bsp/sa-lld/sa-lld-rtos_git.bb
deleted file mode 100644
index 5bcdc2e8..00000000
--- a/recipes-bsp/sa-lld/sa-lld-rtos_git.bb
+++ /dev/null
@@ -1,26 +0,0 @@
-SUMMARY = "TI RTOS low level driver for Security Accelerator (SA)"
-
-inherit ti-pdk
-
-require recipes-bsp/sa-lld/sa-lld.inc
-
-PR = "${INC_PR}.0"
-
-COMPATIBLE_MACHINE_append = "|c667x-evm|k3"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE_k3 = "0"
-
-# SA promote/demote library depends on osal
-DEPENDS_append = " osal-rtos \
-"
-export PDK_SA_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-INSANE_SKIP_${PN} = "arch"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "SA LLD"
-
diff --git a/recipes-bsp/sa-lld/sa-lld-test_git.bb b/recipes-bsp/sa-lld/sa-lld-test_git.bb
deleted file mode 100644
index f3fa4f3d..00000000
--- a/recipes-bsp/sa-lld/sa-lld-test_git.bb
+++ /dev/null
@@ -1,44 +0,0 @@
-DESCRIPTION = "TI Security Accelerator LLD (SA LLD) Examples"
-
-DEPENDS = "common-csl-ip cppi-lld qmss-lld pa-lld sa-lld"
-
-include sa-lld.inc
-
-PR = "${INC_PR}.1"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEVICELIST_k2hk = "k2h k2k"
-DEVICELIST_k2l = "k2l"
-DEVICELIST_k2e = "k2e"
-
-CHOICELIST = "no yes"
-
-PARALLEL_MAKE = ""
-EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} SA_SRC_DIR=${S}"
-
-do_compile () {
-# Now build the lld in the updated directory
- for device in ${DEVICELIST}
- do
- oe_runmake clean DEVICE="$device"
- for choice in ${CHOICELIST}
- do
- oe_runmake examples utils DEVICE="$device" USEDYNAMIC_LIB="$choice"
- done
- done
-}
-
-do_install () {
- install -d ${D}${bindir}/ti/drv/sa/example/SaBasicExample/vectors
-
-# copy all the test vectors
- find example/SaBasicExample/vectors -name *.bin -type f | xargs -I {} cp --parents {} ${D}${bindir}/ti/drv/sa
-
- for device in ${DEVICELIST}
- do
- oe_runmake installbin DEVICE="$device" INSTALL_BIN_BASE_DIR=${D}${bindir}
- done
-}
-
-INSANE_SKIP_${PN} = "ldflags"
diff --git a/recipes-bsp/sa-lld/sa-lld.inc b/recipes-bsp/sa-lld/sa-lld.inc
deleted file mode 100644
index 4eaa0f80..00000000
--- a/recipes-bsp/sa-lld/sa-lld.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-LICENSE = "BSD-3-Clause & TI-TFL"
-COMPATIBLE_MACHINE = "keystone"
-
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/sa/COPYING.txt;md5=cd04fb087063a2a82c4ce61983836871"
-
-SA_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/sa-lld.git"
-SA_LLD_GIT_PROTOCOL = "git"
-SA_LLD_GIT_BRANCH = "master"
-SA_LLD_GIT_DESTSUFFIX = "git/ti/drv/sa"
-
-# Below commit ID corresponding to "DEV.SA_LLD.04.00.00.03B"
-SA_LLD_SRCREV = "ac85eea98ccb73fa00006afca8ae03536e933134"
-
-BRANCH = "${SA_LLD_GIT_BRANCH}"
-SRC_URI = "${SA_LLD_GIT_URI};destsuffix=${SA_LLD_GIT_DESTSUFFIX};protocol=${SA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${SA_LLD_SRCREV}"
-
-PV = "04.00.00.03B"
-INC_PR = "r0"
-
-S = "${WORKDIR}/${SA_LLD_GIT_DESTSUFFIX}"
diff --git a/recipes-bsp/sa-lld/sa-lld_git.bb b/recipes-bsp/sa-lld/sa-lld_git.bb
deleted file mode 100644
index df41c653..00000000
--- a/recipes-bsp/sa-lld/sa-lld_git.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-DESCRIPTION = "TI Security Accelerator LLD (SA LLD) Library"
-
-DEPENDS = "common-csl-ip"
-
-include sa-lld.inc
-
-PR = "${INC_PR}.1"
-
-PARALLEL_MAKE = ""
-EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
-
-do_compile () {
-# Now build the lld in the updated directory
- oe_runmake clean lib
-}
-
-do_install () {
- oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-
-# Set the generic device library symbolic link
- ln -sf libsa.so.1.0.0 ${D}${libdir}/libsa_device.so.1
- ln -sf libsa_device.so.1 ${D}${libdir}/libsa_device.so
-}
diff --git a/recipes-bsp/sciclient/sciclient-rtos_git.bb b/recipes-bsp/sciclient/sciclient-rtos_git.bb
deleted file mode 100644
index 3627cbc7..00000000
--- a/recipes-bsp/sciclient/sciclient-rtos_git.bb
+++ /dev/null
@@ -1,112 +0,0 @@
-SUMMARY = "TI RTOS low level driver for SCICLIENT"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.sciclient"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=99d7639a81c1ba1f16fd070a928ffddb"
-
-COMPATIBLE_MACHINE = "k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r1"
-
-DEPENDS_append = " osal-rtos common-csl-ip-rtos openssl-native"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-SCICLIENT_PACKAGE_BASE = "${WORKDIR}/sciclient_base"
-SCICLIENT_ROOTPATH = "${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/sciclient"
-
-export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
-export PDK_SCICLIENT_ROOT_PATH = "${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/packages"
-
-# Sciclient for am65x supports mcu1_1 in addition to the default cores in TI_PDK_LIMIT_CORES
-TI_PDK_LIMIT_CORES_append_am65xx = " mcu1_1"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "SCICLIENT"
-
-do_configure() {
-
- rm -rf ${SCICLIENT_PACKAGE_BASE}
- cd ${S}
-
- # remove any previous package
- rm -f ${SCICLIENT_PACKAGE_BASE}
-
- # make the release package before building it
- make package BOARD="${TI_PDK_LIMIT_BOARDS}" DEST_ROOT=${SCICLIENT_PACKAGE_BASE} PDK_SCICLIENT_COMP_PATH=${S}
-
- # This is to ensure the make package completed successfully
- cat ${SCICLIENT_ROOTPATH}/makefile
-}
-
-do_compile() {
-
- cd ${SCICLIENT_ROOTPATH}
-
- # Clean
- # make clean LIMIT_SOCS="${LIMSOCS}" LIMIT_BOARDS="${LIMBOARDS}"
-
- # Build am65xx libraries
- make lib xdc_meta doxygen LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" LIMIT_CORES="${TI_PDK_LIMIT_CORES}"
-
- #archive
- tar -cf sciclient.tar --exclude='*.tar' ./*
-}
-
-
-do_compile_prepend_am65xx-hs-evm() {
-
- cd ${SCICLIENT_ROOTPATH}
-
- # Saving the GP firmware to a different GP name
- cp ${CP_ARGS} ./soc/V0/sysfw.bin ./soc/V0/sysfw-gp.bin
-
- cd ${SCICLIENT_ROOTPATH}/tools
- # Create the .bin file for HS
- ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x-hs ${PDK_INSTALL_DIR}/packages
- cd -
-}
-
-do_compile_prepend_am65xx-evm() {
-
- cd ${SCICLIENT_ROOTPATH}/tools
-
- # Create the .bin file for GP, PG1
- ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x ${PDK_INSTALL_DIR}/packages
- # Create the .bin file for GP, PG2
- ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x_pg2 ${PDK_INSTALL_DIR}/packages
-
- cd -
-}
-
-
-do_compile_prepend_j7-evm() {
-
- cd ${SCICLIENT_ROOTPATH}/tools
- # Create the .bin file for GP
- ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh j721e ${PDK_INSTALL_DIR}/packages
- cd -
-}
-
-do_install() {
- cd ${SCICLIENT_ROOTPATH}
- install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/sciclient
- find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/sciclient \;
-}
-
-FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
-
-INSANE_SKIP_${PN} = "arch ldflags file-rdeps"
-
-INSANE_SKIP_${PN}-dbg = "arch"
-
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_SYSROOT_STRIP = "1"
diff --git a/recipes-bsp/serdes-diag/serdes-diag-rtos_git.bb b/recipes-bsp/serdes-diag/serdes-diag-rtos_git.bb
deleted file mode 100644
index 442c4cb1..00000000
--- a/recipes-bsp/serdes-diag/serdes-diag-rtos_git.bb
+++ /dev/null
@@ -1,35 +0,0 @@
-SUMMARY = "TI RTOS library for SERDES diagnostics"
-
-inherit ti-pdk
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://serdes_diag.h;beginline=1;endline=42;;md5=68e7ce6fdc0e9328fa7d0ec41c54420c"
-
-COMPATIBLE_MACHINE = "keystone|c66x|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SERDES_DIAG_GIT_URI = "git://git.ti.com/keystone-rtos/serdes_diag.git"
-SERDES_DIAG_GIT_PROTOCOL = "git"
-SERDES_DIAG_GIT_BRANCH = "master"
-SERDES_DIAG_GIT_DESTSUFFIX = "git/ti/diag/serdes_diag"
-
-# Below commit ID corresponds to "DEV.DIAG_SERDES_SB.01.00.00.13"
-SERDES_DIAG_SRCREV = "6dd7cd2170efe3cb41cc424486ba55b8d5bba354"
-
-BRANCH = "${SERDES_DIAG_GIT_BRANCH}"
-SRC_URI = "${SERDES_DIAG_GIT_URI};destsuffix=${SERDES_DIAG_GIT_DESTSUFFIX};protocol=${SERDES_DIAG_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${SERDES_DIAG_SRCREV}"
-PV = "01.00.00.13"
-PR = "r0"
-
-S = "${WORKDIR}/${SERDES_DIAG_GIT_DESTSUFFIX}"
-
-
-# Build with make instead of XDC for k3
-TI_PDK_XDCMAKE_k3 = "0"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "SERDES Diagnostics"
-
-INSANE_SKIP_${PN} = "arch"
diff --git a/recipes-bsp/serdes-fw/serdes-fw_git.bb b/recipes-bsp/serdes-fw/serdes-fw_git.bb
deleted file mode 100644
index 66271788..00000000
--- a/recipes-bsp/serdes-fw/serdes-fw_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-DESCRIPTION = "SerDes firmware for Keystone PCIe and 1/10GigE"
-
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
-
-PV = "3.3.0.2c"
-
-CLEANBROKEN = "1"
-
-COMPATIBLE_MACHINE = "keystone"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRCREV = "8d861bd8f8f792df60b6873989ff208766fbebae"
-BRANCH ?= "ti-linux-firmware"
-
-SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-TARGET = "ks2_pcie_serdes.bin ks2_gbe_serdes.bin ks2_xgbe_serdes.bin"
-
-do_install() {
- install -d ${D}${base_libdir}/firmware
- for f in ${TARGET}; do
- install -m 0644 ${S}/ti-keystone/$f ${D}${base_libdir}/firmware/$f
- done
-}
-
-FILES_${PN} = "${base_libdir}/firmware"
diff --git a/recipes-bsp/spi-lld/spi-lld-rtos_git.bb b/recipes-bsp/spi-lld/spi-lld-rtos_git.bb
deleted file mode 100644
index 7d53d15c..00000000
--- a/recipes-bsp/spi-lld/spi-lld-rtos_git.bb
+++ /dev/null
@@ -1,37 +0,0 @@
-SUMMARY = "TI RTOS low level driver for Serial Peripheral Interface (SPI)"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.spi"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://SPI.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d13518cf18a0122b8"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r0"
-
-DEPENDS_append = " osal-rtos \
- edma3-lld-rtos \
-"
-DEPENDS_append_ti33x = " starterware-rtos pruss-lld-rtos gpio-lld-rtos"
-DEPENDS_append_ti43x = " starterware-rtos pruss-lld-rtos gpio-lld-rtos"
-
-DEPENDS_remove_k3 = "edma3-lld-rtos "
-DEPENDS_append_k3 = " udma-lld-rtos"
-
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_SPI_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
-XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "SPI LLD"
diff --git a/recipes-bsp/srio-lld/srio-lld-rtos_git.bb b/recipes-bsp/srio-lld/srio-lld-rtos_git.bb
deleted file mode 100644
index 7708a18e..00000000
--- a/recipes-bsp/srio-lld/srio-lld-rtos_git.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-SUMMARY = "TI RTOS low level driver for Serial Rapid IO (SRIO)"
-
-inherit ti-pdk
-
-require recipes-bsp/srio-lld/srio-lld.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS_append = " cppi-lld-rtos \
- qmss-lld-rtos \
-"
-COMPATIBLE_MACHINE_append = "|c66x"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "SRIO LLD"
diff --git a/recipes-bsp/srio-lld/srio-lld-test_git.bb b/recipes-bsp/srio-lld/srio-lld-test_git.bb
deleted file mode 100644
index d2a00682..00000000
--- a/recipes-bsp/srio-lld/srio-lld-test_git.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-DESCRIPTION = "TI SRIO peripheral low level driver unit test and example binaries"
-DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld srio-lld cmem uio-module-drv"
-
-include srio-lld.inc
-
-PR = "${INC_PR}.0"
-
-CHOICELIST = "yes no"
-
-do_compile () {
-# Now build the lld in the updated directory
- for device in ${DEVICELIST}
- do
- oe_runmake clean DEVICE="$device" SRIO_SRC_DIR=${S}
- for choice in ${CHOICELIST}
- do
- oe_runmake tests DEVICE="$device" SRIO_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
- oe_runmake examples DEVICE="$device" SRIO_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
- done
- done
-}
-
-do_install () {
- for device in ${DEVICELIST}
- do
- oe_runmake installbin DEVICE="$device" SRIO_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
- done
-}
diff --git a/recipes-bsp/srio-lld/srio-lld.inc b/recipes-bsp/srio-lld/srio-lld.inc
deleted file mode 100644
index efe379ff..00000000
--- a/recipes-bsp/srio-lld/srio-lld.inc
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/srio/srio_drv.h;beginline=1;endline=41;md5=469096088e072d883ff7eef301b34093"
-
-COMPATIBLE_MACHINE = "k2hk"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.srio"
-
-PE = "1"
-
-INC_PR = "r0"
-
-DEVICELIST = "k2h k2k"
-
-BASEDIR = "${WORKDIR}/git"
-
-EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
diff --git a/recipes-bsp/srio-lld/srio-lld_git.bb b/recipes-bsp/srio-lld/srio-lld_git.bb
deleted file mode 100644
index 3797bef6..00000000
--- a/recipes-bsp/srio-lld/srio-lld_git.bb
+++ /dev/null
@@ -1,21 +0,0 @@
-DESCRIPTION = "TI SRIO peripheral low level driver"
-
-DEPENDS="common-csl-ip rm-lld cppi-lld"
-
-include srio-lld.inc
-
-PR = "${INC_PR}.0"
-
-do_compile () {
-# Now build the lld
- oe_runmake clean
- for device in ${DEVICELIST}
- do
- oe_runmake lib DEVICE="${device}"
- done
-}
-
-do_install () {
- oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-}
diff --git a/recipes-bsp/srss-tc/srss-tc_git.bb b/recipes-bsp/srss-tc/srss-tc_git.bb
deleted file mode 100644
index 483bde00..00000000
--- a/recipes-bsp/srss-tc/srss-tc_git.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-DESCRIPTION = "TI Smart Reflex temperature control application for KeyStone II"
-HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/srss-tc.git"
-LICENSE = "BSD & MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51"
-COMPATIBLE_MACHINE = "keystone"
-
-PV = "1.0.0.1"
-
-BRANCH = "master"
-# This commit corresponds to tag DEV.SRSS-TC-01.00.00.01A
-SRCREV = "107cd1433ef5785e5647ef086a4cc77566506604"
-
-SRC_URI = "git://git.ti.com/keystone-linux/srss-tc.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-SRSS_BIN_NAME = "srss_tc.out"
-INITSCRIPT_NAME = "run_srss_tc.sh"
-INITSCRIPT_PARAMS = "defaults 10"
-
-inherit update-rc.d
-LDFLAGS += "-lrt"
-CFLAGS += "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
-
-EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
-
-do_install() {
- install -d ${D}${bindir}/
- install -c -m 755 ${S}/src/${SRSS_BIN_NAME} ${D}${bindir}/${SRSS_BIN_NAME}
-
- install -d ${D}${sysconfdir}/init.d/
- install -c -m 755 ${S}/scripts/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
-}
diff --git a/recipes-bsp/starterware/starterware-rtos_git.bb b/recipes-bsp/starterware/starterware-rtos_git.bb
deleted file mode 100644
index 5e3535e9..00000000
--- a/recipes-bsp/starterware/starterware-rtos_git.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-require starterware.inc
-
-DEPENDS = "gcc-arm-none-eabi-native ti-pdk-build-rtos ti-xdctools-native"
-
-require recipes-ti/includes/ti-paths.inc
-
-PR = "${INC_PR}.0"
-
-PARTNO_ti33x = "am335x"
-PARTNO_ti43x = "am437x"
-
-export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
-export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
-export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
-export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}"
-
-do_compile() {
- cd build
- ./release_${PARTNO}.sh
-}
-
-do_install() {
- install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware
- find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware \;
-}
-
-FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
-
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_SYSROOT_STRIP = "1"
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-INSANE_SKIP_${PN} = "arch staticdev file-rdeps"
-
diff --git a/recipes-bsp/starterware/starterware.inc b/recipes-bsp/starterware/starterware.inc
deleted file mode 100644
index ae098211..00000000
--- a/recipes-bsp/starterware/starterware.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
-STARTERWARE_GIT_PROTOCOL = "git"
-STARTERWARE_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.12"
-STARTERWARE_SRCREV = "7f418b7471ca11ba4c6d91b4a7eb992a1dd55d7d"
-
-BRANCH = "${STARTERWARE_GIT_BRANCH}"
-SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${STARTERWARE_SRCREV}"
-PV = "02.01.01.12"
-INC_PR = "r0"
-
-S = "${WORKDIR}/git"
diff --git a/recipes-bsp/starterware/starterware_git.bb b/recipes-bsp/starterware/starterware_git.bb
deleted file mode 100644
index 3adfac36..00000000
--- a/recipes-bsp/starterware/starterware_git.bb
+++ /dev/null
@@ -1,16 +0,0 @@
-require starterware.inc
-
-PR = "${INC_PR}.0"
-
-ALLOW_EMPTY_${PN} = "1"
-
-CLEANBROKEN = "1"
-
-do_compile() {
- :
-}
-
-do_install () {
- install -d ${D}${includedir}/ti/starterware
- find . -name "*.h" -type f | xargs -I {} cp --parents --no-preserve=ownership {} ${D}${includedir}/ti/starterware
-}
diff --git a/recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb b/recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb
deleted file mode 100644
index 0f7c52bb..00000000
--- a/recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-SUMMARY = "TI third generation Turbo Coprocessor (TCP3) low level driver"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.tcp3d"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://tcp3dver.h;beginline=1;endline=47;md5=3fe46c6320fb9ca4ac6692961402beb7"
-
-COMPATIBLE_MACHINE = "k2hk|k2l|c66x"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r0"
-
-DEPENDS_append = " edma3-lld-rtos"
-
-export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
-XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "TCP3D LLD"
diff --git a/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb b/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb
deleted file mode 100644
index 9115b6b4..00000000
--- a/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb
+++ /dev/null
@@ -1,48 +0,0 @@
-SUMMARY = "TI Display Sharing Firmware"
-
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
-
-PV = "06.01.00.00+git${SRCPV}"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit deploy
-inherit update-alternatives
-
-PROTOCOL = "git"
-BRANCH = "ti-linux-firmware"
-SRCREV = "e7be1ab85266c47236330e2909997d20fc62e312"
-
-SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=${PROTOCOL};branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-TI_DISP_SHARE_FW_DIR = "${S}/ti-display-sharing/"
-TI_DISP_SHARE_FW_FILENAME = "ti-display-sharing-j721e.bin"
-
-# make sure that lib/firmware, and all its contents are part of the package
-FILES_${PN} += "${base_libdir}/firmware"
-
-do_install() {
- install -d ${D}${base_libdir}/firmware
- install -m 0755 ${TI_DISP_SHARE_FW_DIR}/${TI_DISP_SHARE_FW_FILENAME} ${D}${base_libdir}/firmware
-}
-
-TARGET_MAIN_R5FSS0_1 = "j7-main-r5f0_1-fw"
-ALTERNATIVE_${PN} = "j7-main-r5f0_1-fw"
-ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1}"
-ALTERNATIVE_TARGET[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TI_DISP_SHARE_FW_FILENAME}"
-ALTERNATIVE_PRIORITY = "9"
-
-# This is used to prevent the build system to strip the executables
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_SYSROOT_STRIP = "1"
-
-# This is used to prevent the build system to split the debug info in a separate file
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP
-INSANE_SKIP_${PN} += "arch"
-
-# we don't want to configure and build the source code
-do_compile[noexec] = "1"
-do_configure[noexec] = "1"
diff --git a/recipes-bsp/ti-img-encode-decode/ti-img-encode-decode_1.0.0.bb b/recipes-bsp/ti-img-encode-decode/ti-img-encode-decode_1.0.0.bb
deleted file mode 100644
index a1da9585..00000000
--- a/recipes-bsp/ti-img-encode-decode/ti-img-encode-decode_1.0.0.bb
+++ /dev/null
@@ -1,31 +0,0 @@
-SUMMARY = "Kernel drivers for the IMG VXE384 MP2 and D5520 encoder/decoder found in TI SoCs"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://driver/common/dq.c;beginline=1;endline=16;md5=e015e28ff5e88576dab9fdf641e3dbfe"
-
-inherit module
-
-MACHINE_KERNEL_PR_append = "g"
-PR = "${MACHINE_KERNEL_PR}"
-
-COMPATIBLE_MACHINE = "j7-evm"
-
-SRCREV = "0eba3678300f649e49f03d92d1b624cf0e008008"
-
-EXTRA_OEMAKE = "KPATH=${STAGING_KERNEL_DIR} KCONF=${STAGING_KERNEL_BUILDDIR}"
-TARGET_CC_ARCH += "${LDFLAGS}"
-
-BRANCH = "master"
-SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
- oe_runmake all -C ${S}/linux/decoder
- oe_runmake all -C ${S}/linux/encoder
-}
-
-do_install() {
- install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
- install -m 644 ${S}/linux/decoder/vxd-dec.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
- install -m 644 ${S}/linux/encoder/vxe-enc.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
-}
diff --git a/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb b/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb
deleted file mode 100644
index 2812fa2c..00000000
--- a/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb
+++ /dev/null
@@ -1,34 +0,0 @@
-SUMMARY = "Video Decoding Firmware Packaging recipe"
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=84ca7278930db001870686ad997d6bb1"
-
-BRANCH = "master"
-SRCREV = "0acbf1d0a7c7eaca0ef14c1a30ce313ea82147e5"
-
-SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-PV = "1.0-git${SRCPV}"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-VXD_FW_DIR = "${S}/decoder/firmware/"
-
-# make sure that lib/firmware, and all its contents are part of the package
-FILES_${PN} += "${base_libdir}/firmware"
-
-do_install() {
- install -d ${D}${base_libdir}/firmware
- install -m 0755 ${VXD_FW_DIR}/pvdec_full_bin.fw ${D}${base_libdir}/firmware
-}
-
-# This is used to prevent the build system to strip the executables
-INHIBIT_PACKAGE_STRIP = "1"
-# This is used to prevent the build system to split the debug info in a separate file
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP
-INSANE_SKIP_${PN} += "arch"
-
-# we don't want to configure and build the source code
-do_compile[noexec] = "1"
-do_configure[noexec] = "1"
diff --git a/recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb b/recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb
deleted file mode 100644
index 43eed7d1..00000000
--- a/recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb
+++ /dev/null
@@ -1,35 +0,0 @@
-DESCRIPTION = "Builds Crypto module used by OCF-Linux driver in OpenSSL example applications"
-HOMEPAGE = "https://gforge.ti.com/gf/project/arm_crypto/"
-LICENSE = "BSD & GPLv2"
-LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=16;md5=acc0590f80e72fd64ad5c16cad8f4f76 \
- file://ocf_omap3_crypto.c;beginline=436;endline=438;md5=a52cad5c37c3aa3f27c6391552967304"
-
-COMPATIBLE_MACHINE = "am37x-evm|am3517-evm"
-
-DEPENDS += "virtual/kernel"
-
-SRC_URI = "svn://gforge.ti.com/svn/arm_crypto/;module=trunk;protocol=https;user=anonymous;pswd=''"
-
-#gforge source revision
-SRCREV = "17"
-
-INHIBIT_PACKAGE_STRIP = "1"
-
-S = "${WORKDIR}/trunk"
-
-inherit module
-
-MACHINE_KERNEL_PR_append = "b"
-PR = "${MACHINE_KERNEL_PR}"
-PV_append = "+svn${SRCPV}"
-
-EXTRA_OEMAKE += "KERNEL_DIR=${STAGING_KERNEL_DIR}"
-
-do_compile_prepend () {
- sed -i "s/arm-none-linux-gnueabi-/${TARGET_PREFIX}/g" ${S}/Makefile
-}
-
-do_install () {
- install -d ${D}/lib/modules/${KERNEL_VERSION}/crypto/ocf/
- install -m 0755 ${S}/ocf_omap3_cryptok.ko ${D}/lib/modules/${KERNEL_VERSION}/crypto/ocf/
-}
diff --git a/recipes-bsp/ti-pdk-source/ti-pdk-source_git.bb b/recipes-bsp/ti-pdk-source/ti-pdk-source_git.bb
deleted file mode 100644
index f4b3da92..00000000
--- a/recipes-bsp/ti-pdk-source/ti-pdk-source_git.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-# Recipe to fetch/unpack sources used by ti-pdk-fetch recipes.
-#
-# Mimic gcc-source.inc from oe-core.
-
-# These shources will be unpacked to a "work-shared" directory. Then each
-# "ti-pdk-fetch" recipe will hard-link only the sources it requires.
-
-deltask do_configure
-deltask do_compile
-deltask do_install
-deltask do_populate_sysroot
-deltask do_populate_lic
-
-RM_WORK_EXCLUDE += "${PN}"
-EXCLUDE_FROM_WORLD = "1"
-
-inherit nopackages ti-pdk-fetch
-
-LICENSE = "BSD-3-Clause"
-
-PN = "${TI_PDK_SOURCE_PN}"
-WORKDIR = "${TI_PDK_SOURCE_WORKDIR}"
-SSTATE_SWSPEC = "sstate:ti-pdk::${PV}:${PR}::${SSTATE_VERSION}:"
-
-STAMP = "${STAMPS_DIR}/work-shared/ti-pdk-${PV}"
-STAMPCLEAN = "${STAMPS_DIR}/work-shared/ti-pdk-${PV}*"
-
-INHIBIT_DEFAULT_DEPS = "1"
-DEPENDS = ""
-PACKAGES = ""
-
-SRC_URI = "${TI_PDK_GIT_URI};branch=${TI_PDK_GIT_BRANCH};protocol=${TI_PDK_GIT_PROTOCOL}"
-SRCREV = "${TI_PDK_SRCREV}"
diff --git a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
deleted file mode 100644
index 9e68fdff..00000000
--- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ /dev/null
@@ -1,37 +0,0 @@
-DESCRIPTION = "TI SCI firmware"
-
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
-
-PV = "0.1.1.50"
-PR = "r2"
-
-CLEANBROKEN = "1"
-
-COMPATIBLE_MACHINE = "k2g"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRCREV = "ab507546f0f3f217f4c782a20845856e14b38224"
-BRANCH ?= "ti-linux-firmware"
-
-SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-TARGET = "ti-sci-firmware-k2g.bin"
-
-do_install() {
- install -d ${D}/boot
- install -m 0644 ${S}/ti-keystone/${TARGET} ${D}/boot/${TARGET}
-}
-
-FILES_${PN} = "/boot"
-
-inherit deploy
-
-do_deploy () {
- install -d ${DEPLOYDIR}
- install -m 0644 ${S}/ti-keystone/${TARGET} ${DEPLOYDIR}/${TARGET}
-}
-
-addtask deploy before do_build after do_compile
diff --git a/recipes-bsp/traceframework/traceframework-rtos_git.bb b/recipes-bsp/traceframework/traceframework-rtos_git.bb
deleted file mode 100644
index 369b04b4..00000000
--- a/recipes-bsp/traceframework/traceframework-rtos_git.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-inherit ti-pdk
-
-require traceframework.inc
-
-PR = "${INC_PR}.2"
-
-XDCPATH_append = ";${UIA_INSTALL_DIR}/packages"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "Trace Framework"
diff --git a/recipes-bsp/traceframework/traceframework.inc b/recipes-bsp/traceframework/traceframework.inc
deleted file mode 100644
index 33b87d9c..00000000
--- a/recipes-bsp/traceframework/traceframework.inc
+++ /dev/null
@@ -1,27 +0,0 @@
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
-
-COMPATIBLE_MACHINE = "tci6614-evm|keystone"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-TRACEFRAMEWORK_GIT_URI = "git://git.ti.com/keystone-rtos/traceframework.git"
-TRACEFRAMEWORK_GIT_PROTOCOL = "git"
-TRACEFRAMEWORK_GIT_BRANCH = "master"
-TRACEFRAMEWORK_GIT_DESTSUFFIX = "git/ti/instrumentation/traceframework"
-
-# Below commit ID corresponds to "DEV.TFWK-01.01.01.09A"
-TRACEFRAMEWORK_SRCREV = "b7aa8d91901d1aabe2e56fabc3233ed66bf08819"
-
-BRANCH = "${TRACEFRAMEWORK_GIT_BRANCH}"
-SRC_URI = "${TRACEFRAMEWORK_GIT_URI};destsuffix=${TRACEFRAMEWORK_GIT_DESTSUFFIX};protocol=${TRACEFRAMEWORK_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${TRACEFRAMEWORK_SRCREV}"
-PV = "01.01.01.09A"
-INC_PR = "r0"
-
-DEVICELIST = "k2k k2h k2e k2l"
-DEVICELIST_k2hk = "k2k k2h"
-DEVICELIST_k2e = "k2e"
-DEVICELIST_k2l = "k2l"
-
-S = "${WORKDIR}/${TRACEFRAMEWORK_GIT_DESTSUFFIX}"
diff --git a/recipes-bsp/traceframework/traceframework_git.bb b/recipes-bsp/traceframework/traceframework_git.bb
deleted file mode 100644
index 2b2020b8..00000000
--- a/recipes-bsp/traceframework/traceframework_git.bb
+++ /dev/null
@@ -1,38 +0,0 @@
-DESCRIPTION = "TI Trace Framework library"
-
-DEPENDS = "cuia"
-
-include traceframework.inc
-
-PR = "${INC_PR}.0"
-
-BASEDIR = "${WORKDIR}/git"
-
-EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} \
- CUIA_INSTALL_DIR=${STAGING_INCDIR} CUIA_LIB_DIR=${STAGING_LIBDIR}"
-
-do_compile () {
-# making the library
- oe_runmake clean
- oe_runmake lib
-
-# make the test application
- for device in ${DEVICELIST}
- do
- oe_runmake tests DEVICE="$device" TFW_INC_DIR=${BASEDIR} TFW_SRC_DIR=${S} \
- TARGET_ROOT_DIR=${D}
- done
-}
-
-do_install() {
- for device in ${DEVICELIST}
- do
- oe_runmake install DEVICE="$device" TFW_SRC_DIR=${S} TARGET_ROOT_DIR=${D}
- done
- chown -R root:root ${D}
-}
-
-PACKAGES =+ "${PN}-test"
-
-FILES_${PN}-test = "${bindir}/tfw*.out \
- ${bindir}/*.txt"
diff --git a/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb b/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb
deleted file mode 100644
index f14161ff..00000000
--- a/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-SUMMARY = "RTOS driver for BMET Ethernet"
-
-inherit ti-pdk
-require transport.inc
-
-PR = "${INC_PR}.0"
-
-LIC_FILES_CHKSUM = "file://bmet_transport.h;beginline=12;endline=40;md5=6d209c698b273aef180b0c1d38469e8e"
-
-COMPATIBLE_MACHINE = "k2hk|k2e|k2l"
-
-DEPENDS_append = " qmss-lld-rtos \
- cppi-lld-rtos \
-"
-
-TI_PDK_COMP = "ti.transport.bmet_eth"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "Baremetal Ethernet Transport"
diff --git a/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb b/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb
deleted file mode 100644
index 7400adf8..00000000
--- a/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-SUMMARY = "RTOS driver for NIMU ICSS"
-
-inherit ti-pdk
-require transport.inc
-
-PR = "${INC_PR}.0"
-
-LIC_FILES_CHKSUM = "file://nimu_icssEth.h;beginline=1;endline=35;md5=3ea633a510be24d8a89d9d08b930994c"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|c66x|omapl1|k3"
-
-DEPENDS_append = " ti-ndk \
- pruss-lld-rtos \
- icss-emac-lld-rtos \
-"
-DEPENDS_append_c665x-evm = " emac-lld-rtos"
-DEPENDS_append_c667x-evm = " pa-lld-rtos"
-DEPENDS_append_omapl1 = " emac-lld-rtos"
-
-TI_PDK_COMP = "ti.transport.ndk.nimu_icss"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_NIMU_ICSS_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}"
-XDCPATH_append = ";${NDK_INSTALL_DIR}/packages"
diff --git a/recipes-bsp/transport-rtos/nimu-rtos_git.bb b/recipes-bsp/transport-rtos/nimu-rtos_git.bb
deleted file mode 100644
index 4389b1e8..00000000
--- a/recipes-bsp/transport-rtos/nimu-rtos_git.bb
+++ /dev/null
@@ -1,35 +0,0 @@
-SUMMARY = "RTOS driver for Network Interface Management Unit (NIMU)"
-
-inherit ti-pdk
-require transport.inc
-
-PR = "${INC_PR}.0"
-
-LIC_FILES_CHKSUM = "file://nimu_eth.h;beginline=1;endline=35;md5=ee9c662c39d4584fb2a8b66413d2866d"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1|k3"
-
-TI_PDK_COMP = "ti.transport.ndk.nimu"
-
-DEPENDS_append = " ti-ndk osal-rtos"
-DEPENDS_append_ti33x = " starterware-rtos emac-lld-rtos"
-DEPENDS_append_ti43x = " starterware-rtos emac-lld-rtos"
-DEPENDS_append_omap-a15 = " emac-lld-rtos"
-DEPENDS_append_keystone = " qmss-lld-rtos cppi-lld-rtos"
-DEPENDS_append_k2hk = " pa-lld-rtos"
-DEPENDS_append_k2e = " pa-lld-rtos"
-DEPENDS_append_k2l = " pa-lld-rtos"
-DEPENDS_append_k2g = " emac-lld-rtos"
-DEPENDS_append_c665x-evm = " emac-lld-rtos"
-DEPENDS_append_c667x-evm = " pa-lld-rtos cppi-lld-rtos"
-DEPENDS_append_omapl1 = " emac-lld-rtos"
-DEPENDS_append_k3 = " emac-lld-rtos pruss-lld-rtos"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_NIMU_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}"
-XDCPATH_append = ";${NDK_INSTALL_DIR}/packages"
diff --git a/recipes-bsp/transport-rtos/timesync-rtos_git.bb b/recipes-bsp/transport-rtos/timesync-rtos_git.bb
deleted file mode 100644
index 556c1288..00000000
--- a/recipes-bsp/transport-rtos/timesync-rtos_git.bb
+++ /dev/null
@@ -1,31 +0,0 @@
-SUMMARY = "RTOS driver for timesync driver"
-
-inherit ti-pdk
-require recipes-bsp/transport-rtos/transport.inc
-
-PR = "${INC_PR}.0"
-
-LIC_FILES_CHKSUM = "file://timeSync_ver.h;beginline=23;endline=45;md5=4bd873035e47065aaa811e53622992e9"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
-
-DEPENDS_append = " ti-ndk \
- osal-rtos \
- pruss-lld-rtos \
- icss-emac-lld-rtos \
- nimu-icss-rtos \
- edma3-lld-rtos \
-"
-
-TI_PDK_COMP = "ti.transport.timeSync"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_TIMESYNC_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}"
-export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
-
-XDCPATH_append = ";${NDK_INSTALL_DIR}/packages"
diff --git a/recipes-bsp/transport-rtos/transport.inc b/recipes-bsp/transport-rtos/transport.inc
deleted file mode 100644
index 866d7a34..00000000
--- a/recipes-bsp/transport-rtos/transport.inc
+++ /dev/null
@@ -1,11 +0,0 @@
-LICENSE = "BSD-3-Clause"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.transport"
-
-PE = "1"
-
-INC_PR = "r0"
diff --git a/recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb b/recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb
deleted file mode 100644
index bd8a6e37..00000000
--- a/recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-SUMMARY = "TI RTOS low level driver for Telecom Serial Interface Port (TSIP)"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.tsip"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://tsip.h;beginline=1;endline=32;md5=dab2257b0b8a3678c26915f6eb49b71e"
-
-COMPATIBLE_MACHINE = "k2e|c667x-evm"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r0"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "TSIP LLD"
diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2020.01.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2020.01.bb
deleted file mode 100644
index 6828df8d..00000000
--- a/recipes-bsp/u-boot/u-boot-ti-staging_2020.01.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require u-boot-ti.inc
-
-PR = "r6"
-
-BRANCH = "ti-u-boot-2020.01"
-
-SRCREV = "9addfeb8bf8de5c60c9b33a6f77a72639878cd26"
diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
deleted file mode 100644
index 8f88a1aa..00000000
--- a/recipes-bsp/u-boot/u-boot-ti.inc
+++ /dev/null
@@ -1,375 +0,0 @@
-# UBOOT_LOCALVERSION can be set to add a tag to the end of the
-# U-boot version string. such as the commit id
-def get_git_revision(p):
- import subprocess
-
- try:
- return subprocess.Popen("git rev-parse HEAD 2>/dev/null ", cwd=p, shell=True, stdout=subprocess.PIPE, universal_newlines=True).communicate()[0].rstrip()
- except OSError:
- return None
-
-UBOOT_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
-
-UBOOT_SUFFIX ?= "img"
-SPL_BINARY ?= "MLO"
-
-require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot-common.inc
-require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:"
-
-SUMMARY = "u-boot bootloader for TI devices"
-
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"
-
-BRANCH ?= "master"
-UBOOT_GIT_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git"
-UBOOT_GIT_PROTOCOL = "git"
-SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
-
-PV_append = "+git${SRCPV}"
-
-# u-boot needs devtree compiler to parse dts files
-DEPENDS += "dtc-native bc-native lzop-native flex-native bison-native"
-
-PACKAGECONFIG[atf] = "ATF=${STAGING_DIR_HOST}/boot/bl31.bin,,arm-trusted-firmware"
-PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}/boot/bl32.bin,,optee-os"
-
-# optee-os is not a direct dependency, do not enable optee by default
-PACKAGECONFIG_append_k3 = " atf"
-
-EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"
-
-PROVIDES += "u-boot"
-PKG_${PN} = "u-boot"
-PKG_${PN}-dev = "u-boot-dev"
-PKG_${PN}-dbg = "u-boot-dbg"
-
-S = "${WORKDIR}/git"
-
-# Support for secure devices - detailed info is in doc/README.ti-secure
-TI_SECURE_DEV_PKG ?= ""
-export TI_SECURE_DEV_PKG
-
-# SPL (Second Program Loader) to be loaded over UART
-SPL_UART_BINARY = "u-boot-spl.bin"
-SPL_UART_BINARY_keystone = ""
-SPL_UART_BINARY_k3 = ""
-SPL_UART_BINARY_lego-ev3 = ""
-
-SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}"
-SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
-
-# SPI NOR Flash binaries
-UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin"
-UBOOT_SPI_SPL_BINARY_k2e-hs-evm = ""
-UBOOT_SPI_SPL_BINARY_k2hk-hs-evm = ""
-UBOOT_SPI_SPL_BINARY_k2g-hs-evm = ""
-UBOOT_SPI_SPL_BINARY_k2l-hs-evm = ""
-UBOOT_SPI_BINARY = "u-boot.img"
-UBOOT_SPI_BINARY_k2e-hs-evm = ""
-UBOOT_SPI_BINARY_k2hk-hs-evm = ""
-UBOOT_SPI_BINARY_k2g-hs-evm = ""
-UBOOT_SPI_BINARY_k2l-hs-evm = ""
-UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph"
-UBOOT_SPI_GPH_BINARY_k2e-hs-evm = ""
-UBOOT_SPI_GPH_BINARY_k2hk-hs-evm = ""
-UBOOT_SPI_GPH_BINARY_k2g-hs-evm = ""
-UBOOT_SPI_GPH_BINARY_k2l-hs-evm = ""
-
-# SPI NOR Flash deployed images
-UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin"
-UBOOT_SPI_SPL_SYMLINK = "u-boot-spl-${MACHINE}.bin"
-UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
-UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img"
-UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph"
-UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph"
-
-# HS XLD
-UBOOT_HS_XLD_BINARY = "u-boot-spl_HS_X-LOADER"
-UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${PV}-${PR}"
-UBOOT_HS_XLD_SYMLINK = "u-boot-spl_HS_X-LOADER-${MACHINE}"
-
-# HS MLO
-UBOOT_HS_MLO_BINARY = "u-boot_HS_MLO"
-UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}"
-UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}"
-
-# HS ISSW
-UBOOT_HS_ISSW_BINARY = "u-boot-spl_HS_ISSW"
-UBOOT_HS_ISSW_IMAGE = "u-boot-spl_HS_ISSW-${MACHINE}-${PV}-${PR}"
-UBOOT_HS_ISSW_SYMLINK = "u-boot-spl_HS_ISSW-${MACHINE}"
-
-# HS 2ND
-UBOOT_HS_2ND_BINARY = "u-boot-spl_HS_2ND"
-UBOOT_HS_2ND_IMAGE = "u-boot-spl_HS_2ND-${MACHINE}-${PV}-${PR}"
-UBOOT_HS_2ND_SYMLINK = "u-boot-spl_HS_2ND-${MACHINE}"
-
-do_install_append () {
- if [ -n "${UBOOT_CONFIG}" ]
- then
- for config in ${UBOOT_MACHINE}; do
- i=$(expr $i + 1);
- for type in ${UBOOT_CONFIG}; do
- j=$(expr $j + 1);
- if [ $j -eq $i ]
- then
- if [ "x${SPL_UART_BINARY}" != "x" ]; then
- install ${B}/${config}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}-${type}
- ln -sf ${SPL_UART_IMAGE}-${type} ${D}/boot/${SPL_UART_BINARY}-${type}
- ln -sf ${SPL_UART_IMAGE}-${type} ${D}/boot/${SPL_UART_BINARY}
- fi
- if [ -f ${B}/${config}/${UBOOT_HS_XLD_BINARY} ]; then
- install ${B}/${config}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}-${type}
- ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${D}/boot/${UBOOT_HS_XLD_BINARY}-${type}
- ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${D}/boot/${UBOOT_HS_XLD_BINARY}
- fi
- if [ -f ${B}/${config}/${UBOOT_HS_MLO_BINARY} ]; then
- install ${B}/${config}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}-${type}
- ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${D}/boot/${UBOOT_HS_MLO_BINARY}-${type}
- ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${D}/boot/${UBOOT_HS_MLO_BINARY}
- fi
- if [ -f ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ]; then
- install ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ${D}/boot/${UBOOT_HS_ISSW_IMAGE}-${type}
- ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${D}/boot/${UBOOT_HS_ISSW_BINARY}-${type}
- ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${D}/boot/${UBOOT_HS_ISSW_BINARY}
- fi
- if [ -f ${B}/${config}/${UBOOT_HS_2ND_BINARY} ]; then
- install ${B}/${config}/${UBOOT_HS_2ND_BINARY} ${D}/boot/${UBOOT_HS_2ND_IMAGE}-${type}
- ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${D}/boot/${UBOOT_HS_2ND_BINARY}-${type}
- ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${D}/boot/${UBOOT_HS_2ND_BINARY}
- fi
- fi
- done
- unset j
- done
- unset i
- else
- if [ "x${SPL_UART_BINARY}" != "x" ]; then
- install ${B}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
- ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_BINARY}
- fi
- if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
- install ${B}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}
- ln -sf ${UBOOT_HS_XLD_IMAGE} ${D}/boot/${UBOOT_HS_XLD_BINARY}
- fi
- if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
- install ${B}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}
- ln -sf ${UBOOT_HS_MLO_IMAGE} ${D}/boot/${UBOOT_HS_MLO_BINARY}
- fi
- if [ -f ${B}/${UBOOT_HS_ISSW_BINARY} ]; then
- install ${B}/${UBOOT_HS_ISSW_BINARY} ${D}/boot/${UBOOT_HS_ISSW_IMAGE}
- ln -sf ${UBOOT_HS_ISSW_IMAGE} ${D}/boot/${UBOOT_HS_ISSW_BINARY}
- fi
- if [ -f ${B}/${UBOOT_HS_2ND_BINARY} ]; then
- install ${B}/${UBOOT_HS_2ND_BINARY} ${D}/boot/${UBOOT_HS_2ND_IMAGE}
- ln -sf ${UBOOT_HS_2ND_IMAGE} ${D}/boot/${UBOOT_HS_2ND_BINARY}
- fi
- fi
-}
-
-do_deploy_append () {
- if [ -n "${UBOOT_CONFIG}" ]
- then
- for config in ${UBOOT_MACHINE}; do
- i=$(expr $i + 1);
- for type in ${UBOOT_CONFIG}; do
- j=$(expr $j + 1);
- if [ $j -eq $i ]
- then
- cd ${DEPLOYDIR}
- if [ "x${SPL_UART_BINARY}" != "x" ]; then
- install ${B}/${config}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}-${type}
- rm -f ${DEPLOYDIR}/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
- ln -sf ${SPL_UART_IMAGE}-${type} ${DEPLOYDIR}/${SPL_UART_BINARY}-${type}
- ln -sf ${SPL_UART_IMAGE}-${type} ${DEPLOYDIR}/${SPL_UART_BINARY}
- ln -sf ${SPL_UART_IMAGE}-${type} ${DEPLOYDIR}/${SPL_UART_SYMLINK}-${type}
- ln -sf ${SPL_UART_IMAGE}-${type} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
- fi
- if [ -f ${B}/${config}/${UBOOT_HS_XLD_BINARY} ]; then
- install ${B}/${config}/${UBOOT_HS_XLD_BINARY} ${DEPLOYDIR}/${UBOOT_HS_XLD_IMAGE}-${type}
- rm -f ${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_SYMLINK}
- ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_SYMLINK}-${type}
- ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_SYMLINK}
- ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_BINARY}-${type}
- ln -sf ${UBOOT_HS_XLD_IMAGE}-${type} ${UBOOT_HS_XLD_BINARY}
- fi
- if [ -f ${B}/${config}/${UBOOT_HS_MLO_BINARY} ]; then
- install ${B}/${config}/${UBOOT_HS_MLO_BINARY} ${DEPLOYDIR}/${UBOOT_HS_MLO_IMAGE}-${type}
- rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
- ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_SYMLINK}-${type}
- ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_SYMLINK}
- ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_BINARY}-${type}
- ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_BINARY}
- fi
- if [ -f ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ]; then
- install ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ${DEPLOYDIR}/${UBOOT_HS_ISSW_IMAGE}-${type}
- rm -f ${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_SYMLINK}
- ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_SYMLINK}-${type}
- ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_SYMLINK}
- ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_BINARY}-${type}
- ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_BINARY}
- fi
- if [ -f ${B}/${config}/${UBOOT_HS_2ND_BINARY} ]; then
- install ${B}/${config}/${UBOOT_HS_2ND_BINARY} ${DEPLOYDIR}/${UBOOT_HS_2ND_IMAGE}-${type}
- rm -f ${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_SYMLINK}
- ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_SYMLINK}-${type}
- ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_SYMLINK}
- ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_BINARY}-${type}
- ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${UBOOT_HS_2ND_BINARY}
- fi
- fi
- done
- unset j
- done
- unset i
- else
- cd ${DEPLOYDIR}
- if [ "x${SPL_UART_BINARY}" != "x" ]; then
- install ${B}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
- rm -f ${DEPLOYDIR}/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
- ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_BINARY}
- ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
- fi
- if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
- install ${B}/${UBOOT_HS_XLD_BINARY} ${DEPLOYDIR}/${UBOOT_HS_XLD_IMAGE}
- rm -f ${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_SYMLINK}
- ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_SYMLINK}
- ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_BINARY}
- fi
- if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
- install ${B}/${UBOOT_HS_MLO_BINARY} ${DEPLOYDIR}/${UBOOT_HS_MLO_IMAGE}
- rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
- ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_SYMLINK}
- ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_BINARY}
- fi
- if [ -f ${B}/${UBOOT_HS_ISSW_BINARY} ]; then
- install ${B}/${UBOOT_HS_ISSW_BINARY} ${DEPLOYDIR}/${UBOOT_HS_ISSW_IMAGE}
- rm -f ${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_SYMLINK}
- ln -sf ${UBOOT_HS_ISSW_IMAGE} ${UBOOT_HS_ISSW_SYMLINK}
- ln -sf ${UBOOT_HS_ISSW_IMAGE} ${UBOOT_HS_ISSW_BINARY}
- fi
- if [ -f ${B}/${UBOOT_HS_2ND_BINARY} ]; then
- install ${B}/${UBOOT_HS_2ND_BINARY} ${DEPLOYDIR}/${UBOOT_HS_2ND_IMAGE}
- rm -f ${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_SYMLINK}
- ln -sf ${UBOOT_HS_2ND_IMAGE} ${UBOOT_HS_2ND_SYMLINK}
- ln -sf ${UBOOT_HS_2ND_IMAGE} ${UBOOT_HS_2ND_BINARY}
- fi
- fi
-}
-
-do_install_append_keystone () {
- if [ -n "${UBOOT_CONFIG}" ]
- then
- for config in ${UBOOT_MACHINE}; do
- i=$(expr $i + 1);
- for type in ${UBOOT_CONFIG}; do
- j=$(expr $j + 1);
- if [ $j -eq $i ]
- then
- if [ "x${UBOOT_SPI_SPL_BINARY}" != "x" ]; then
- install ${B}/${config}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE}-${type}
- ln -sf ${UBOOT_SPI_SPL_IMAGE}-${type} ${D}/boot/${UBOOT_SPI_SPL_BINARY}-${type}
- ln -sf ${UBOOT_SPI_SPL_IMAGE}-${type} ${D}/boot/${UBOOT_SPI_SPL_BINARY}
- fi
-
- if [ "x${UBOOT_SPI_BINARY}" != "x" ]; then
- install ${B}/${config}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}-${type}
- ln -sf ${UBOOT_SPI_IMAGE}-${type} ${D}/boot/${UBOOT_SPI_BINARY}-${type}
- ln -sf ${UBOOT_SPI_IMAGE}-${type} ${D}/boot/${UBOOT_SPI_BINARY}
- fi
-
- if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then
- install ${B}/${config}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}-${type}
- ln -sf ${UBOOT_SPI_GPH_IMAGE}-${type} ${D}/boot/${UBOOT_SPI_GPH_BINARY}-${type}
- ln -sf ${UBOOT_SPI_GPH_IMAGE}-${type} ${D}/boot/${UBOOT_SPI_GPH_BINARY}
- fi
- fi
- done
- unset j
- done
- unset i
- else
- if [ "x${UBOOT_SPI_SPL_BINARY}" != "x" ]; then
- install ${B}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE}
- ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY}
- fi
-
- if [ "x${UBOOT_SPI_BINARY}" != "x" ]; then
- install ${B}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}
- ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY}
- fi
-
- if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then
- install ${B}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}
- ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY}
- fi
- fi
-}
-
-do_deploy_append_keystone () {
- if [ -n "${UBOOT_CONFIG}" ]
- then
- for config in ${UBOOT_MACHINE}; do
- i=$(expr $i + 1);
- for type in ${UBOOT_CONFIG}; do
- j=$(expr $j + 1);
- if [ $j -eq $i ]
- then
- if [ "x${UBOOT_SPI_SPL_BINARY}" != "x" ]; then
- install ${B}/${config}/spl/${UBOOT_SPI_SPL_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_SPL_IMAGE}-${type}
- rm -f ${UBOOT_SPI_SPL_BINARY} ${UBOOT_SPI_SPL_SYMLINK}
- ln -sf ${UBOOT_SPI_SPL_IMAGE}-${type} ${UBOOT_SPI_SPL_SYMLINK}-${type}
- ln -sf ${UBOOT_SPI_SPL_IMAGE}-${type} ${UBOOT_SPI_SPL_SYMLINK}
- ln -sf ${UBOOT_SPI_SPL_IMAGE}-${type} ${UBOOT_SPI_SPL_BINARY}-${type}
- ln -sf ${UBOOT_SPI_SPL_IMAGE}-${type} ${UBOOT_SPI_SPL_BINARY}
- fi
-
- if [ "x${UBOOT_SPI_BINARY}" != "x" ]; then
- install ${B}/${config}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE}-${type}
- rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK}
- ln -sf ${UBOOT_SPI_IMAGE}-${type} ${UBOOT_SPI_SYMLINK}-${type}
- ln -sf ${UBOOT_SPI_IMAGE}-${type} ${UBOOT_SPI_SYMLINK}
- ln -sf ${UBOOT_SPI_IMAGE}-${type} ${UBOOT_SPI_BINARY}-${type}
- ln -sf ${UBOOT_SPI_IMAGE}-${type} ${UBOOT_SPI_BINARY}
- fi
-
- if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then
- install ${B}/${config}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE}-${type}
- rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK}
- ln -sf ${UBOOT_SPI_GPH_IMAGE}-${type} ${UBOOT_SPI_GPH_SYMLINK}-${type}
- ln -sf ${UBOOT_SPI_GPH_IMAGE}-${type} ${UBOOT_SPI_GPH_SYMLINK}
- ln -sf ${UBOOT_SPI_GPH_IMAGE}-${type} ${UBOOT_SPI_GPH_BINARY}-${type}
- ln -sf ${UBOOT_SPI_GPH_IMAGE}-${type} ${UBOOT_SPI_GPH_BINARY}
- fi
- fi
- done
- unset j
- done
- unset i
- else
- if [ "x${UBOOT_SPI_SPL_BINARY}" != "x" ]; then
- install ${B}/spl/${UBOOT_SPI_SPL_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_SPL_IMAGE}
- rm -f ${UBOOT_SPI_SPL_BINARY} ${UBOOT_SPI_SPL_SYMLINK}
- ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_SYMLINK}
- ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY}
- fi
-
- if [ "x${UBOOT_SPI_BINARY}" != "x" ]; then
- install ${B}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE}
- rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK}
- ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK}
- ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY}
- fi
-
- if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then
- install ${B}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE}
- rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK}
- ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK}
- ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY}
- fi
- fi
-}
-
-TOOLCHAIN = "gcc"
diff --git a/recipes-bsp/uart-lld/uart-lld-rtos_git.bb b/recipes-bsp/uart-lld/uart-lld-rtos_git.bb
deleted file mode 100644
index f293fdda..00000000
--- a/recipes-bsp/uart-lld/uart-lld-rtos_git.bb
+++ /dev/null
@@ -1,41 +0,0 @@
-SUMMARY = "TI RTOS low level driver for UART"
-DESCRIPTION = "TI RTOS low level driver for Universal Asynchronous Receiver/Transmitter (UART) module "
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.uart"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=1;endline=31;md5=94b6a199da1caf777f6756cb70aca4a7"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r0"
-
-DEPENDS_append = " edma3-lld-rtos \
- osal-rtos \
-"
-DEPENDS_append_ti33x = " starterware-rtos \
- pruss-lld-rtos \
-"
-DEPENDS_append_ti43x = " starterware-rtos"
-
-DEPENDS_remove_k3 = "edma3-lld-rtos "
-DEPENDS_append_k3 = " udma-lld-rtos "
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_UART_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
-XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "UART LLD"
-
-INSANE_SKIP_${PN} = "arch"
diff --git a/recipes-bsp/udma-lld/udma-lld-rtos_git.bb b/recipes-bsp/udma-lld/udma-lld-rtos_git.bb
deleted file mode 100644
index a82eb362..00000000
--- a/recipes-bsp/udma-lld/udma-lld-rtos_git.bb
+++ /dev/null
@@ -1,65 +0,0 @@
-SUMMARY = "TI RTOS low level driver for UDMA"
-DESCRIPTION = "TI RTOS low level driver for Universal DMA module "
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.udma"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://udma.h;beginline=1;endline=31;md5=83d177cf3df55c16b27ae4102b6ade9a"
-
-COMPATIBLE_MACHINE = "k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r1"
-
-DEPENDS_append = " osal-rtos \
- sciclient-rtos \
-"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-UDMA_PACKAGE_BASE = "${WORKDIR}/udma_base"
-UDMA_LLD_ROOTPATH = "${UDMA_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/udma"
-
-export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
-export PDK_UDMA_ROOT_PATH = "${UDMA_PACKAGE_BASE}/package/all/pdk_/packages"
-
-TI_PDK_LIMIT_BOARDS_am65xx = "am65xx_evm"
-
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "UDMA LLD"
-
-do_configure() {
- # remove any previous package
- rm -rf ${UDMA_PACKAGE_BASE}
-
- cd ${S}
-
- # make the release package before building it
- make package BOARD="${TI_PDK_LIMIT_BOARDS}" DEST_ROOT=${UDMA_PACKAGE_BASE} PDK_UDMA_COMP_PATH=${S}
-}
-
-do_compile() {
- cd ${UDMA_LLD_ROOTPATH}
-
- # Build am65xx libraries
- make clean lib xdc_meta doxygen LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" LIMIT_CORES="${TI_PDK_LIMIT_CORES}"
-
- #archive
- tar -cf udma_lld.tar --exclude='*.tar' ./*
-}
-
-do_install() {
- cd ${UDMA_LLD_ROOTPATH}
- install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/udma
- find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/udma \;
-}
-
-FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
-
-INSANE_SKIP_${PN} = "arch ldflags"
diff --git a/recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb b/recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb
deleted file mode 100644
index 3a4fb1bf..00000000
--- a/recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb
+++ /dev/null
@@ -1,45 +0,0 @@
-DESCRIPTION = "Test code for user space IO (UIO) driver"
-
-include uio-module-drv.inc
-
-PR = "r1"
-
-COMPATIBLE_MACHINE = "keystone|omap-a15|ti33x|ti43x"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEVICE_NAME_omap-a15 = "am57xx"
-DEVICE_NAME_ti33x = "am33xx"
-DEVICE_NAME_ti43x = "am43xx"
-DEVICE_NAME_keystone = "keystone"
-DEVICE_NAME_k2g = "k2g"
-RDEPENDS_${PN} = "uio-module-drv"
-
-do_compile() {
- oe_runmake -C ${S} test "DEVICE=${DEVICE_NAME}"
-}
-
-do_install() {
- install -d ${D}${bindir}/
- install -c -m 755 ${S}/test/uio_mem_test ${D}${bindir}/.
- install -c -m 755 ${S}/test/uio_int_test ${D}${bindir}/.
-}
-
-do_install_append_keystone () {
- install -c -m 755 ${S}/test/uio_cic2_int_multithread_test ${D}${bindir}/.
-}
-
-do_install_append_k2g () {
- install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/.
-}
-
-do_install_append_omap-a15 () {
- install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/.
-}
-
-do_install_append_ti33x () {
- install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/.
-}
-
-do_install_append_ti43x () {
- install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/.
-}
diff --git a/recipes-bsp/uio-module-drv/uio-module-drv.inc b/recipes-bsp/uio-module-drv/uio-module-drv.inc
deleted file mode 100644
index f483010e..00000000
--- a/recipes-bsp/uio-module-drv/uio-module-drv.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2b7c96eb2aed7b0f6f922214dbde9016"
-
-BRANCH = "master"
-# This corresponds to version 02.02.01.00
-UIO_MODULE_DRV_SRCREV = "bda9260f2220840a60ec0fbc8011cbadf3cf1b91"
-
-PV = "2.2.1.0+git${SRCPV}"
-
-UIO_MODULE_DRV_GIT_URI = "git://git.ti.com/keystone-linux/uio-module-drv.git"
-UIO_MODULE_DRV_GIT_PROTOCOL = "git"
-SRC_URI = "${UIO_MODULE_DRV_GIT_URI};protocol=${UIO_MODULE_DRV_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${UIO_MODULE_DRV_SRCREV}"
-
-S = "${WORKDIR}/git"
-
-COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-bsp/uio-module-drv/uio-module-drv_git.bb b/recipes-bsp/uio-module-drv/uio-module-drv_git.bb
deleted file mode 100644
index 6ac91875..00000000
--- a/recipes-bsp/uio-module-drv/uio-module-drv_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-DESCRIPTION = "User space IO (UIO) driver for on-chip modules"
-
-include uio-module-drv.inc
-
-# This package builds a kernel module, use kernel PR as base and append a local
-MACHINE_KERNEL_PR_append = "d"
-PR = "${MACHINE_KERNEL_PR}"
-
-module_auto_load_uio-module-drv = "uio-module-drv"
-
-inherit module
-
-do_install_append () {
- install -d ${D}${includedir}
- cp *.h ${D}${includedir}
-}
-
-KERNEL_MODULE_AUTOLOAD += "uio_module_drv"
diff --git a/recipes-bsp/usb-lld/usb-lld-rtos_git.bb b/recipes-bsp/usb-lld/usb-lld-rtos_git.bb
deleted file mode 100644
index 7aa0d1b9..00000000
--- a/recipes-bsp/usb-lld/usb-lld-rtos_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-SUMMARY = "TI RTOS USB low level driver"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.drv.usb"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://USBver.h;beginline=16;endline=46;md5=5394fa32763383d2c8e2aca5a1c67805"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR = "r0"
-
-DEPENDS_append = " osal-rtos"
-DEPENDS_append_ti33x = " starterware-rtos"
-DEPENDS_append_ti43x = " starterware-rtos"
-DEPENDS_append_k3 = " sciclient-rtos"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_USB_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "USB LLD"
diff --git a/recipes-bsp/utils-rtos/profiling-rtos_git.bb b/recipes-bsp/utils-rtos/profiling-rtos_git.bb
deleted file mode 100644
index 9846804d..00000000
--- a/recipes-bsp/utils-rtos/profiling-rtos_git.bb
+++ /dev/null
@@ -1,26 +0,0 @@
-SUMMARY = "TI RTOS profiling utilities"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.utils.profiling"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://profilingver.h;beginline=1;endline=46;md5=974494ad60f33cfc0340e421c5a5a7a0"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-
-PR = "r0"
-
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_PROFILING_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "Profiling Utility Library"
diff --git a/recipes-bsp/utils-rtos/trace-rtos_git.bb b/recipes-bsp/utils-rtos/trace-rtos_git.bb
deleted file mode 100644
index 249ffc79..00000000
--- a/recipes-bsp/utils-rtos/trace-rtos_git.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-SUMMARY = "TI RTOS Trace utility"
-
-DESCRIPTION = "This utility allows for tracing support in PDK drivers"
-
-inherit ti-pdk ti-pdk-fetch
-
-TI_PDK_COMP = "ti.utils.trace"
-
-PE = "1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://tracever.h;beginline=19;endline=47;md5=983f531ecfc9fc8c4bc3af9333ab6696"
-
-COMPATIBLE_MACHINE = "k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-
-PR = "r0"
-
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-export PDK_TRACE_ROOT_PATH ="${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "Trace Utility"
diff --git a/recipes-bsp/vps-lld/vps-lld-rtos_git.bb b/recipes-bsp/vps-lld/vps-lld-rtos_git.bb
deleted file mode 100644
index e2834a63..00000000
--- a/recipes-bsp/vps-lld/vps-lld-rtos_git.bb
+++ /dev/null
@@ -1,56 +0,0 @@
-SUMMARY = "TI RTOS Low level driver for Video Processing Subsystem (VPS) "
-
-inherit ti-pdk
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=1;endline=32;md5=4303d306ea53eb66132983d6901c137d"
-
-COMPATIBLE_MACHINE = "omap-a15"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-VPS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/vps.git"
-VPS_LLD_GIT_PROTOCOL = "git"
-VPS_LLD_GIT_BRANCH = "master"
-VPS_LLD_GIT_DESTSUFFIX = "git/ti/drv/vps"
-
-# Below commit ID corresponds to "DEV.VPS_LLD.01.00.01.13A"
-VPS_LLD_SRCREV = "f6d7c1f9cee42da1368e6414b4feeb84227d620e"
-
-BRANCH = "${VPS_LLD_GIT_BRANCH}"
-SRC_URI = "${VPS_LLD_GIT_URI};destsuffix=${VPS_LLD_GIT_DESTSUFFIX};protocol=${VPS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${VPS_LLD_SRCREV}"
-PV = "01.00.01.13A"
-PR = "r0"
-
-S = "${WORKDIR}/${VPS_LLD_GIT_DESTSUFFIX}"
-
-# Add to DEPENDS set in ti-pdk.bbclass
-DEPENDS_append = " \
- ti-sysbios \
- osal-rtos \
- edma3-lld-rtos \
- board-rtos \
- uart-lld-rtos \
- i2c-lld-rtos \
- pm-lld-rtos \
-"
-export PDK_VPS_COMP_PATH = "${WORKDIR}/build"
-export DEST_ROOT="${S}"
-
-# Build with make instead of XDC
-TI_PDK_XDCMAKE = "0"
-
-# The makefile will push these on the XDCPATH
-export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
-
-do_compile_append() {
- # Delete archive created by XDC release command since it does not contain all content
- find -name "*.tar" -exec rm -f {} \;
-
- # Archive from build/ to capture ti/drv/pm/ in archive
- cd ${B}
- tar -cf pm_lld.tar --exclude='*.tar' ./*
-}
-
-INSANE_SKIP_${PN} = "arch ldflags"
diff --git a/recipes-bsp/wdtimer/wdtimer-rtos_git.bb b/recipes-bsp/wdtimer/wdtimer-rtos_git.bb
deleted file mode 100644
index 59ebf31f..00000000
--- a/recipes-bsp/wdtimer/wdtimer-rtos_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-SUMMARY = "Watchdog Timer (wdtimer) test example"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://WatchdogTimer.xdc;beginline=1;endline=31;md5=837fb1761f89c7671e79bd5992bcf9e4"
-
-inherit ti-pdk
-
-COMPATIBLE_MACHINE = "k2hk|k2e|k2l"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-WATCHDOG_TIMER_GIT_URI = "git://git.ti.com/keystone-rtos/wdtimer.git"
-WATCHDOG_TIMER_GIT_PROTOCOL = "git"
-WATCHDOG_TIMER_GIT_BRANCH = "master"
-WATCHDOG_TIMER_GIT_DESTSUFFIX = "git/ti/instrumentation/wdtimer"
-
-# Below commit ID corresponds to "DEV.WDTIMER.01.00.00.04A"
-WATCHDOG_TIMER_SRCREV = "5c382014ed02fdf054beb1dd0263758eb17c34e2"
-
-BRANCH = "${WATCHDOG_TIMER_GIT_BRANCH}"
-SRC_URI = "${WATCHDOG_TIMER_GIT_URI};destsuffix=${WATCHDOG_TIMER_GIT_DESTSUFFIX};protocol=${WATCHDOG_TIMER_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${WATCHDOG_TIMER_SRCREV}"
-PV = "01.00.00.04A"
-PR = "r0"
-
-S = "${WORKDIR}/git/ti/instrumentation/wdtimer"
-
-# HTML doc link params
-PDK_COMP_LINK_TEXT = "Watchdog Timer"
diff --git a/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb b/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb
deleted file mode 100644
index a52ec898..00000000
--- a/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb
+++ /dev/null
@@ -1,26 +0,0 @@
-DESCRIPTION = "Firmware files for use with TI wl18xx"
-LICENSE = "TI-TSPA"
-LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e"
-
-SRC_URI = " \
- git://git.ti.com/wilink8-wlan/wl18xx_fw.git;protocol=git;branch=${BRANCH} \
- file://0001-Add-Makefile-to-install-firmware-files.patch \
-"
-
-# Tag: R8.7-SP3 (8.7.3)
-SRCREV = "f659be25473e4bde8dc790bff703ecacde6e21da"
-BRANCH = "master"
-
-S = "${WORKDIR}/git"
-
-CLEANBROKEN = "1"
-
-do_compile() {
- :
-}
-
-do_install() {
- oe_runmake 'DEST_DIR=${D}' install
-}
-
-FILES_${PN} = "/lib/firmware/ti-connectivity/*"
diff --git a/recipes-bsp/x-load/signgp.bb b/recipes-bsp/x-load/signgp.bb
deleted file mode 100644
index 479e6f81..00000000
--- a/recipes-bsp/x-load/signgp.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-LICENSE = "BSD-3-Clause"
-DESCRIPTION = "Tool to sign omap3 x-loader images"
-LIC_FILES_CHKSUM = "file://signGP.c;md5=960f484fea13941ca88821366f9dade0"
-
-SRC_URI = "file://signGP.c"
-
-do_compile() {
- ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/signGP.c -o signGP
-}
-
-do_install() {
- install -d ${D}${bindir}
- install -m 0755 signGP ${D}${bindir}
-}
-
-S = "${WORKDIR}"
-
-NATIVE_INSTALL_WORKS = "1"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-bsp/x-load/signgp/signGP.c b/recipes-bsp/x-load/signgp/signGP.c
deleted file mode 100644
index 93250640..00000000
--- a/recipes-bsp/x-load/signgp/signGP.c
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
- *
- *
- * 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 Texas Instruments Incorporated 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 COPYRIGHT
- * OWNER 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.
- *
-*/
-
-
-//
-// signGP.c
-// Read the x-load.bin file and write out the x-load.bin.ift file.
-// The signed image is the original pre-pended with the size of the image
-// and the load address. If not entered on command line, file name is
-// assumed to be x-load.bin in current directory and load address is
-// 0x40200800.
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <fcntl.h>
-#include <sys/stat.h>
-#include <string.h>
-#include <malloc.h>
-
-
-main(int argc, char *argv[])
-{
- int i;
- char ifname[FILENAME_MAX], ofname[FILENAME_MAX], ch;
- FILE *ifile, *ofile;
- unsigned long loadaddr, len;
- struct stat sinfo;
-
-
- // Default to x-load.bin and 0x40200800.
- strcpy(ifname, "x-load.bin");
- loadaddr = 0x40200800;
-
- if ((argc == 2) || (argc == 3))
- strcpy(ifname, argv[1]);
-
- if (argc == 3)
- loadaddr = strtol(argv[2], NULL, 16);
-
- // Form the output file name.
- strcpy(ofname, ifname);
- strcat(ofname, ".ift");
-
- // Open the input file.
- ifile = fopen(ifname, "rb");
- if (ifile == NULL) {
- printf("Cannot open %s\n", ifname);
- exit(0);
- }
-
- // Get file length.
- stat(ifname, &sinfo);
- len = sinfo.st_size;
-
- // Open the output file and write it.
- ofile = fopen(ofname, "wb");
- if (ofile == NULL) {
- printf("Cannot open %s\n", ofname);
- fclose(ifile);
- exit(0);
- }
-
- // Pad 1 sector of zeroes.
- //ch = 0x00;
- //for (i=0; i<0x200; i++)
- // fwrite(&ch, 1, 1, ofile);
-
- fwrite(&len, 1, 4, ofile);
- fwrite(&loadaddr, 1, 4, ofile);
- for (i=0; i<len; i++) {
- fread(&ch, 1, 1, ifile);
- fwrite(&ch, 1, 1, ofile);
- }
-
- fclose(ifile);
- fclose(ofile);
-}
diff --git a/recipes-bsp/x-load/x-load.inc b/recipes-bsp/x-load/x-load.inc
deleted file mode 100644
index 7a9638b0..00000000
--- a/recipes-bsp/x-load/x-load.inc
+++ /dev/null
@@ -1,58 +0,0 @@
-DESCRIPTION = "x-load bootloader loader"
-SECTION = "bootloaders"
-LICENSE = "GPLv2+"
-
-LIC_FILES_CHKSUM = "file://common/cmd_load.c;beginline=4;endline=22;md5=14420d7cc8dfb427d17ad407ddf8dc89"
-
-PARALLEL_MAKE = ""
-
-EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CONFIG_HEADER=${CONFIG_HEADER}"
-
-XLOAD_MACHINE ?= "${MACHINE}_config"
-
-XLOAD_IMAGE ?= "x-load-${MACHINE}-${PV}-${PR}.bin.ift"
-XLOAD_SYMLINK ?= "x-load-${MACHINE}.bin.ift"
-XLOAD_USB_IMAGE ?= "x-load-usb-${MACHINE}-${PV}-${PR}.bin"
-XLOAD_USB_SYMLINK ?= "x-load-usb-${MACHINE}.bin"
-MLO_IMAGE ?= "MLO-${MACHINE}-${PV}-${PR}"
-MLO_SYMLINK ?= "MLO-${MACHINE}"
-MLO_SYMLINK_NOMACHINE ?= "MLO"
-XLOAD_LOAD_ADDRESS ?= "0x40200800"
-
-do_compile () {
- unset LDFLAGS
- unset CFLAGS
- unset CPPFLAGS
- oe_runmake distclean
- oe_runmake ${XLOAD_MACHINE}
- oe_runmake ift
-}
-
-do_install () {
- install -d ${D}/boot
- install ${S}/x-load.bin.ift ${D}/boot/${MLO_IMAGE}
- ln -sf ${MLO_IMAGE} ${D}/boot/${MLO_SYMLINK_NOMACHINE}
-}
-
-FILES_${PN} = "/boot"
-
-inherit deploy
-
-addtask deploy before do_package after do_install
-
-do_deploy () {
- install -d ${DEPLOY_DIR_IMAGE}
- install ${S}/x-load.bin.ift ${DEPLOY_DIR_IMAGE}/${XLOAD_IMAGE}
- install ${S}/x-load.bin ${DEPLOY_DIR_IMAGE}/${XLOAD_USB_IMAGE}
- install ${S}/x-load.bin.ift ${DEPLOY_DIR_IMAGE}/${MLO_IMAGE}
-
- cd ${DEPLOY_DIR_IMAGE}
- rm -f ${XLOAD_SYMLINK}
- ln -sf ${XLOAD_IMAGE} ${XLOAD_SYMLINK}
- rm -f ${XLOAD_USB_SYMLINK}
- ln -sf ${XLOAD_USB_IMAGE} ${XLOAD_USB_SYMLINK}
- rm -f ${MLO_SYMLINK}
- ln -sf ${MLO_IMAGE} ${MLO_SYMLINK}
- rm -f ${MLO_SYMLINK_NOMACHINE}
- ln -sf ${MLO_IMAGE} ${MLO_SYMLINK_NOMACHINE}
-}
diff --git a/recipes-bsp/x-load/x-load/0001-Beagle-Rev-C5-support.patch b/recipes-bsp/x-load/x-load/0001-Beagle-Rev-C5-support.patch
deleted file mode 100644
index 1c67bd35..00000000
--- a/recipes-bsp/x-load/x-load/0001-Beagle-Rev-C5-support.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 992eb6ff881792f5c753ef6c85be0ceb2d162c78 Mon Sep 17 00:00:00 2001
-From: Joel Fernandes <agnel.joel@gmail.com>
-Date: Tue, 7 Jun 2011 09:50:03 +0200
-Subject: [PATCH] Beagle Rev C5 support
-
----
- board/omap3530beagle/omap3530beagle.c | 16 ++++++++++++++++
- 1 files changed, 16 insertions(+), 0 deletions(-)
-
-diff --git a/board/omap3530beagle/omap3530beagle.c b/board/omap3530beagle/omap3530beagle.c
-index 15943f5..2b8c3c0 100644
---- a/board/omap3530beagle/omap3530beagle.c
-+++ b/board/omap3530beagle/omap3530beagle.c
-@@ -281,6 +281,7 @@ u32 wait_on_value(u32 read_bit_mask, u32 match_value, u32 read_addr, u32 bound)
-
- #define MICRON_DDR 0
- #define NUMONYX_MCP 1
-+#define MICRON_MCP 2
- int identify_xm_ddr()
- {
- int mfr, id;
-@@ -303,6 +304,8 @@ int identify_xm_ddr()
- return MICRON_DDR;
- if ((mfr == 0x20) && (id == 0xba))
- return NUMONYX_MCP;
-+ if ((mfr == 0x2c) && (id == 0xbc))
-+ return MICRON_MCP;
- }
- /*********************************************************************
- * config_3430sdram_ddr() - Init DDR on 3430SDP dev board.
-@@ -329,6 +332,17 @@ void config_3430sdram_ddr(void)
- __raw_writel(NUMONYX_V_ACTIMB_165, SDRC_ACTIM_CTRLB_1);
- __raw_writel(SDP_3430_SDRC_RFR_CTRL_165MHz, SDRC_RFR_CTRL_0);
- __raw_writel(SDP_3430_SDRC_RFR_CTRL_165MHz, SDRC_RFR_CTRL_1);
-+ } else if (identify_xm_ddr() == MICRON_MCP) {
-+ /* Beagleboard Rev C5 */
-+ __raw_writel(0x2, SDRC_CS_CFG); /* 256MB/bank */
-+ __raw_writel(SDP_SDRC_MDCFG_0_DDR_MICRON_XM, SDRC_MCFG_0);
-+ __raw_writel(SDP_SDRC_MDCFG_0_DDR_MICRON_XM, SDRC_MCFG_1);
-+ __raw_writel(MICRON_V_ACTIMA_200, SDRC_ACTIM_CTRLA_0);
-+ __raw_writel(MICRON_V_ACTIMB_200, SDRC_ACTIM_CTRLB_0);
-+ __raw_writel(MICRON_V_ACTIMA_200, SDRC_ACTIM_CTRLA_1);
-+ __raw_writel(MICRON_V_ACTIMB_200, SDRC_ACTIM_CTRLB_1);
-+ __raw_writel(SDP_3430_SDRC_RFR_CTRL_200MHz, SDRC_RFR_CTRL_0);
-+ __raw_writel(SDP_3430_SDRC_RFR_CTRL_200MHz, SDRC_RFR_CTRL_1);
- } else {
- __raw_writel(0x1, SDRC_CS_CFG); /* 128MB/bank */
- __raw_writel(SDP_SDRC_MDCFG_0_DDR, SDRC_MCFG_0);
-@@ -699,6 +713,8 @@ int misc_init_r(void)
- case REVISION_C4:
- if (identify_xm_ddr() == NUMONYX_MCP)
- printf("Beagle Rev C4 from Special Computing\n");
-+ else if(identify_xm_ddr() == MICRON_MCP)
-+ printf("Beagle Rev C5\n");
- else
- printf("Beagle Rev C4\n");
- break;
---
-1.6.6.1
-
diff --git a/recipes-bsp/x-load/x-load/panda-frefclk.patch b/recipes-bsp/x-load/x-load/panda-frefclk.patch
deleted file mode 100644
index a893376a..00000000
--- a/recipes-bsp/x-load/x-load/panda-frefclk.patch
+++ /dev/null
@@ -1,193 +0,0 @@
-Delivered-To: koen@dominion.thruhere.net
-Received: by 10.236.61.2 with SMTP id v2cs463572yhc;
- Mon, 11 Jul 2011 00:39:44 -0700 (PDT)
-Received: by 10.236.79.69 with SMTP id h45mr4010171yhe.342.1310369983896;
- Mon, 11 Jul 2011 00:39:43 -0700 (PDT)
-Return-Path: <x-loader+bncCKvc3d-lHRC70erwBBoEmZF8Og@googlegroups.com>
-Received: from mail-gx0-f189.google.com (mail-gx0-f189.google.com [209.85.161.189])
- by mx.google.com with ESMTPS id u61si41782290yhm.15.2011.07.11.00.39.43
- (version=TLSv1/SSLv3 cipher=OTHER);
- Mon, 11 Jul 2011 00:39:43 -0700 (PDT)
-Received-SPF: pass (google.com: domain of x-loader+bncCKvc3d-lHRC70erwBBoEmZF8Og@googlegroups.com designates 209.85.161.189 as permitted sender) client-ip=209.85.161.189;
-Authentication-Results: mx.google.com; spf=pass (google.com: domain of x-loader+bncCKvc3d-lHRC70erwBBoEmZF8Og@googlegroups.com designates 209.85.161.189 as permitted sender) smtp.mail=x-loader+bncCKvc3d-lHRC70erwBBoEmZF8Og@googlegroups.com; dkim=pass (test mode) header.i=@googlegroups.com
-Received: by gxk3 with SMTP id 3sf9821900gxk.6
- for <koen@dominion.thruhere.net>; Mon, 11 Jul 2011 00:39:43 -0700 (PDT)
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
- d=googlegroups.com; s=beta;
- h=mime-version:x-beenthere:received-spf:from:to:cc:subject:date
- :message-id:x-mailer:in-reply-to:references:x-original-sender
- :x-original-authentication-results:reply-to:precedence:mailing-list
- :list-id:x-google-group-id:list-post:list-help:list-archive:sender
- :list-subscribe:list-unsubscribe:content-type;
- bh=knz/OIehyS1eNPnUO3PKelxTOdkGPG+fRW2FJ4AriF0=;
- b=cjz/o/2YFMmEgHKdtY7SmdxjqN+uxnJluh9MGSOmA+kVKkPYzbv4SXQQEcjFMBrXXw
- pCUO8G8BylJJLTBTeRDAcji73YDd65OKsc6UoAyrSUtxtj4sgKXBVwaLu0eS+1Efsyl3
- +5g8sPqNFFG3tcvYD30FjtHZwLFyCTAtU2g18=
-Received: by 10.101.142.10 with SMTP id u10mr495069ann.24.1310369979330;
- Mon, 11 Jul 2011 00:39:39 -0700 (PDT)
-MIME-Version: 1.0
-X-BeenThere: x-loader@googlegroups.com
-Received: by 10.101.164.36 with SMTP id r36ls170737ano.5.gmail; Mon, 11 Jul
- 2011 00:39:38 -0700 (PDT)
-Received: by 10.101.126.20 with SMTP id d20mr158105ann.0.1310369978730;
- Mon, 11 Jul 2011 00:39:38 -0700 (PDT)
-Received: by 10.101.126.20 with SMTP id d20mr158104ann.0.1310369978718;
- Mon, 11 Jul 2011 00:39:38 -0700 (PDT)
-Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181])
- by gmr-mx.google.com with ESMTPS id i19si12624205anq.3.2011.07.11.00.39.37
- (version=TLSv1/SSLv3 cipher=OTHER);
- Mon, 11 Jul 2011 00:39:37 -0700 (PDT)
-Received-SPF: neutral (google.com: 209.85.213.181 is neither permitted nor denied by best guess record for domain of ricardo.salveti@linaro.org) client-ip=209.85.213.181;
-Received: by mail-yx0-f181.google.com with SMTP id 13so1644271yxi.12
- for <x-loader@googlegroups.com>; Mon, 11 Jul 2011 00:39:37 -0700 (PDT)
-Received: by 10.150.53.14 with SMTP id b14mr3957102yba.181.1310369977490;
- Mon, 11 Jul 2011 00:39:37 -0700 (PDT)
-Received: from localhost.localdomain ([201.82.65.93])
- by mx.google.com with ESMTPS id s21sm510693ybm.15.2011.07.11.00.39.34
- (version=TLSv1/SSLv3 cipher=OTHER);
- Mon, 11 Jul 2011 00:39:35 -0700 (PDT)
-From: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
-To: x-loader@googlegroups.com
-Cc: patches@linaro.org,
- Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
-Subject: [x-loader] [PATCH v2] omap4: pandaboard: ehci fref_clkout per board revision
-Date: Mon, 11 Jul 2011 04:39:17 -0300
-Message-Id: <1310369957-28444-1-git-send-email-ricardo.salveti@linaro.org>
-X-Mailer: git-send-email 1.7.4.1
-In-Reply-To: <1305973002-28352-1-git-send-email-ricardo.salveti@linaro.org>
-References: <1305973002-28352-1-git-send-email-ricardo.salveti@linaro.org>
-X-Original-Sender: ricardo.salveti@linaro.org
-X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com:
- 209.85.213.181 is neither permitted nor denied by best guess record for
- domain of ricardo.salveti@linaro.org) smtp.mail=ricardo.salveti@linaro.org
-Reply-To: x-loader@googlegroups.com
-Precedence: list
-Mailing-list: list x-loader@googlegroups.com; contact x-loader+owners@googlegroups.com
-List-ID: <x-loader.googlegroups.com>
-X-Google-Group-Id: 243713986749
-List-Post: <http://groups.google.com/group/x-loader/post?hl=en_US>, <mailto:x-loader@googlegroups.com>
-List-Help: <http://groups.google.com/support/?hl=en_US>, <mailto:x-loader+help@googlegroups.com>
-List-Archive: <http://groups.google.com/group/x-loader?hl=en_US>
-Sender: x-loader@googlegroups.com
-List-Subscribe: <http://groups.google.com/group/x-loader/subscribe?hl=en_US>, <mailto:x-loader+subscribe@googlegroups.com>
-List-Unsubscribe: <http://groups.google.com/group/x-loader/subscribe?hl=en_US>,
- <mailto:x-loader+unsubscribe@googlegroups.com>
-Content-Type: text/plain; charset=ISO-8859-1
-
-Add support for correctly configuring the fref_clkout depending on the
-board revision of the pandaboard. This patch is necessary to make u-boot
-work with the smsc usb+ethernet driver.
-
-Tested USB+Eth with TFTP and PXE using linaro u-boot:
-http://git.linaro.org/gitweb?p=boot/u-boot-linaro-stable.git;a=summary
-
-Based on patch from David Anders <x0132446@ti.com> from
-omap4_panda_L24.9 branch at gitorious.org/pandaboard x-loader tree.
-
-Changes since v1:
- * Moving the code from s_init instead of adding a new block
-
-Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
----
- board/omap4430panda/omap4430panda.c | 58 +++++++++++++++-------------------
- 1 files changed, 26 insertions(+), 32 deletions(-)
-
-diff --git a/board/omap4430panda/omap4430panda.c b/board/omap4430panda/omap4430panda.c
-index 9b4e457..bcee6fe 100644
---- a/board/omap4430panda/omap4430panda.c
-+++ b/board/omap4430panda/omap4430panda.c
-@@ -531,6 +531,7 @@ static void ddr_init(void)
- *****************************************/
- int board_init(void)
- {
-+ unsigned int rev = omap_revision();
- unsigned int v;
-
- /*
-@@ -546,10 +547,32 @@ int board_init(void)
- v = __raw_readl(OMAP44XX_GPIO_BASE2 + __GPIO_DATAOUT);
- __raw_writel((v & ~(1 << 30)), OMAP44XX_GPIO_BASE2 + __GPIO_DATAOUT);
-
-- /* kill USB PLL */
-+ if (rev == OMAP4430_ES1_0)
-+ return 0;
-
-- v = __raw_readl(CM_CLKMODE_DPLL_USB);
-- __raw_writel((v & ~7) | 1, CM_CLKMODE_DPLL_USB);
-+ if (__raw_readl(OMAP44XX_GPIO_BASE6 + __GPIO_DATAIN) & (1 << 22)) {
-+ /* enable software ioreq */
-+ sr32(OMAP44XX_SCRM_AUXCLK3, 8, 1, 0x1);
-+ /* set for sys_clk (38.4MHz) */
-+ sr32(OMAP44XX_SCRM_AUXCLK3, 1, 2, 0x0);
-+ /* set divisor to 2 */
-+ sr32(OMAP44XX_SCRM_AUXCLK3, 16, 4, 0x1);
-+ /* set the clock source to active */
-+ sr32(OMAP44XX_SCRM_ALTCLKSRC, 0, 1, 0x1);
-+ /* enable clocks */
-+ sr32(OMAP44XX_SCRM_ALTCLKSRC, 2, 2, 0x3);
-+ } else {
-+ /* enable software ioreq */
-+ sr32(OMAP44XX_SCRM_AUXCLK1, 8, 1, 0x1);
-+ /* set for PER_DPLL */
-+ sr32(OMAP44XX_SCRM_AUXCLK1, 1, 2, 0x2);
-+ /* set divisor to 16 */
-+ sr32(OMAP44XX_SCRM_AUXCLK1, 16, 4, 0xf);
-+ /* set the clock source to active */
-+ sr32(OMAP44XX_SCRM_ALTCLKSRC, 0, 1, 0x1);
-+ /* enable clocks */
-+ sr32(OMAP44XX_SCRM_ALTCLKSRC, 2, 2, 0x3);
-+ }
-
- return 0;
- }
-@@ -683,8 +706,6 @@ static int scale_vcores(void)
-
- void s_init(void)
- {
-- unsigned int rev = omap_revision();
--
- /*
- * this is required to survive the muxconf in the case the ROM
- * started up USB OTG
-@@ -707,33 +728,6 @@ void s_init(void)
- /* setup_auxcr(get_device_type(), external_boot); */
-
- ddr_init();
--
-- if (rev == OMAP4430_ES1_0)
-- return;
--
-- if (__raw_readl(OMAP44XX_GPIO_BASE6 + __GPIO_DATAIN) & (1 << 22)) {
-- /* enable software ioreq */
-- sr32(OMAP44XX_SCRM_AUXCLK3, 8, 1, 0x1);
-- /* set for sys_clk (38.4MHz) */
-- sr32(OMAP44XX_SCRM_AUXCLK3, 1, 2, 0x0);
-- /* set divisor to 2 */
-- sr32(OMAP44XX_SCRM_AUXCLK3, 16, 4, 0x1);
-- /* set the clock source to active */
-- sr32(OMAP44XX_SCRM_ALTCLKSRC, 0, 1, 0x1);
-- /* enable clocks */
-- sr32(OMAP44XX_SCRM_ALTCLKSRC, 2, 2, 0x3);
-- } else {
-- /* enable software ioreq */
-- sr32(OMAP44XX_SCRM_AUXCLK1, 8, 1, 0x1);
-- /* set for PER_DPLL */
-- sr32(OMAP44XX_SCRM_AUXCLK1, 1, 2, 0x2);
-- /* set divisor to 16 */
-- sr32(OMAP44XX_SCRM_AUXCLK1, 16, 4, 0xf);
-- /* set the clock source to active */
-- sr32(OMAP44XX_SCRM_ALTCLKSRC, 0, 1, 0x1);
-- /* enable clocks */
-- sr32(OMAP44XX_SCRM_ALTCLKSRC, 2, 2, 0x3);
-- }
- }
-
- /*******************************************************
---
-1.7.4.1
-
---
---
-To unsubscribe from this group, email: x-loader+unsubscribe@googlegroups.com
-For more options: http://groups.google.com/group/x-loader?hl=en?hl=en
-Home Page: http://gitorious.org/x-loader
diff --git a/recipes-bsp/x-load/x-load_1.46-psp.bb b/recipes-bsp/x-load/x-load_1.46-psp.bb
deleted file mode 100644
index 108e408d..00000000
--- a/recipes-bsp/x-load/x-load_1.46-psp.bb
+++ /dev/null
@@ -1,38 +0,0 @@
-require x-load.inc
-
-DEPENDS += "signgp-native"
-
-LIC_FILES_CHKSUM = "file://README;md5=fb7a7e60aceaa99c529b6c667dfcf474"
-
-COMPATIBLE_MACHINE = "am3517-evm"
-
-PV = "1.46+${PR}+gitr${SRCREV}"
-PR ="r0"
-PE = "1"
-
-# TI PSP v1.46_OMAPPSP_03.00.01.06 (Tag is one commit different)
-SRCREV_pn-${PN} = "fc6d5be15c703d21aef0ae0b8c02177721f0445f"
-SRC_URI = "git://arago-project.org/git/projects/x-load-omap3.git;protocol=git"
-
-S = "${WORKDIR}/git"
-
-do_compile () {
- unset LDFLAGS
- unset CFLAGS
- unset CPPFLAGS
- oe_runmake distclean
- oe_runmake ${XLOAD_MACHINE}
- oe_runmake
-}
-
-do_install () {
- signGP x-load.bin ${XLOAD_LOAD_ADDRESS}
-
- install -d ${D}/boot
- install x-load.bin.ift ${D}/boot/${MLO_IMAGE}
- ln -sf ${MLO_IMAGE} ${D}/boot/${MLO_SYMLINK_NOMACHINE}
-}
-
-FILES_${PN} = "/boot"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-bsp/x-load/x-load_git.bb b/recipes-bsp/x-load/x-load_git.bb
deleted file mode 100644
index 1ce1b0f0..00000000
--- a/recipes-bsp/x-load/x-load_git.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-require x-load.inc
-
-#FILESPATHPKG_prepend = "x-load-git:x-load-git/${MACHINE}"
-
-PV = "1.5.1"
-PR ="r3"
-PE = "1"
-
-SRCREV_pn-${PN} = "c4289f1bee035dea41536c5ba5e1bc36c7d493c4"
-SRC_URI = "git://gitorious.org/x-loader/x-loader.git;branch=master;protocol=git \
-"
-
-S = "${WORKDIR}/git"
-
-XLOAD_MACHINE_beagleboard = "omap3530beagle_config"
-CONFIG_HEADER_beagleboard = "1"
-XLOAD_MACHINE_omap3-touchbook = "omap3530beagle_config"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-core/init-ifupdown/init-ifupdown-1.0/beagleboard/interfaces b/recipes-core/init-ifupdown/init-ifupdown-1.0/beagleboard/interfaces
deleted file mode 100644
index b6935c11..00000000
--- a/recipes-core/init-ifupdown/init-ifupdown-1.0/beagleboard/interfaces
+++ /dev/null
@@ -1,27 +0,0 @@
-# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
-
-# The loopback interface
-auto lo
-iface lo inet loopback
-
-# Wireless interfaces
-iface wlan0 inet dhcp
- wireless_mode managed
- wireless_essid any
- wpa-driver wext
- wpa-conf /etc/wpa_supplicant.conf
-
-iface atml0 inet dhcp
-
-# Wired or wireless interfaces
-auto eth0
-iface eth0 inet dhcp
-iface eth1 inet dhcp
-
-# Ethernet/RNDIS gadget (g_ether) or LAN9514 on BeagleBoard xM
-auto usb0
-iface usb0 inet dhcp
-
-# Bluetooth networking
-iface bnep0 inet dhcp
-
diff --git a/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend b/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend
deleted file mode 100644
index 56223033..00000000
--- a/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend
+++ /dev/null
@@ -1 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
diff --git a/recipes-devtools/doxygen/doxygen/patch-flex_2_6_0.diff b/recipes-devtools/doxygen/doxygen/patch-flex_2_6_0.diff
deleted file mode 100644
index 36d73798..00000000
--- a/recipes-devtools/doxygen/doxygen/patch-flex_2_6_0.diff
+++ /dev/null
@@ -1,66 +0,0 @@
---- src/code.l.orig
-+++ src/code.l
-@@ -3695,7 +3695,7 @@ void codeFreeScanner()
- extern "C" { // some bogus code to keep the compiler happy
- void codeYYdummy() { yy_flex_realloc(0,0); }
- }
--#elif YY_FLEX_SUBMINOR_VERSION<33
-+#elif YY_FLEX_MAJOR_VERSION<=2 && YY_FLEX_MINOR_VERSION<=5 && YY_FLEX_SUBMINOR_VERSION<33
- #error "You seem to be using a version of flex newer than 2.5.4 but older than 2.5.33. These versions do NOT work with doxygen! Please use version <=2.5.4 or >=2.5.33 or expect things to be parsed wrongly!"
- #endif
-
---- src/commentscan.l.orig
-+++ src/commentscan.l
-@@ -1098,7 +1098,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
- // but we need to know the position in the input buffer where this
- // rule matched.
- // for flex 2.5.33+ we should use YY_CURRENT_BUFFER_LVALUE
--#if YY_FLEX_MINOR_VERSION>=5 && YY_FLEX_SUBMINOR_VERSION>=33
-+#if YY_FLEX_MAJOR_VERSION>=2 && (YY_FLEX_MINOR_VERSION>5 || (YY_FLEX_MINOR_VERSION==5 && YY_FLEX_SUBMINOR_VERSION>=33))
- inputPosition=prevPosition + (int)(yy_bp - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf);
- #else
- inputPosition=prevPosition + (int)(yy_bp - yy_current_buffer->yy_ch_buf);
-@@ -1160,7 +1160,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
- g_memberGroupHeader.resize(0);
- parseMore=TRUE;
- needNewEntry = TRUE;
--#if YY_FLEX_MINOR_VERSION>=5 && YY_FLEX_SUBMINOR_VERSION>=33
-+#if YY_FLEX_MAJOR_VERSION>=2 && (YY_FLEX_MINOR_VERSION>5 || (YY_FLEX_MINOR_VERSION==5 && YY_FLEX_SUBMINOR_VERSION>=33))
- inputPosition=prevPosition + (int)(yy_bp - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf) + strlen(yytext);
- #else
- inputPosition=prevPosition + (int)(yy_bp - yy_current_buffer->yy_ch_buf) + strlen(yytext);
-
---- src/fortrancode.l.orig
-+++ src/fortrancode.l
-@@ -1289,7 +1289,7 @@ void parseFortranCode(CodeOutputInterfac
- extern "C" { // some bogus code to keep the compiler happy
- void fortrancodeYYdummy() { yy_flex_realloc(0,0); }
- }
--#elif YY_FLEX_SUBMINOR_VERSION<33
-+#elif YY_FLEX_MAJOR_VERSION<=2 && YY_FLEX_MINOR_VERSION<=5 && YY_FLEX_SUBMINOR_VERSION<33
- #error "You seem to be using a version of flex newer than 2.5.4 but older than 2.5.33. These versions do NOT work with doxygen! Please use version <=2.5.4 or >=2.5.33 or expect things to be parsed wrongly!"
- #else
- extern "C" { // some bogus code to keep the compiler happy
-
---- src/pycode.l.orig
-+++ src/pycode.l
-@@ -1503,7 +1503,7 @@ void parsePythonCode(CodeOutputInterface
- extern "C" { // some bogus code to keep the compiler happy
- void pycodeYYdummy() { yy_flex_realloc(0,0); }
- }
--#elif YY_FLEX_SUBMINOR_VERSION<33
-+#elif YY_FLEX_MAJOR_VERSION<=2 && YY_FLEX_MINOR_VERSION<=5 && YY_FLEX_SUBMINOR_VERSION<33
- #error "You seem to be using a version of flex newer than 2.5.4. These are currently incompatible with 2.5.4, and do NOT work with doxygen! Please use version 2.5.4 or expect things to be parsed wrongly! A bug report has been submitted (#732132)."
- #endif
-
---- src/vhdlcode.l
-+++ src.a/vhdlcode.l
-@@ -1613,7 +1613,7 @@ void codeFreeVhdlScanner()
- extern "C" { // some bogus code to keep the compiler happy
- void vhdlcodeYYdummy() { yy_flex_realloc(0,0); }
- }
--#elif YY_FLEX_SUBMINOR_VERSION<33
-+#elif YY_FLEX_MAJOR_VERSION<=2 && YY_FLEX_MINOR_VERSION<=5 && YY_FLEX_SUBMINOR_VERSION<33
- #error "You seem to be using a version of flex newer than 2.5.4 but older than 2.5.33. These versions do NOT work with doxygen! Please use version <=2.5.4 or >=2.5.33 or expect things to be parsed wrongly!"
- #endif
-
diff --git a/recipes-devtools/doxygen/doxygen_1.8.9.1.bb b/recipes-devtools/doxygen/doxygen_1.8.9.1.bb
deleted file mode 100644
index eb43e741..00000000
--- a/recipes-devtools/doxygen/doxygen_1.8.9.1.bb
+++ /dev/null
@@ -1,36 +0,0 @@
-SUMMARY = "Utilities for generating documentation from source code"
-HOMEPAGE = "http://www.doxygen.org/"
-SECTION = "console/utils"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b380c86cea229fa42b9e543fc491f5eb"
-
-DEPENDS = "flex-native bison-native"
-
-SRC_URI = "http://ftp.stack.nl/pub/users/dimitri/${BP}.src.tar.gz \
- file://patch-flex_2_6_0.diff;striplevel=0"
-
-SRC_URI[md5sum] = "3d1a5c26bef358c10a3894f356a69fbc"
-SRC_URI[sha256sum] = "d4ab6e28d4d45d8956cad17470aade3fbe2356e8f64b92167e738c1887feccec"
-
-EXTRA_OECONF = "--prefix ${prefix}"
-
-DISABLE_STATIC = ""
-
-do_configure () {
- ./configure ${EXTRA_OECONF}
-
- # TODO on rebuilds will repeatedly append. Change logic to include a
- # separate file and overwrite that file?
- echo "TMAKE_CC=${CC}" >> tmake/lib/linux-g++/tmake.conf
- echo "TMAKE_CXX=${CXX}" >> tmake/lib/linux-g++/tmake.conf
- echo "TMAKE_CFLAGS=${CFLAGS}" >> tmake/lib/linux-g++/tmake.conf
- echo "TMAKE_CXXFLAGS=${CXXFLAGS}" >> tmake/lib/linux-g++/tmake.conf
- echo "TMAKE_LINK=${CXX}" >> tmake/lib/linux-g++/tmake.conf
- echo "TMAKE_LFLAGS=${LDFLAGS}" >> tmake/lib/linux-g++/tmake.conf
-}
-
-do_install() {
- oe_runmake install DESTDIR=${D} MAN1DIR=share/man/man1
-}
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-devtools/gdbc6x/gdbc6x.inc b/recipes-devtools/gdbc6x/gdbc6x.inc
deleted file mode 100644
index f0d702a0..00000000
--- a/recipes-devtools/gdbc6x/gdbc6x.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-# This corresponds to version 1.1.0
-SRCREV = "d1d32c32fa9e40b48fabf5893487ccbd5790499c"
-
-PV = "1.1.0"
-INC_PR = "r6"
-
-SRC_URI = "git://git.ti.com/sdo-emu/gdbc6x.git;protocol=git;branch=${BRANCH}"
-
-BRANCH = "master"
diff --git a/recipes-devtools/ion/libion/0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch b/recipes-devtools/ion/libion/0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch
deleted file mode 100644
index bf63ed32..00000000
--- a/recipes-devtools/ion/libion/0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 51eece2c291e121f9ae67c9b812617b885e76a64 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 18 Dec 2019 20:31:52 -0800
-Subject: [PATCH] cmake: Use GNUInstallDirs module to detect install paths
-
-This helps it to calculate directories as per platform instead of
-hardcoding them, helps compile it for arches which use /lib64 and
-/usr/lib64 for libpaths
-
-Upstream-Status: Submitted [https://github.com/glneo/libion/pull/2]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- CMakeLists.txt | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 6e5928c..5b7c0de 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -3,6 +3,8 @@ PROJECT(ion)
- set(PROJECT_DESCRIPTION "ION Userspace Memory Allocator Library")
- set(PROJECT_VERSION 1.0.0)
-
-+INCLUDE(GNUInstallDirs)
-+
- add_library(ion
- SHARED
- src/libion.c
-@@ -23,12 +25,12 @@ target_include_directories(ion
- configure_file(libion.pc.in libion.pc @ONLY)
-
- install(TARGETS ion
-- LIBRARY DESTINATION lib
-- PUBLIC_HEADER DESTINATION include/ion)
-+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
-+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ion)
-
- install(DIRECTORY include/kernel-headers/4.19/
-- DESTINATION include
-+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
- FILES_MATCHING PATTERN "*.h")
-
- install(FILES ${CMAKE_BINARY_DIR}/libion.pc
-- DESTINATION lib/pkgconfig)
-+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
---
-2.24.1
-
diff --git a/recipes-devtools/ion/libion_git.bb b/recipes-devtools/ion/libion_git.bb
deleted file mode 100644
index 4cf03afa..00000000
--- a/recipes-devtools/ion/libion_git.bb
+++ /dev/null
@@ -1,16 +0,0 @@
-SUMMARY = "ION Userspace Memory Allocator Library"
-HOMEPAGE = "https://github.com/glneo/libion"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
-
-PV = "1.0.0"
-
-BRANCH = "master"
-SRC_URI = "git://github.com/glneo/libion.git;protocol=git;branch=${BRANCH} \
- file://0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch \
- "
-SRCREV = "813bd63e2f2118e17cb1c5d38505a1e572a2381c"
-
-S = "${WORKDIR}/git"
-
-inherit cmake pkgconfig
diff --git a/recipes-devtools/k3conf/k3conf_git.bb b/recipes-devtools/k3conf/k3conf_git.bb
deleted file mode 100644
index 52c2fcf6..00000000
--- a/recipes-devtools/k3conf/k3conf_git.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-SUMMARY = "Diagnostic tool for TI K3 processors"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://common/k3conf.c;beginline=1;endline=34;md5=37f4e460bd8501c6f02ce71f02bc7ccf"
-
-PV = "0.1+git${SRCPV}"
-
-COMPATIBLE_MACHINE = "k3"
-
-BRANCH ?= "master"
-SRCREV = "9199c3a3b6ec5603a2c4283410b4761e79e81e82"
-
-SRC_URI = "git://git.ti.com/k3conf/k3conf.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-do_compile () {
- oe_runmake CC="${CC}" CROSS_COMPILE=${TARGET_PREFIX} all
-}
-
-do_install () {
- install -d ${D}${bindir}
- install ${S}/k3conf ${D}${bindir}
-}
diff --git a/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb b/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb
deleted file mode 100644
index 0e0335b4..00000000
--- a/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb
+++ /dev/null
@@ -1,65 +0,0 @@
-DESCRIPTION = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
-HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
-LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "j7-evm"
-
-PR = "r6"
-
-BRANCH = "linuxws/zeus/k5.4/${PV}"
-
-SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-umlibs.git;branch=${BRANCH}"
-SRCREV = "0721cdfc1fc86f40c93745159e3f1bcad5beda17"
-
-PVR_SOC ?= "j721e_linux"
-PVR_BUILD ?= "release"
-PVR_WS = "wayland"
-
-INITSCRIPT_NAME = "rc.pvr"
-INITSCRIPT_PARAMS = "defaults 8"
-
-inherit update-rc.d
-
-PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm"
-
-DEPENDS += "libdrm wayland expat"
-RDEPENDS_${PN} += "bash"
-RDEPENDS_${PN} += "python-core"
-RDEPENDS_${PN} += "wayland expat"
-
-RPROVIDES_${PN} = "libegl libgles1 libgles2 libgbm"
-RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
-RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
-
-RREPLACES_${PN} = "libegl libgles1 liblges2 libgbm"
-RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
-RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
-
-RCONFLICTS_${PN} = "libegl libgles1 libgles2 libgbm"
-RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
-RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
-
-RRECOMMENDS_${PN} += "ti-img-rogue-driver"
-
-S = "${WORKDIR}/git"
-
-do_install () {
- oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${PVR_SOC} BUILD=${PVR_BUILD} WINDOW_SYSTEM=${PVR_WS}
- chown -R root:root ${D}
-}
-
-FILES_${PN} += " ${base_libdir}/firmware/"
-FILES_${PN} += " ${datadir}/"
-
-PACKAGES =+ "${PN}-plugins"
-FILES_${PN}-plugins = "${libdir}/libGLESv2.so ${libdir}/libGLESv1_CM.so ${libdir}/libEGL.so ${libdir}/dri/pvr_dri.so"
-RDEPENDS_${PN} += "${PN}-plugins"
-
-ALLOW_EMPTY_${PN}-plugins = "1"
-
-INSANE_SKIP_${PN} += "ldflags arch already-stripped"
-INSANE_SKIP_${PN}-plugins = "dev-so"
-
-CLEANBROKEN = "1"
diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
deleted file mode 100644
index 8f63aa59..00000000
--- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
+++ /dev/null
@@ -1,69 +0,0 @@
-DESCRIPTION = "Userspace libraries for PowerVR SGX chipset on TI SoCs"
-HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux"
-LICENSE = "TI-TSPA"
-LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=b17390502bc89535c86cfbbae961a2a8"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
-
-PR = "r35"
-
-BRANCH = "ti-img-sgx/zeus/${PV}"
-
-SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
-SRCREV = "ce7b96b88d31da27af5b3a2a890aba180a014fc4"
-
-TARGET_PRODUCT_omap-a15 = "jacinto6evm"
-TARGET_PRODUCT_ti33x = "ti335x"
-TARGET_PRODUCT_ti43x = "ti437x"
-TARGET_PRODUCT_k3 = "ti654x"
-TARGET_PRODUCT_beagleboard = "ti343x"
-TARGET_PRODUCT_pandaboard = "ti443x"
-
-INITSCRIPT_NAME = "rc.pvr"
-INITSCRIPT_PARAMS = "defaults 8"
-
-inherit update-rc.d
-
-PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm"
-
-DEPENDS += "libdrm udev wayland wayland-protocols libffi expat"
-RDEPENDS_${PN} += "libdrm libdrm-omap udev wayland wayland-protocols libffi expat"
-
-RPROVIDES_${PN} = "libegl libgles1 libgles2 libgbm"
-RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
-RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg libgbm-dbg"
-
-RREPLACES_${PN} = "libegl libgles1 libgles2 libgbm"
-RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
-RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg libgbm-dbg"
-
-RCONFLICTS_${PN} = "libegl libgles1 libgles2 libgbm"
-RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
-RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg libgbm-dbg"
-
-# The actual SONAME is libGLESv2.so.2, so need to explicitly specify RPROVIDES for .so.1 here
-RPROVIDES_${PN} += "libGLESv2.so.1"
-
-RRECOMMENDS_${PN} += "ti-sgx-ddk-km"
-
-S = "${WORKDIR}/git"
-
-do_install () {
- oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT}
- ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1
-
- rm -rf ${D}${includedir}/GL
-
- chown -R root:root ${D}
-}
-
-FILES_${PN} = "${bindir}/*"
-FILES_${PN} += " ${libdir}/*"
-FILES_${PN} += "${includedir}/*"
-FILES_${PN} += "${sysconfdir}/*"
-
-INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
-INSANE_SKIP_${PN} += "already-stripped dev-deps"
-
-CLEANBROKEN = "1"
diff --git a/recipes-kernel/jailhouse/jailhouse-arch.inc b/recipes-kernel/jailhouse/jailhouse-arch.inc
deleted file mode 100644
index 498b25ed..00000000
--- a/recipes-kernel/jailhouse/jailhouse-arch.inc
+++ /dev/null
@@ -1,22 +0,0 @@
-# Set jailhouse architecture JH_ARCH variable
-#
-# return value must match one of architectures supported by jailhouse
-#
-valid_jh_archs = "x86 arm"
-
-def map_jh_arch(a, d):
- import re
-
- valid_jh_archs = d.getVar('valid_jh_archs', True).split()
-
- if re.match('(i.86|athlon|x86.64)$', a): return 'x86'
- elif re.match('armeb$', a): return 'arm'
- elif re.match('aarch64$', a): return 'arm64'
- elif re.match('aarch64_be$', a): return 'arm64'
- elif a in valid_jh_archs: return a
- else:
- bb.error("cannot map '%s' to a jailhouse supported architecture" % a)
-
-export JH_ARCH = "${@map_jh_arch(d.getVar('TARGET_ARCH', True), d)}"
-
-COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
diff --git a/recipes-kernel/jailhouse/jailhouse_git.bb b/recipes-kernel/jailhouse/jailhouse_git.bb
deleted file mode 100644
index d3cd8736..00000000
--- a/recipes-kernel/jailhouse/jailhouse_git.bb
+++ /dev/null
@@ -1,163 +0,0 @@
-SUMMARY = "Linux-based partitioning hypervisor"
-DESCRIPTION = "Jailhouse is a partitioning Hypervisor based on Linux. It is able to run bare-metal applications or (adapted) \
-operating systems besides Linux. For this purpose, it configures CPU and device virtualization features of the hardware \
-platform in a way that none of these domains, called 'cells' here, can interfere with each other in an unacceptable way."
-HOMEPAGE = "https://github.com/siemens/jailhouse"
-SECTION = "jailhouse"
-LICENSE = "GPL-2.0 & BSD-2-Clause"
-
-LIC_FILES_CHKSUM = " \
- file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \
-"
-
-PV = "0.12+git${SRCPV}"
-SRCREV = "2c6516ce3d0e0c4e9372e4439562dd660877cb79"
-BRANCH = "ti-jailhouse-0.12"
-
-SRC_URI = " \
- git://git.ti.com/jailhouse/ti-jailhouse.git;protocol=git;branch=${BRANCH} \
-"
-
-DEPENDS = "virtual/kernel dtc-native python3-mako-native python3-mako make-native"
-RDEPENDS_${PN} += "\
- python3-curses\
- python3-datetime\
- python3-mmap\
-"
-
-require jailhouse-arch.inc
-inherit module python3native bash-completion deploy setuptools3
-
-S = "${WORKDIR}/git"
-B = "${S}"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "(ti-soc)"
-
-JH_DATADIR ?= "${datadir}/jailhouse"
-JH_EXEC_DIR ?= "${libexecdir}/jailhouse"
-CELL_DIR ?= "${JH_DATADIR}/cells"
-CELLCONF_DIR ?= "${JH_DATADIR}/configs"
-INMATES_DIR ?= "${JH_DATADIR}/inmates"
-
-JH_CELL_FILES ?= "*.cell"
-JH_CELL_FILES_k3 ?= "k3-*.cell"
-
-JH_INMATE_DTB ?= ""
-JH_INMATE_DTB_am65xx ?= "inmate-k3-am654-idk.dtb"
-JH_INMATE_DTB_j7-evm ?= "inmate-k3-j721e-evm.dtb"
-
-JH_LINUX_DEMO_CELL ?= ""
-JH_LINUX_DEMO_CELL_am65xx ?= "k3-am654-idk-linux-demo.cell"
-JH_LINUX_DEMO_CELL_j7-evm ?= "k3-j721e-evm-linux-demo.cell"
-
-JH_SYSCONFIG_CELL ?= ""
-JH_SYSCONFIG_CELL_am65xx ?= "k3-am654-idk.cell"
-JH_SYSCONFIG_CELL_j7-evm ?= "k3-j721e-evm.cell"
-
-INITRAMFS_IMAGE ?= ""
-JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}"
-
-JH_CMDLINE ?= ""
-JH_CMDLINE_am65xx ?= "console=ttyS1,115200n8"
-JH_CMDLINE_j7-evm ?= "console=ttyS3,115200n8"
-
-do_configure() {
- if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ];
- then
- cp ${STAGING_DIR_HOST}/${CELLCONF_DIR}/*.c ${S}/configs/
- fi
-}
-
-USER_SPACE_CFLAGS = '${CFLAGS} -DLIBEXECDIR=\\\"${libexecdir}\\\" \
- -DJAILHOUSE_VERSION=\\\"$JAILHOUSE_VERSION\\\" \
- -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Werror \
- -I../driver'
-
-TOOLS_SRC_DIR = "${S}/tools"
-
-EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" KDIR=${STAGING_KERNEL_BUILDDIR}"
-
-do_compile() {
- oe_runmake V=1
-}
-
-do_install() {
- # Install pyjailhouse python modules needed by the tools
- distutils3_do_install
-
- # We want to install the python tools, but we do not want to use pip...
- # At least with v0.10, we can work around this with
- # 'PIP=":" PYTHON_PIP_USEABLE=yes'
- oe_runmake PIP=: PYTHON_PIP_USEABLE=yes DESTDIR=${D} install
-
- install -d ${D}${CELL_DIR}
- install -m 0644 ${B}/configs/${JH_ARCH}/${JH_CELL_FILES} ${D}${CELL_DIR}/
-
- install -d ${D}${INMATES_DIR}
- install -m 0644 ${B}/inmates/demos/${JH_ARCH}/*.bin ${D}${INMATES_DIR}
-
- install -d ${D}/boot
- if [ -n "${JH_RAMFS_IMAGE}" ]
- then
- if [ -f ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}-${MACHINE}.cpio ]
- then
- install -m 0644 ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}-${MACHINE}.cpio ${D}/boot
- else
- bberror "Could not find JH_RAMFS_IMAGE (${JH_RAMFS_IMAGE}-${MACHINE}.cpio)!"
- bberror "Please make sure that \"cpio\" is in IMAGE_FSTYPES."
- fi
- fi
-
- if [ -n "${JH_INMATE_DTB}" -a -n "${JH_LINUX_DEMO_CELL}" ]; then
- cd ${TOOLS_SRC_DIR}
-
- echo "#! /bin/sh" > ${D}${JH_DATADIR}/linux-demo.sh
- echo "jailhouse enable ${CELL_DIR}/${JH_SYSCONFIG_CELL}" >> ${D}${JH_DATADIR}/linux-demo.sh
- ./jailhouse-cell-linux -w ${D}${JH_DATADIR}/${JH_INMATE_DTB} \
- -a ${JH_ARCH} -c "${JH_CMDLINE}" \
- -d ../configs/${JH_ARCH}/dts/${JH_INMATE_DTB} \
- -i ${D}/boot/${JH_RAMFS_IMAGE}-${MACHINE}.cpio \
- ${D}${CELL_DIR}/${JH_LINUX_DEMO_CELL} \
- ${DEPLOY_DIR_IMAGE}/Image \
- | tr -cd '\11\12\15\40-\176' \
- >> ${D}${JH_DATADIR}/linux-demo.sh
-
- sed -i -e 's,^Modified device tree written.*,,g' ${D}${JH_DATADIR}/linux-demo.sh
- sed -i -e 's,\${D},,g' ${D}${JH_DATADIR}/linux-demo.sh
- sed -i -e 's, linux-loader.bin, ${JH_EXEC_DIR}/linux-loader.bin,g' ${D}${JH_DATADIR}/linux-demo.sh
- sed -i -e 's,\${DEPLOY_DIR_IMAGE},/boot,g' ${D}${JH_DATADIR}/linux-demo.sh
- sed -i -e '/^\s*$/d' ${D}${JH_DATADIR}/linux-demo.sh
- chmod +x ${D}${JH_DATADIR}/linux-demo.sh
- fi
-}
-
-PACKAGE_BEFORE_PN = "kernel-module-jailhouse pyjailhouse ${PN}-tools"
-FILES_${PN} = "${base_libdir}/firmware ${libexecdir} ${sbindir} ${JH_DATADIR} /boot"
-FILES_pyjailhouse = "${PYTHON_SITEPACKAGES_DIR}"
-FILES_${PN}-tools = "${libexecdir}/${BPN}/${BPN}-*"
-
-RDEPENDS_${PN}-tools = "pyjailhouse python3-mmap python3-math python3-datetime python3-curses python3-compression"
-RDEPENDS_pyjailhouse = "python3-core python3-ctypes python3-fcntl python3-shell"
-
-RRECOMMENDS_${PN} = "${PN}-tools"
-
-INSANE_SKIP_${PN} = "ldflags"
-
-KERNEL_MODULE_AUTOLOAD += "jailhouse"
-
-# Any extra cells/inmates from external recipes/packages
-CELLS = ""
-
-python __anonymous () {
- d.appendVarFlag('do_install', 'depends', ' virtual/kernel:do_deploy')
- ramfs = d.getVar('JH_RAMFS_IMAGE', True)
- if ramfs:
- d.appendVarFlag('do_install', 'depends', ' ${JH_RAMFS_IMAGE}:do_image_complete')
-
- # Setup DEPENDS and RDEPENDS to included cells
- cells = d.getVar('CELLS', True) or ""
- for cell in cells.split():
- d.appendVar('DEPENDS', ' ' + cell)
- d.appendVar('RDEPENDS_${PN}', ' ' + cell)
-}
diff --git a/recipes-kernel/kselftests/files/0001-selftests-add-ptp-to-TARGETS.patch b/recipes-kernel/kselftests/files/0001-selftests-add-ptp-to-TARGETS.patch
deleted file mode 100644
index 4c4a00e7..00000000
--- a/recipes-kernel/kselftests/files/0001-selftests-add-ptp-to-TARGETS.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 9e1b0f0d7148524c226befdef90849f9e143ef66 Mon Sep 17 00:00:00 2001
-From: Denys Dmytriyenko <denys@ti.com>
-Date: Fri, 17 May 2019 18:20:21 +0000
-Subject: [PATCH] selftests: add "ptp" to TARGETS
-
-Signed-off-by: Denys Dmytriyenko <denys@ti.com>
----
- tools/testing/selftests/Makefile | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
-index 831022b1..6bd7cf81 100644
---- a/tools/testing/selftests/Makefile
-+++ b/tools/testing/selftests/Makefile
-@@ -20,6 +20,7 @@ TARGETS += net
- TARGETS += nsfs
- TARGETS += powerpc
- TARGETS += pstore
-+TARGETS += ptp
- TARGETS += ptrace
- TARGETS += seccomp
- TARGETS += sigaltstack
---
-2.17.1
-
diff --git a/recipes-kernel/kselftests/files/0001-selftests-breakpoints-allow-to-cross-compile-for-aar.patch b/recipes-kernel/kselftests/files/0001-selftests-breakpoints-allow-to-cross-compile-for-aar.patch
deleted file mode 100644
index 8b7aa25a..00000000
--- a/recipes-kernel/kselftests/files/0001-selftests-breakpoints-allow-to-cross-compile-for-aar.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 607192f42d65e17f55fc6e85c00019bf71b18770 Mon Sep 17 00:00:00 2001
-From: Fathi Boudra <fathi.boudra@linaro.org>
-Date: Wed, 22 Mar 2017 19:47:32 +0200
-Subject: [PATCH 1/1] selftests: breakpoints: allow to cross-compile for
- aarch64/arm64
-
-To build breakpoint_test_arm64, ARCH value is only tested for "aarch64".
-It covers only the native build because it's computed from uname -m output.
-For cross-compilation, ARCH is set to arm64 and prevent to cross-compile
-the test.
-Fix the test to allow both native and cross-compilation of the test.
-
-Note: glibc is missing several of the TRAP_* constants in the userspace
- definitions. Specifically TRAP_BRANCH and TRAP_HWBKPT.
- See https://sourceware.org/bugzilla/show_bug.cgi?id=21286
-
-Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
----
- tools/testing/selftests/breakpoints/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/tools/testing/selftests/breakpoints/Makefile
-+++ b/tools/testing/selftests/breakpoints/Makefile
-@@ -5,7 +5,7 @@ ARCH ?= $(shell echo $(uname_M) | sed -e
- ifeq ($(ARCH),x86)
- TEST_PROGS := breakpoint_test
- endif
--ifeq ($(ARCH),aarch64)
-+ifneq (,$(filter $(ARCH),aarch64 arm64))
- TEST_PROGS := breakpoint_test_arm64
- endif
-
diff --git a/recipes-kernel/kselftests/files/0001-selftests-gpio-use-pkg-config.patch b/recipes-kernel/kselftests/files/0001-selftests-gpio-use-pkg-config.patch
deleted file mode 100644
index 0d0bfc7e..00000000
--- a/recipes-kernel/kselftests/files/0001-selftests-gpio-use-pkg-config.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From: Fathi Boudra <fathi.boudra@linaro.org>
-Subject: [PATCH] selftests: gpio: use pkg-config
-
-Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
----
----
- tools/testing/selftests/gpio/Makefile | 31 ++++++++++++++++++-------------
- 1 file changed, 18 insertions(+), 13 deletions(-)
-
---- a/tools/testing/selftests/gpio/Makefile
-+++ b/tools/testing/selftests/gpio/Makefile
-@@ -1,23 +1,28 @@
-+CFLAGS += -O2 -g -std=gnu99 -Wall
-+CFLAGS += -I../../../../usr/include/
-+CFLAGS += $(shell pkg-config --cflags mount)
-+LDLIBS += $(shell pkg-config --libs mount)
-
- TEST_PROGS := gpio-mockup.sh
--TEST_FILES := gpio-mockup-sysfs.sh $(BINARIES)
--BINARIES := gpio-mockup-chardev
-+TEST_PROGS_EXTENDED := gpio-mockup-chardev
-+TEST_FILES := gpio-mockup-sysfs.sh
-
--include ../lib.mk
-+GPIODIR := ../../../gpio
-+GPIOOBJ := gpio-utils.o
-+GPIOINC := gpio.h
-
--all: $(BINARIES)
-+all: $(GPIOINC) $(TEST_PROGS_EXTENDED)
-
- clean:
-- $(RM) $(BINARIES)
--
--CFLAGS += -O2 -g -std=gnu99 -Wall -I../../../../usr/include/
--LDLIBS += -lmount -I/usr/include/libmount
-+ $(RM) $(TEST_PROGS_EXTENDED)
-+ $(MAKE) -C $(GPIODIR) clean
-
--$(BINARIES): ../../../gpio/gpio-utils.o ../../../../usr/include/linux/gpio.h
-+include ../lib.mk
-
--../../../gpio/gpio-utils.o:
-- make ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C ../../../gpio
-+$(TEST_PROGS_EXTENDED): $(GPIODIR)/$(GPIOOBJ)
-
--../../../../usr/include/linux/gpio.h:
-- make -C ../../../.. headers_install INSTALL_HDR_PATH=$(shell pwd)/../../../../usr/
-+$(GPIODIR)/$(GPIOOBJ):
-+ $(MAKE) -C $(GPIODIR)
-
-+$(GPIOINC):
-+ $(MAKE) -C ../../../.. headers_install
diff --git a/recipes-kernel/kselftests/files/0001-selftests-lib-allow-to-override-CC-in-the-top-level-Makefile.patch b/recipes-kernel/kselftests/files/0001-selftests-lib-allow-to-override-CC-in-the-top-level-Makefile.patch
deleted file mode 100644
index 9d48fd5d..00000000
--- a/recipes-kernel/kselftests/files/0001-selftests-lib-allow-to-override-CC-in-the-top-level-Makefile.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 2e93b68257aa88ccdc127ca119304a5f4c76b7c5 Mon Sep 17 00:00:00 2001
-From: Fathi Boudra <fathi.boudra@linaro.org>
-Date: Wed, 22 Mar 2017 17:36:53 +0200
-Subject: [PATCH] selftests: lib: allow to override CC in the top-level Makefile
-
-Relax CC assignment to allow to override CC in the top-level Makefile.
-
-Signed-off-by: Denys Dmytriyenko <denys@ti.com>
----
- tools/testing/selftests/lib.mk | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/tools/testing/selftests/lib.mk
-+++ b/tools/testing/selftests/lib.mk
-@@ -1,6 +1,6 @@
- # This mimics the top-level Makefile. We do it explicitly here so that this
- # Makefile can operate with or without the kbuild infrastructure.
--CC := $(CROSS_COMPILE)gcc
-+CC ?= $(CROSS_COMPILE)gcc
-
- define RUN_TESTS
- @for TEST in $(TEST_PROGS); do \
diff --git a/recipes-kernel/kselftests/files/0001-selftests-net-use-LDLIBS-to-link-against-libnuma.patch b/recipes-kernel/kselftests/files/0001-selftests-net-use-LDLIBS-to-link-against-libnuma.patch
deleted file mode 100644
index da5ac00c..00000000
--- a/recipes-kernel/kselftests/files/0001-selftests-net-use-LDLIBS-to-link-against-libnuma.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Subject: [PATCH] selftests: net: use LDLIBS to link against libnuma
-
-Use the same fixup as used for timers test:
-use LDLIBS to properly link against libnuma.
-
-Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
----
- tools/testing/selftests/net/Makefile | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/tools/testing/selftests/net/Makefile
-+++ b/tools/testing/selftests/net/Makefile
-@@ -9,9 +9,9 @@ NET_PROGS += reuseport_bpf reuseport_bpf
- NET_PROGS += reuseport_dualstack
-
- all: $(NET_PROGS)
--reuseport_bpf_numa: LDFLAGS += -lnuma
-+reuseport_bpf_numa: LDLIBS += -lnuma
- %: %.c
-- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
-+ $(CC) $(CFLAGS) $(LDLIBS) -o $@ $^
-
- TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh
- TEST_FILES := $(NET_PROGS)
diff --git a/recipes-kernel/kselftests/files/0001-selftests-seccomp-use-LDLIBS-to-link-against-libpthread.patch b/recipes-kernel/kselftests/files/0001-selftests-seccomp-use-LDLIBS-to-link-against-libpthread.patch
deleted file mode 100644
index 447a61bb..00000000
--- a/recipes-kernel/kselftests/files/0001-selftests-seccomp-use-LDLIBS-to-link-against-libpthread.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 0fd29435ce41d60cdb3b5e06e491500ddc54a86b Mon Sep 17 00:00:00 2001
-From: Fathi Boudra <fathi.boudra@linaro.org>
-Date: Wed, 22 Mar 2017 17:39:37 +0200
-Subject: [PATCH] selftests: seccomp: use LDLIBS to link against libpthread
-
-Use the same fixup as used for timers test:
-use LDLIBS to properly link against libpthread.
-
-Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
----
- tools/testing/selftests/seccomp/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/tools/testing/selftests/seccomp/Makefile
-+++ b/tools/testing/selftests/seccomp/Makefile
-@@ -1,6 +1,6 @@
- TEST_PROGS := seccomp_bpf
- CFLAGS += -Wl,-no-as-needed -Wall
--LDFLAGS += -lpthread
-+LDLIBS += -lpthread
-
- all: $(TEST_PROGS)
-
diff --git a/recipes-kernel/kselftests/files/0001-selftests-sigaltstack-fix-packaging.patch b/recipes-kernel/kselftests/files/0001-selftests-sigaltstack-fix-packaging.patch
deleted file mode 100644
index 4cc5907a..00000000
--- a/recipes-kernel/kselftests/files/0001-selftests-sigaltstack-fix-packaging.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From b0448d7816ca561b6470dc50fc1621aec2620f57 Mon Sep 17 00:00:00 2001
-From: Fathi Boudra <fathi.boudra@linaro.org>
-Date: Wed, 22 Mar 2017 17:40:11 +0200
-Subject: [PATCH] selftests: sigaltstack: fix packaging
-
-sigaltstack was not using TEST_PROGS resulting in binary not being installed.
-
-Signed-off-by: Denys Dmytriyenko <denys@ti.com>
----
- tools/testing/selftests/sigaltstack/Makefile | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
---- a/tools/testing/selftests/sigaltstack/Makefile
-+++ b/tools/testing/selftests/sigaltstack/Makefile
-@@ -1,8 +1,8 @@
- CFLAGS = -Wall
--BINARIES = sas
--all: $(BINARIES)
-+TEST_PROGS = sas
-+all: $(TEST_PROGS)
-
- include ../lib.mk
-
- clean:
-- rm -rf $(BINARIES)
-+ rm -rf $(TEST_PROGS)
diff --git a/recipes-kernel/kselftests/files/0001-selftests-timers-use-LDLIBS-to-link-against-libpthread.patch b/recipes-kernel/kselftests/files/0001-selftests-timers-use-LDLIBS-to-link-against-libpthread.patch
deleted file mode 100644
index 9f12c6ca..00000000
--- a/recipes-kernel/kselftests/files/0001-selftests-timers-use-LDLIBS-to-link-against-libpthread.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From b0448d7816ca561b6470dc50fc1621aec2620f57 Mon Sep 17 00:00:00 2001
-From: Fathi Boudra <fathi.boudra@linaro.org>
-Date: Wed, 22 Mar 2017 17:40:11 +0200
-Subject: [PATCH] selftests: timers: use LDLIBS to link against libpthread
-
-use LDLIBS to properly link against libpthread.
-
-Signed-off-by: Denys Dmytriyenko <denys@ti.com>
----
- tools/testing/selftests/timers/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/tools/testing/selftests/timers/Makefile
-+++ b/tools/testing/selftests/timers/Makefile
-@@ -1,7 +1,7 @@
- CC = $(CROSS_COMPILE)gcc
- BUILD_FLAGS = -DKTEST
- CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS)
--LDFLAGS += -lrt -lpthread
-+LDLIBS += -lrt -lpthread
-
- # these are all "safe" tests that don't modify
- # system time or require escalated privledges
diff --git a/recipes-kernel/kselftests/kselftests_4.10.bb b/recipes-kernel/kselftests/kselftests_4.10.bb
deleted file mode 100644
index f478e56d..00000000
--- a/recipes-kernel/kselftests/kselftests_4.10.bb
+++ /dev/null
@@ -1,190 +0,0 @@
-SUMMARY = "Linux Kernel Selftests"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
-
-SRC_URI = "\
- https://www.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz \
- file://0001-selftests-lib-allow-to-override-CC-in-the-top-level-Makefile.patch \
- file://0001-selftests-timers-use-LDLIBS-to-link-against-libpthread.patch \
- file://0001-selftests-sigaltstack-fix-packaging.patch \
- file://0001-selftests-seccomp-use-LDLIBS-to-link-against-libpthread.patch \
- file://0001-selftests-gpio-use-pkg-config.patch \
- file://0001-selftests-net-use-LDLIBS-to-link-against-libnuma.patch \
- file://0001-selftests-breakpoints-allow-to-cross-compile-for-aar.patch;apply=no \
- file://0001-selftests-add-ptp-to-TARGETS.patch \
-"
-
-SRC_URI[md5sum] = "b5e7f6b9b2fe1b6cc7bc56a3a0bfc090"
-SRC_URI[sha256sum] = "3c95d9f049bd085e5c346d2c77f063b8425f191460fcd3ae9fe7e94e0477dc4b"
-
-S = "${WORKDIR}/linux-${PV}"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS = "libcap libcap-ng popt rsync-native util-linux pkgconfig-native \
-"
-
-inherit kernel-arch
-
-EXTRA_OEMAKE += "V=1 -C ${S}/tools/testing/selftests INSTALL_PATH=${D}${bindir}/kselftests CC="${CC}" LD="${LD}""
-
-do_compile () {
- # Make sure to install the user space API used by some tests
- # but not properly declared as a build dependency
- ${MAKE} -C ${S} headers_install
- oe_runmake
-}
-
-do_install () {
- oe_runmake install
- chown -R root:root ${D}
- # fixup run_kselftest.sh due to spurious lines starting by "make[1]:"
- sed -i '/^make/d' ${D}${bindir}/kselftests/run_kselftest.sh
-}
-
-PACKAGE_BEFORE_PN = " \
- ${PN}-bpf \
- ${PN}-breakpoints \
- ${PN}-capabilities \
- ${PN}-cpu-hotplug \
- ${PN}-efivarfs \
- ${PN}-exec \
- ${PN}-firmware \
- ${PN}-ftrace \
- ${PN}-futex \
- ${PN}-gpio \
- ${PN}-ipc \
- ${PN}-kcmp \
- ${PN}-lib \
- ${PN}-membarrier \
- ${PN}-memfd \
- ${PN}-memory-hotplug \
- ${PN}-mount \
- ${PN}-mqueue \
- ${PN}-net \
- ${PN}-nsfs \
- ${PN}-powerpc \
- ${PN}-pstore \
- ${PN}-ptp \
- ${PN}-ptrace \
- ${PN}-seccomp \
- ${PN}-sigaltstack \
- ${PN}-size \
- ${PN}-static-keys \
- ${PN}-sync \
- ${PN}-sysctl \
- ${PN}-timers \
- ${PN}-user \
- ${PN}-vm \
- ${PN}-x86 \
- ${PN}-zram \
-"
-
-FILES_${PN}-bpf = "${bindir}/kselftests/bpf"
-FILES_${PN}-breakpoints = "${bindir}/kselftests/breakpoints"
-FILES_${PN}-capabilities = "${bindir}/kselftests/capabilities"
-FILES_${PN}-cpu-hotplug = "${bindir}/kselftests/cpu-hotplug"
-FILES_${PN}-efivarfs = "${bindir}/kselftests/efivarfs"
-FILES_${PN}-exec = "${bindir}/kselftests/exec"
-FILES_${PN}-firmware = "${bindir}/kselftests/firmware"
-FILES_${PN}-ftrace = "${bindir}/kselftests/ftrace"
-FILES_${PN}-futex = "${bindir}/kselftests/futex"
-FILES_${PN}-gpio = "${bindir}/kselftests/gpio"
-FILES_${PN}-ipc = "${bindir}/kselftests/ipc"
-FILES_${PN}-kcmp = "${bindir}/kselftests/kcmp"
-FILES_${PN}-lib = "${bindir}/kselftests/lib"
-FILES_${PN}-membarrier = "${bindir}/kselftests/membarrier"
-FILES_${PN}-memfd = "${bindir}/kselftests/memfd"
-FILES_${PN}-memory-hotplug = "${bindir}/kselftests/memory-hotplug"
-FILES_${PN}-mount = "${bindir}/kselftests/mount"
-FILES_${PN}-mqueue = "${bindir}/kselftests/mqueue"
-FILES_${PN}-net = "${bindir}/kselftests/net"
-FILES_${PN}-nsfs = "${bindir}/kselftests/nsfs"
-FILES_${PN}-powerpc = "${bindir}/kselftests/powerpc"
-FILES_${PN}-pstore = "${bindir}/kselftests/pstore"
-FILES_${PN}-ptp = "${bindir}/kselftests/ptp"
-FILES_${PN}-ptrace = "${bindir}/kselftests/ptrace"
-FILES_${PN}-seccomp = "${bindir}/kselftests/seccomp"
-FILES_${PN}-sigaltstack = "${bindir}/kselftests/sigaltstack"
-FILES_${PN}-size = "${bindir}/kselftests/size"
-FILES_${PN}-static-keys = "${bindir}/kselftests/static_keys"
-FILES_${PN}-sync = "${bindir}/kselftests/sync"
-FILES_${PN}-sysctl = "${bindir}/kselftests/sysctl"
-FILES_${PN}-timers = "${bindir}/kselftests/timers"
-FILES_${PN}-user = "${bindir}/kselftests/user"
-FILES_${PN}-vm = "${bindir}/kselftests/vm"
-FILES_${PN}-x86 = "${bindir}/kselftests/x86"
-FILES_${PN}-zram = "${bindir}/kselftests/zram"
-FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug"
-
-# FIXME bpf target is failing to build and need to be fixed:
-# In file included from test_verifier.c:23:0:
-# ../../../../usr/include/linux/bpf_perf_event.h:14:17: error: field 'regs' has incomplete type
-# struct pt_regs regs;
-# ^~~~
-# make[1]: *** [test_verifier] Error 1
-ALLOW_EMPTY_${PN}-bpf = "1"
-
-# gcc 7.x fails to build seccomp
-ALLOW_EMPTY_${PN}-seccomp = "1"
-
-# FIXME net target builds most of the binaries, but reuseport_bpf_numa depends on libnuma,
-# which is not availbale on ARM, failing entire test case
-ALLOW_EMPTY_${PN}-net = "1"
-
-RDEPENDS_${PN}-cpu-hotplug += "bash"
-RDEPENDS_${PN}-efivarfs += "bash"
-RDEPENDS_${PN}-futex += "bash ncurses"
-RDEPENDS_${PN}-gpio += "bash"
-RDEPENDS_${PN}-memory-hotplug += "bash"
-RDEPENDS_${PN}-net += "bash"
-RDEPENDS_${PN}-vm += "bash sudo"
-RDEPENDS_${PN}-zram += "bash bc"
-RDEPENDS_${PN} += "bash \
- ${PN}-bpf \
- ${PN}-capabilities \
- ${PN}-cpu-hotplug \
- ${PN}-efivarfs \
- ${PN}-exec \
- ${PN}-firmware \
- ${PN}-ftrace \
- ${PN}-futex \
- ${PN}-gpio \
- ${PN}-kcmp \
- ${PN}-lib \
- ${PN}-membarrier \
- ${PN}-memfd \
- ${PN}-memory-hotplug \
- ${PN}-mount \
- ${PN}-mqueue \
- ${PN}-net \
- ${PN}-nsfs \
- ${PN}-pstore \
- ${PN}-ptp \
- ${PN}-ptrace \
- ${PN}-seccomp \
- ${PN}-sigaltstack \
- ${PN}-size \
- ${PN}-static-keys \
- ${PN}-sync \
- ${PN}-sysctl \
- ${PN}-timers \
- ${PN}-user \
- ${PN}-vm \
- ${PN}-zram \
-"
-
-RDEPENDS_${PN}_append_aarch64 = " ${PN}-breakpoints ${PN}-ipc"
-RDEPENDS_${PN}_append_x86 = " ${PN}-breakpoints ${PN}-ipc ${PN}-x86"
-RDEPENDS_${PN}_append_x86-64 = " ${PN}-breakpoints ${PN}-ipc ${PN}-x86"
-RDEPENDS_${PN}_append_powerpc = " ${PN}-powerpc"
-RDEPENDS_${PN}_append_powerpc64 = " ${PN}-powerpc"
-
-INSANE_SKIP_${PN} = "already-stripped"
-INSANE_SKIP_${PN}-exec = "ldflags"
-INSANE_SKIP_${PN}-ipc = "ldflags"
-INSANE_SKIP_${PN}-mount = "ldflags"
-INSANE_SKIP_${PN}-vm = "ldflags"
-
-COMPATIBLE_MACHINE_riscv64 = "(null)"
-COMPATIBLE_MACHINE_riscv32 = "(null)"
diff --git a/recipes-kernel/linux/bundle-devicetree.inc b/recipes-kernel/linux/bundle-devicetree.inc
deleted file mode 100644
index 4d450374..00000000
--- a/recipes-kernel/linux/bundle-devicetree.inc
+++ /dev/null
@@ -1,26 +0,0 @@
-# Upstream kernel-devicetree.bbclass only supports bundling the DTB with
-# zImage. The factory u-boot on lego-ev3 EEPROM only supports uImage, so we
-# append the DTB to the final uImage here.
-
-do_deploy_append() {
- if [ "${KERNEL_DEVICETREE_BUNDLE}" = "1" ]; then
- install -d ${DEPLOYDIR}
- for dtbf in ${KERNEL_DEVICETREE}; do
- dtb=`normalize_dtb "$dtbf"`
- dtb_ext=${dtb##*.}
- dtb_base_name=`basename $dtb .$dtb_ext`
- for type in ${KERNEL_IMAGETYPE_FOR_MAKE}; do
- if [ "$type" = "uImage" ]; then
- cat ${D}/${KERNEL_IMAGEDEST}/$type \
- ${DEPLOYDIR}/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext \
- > ${DEPLOYDIR}/$type-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext.bin
- ln -sf $type-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext.bin \
- ${DEPLOYDIR}/$type-$dtb_base_name-${KERNEL_DTB_LINK_NAME}.$dtb_ext.bin
- cat ${D}/${KERNEL_IMAGEDEST}/$type \
- ${DEPLOYDIR}/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext \
- > ${DEPLOYDIR}/$type
- fi
- done
- done
- fi
-}
diff --git a/recipes-kernel/linux/cmem.inc b/recipes-kernel/linux/cmem.inc
deleted file mode 100644
index 24760a9f..00000000
--- a/recipes-kernel/linux/cmem.inc
+++ /dev/null
@@ -1,96 +0,0 @@
-# Add concept of machine variants to split DTBs into subsets
-#
-# Use these for temporary overrides
-CMEM_MACHINE = "${MACHINE}"
-CMEM_MACHINE_am57xx-evm = "am571x am572x am572idk am5729-beagleboneai am574x"
-CMEM_MACHINE_am57xx-hs-evm = "am571x am572x am572idk am5729-beagleboneai am574x"
-CMEM_MACHINE_dra7xx-evm = "dra71x dra72x dra74x dra76x"
-CMEM_MACHINE_dra7xx-hs-evm = "dra71x dra72x dra74x dra76x"
-
-# Set cmem.dtsi per machine or machine variant
-CMEM_DTSI = "cmem.dtsi"
-CMEM_DTSI_am571x = "cmem-am571x.dtsi"
-CMEM_DTSI_am572idk = "cmem-am572idk.dtsi"
-CMEM_DTSI_am5729-beagleboneai = "cmem-am5729-beagleboneai.dtsi"
-CMEM_DTSI_am574x = "cmem-am574x.dtsi"
-CMEM_DTSI_dra71x = "cmem-dra71x.dtsi"
-CMEM_DTSI_dra72x = "cmem-dra72x.dtsi"
-CMEM_DTSI_dra76x = "cmem-dra76x.dtsi"
-
-# Split device trees between variants
-CMEM_DEVICETREE = "${KERNEL_DEVICETREE}"
-CMEM_DEVICETREE_am571x = "am571x-idk.dtb am571x-idk-lcd-osd101t2045.dtb am571x-idk-lcd-osd101t2587.dtb"
-CMEM_DEVICETREE_am572x = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revc.dtb"
-CMEM_DEVICETREE_am572idk = "am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-osd101t2587.dtb"
-CMEM_DEVICETREE_am5729-beagleboneai = "am5729-beagleboneai.dtb"
-CMEM_DEVICETREE_am574x = "am574x-idk.dtb am574x-idk-lcd-osd101t2587.dtb"
-CMEM_DEVICETREE_dra71x = "dra71-evm.dtb"
-CMEM_DEVICETREE_dra72x = "dra72-evm.dtb dra72-evm-lcd-osd101t2045.dtb dra72-evm-lcd-osd101t2587.dtb \
- dra72-evm-revc.dtb dra72-evm-revc-lcd-osd101t2045.dtb dra72-evm-revc-lcd-osd101t2587.dtb"
-CMEM_DEVICETREE_dra74x = "dra7-evm.dtb dra7-evm-lcd-osd101t2045.dtb dra7-evm-lcd-osd101t2587.dtb"
-CMEM_DEVICETREE_dra76x = "dra76-evm.dtb dra76-evm-tfp410.dtb"
-
-# Flag to enable CMEM injection
-RESERVE_CMEM ?= "0"
-
-# Variables which influence setup_cmem
-CMEM_VARS = "RESERVE_CMEM CMEM_MACHINE"
-CMEM_VARS += "CMEM_DTSI ${@' '.join(map(lambda s: 'CMEM_DTSI_' + s, (d.getVar('CMEM_MACHINE') or '').split()))}"
-CMEM_VARS += "CMEM_DEVICETREE ${@' '.join(map(lambda s: 'CMEM_DEVICETREE_' + s, (d.getVar('CMEM_MACHINE') or '').split()))}"
-
-# Add correct cmem.dtsi to SRC_URI for each variant for a given machine
-python do_unpack() {
- old_overrides = d.getVar('OVERRIDES', False)
-
- # Initialize with empty string to simplify logic to append to SRC_URI
- cmem_dtsi = set([''])
-
- for cmem_machine in (d.getVar('CMEM_MACHINE') or '').split():
- # Create copy of data for additional override
- localdata = bb.data.createCopy(d)
- localdata.setVar('OVERRIDES', '%s:%s' % (cmem_machine, old_overrides))
- bb.data.update_data(localdata)
-
- cmem_dtsi.add(localdata.getVar('CMEM_DTSI'))
-
- d.appendVar('SRC_URI', ' file://'.join(cmem_dtsi))
- bb.build.exec_func('base_do_unpack', d)
-}
-
-python do_setup_cmem() {
- import shutil
-
- old_overrides = d.getVar('OVERRIDES', False)
-
- if d.getVar('RESERVE_CMEM') is '1':
- for cmem_machine in (d.getVar('CMEM_MACHINE') or '').split():
- # Create copy of data for additional override
- localdata = bb.data.createCopy(d)
- localdata.setVar('OVERRIDES', '%s:%s' % (cmem_machine, old_overrides))
- bb.data.update_data(localdata)
-
- # Get source directory and dtsi filename
- src_dir = localdata.getVar('WORKDIR')
- src_dtsi = localdata.getVar('CMEM_DTSI')
-
- # Get destination directory and destination dtsi filename which adds
- # the MACHINE prefix.
- dst_dir = os.path.join(localdata.getVar('S'), localdata.expand('arch/${ARCH}/boot/dts'))
- dst_dtsi = localdata.expand('${MACHINE}-${CMEM_DTSI}')
-
- # Copy cmem.dtsi into source tree
- if localdata.getVar('ARCH') is 'arm64':
- shutil.copy(os.path.join(src_dir,src_dtsi), os.path.join(dst_dir,'ti',dst_dtsi))
- else:
- shutil.copy(os.path.join(src_dir,src_dtsi), os.path.join(dst_dir,dst_dtsi))
-
- # Inject dtsi into each dts in list
- for dtb in (localdata.getVar('CMEM_DEVICETREE') or '').split():
- dts = dtb[:-4] + '.dts'
-
- with open(os.path.join(dst_dir,dts), 'a') as dts_file:
- dts_file.write('\n#include "%s"\n' % dst_dtsi)
-}
-
-do_patch[postfuncs] += "do_setup_cmem"
-do_patch[vardeps] += "${CMEM_VARS}"
diff --git a/recipes-kernel/linux/files/cmem.dtsi b/recipes-kernel/linux/files/cmem.dtsi
deleted file mode 100644
index 23119861..00000000
--- a/recipes-kernel/linux/files/cmem.dtsi
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This is a placeholder for CMEM reserved memory declarations. This
- * is simply an example and does not actually reserve any memory for
- * CMEM.
- *
- * The commented sections below provide an example for how to provide
- * a reserved memory region for CMEM to use as a buffer pool.
- */
-/ {
-/*
- reserved-memory {
- cmem_block_mem_0: cmem_block_mem@a0000000 {
- reg = <0x0 0xa0000000 0x0 0x0a000000>;
- no-map;
- status = "okay";
- };
- };
-*/
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "disabled";
-/*
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x0 0x0a000000>;
- };
-*/
- };
-};
diff --git a/recipes-kernel/linux/files/dra7xx/am571x-pru-uio.dtsi b/recipes-kernel/linux/files/dra7xx/am571x-pru-uio.dtsi
deleted file mode 100644
index 8ca11c78..00000000
--- a/recipes-kernel/linux/files/dra7xx/am571x-pru-uio.dtsi
+++ /dev/null
@@ -1,272 +0,0 @@
-&pruss_soc_bus1 {
- uio_pruss1_mdio: uio_mdio@4b232400 {
- status = "okay";
-
- compatible = "ti,davinci_mdio";
- reg = <0x4b232400 0x90>;
- #address-cells = <1>;
- #size-cells = <0>;
- clocks = <&dpll_gmac_h13x2_ck>;
- clock-names = "fck";
- bus_freq = <1000000>;
-
- reset-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>;
- reset-delay-us = <2>; /* PHY datasheet states 1uS min */
- uio_pruss1_eth0_phy: uio_ethernet-phy@0 {
- reg = <0>;
- };
-
- uio_pruss1_eth1_phy: uio_ethernet-phy@1 {
- reg = <1>;
- };
- };
-
- uio_pruss1_mem: uio_pruss1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4b200000 0x2000>,
- <0x4b202000 0x2000>,
- <0x4b210000 0x8000>,
- <0x4b220000 0x5404>,
- <0x4b226000 0x474>,
- <0x4b22e000 0xc04>,
- <0x4b232000 0x154>;
- mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
- "iep", "mii_rt";
- status = "okay";
- };
- uio_pruss1_mem2: uio_pruss1_mem2 {
- compatible = "ti,uio-module-drv";
- mem = <0x4b228000 0xd4>,
- <0x4b230000 0x174>,
- <0x4b232400 0x234>,
- <0x40300000 0x40000>;
- mem-names = "uart", "ecap", "mdio", "ocmc";
- status = "okay";
- };
- uio_pruss1_evt0: uio_pruss1_evt0 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt1: uio_pruss1_evt1 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt2: uio_pruss1_evt2 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt3: uio_pruss1_evt3 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt4: uio_pruss1_evt4 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt5: uio_pruss1_evt5 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt6: uio_pruss1_evt6 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt7: uio_pruss1_evt7 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
-
- uio_pruss1_0_mem: uio_pruss1_0_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4b234000 0x3000>,
- <0x4b222000 0xb4>,
- <0x4b222400 0x3f4>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-
- uio_pruss1_1_mem: uio_pruss1_1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4b238000 0x3000>,
- <0x4b224000 0xb4>,
- <0x4b224400 0x3f4>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-};
-
-&pruss_soc_bus2 {
- uio_pruss2_mdio: uio_mdio@4b2b2400 {
- compatible = "ti,davinci_mdio";
- reg = <0x4b2b2400 0x90>;
- #address-cells = <1>;
- #size-cells = <0>;
- clocks = <&dpll_gmac_h13x2_ck>;
- clock-names = "fck";
- bus_freq = <1000000>;
- status = "okay";
-
- reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
- reset-delay-us = <2>; /* PHY datasheet states 1uS min */
-
- uio_pruss2_eth0_phy: ethernet-phy@0 {
- reg = <0>;
- };
-
- uio_pruss2_eth1_phy: ethernet-phy@1 {
- reg = <1>;
- };
- };
-
- uio_pruss2_mem: uio_pruss2_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4b280000 0x2000>,
- <0x4b282000 0x2000>,
- <0x4b290000 0x8000>,
- <0x4b2a0000 0x5404>,
- <0x4b2a6000 0x474>,
- <0x4b2ae000 0xc04>,
- <0x4b2b2000 0x154>;
- mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
- "iep", "mii_rt";
- status = "okay";
- };
- uio_pruss2_mem2: uio_pruss2_mem2 {
- compatible = "ti,uio-module-drv";
- mem = <0x4b2a8000 0xd4>,
- <0x4b2b0000 0x174>,
- <0x4b2b2400 0x234>,
- <0x40340000 0x40000>;
- mem-names = "uart", "ecap", "mdio", "ocmc";
- status = "okay";
- };
- uio_pruss2_evt0: uio_pruss2_evt0 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt1: uio_pruss2_evt1 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt2: uio_pruss2_evt2 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt3: uio_pruss2_evt3 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt4: uio_pruss2_evt4 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt5: uio_pruss2_evt5 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt6: uio_pruss2_evt6 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt7: uio_pruss2_evt7 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
-
- uio_pruss2_0_mem: uio_pruss2_0_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4b2b4000 0x3000>,
- <0x4b2a2000 0xb4>,
- <0x4b2a2400 0x3f4>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
- uio_pruss2_1_mem: uio_pruss2_1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4b2b8000 0x3000>,
- <0x4b2a4000 0xb4>,
- <0x4b2a4400 0x3f4>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
- };
-
-&pruss2_emac0 {
- status = "disabled";
-};
-
-&pruss2_emac1 {
- status = "disabled";
-};
-
-&pruss1 {
- status = "disabled";
-};
-
-&pru1_0 {
- status = "disabled";
-};
-
-&pru1_1 {
- status = "disabled";
-};
-
-&pruss1_intc {
- status = "disabled";
-};
-
-&pruss1_mdio {
- status = "disabled";
-};
-
-&pruss2 {
- status = "disabled";
-};
-
-&pru2_0 {
- status = "disabled";
-};
-
-&pru2_1 {
- status = "disabled";
-};
-
-&pruss2_intc {
- status = "disabled";
-};
-
-&pruss2_mdio {
- status = "disabled";
-};
diff --git a/recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi b/recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi
deleted file mode 100644
index 4cc57118..00000000
--- a/recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi
+++ /dev/null
@@ -1,252 +0,0 @@
-&pruss_soc_bus1 {
- uio_pruss1_mem: uio_pruss1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4b200000 0x2000>,
- <0x4b202000 0x2000>,
- <0x4b210000 0x8000>,
- <0x4b220000 0x2000>,
- <0x4b226000 0x2000>,
- <0x4b22e000 0x31c>,
- <0x4b232000 0x58>;
- mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
- "iep", "mii_rt";
- status = "okay";
- };
- uio_pruss1_mem2: uio_pruss1_mem2 {
- compatible = "ti,uio-module-drv";
- mem = <0x4b228000 0x38>,
- <0x4b230000 0x60>,
- <0x4b232400 0x90>,
- <0x40340000 0x40000>;
- mem-names = "uart", "ecap", "mdio", "ocmc";
- status = "okay";
- };
- uio_pruss1_evt0: uio_pruss1_evt0 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt1: uio_pruss1_evt1 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt2: uio_pruss1_evt2 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt3: uio_pruss1_evt3 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt4: uio_pruss1_evt4 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt5: uio_pruss1_evt5 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt6: uio_pruss1_evt6 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt7: uio_pruss1_evt7 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
-
- uio_pruss1_0_mem: uio_pruss1_0_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4b234000 0x3000>,
- <0x4b222000 0x400>,
- <0x4b222400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-
- uio_pruss1_1_mem: uio_pruss1_1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4b238000 0x3000>,
- <0x4b224000 0x400>,
- <0x4b224400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-};
-
-&pruss1 {
- status = "disabled";
-};
-
-&pru1_0 {
- status = "disabled";
-};
-
-&pru1_1 {
- status = "disabled";
-};
-
-&pruss1_intc {
- status = "disabled";
-};
-
-&pruss_soc_bus2 {
- uio_pruss2_mdio: uio_mdio@4b2b2400 {
- compatible = "ti,davinci_mdio";
- reg = <0x4b2b2400 0x90>;
- #address-cells = <1>;
- #size-cells = <0>;
- clocks = <&dpll_gmac_h13x2_ck>;
- clock-names = "fck";
- bus_freq = <1000000>;
- status = "disabled";
- };
-
- uio_pruss2_mem: uio_pruss2_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4b280000 0x2000>,
- <0x4b282000 0x2000>,
- <0x4b290000 0x8000>,
- <0x4b2a0000 0x2000>,
- <0x4b2a6000 0x2000>,
- <0x4b2ae000 0x31c>,
- <0x4b2b2000 0x58>;
- mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
- "iep", "mii_rt";
- status = "okay";
- };
- uio_pruss2_mem2: uio_pruss2_mem2 {
- compatible = "ti,uio-module-drv";
- mem = <0x4b2a8000 0x38>,
- <0x4b2b0000 0x60>,
- <0x4b2b2400 0x90>,
- <0x40300000 0x40000>;
- mem-names = "uart", "ecap", "mdio", "ocmc";
- status = "okay";
- };
- uio_pruss2_evt0: uio_pruss2_evt0 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt1: uio_pruss2_evt1 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt2: uio_pruss2_evt2 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt3: uio_pruss2_evt3 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt4: uio_pruss2_evt4 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt5: uio_pruss2_evt5 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt6: uio_pruss2_evt6 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt7: uio_pruss2_evt7 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
-
- uio_pruss2_0_mem: uio_pruss2_0_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4b2b4000 0x3000>,
- <0x4b2a2000 0x400>,
- <0x4b2a2400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
- uio_pruss2_1_mem: uio_pruss2_1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4b2b8000 0x3000>,
- <0x4b2a4000 0x400>,
- <0x4b2a4400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-};
-
-&uio_pruss2_mdio {
- reset-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>,
- <&gpio5 9 GPIO_ACTIVE_LOW>;
- reset-delay-us = <2>; /* PHY datasheet states 1uS min */
-};
-
-&uio_pruss2_mdio {
- status = "okay";
- uio_pruss2_eth0_phy: uio_pruss2_eth0_phy@0 {
- reg = <0>;
- };
-
- uio_pruss2_eth1_phy: uio_pruss2_eth1_phy@1 {
- reg = <1>;
- };
-};
-
-&pruss2_emac0 {
- status = "disabled";
-};
-
-&pruss2_emac1 {
- status = "disabled";
-};
-
-&pruss2 {
- status = "disabled";
-};
-
-&pru2_0 {
- status = "disabled";
-};
-
-&pru2_1 {
- status = "disabled";
-};
-
-&pruss2_intc {
- status = "disabled";
-};
-
-&pruss2_mdio {
- status = "disabled";
-};
diff --git a/recipes-kernel/linux/files/dra7xx/cmem-am571x.dtsi b/recipes-kernel/linux/files/dra7xx/cmem-am571x.dtsi
deleted file mode 100644
index ebd61296..00000000
--- a/recipes-kernel/linux/files/dra7xx/cmem-am571x.dtsi
+++ /dev/null
@@ -1,29 +0,0 @@
-/ {
- reserved-memory {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
-
- cmem_block_mem_0: cmem_block_mem@a0000000 {
- reg = <0x0 0xa0000000 0x0 0x0c000000>;
- no-map;
- status = "okay";
- };
- };
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x0 0x0c000000>;
- };
- };
-};
diff --git a/recipes-kernel/linux/files/dra7xx/cmem-am5729-beagleboneai.dtsi b/recipes-kernel/linux/files/dra7xx/cmem-am5729-beagleboneai.dtsi
deleted file mode 100644
index e0511d08..00000000
--- a/recipes-kernel/linux/files/dra7xx/cmem-am5729-beagleboneai.dtsi
+++ /dev/null
@@ -1,40 +0,0 @@
-/ {
- reserved-memory {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
-
- cmem_block_mem_0: cmem_block_mem@a0000000 {
- reg = <0x0 0xa0000000 0x0 0x18000000>;
- no-map;
- status = "okay";
- };
-
- cmem_block_mem_1_ocmc3: cmem_block_mem@40500000 {
- reg = <0x0 0x40500000 0x0 0x100000>;
- no-map;
- status = "okay";
- };
- };
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x0 0x18000000>;
- };
-
- cmem_block_1: cmem_block@1 {
- reg = <1>;
- memory-region = <&cmem_block_mem_1_ocmc3>;
- };
- };
-};
diff --git a/recipes-kernel/linux/files/dra7xx/cmem-am572idk.dtsi b/recipes-kernel/linux/files/dra7xx/cmem-am572idk.dtsi
deleted file mode 100644
index 6c39e22c..00000000
--- a/recipes-kernel/linux/files/dra7xx/cmem-am572idk.dtsi
+++ /dev/null
@@ -1,40 +0,0 @@
-/ {
- reserved-memory {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
-
- cmem_block_mem_0: cmem_block_mem@a0000000 {
- reg = <0x0 0xa0000000 0x0 0x20000000>;
- no-map;
- status = "okay";
- };
-
- cmem_block_mem_1_ocmc3: cmem_block_mem@40500000 {
- reg = <0x0 0x40500000 0x0 0x100000>;
- no-map;
- status = "okay";
- };
- };
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x0 0x20000000>;
- };
-
- cmem_block_1: cmem_block@1 {
- reg = <1>;
- memory-region = <&cmem_block_mem_1_ocmc3>;
- };
- };
-};
diff --git a/recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi b/recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi
deleted file mode 100644
index 8fb3e871..00000000
--- a/recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi
+++ /dev/null
@@ -1,40 +0,0 @@
-/ {
- reserved-memory {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
-
- cmem_block_mem_0: cmem_block_mem@a0000000 {
- reg = <0x0 0xa0000000 0x0 0x18000000>;
- no-map;
- status = "okay";
- };
-
- cmem_block_mem_1_ocmc3: cmem_block_mem@40500000 {
- reg = <0x0 0x40500000 0x0 0x100000>;
- no-map;
- status = "okay";
- };
- };
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x0 0x18000000>;
- };
-
- cmem_block_1: cmem_block@1 {
- reg = <1>;
- memory-region = <&cmem_block_mem_1_ocmc3>;
- };
- };
-};
diff --git a/recipes-kernel/linux/files/dra7xx/cmem-dra71x.dtsi b/recipes-kernel/linux/files/dra7xx/cmem-dra71x.dtsi
deleted file mode 100644
index ebd61296..00000000
--- a/recipes-kernel/linux/files/dra7xx/cmem-dra71x.dtsi
+++ /dev/null
@@ -1,29 +0,0 @@
-/ {
- reserved-memory {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
-
- cmem_block_mem_0: cmem_block_mem@a0000000 {
- reg = <0x0 0xa0000000 0x0 0x0c000000>;
- no-map;
- status = "okay";
- };
- };
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x0 0x0c000000>;
- };
- };
-};
diff --git a/recipes-kernel/linux/files/dra7xx/cmem-dra72x.dtsi b/recipes-kernel/linux/files/dra7xx/cmem-dra72x.dtsi
deleted file mode 100644
index ebd61296..00000000
--- a/recipes-kernel/linux/files/dra7xx/cmem-dra72x.dtsi
+++ /dev/null
@@ -1,29 +0,0 @@
-/ {
- reserved-memory {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
-
- cmem_block_mem_0: cmem_block_mem@a0000000 {
- reg = <0x0 0xa0000000 0x0 0x0c000000>;
- no-map;
- status = "okay";
- };
- };
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x0 0x0c000000>;
- };
- };
-};
diff --git a/recipes-kernel/linux/files/dra7xx/cmem-dra76x.dtsi b/recipes-kernel/linux/files/dra7xx/cmem-dra76x.dtsi
deleted file mode 100644
index 9d207db5..00000000
--- a/recipes-kernel/linux/files/dra7xx/cmem-dra76x.dtsi
+++ /dev/null
@@ -1,29 +0,0 @@
-/ {
- reserved-memory {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
-
- cmem_block_mem_0: cmem_block_mem@a0000000 {
- reg = <0x0 0xa0000000 0x0 0x18000000>;
- no-map;
- status = "okay";
- };
- };
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x0 0x18000000>;
- };
- };
-};
diff --git a/recipes-kernel/linux/files/dra7xx/cmem.dtsi b/recipes-kernel/linux/files/dra7xx/cmem.dtsi
deleted file mode 100644
index c7781c48..00000000
--- a/recipes-kernel/linux/files/dra7xx/cmem.dtsi
+++ /dev/null
@@ -1,40 +0,0 @@
-/ {
- reserved-memory {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
-
- cmem_block_mem_0: cmem_block_mem@a0000000 {
- reg = <0x0 0xa0000000 0x0 0x0c000000>;
- no-map;
- status = "okay";
- };
-
- cmem_block_mem_1_ocmc3: cmem_block_mem@40500000 {
- reg = <0x0 0x40500000 0x0 0x100000>;
- no-map;
- status = "okay";
- };
- };
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x0 0x0c000000>;
- };
-
- cmem_block_1: cmem_block@1 {
- reg = <1>;
- memory-region = <&cmem_block_mem_1_ocmc3>;
- };
- };
-};
diff --git a/recipes-kernel/linux/files/k2e/cmem.dtsi b/recipes-kernel/linux/files/k2e/cmem.dtsi
deleted file mode 100644
index c233768d..00000000
--- a/recipes-kernel/linux/files/k2e/cmem.dtsi
+++ /dev/null
@@ -1,36 +0,0 @@
-/ {
- reserved-memory {
- cmem_block_mem_0: cmem_block_mem@830000000 {
- reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
- no-map;
- status = "okay";
- };
- };
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x00000000 0x18000000>;
- };
-
- cmem_block_1: cmem_block@1 {
- reg = <1>;
- sram = <&sram_cmem>;
- };
- };
-};
-
-&msm_ram {
- sram_cmem: sram-cmem@80000 {
- reg = <0x80000 0xc0000>;
- };
-};
diff --git a/recipes-kernel/linux/files/k2e/k2e-uio.dtsi b/recipes-kernel/linux/files/k2e/k2e-uio.dtsi
deleted file mode 100644
index 052ae97c..00000000
--- a/recipes-kernel/linux/files/k2e/k2e-uio.dtsi
+++ /dev/null
@@ -1,32 +0,0 @@
-/ {
- soc {
- uio_hyperlink0: hyperlink0 {
- compatible = "ti,uio-module-drv";
- mem = <0x21400000 0x00001000
- 0x40000000 0x10000000
- 0x0231a000 0x00002000>;
- clocks = <&clkhyperlink0>;
- interrupts = <0 387 0x101>;
- cfg-params
- {
- ti,serdes_refclk_khz = <312500>;
- ti,serdes_maxserrate_khz = <6250000>;
- ti,serdes_lanerate = "half";
- ti,serdes_numlanes = <4>;
- ti,serdes_c1 = <4 4 4 4>;
- ti,serdes_c2 = <0 0 0 0>;
- ti,serdes_cm = <0 0 0 0>;
- ti,serdes_tx_att = <12 12 12 12>;
- ti,serdes_tx_vreg = <4 4 4 4>;
- ti,serdes_rx_att = <11 11 11 11>;
- ti,serdes_rx_boost = <3 3 3 3>;
- };
- };
- uio_srss: srss {
- compatible = "ti,uio-module-drv";
- mem = <0x02330000 0x0000400>;
- clocks=<&clksr>;
- interrupts = <0 0x173 0xf01>;
- };
- };
-};
diff --git a/recipes-kernel/linux/files/k2g/cmem.dtsi b/recipes-kernel/linux/files/k2g/cmem.dtsi
deleted file mode 100644
index 4c68d82d..00000000
--- a/recipes-kernel/linux/files/k2g/cmem.dtsi
+++ /dev/null
@@ -1,37 +0,0 @@
-/ {
- reserved-memory {
-
- cmem_block_mem_0: cmem_block_mem@818000000 {
- reg = <0x00000008 0x18000000 0x00000000 0x5000000>;
- no-map;
- status = "okay";
- };
- };
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x00000000 0x5000000>;
- };
-
- cmem_block_1: cmem_block@1 {
- reg = <1>;
- sram = <&sram_cmem>;
- };
- };
-};
-
-&msm_ram {
- sram_cmem: sram-cmem@a0000 {
- reg = <0xa0000 0x57000>;
- };
-};
diff --git a/recipes-kernel/linux/files/k2g/keystone-k2g-pru-uio.dtsi b/recipes-kernel/linux/files/k2g/keystone-k2g-pru-uio.dtsi
deleted file mode 100644
index 49894e0d..00000000
--- a/recipes-kernel/linux/files/k2g/keystone-k2g-pru-uio.dtsi
+++ /dev/null
@@ -1,391 +0,0 @@
-&pruss_soc_bus0 {
- uio_pruss1_mdio: uio_mdio@20ab2400 {
- compatible = "ti,davinci_mdio";
- reg = <0x20ab2400 0x90>;
- clocks = <&k2g_clks 0x0014 1>;
- clock-names = "fck";
- #address-cells = <1>;
- #size-cells = <0>;
- bus_freq = <2500000>;
- status = "disabled";
- };
-
- uio_pruss1_mem: uio_pruss1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x20a80000 0x2000>,
- <0x20a82000 0x2000>,
- <0x20a90000 0x10000>,
- <0x20aa0000 0x2000>,
- <0x20aa6000 0x2000>,
- <0x20aae000 0x31c>,
- <0x20ab2000 0x70>;
- mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
- "iep", "mii_rt";
- status = "okay";
- };
- uio_pruss1_mem2: uio_pruss1_mem2 {
- compatible = "ti,uio-module-drv";
- mem = <0x20aa8000 0x38>,
- <0x20ab0000 0x60>,
- <0x20ab2400 0x90>,
- <0x0c080000 0xe000>;
- mem-names = "uart", "ecap", "mdio", "ocmc";
- status = "okay";
- };
- uio_pruss1_evt0: uio_pruss1_evt0 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 224 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
- uio_pruss1_evt1: uio_pruss1_evt1 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 225 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
- uio_pruss1_evt2: uio_pruss1_evt2 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 226 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
- uio_pruss1_evt3: uio_pruss1_evt3 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 227 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
- uio_pruss1_evt4: uio_pruss1_evt4 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 228 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
- uio_pruss1_evt6: uio_pruss1_evt6 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 230 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
- uio_pruss1_evt7: uio_pruss1_evt7 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 231 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
-
- uio_pruss1_0_mem: uio_pruss1_0_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x20ab4000 0x3000>,
- <0x20aa2000 0x400>,
- <0x20aa2400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-
- uio_pruss1_1_mem: uio_pruss1_1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x20ab8000 0x3000>,
- <0x20aa4000 0x400>,
- <0x20aa4400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-};
-
-&pruss_soc_bus1 {
- uio_pruss2_mdio: uio_mdio@20af2400 {
- compatible = "ti,davinci_mdio";
- reg = <0x20af2400 0x90>;
- clocks = <&k2g_clks 0x0015 1>;
- clock-names = "fck";
- #address-cells = <1>;
- #size-cells = <0>;
- bus_freq = <2500000>;
- status = "disabled";
- };
-
- uio_pruss2_mem: uio_pruss2_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x20ac0000 0x2000>,
- <0x20ac2000 0x2000>,
- <0x20ad0000 0x10000>,
- <0x20ae0000 0x2000>,
- <0x20ae6000 0x2000>,
- <0x20aee000 0x31c>,
- <0x20af2000 0x70>;
- mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
- "iep", "mii_rt";
- status = "okay";
- };
- uio_pruss2_mem2: uio_pruss2_mem2 {
- compatible = "ti,uio-module-drv";
- mem = <0x20ae8000 0x38>,
- <0x20af0000 0x60>,
- <0x20af2400 0x90>,
- <0x0c08e000 0xe000>;
- mem-names = "uart", "ecap", "mdio", "ocmc";
- status = "okay";
- };
- uio_pruss2_evt0: uio_pruss2_evt0 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 232 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
- uio_pruss2_evt1: uio_pruss2_evt1 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 233 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
- uio_pruss2_evt2: uio_pruss2_evt2 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 234 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
- uio_pruss2_evt3: uio_pruss2_evt3 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 235 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
- uio_pruss2_evt4: uio_pruss2_evt4 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 236 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
- uio_pruss2_evt6: uio_pruss2_evt6 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 238 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
- uio_pruss2_evt7: uio_pruss2_evt7 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 239 0xf01>;
- interrupt-mode = <0>;
- status = "okay";
- };
-
- uio_pruss2_0_mem: uio_pruss2_0_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x20af4000 0x3000>,
- <0x20ae2000 0x400>,
- <0x20ae2400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
- uio_pruss2_1_mem: uio_pruss2_1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x20af8000 0x3000>,
- <0x20ae4000 0x400>,
- <0x20ae4400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-};
-
-&k2g_pinctrl {
- uio_pruss1_mdio_eth_default: uio_pruss1_mdio_eth_default {
- pinctrl-single,pins = <
- K2G_CORE_IOPAD(0x12cc) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0) /* pr0_mdio_data.pr0_mdio_data */
- K2G_CORE_IOPAD(0x12d0) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE0) /* pr0_mdio_mdclk.pr0_mdio_mdclk */
- K2G_CORE_IOPAD(0x105c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE3) /* gpmc_wait1.gpio0_23 (pr0_mii0_resetn) */
- K2G_CORE_IOPAD(0x1070) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE3) /* gpmc_csn2.gpio0_28 (pr0_mii0_intn) */
- K2G_CORE_IOPAD(0x1054) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE3) /* gpmc_be1n.gpio0_21 (pr0_mii1_resetn) */
- K2G_CORE_IOPAD(0x1074) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE3) /* gpmc_csn3.gpio0_29 (pr0_mii1_intn) */
-
- /* PRUSS0 External Mux routing */
- K2G_CORE_IOPAD(0x11d4) (BUFFER_CLASS_B | MUX_MODE3) /* uart0_ctsn.gpio0_106 */
- K2G_CORE_IOPAD(0x11d8) (BUFFER_CLASS_B | MUX_MODE3) /* uart0_rtsn.gpio0_107 */
- K2G_CORE_IOPAD(0x11fc) (BUFFER_CLASS_B | MUX_MODE3) /* dcan0_rx.gpio1_57 */
- K2G_CORE_IOPAD(0x1200) (BUFFER_CLASS_B | MUX_MODE3) /* dcan0_tx.gpio1_56 */
- K2G_CORE_IOPAD(0x1224) (BUFFER_CLASS_B | MUX_MODE3) /* qspi_csn2.gpio1_66 */
- K2G_CORE_IOPAD(0x1228) (BUFFER_CLASS_B | MUX_MODE3) /* qspi_csn3.gpio1_67 */
-
- /* PRUSS0 PRU0 Ethernet */
- K2G_CORE_IOPAD(0x122c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo0.pr0_pru0_gpi0 (pr0_mii0_rxd0) */
- K2G_CORE_IOPAD(0x1230) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo1.pr0_pru0_gpi1 (pr0_mii0_rxd1) */
- K2G_CORE_IOPAD(0x1234) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo2.pr0_pru0_gpi2 (pr0_mii0_rxd2) */
- K2G_CORE_IOPAD(0x1238) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo3.pr0_pru0_gpi3 (pr0_mii0_rxd3) */
- K2G_CORE_IOPAD(0x123c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo4.pr0_pru0_gpi4 (pr0_mii0_rxdv) */
- K2G_CORE_IOPAD(0x1240) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo5.pr0_pru0_gpi5 (pr0_mii0_rxer) */
- K2G_CORE_IOPAD(0x1244) (BUFFER_CLASS_B | MUX_MODE1) /* pr0_pru0_gpo6.pr0_pru0_gpi6 (pr0_mii_mr0_clk) */
-
- K2G_CORE_IOPAD(0x124c) (BUFFER_CLASS_B | MUX_MODE1) /* pr0_pru0_gpo8.pr0_pru0_gpi8 (pr0_mii0_rxlink) */
- K2G_CORE_IOPAD(0x1250) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo9.pr0_pru0_gpi9 (pr0_mii0_col) */
- K2G_CORE_IOPAD(0x1254) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo10.pr0_pru0_gpi10 (pr0_mii0_crs) */
-
- K2G_CORE_IOPAD(0x12a8) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru1_gpo11.pr0_pru1_gpo11 (pr0_mii0_txd0) */
- K2G_CORE_IOPAD(0x12ac) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru1_gpo12.pr0_pru1_gpo12 (pr0_mii0_txd1) */
- K2G_CORE_IOPAD(0x12b0) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru1_gpo13.pr0_pru1_gpo13 (pr0_mii0_txd2) */
- K2G_CORE_IOPAD(0x12b4) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru1_gpo14.pr0_pru1_gpo14 (pr0_mii0_txd3) */
- K2G_CORE_IOPAD(0x12b8) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru1_gpo15.pr0_pru1_gpo15 (pr0_mii0_txen) */
- K2G_CORE_IOPAD(0x12bc) (BUFFER_CLASS_B | MUX_MODE1) /* pr0_pru1_gpo16.pr0_pru1_gpo16 (pr0_mii_mt0_clk) */
-
- /* PRUSS0 PRU1 Ethernet */
- K2G_CORE_IOPAD(0x127c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo0.pr0_pru1_gpi0 (pr0_mii1_rxd0) */
- K2G_CORE_IOPAD(0x1280) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo1.pr0_pru1_gpi1 (pr0_mii1_rxd1) */
- K2G_CORE_IOPAD(0x1284) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo2.pr0_pru1_gpi2 (pr0_mii1_rxd2) */
- K2G_CORE_IOPAD(0x1288) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo3.pr0_pru1_gpi3 (pr0_mii1_rxd3) */
- K2G_CORE_IOPAD(0x128c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo4.pr0_pru1_gpi4 (pr0_mii1_rxdv) */
- K2G_CORE_IOPAD(0x1290) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo5.pr0_pru1_gpi5 (pr0_mii1_rxer) */
- K2G_CORE_IOPAD(0x1294) (BUFFER_CLASS_B | MUX_MODE1) /* pr0_pru1_gpo6.pr0_pru1_gpi6 (pr0_mii_mr1_clk) */
-
- K2G_CORE_IOPAD(0x129c) (BUFFER_CLASS_B | MUX_MODE1) /* pr0_pru1_gpo8.pr0_pru1_gpi8 (pr0_mii1_rxlink) */
- K2G_CORE_IOPAD(0x12a0) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo9.pr0_pru1_gpi9 (pr0_mii1_col) */
- K2G_CORE_IOPAD(0x12a4) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo10.pr0_pru1_gpi10 (pr0_mii1_crs) */
-
- K2G_CORE_IOPAD(0x1258) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru0_gpo11.pr0_pru0_gpo11 (pr0_mii1_txd0) */
- K2G_CORE_IOPAD(0x125c) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru0_gpo12.pr0_pru0_gpo12 (pr0_mii1_txd1) */
- K2G_CORE_IOPAD(0x1260) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru0_gpo13.pr0_pru0_gpo13 (pr0_mii1_txd2) */
- K2G_CORE_IOPAD(0x1264) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru0_gpo14.pr0_pru0_gpo14 (pr0_mii1_txd3) */
- K2G_CORE_IOPAD(0x1268) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru0_gpo15.pr0_pru0_gpo15 (pr0_mii1_txen) */
- K2G_CORE_IOPAD(0x126c) (BUFFER_CLASS_B | MUX_MODE1) /* pr0_pru0_gpo16.pr0_pru0_gpo16 (pr0_mii_mt1_clk) */
- >;
- };
-
- uio_pruss2_mdio_eth_default: uio_pruss2_mdio_eth_default {
- pinctrl-single,pins = <
- K2G_CORE_IOPAD(0x1374) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0) /* pr1_mdio_data.pr1_mdio_data */
- K2G_CORE_IOPAD(0x1378) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE0) /* pr1_mdio_mdclk.pr1_mdio_mdclk */
- K2G_CORE_IOPAD(0x1050) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE3) /* gpmc_be0ncle.gpio0_20 (pr1_mii0_resetn) */
- K2G_CORE_IOPAD(0x1044) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE3) /* gpmc_advnale.gpio0_17 (pr1_mii0_intn) */
- K2G_CORE_IOPAD(0x1060) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE3) /* gpmc_wpn.gpio0_24 (pr1_mii1_resetn) */
- K2G_CORE_IOPAD(0x1088) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE3) /* gpmc_wait0.gpio0_22 (pr1_mii1_intn) */
-
- /* PRUSS1 PRU0 Ethernet */
- K2G_CORE_IOPAD(0x12d4) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo0.pr1_pru0_gpi0 (pr1_mii0_rxd0) */
- K2G_CORE_IOPAD(0x12d8) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo1.pr1_pru0_gpi1 (pr1_mii0_rxd1) */
- K2G_CORE_IOPAD(0x12dc) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo2.pr1_pru0_gpi2 (pr1_mii0_rxd2) */
- K2G_CORE_IOPAD(0x12e0) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo3.pr1_pru0_gpi3 (pr1_mii0_rxd3) */
- K2G_CORE_IOPAD(0x12e4) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo4.pr1_pru0_gpi4 (pr1_mii0_rxdv) */
- K2G_CORE_IOPAD(0x12e8) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo5.pr1_pru0_gpi5 (pr1_mii0_rxer) */
- K2G_CORE_IOPAD(0x12ec) (BUFFER_CLASS_B | MUX_MODE1) /* pr1_pru0_gpo6.pr1_pru0_gpi6 (pr1_mii_mr0_clk) */
-
- K2G_CORE_IOPAD(0x12f4) (BUFFER_CLASS_B | MUX_MODE1) /* pr1_pru0_gpo8.pr1_pru0_gpi8 (pr1_mii0_rxlink) */
- K2G_CORE_IOPAD(0x12f8) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo9.pr1_pru0_gpi9 (pr1_mii0_col) */
- K2G_CORE_IOPAD(0x12fc) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo10.pr1_pru0_gpi10 (pr1_mii0_crs) */
-
- K2G_CORE_IOPAD(0x1350) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru1_gpo11.pr1_pru1_gpo11 (pr1_mii0_txd0) */
- K2G_CORE_IOPAD(0x1354) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru1_gpo12.pr1_pru1_gpo12 (pr1_mii0_txd1) */
- K2G_CORE_IOPAD(0x1358) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru1_gpo13.pr1_pru1_gpo13 (pr1_mii0_txd2) */
- K2G_CORE_IOPAD(0x135c) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru1_gpo14.pr1_pru1_gpo14 (pr1_mii0_txd3) */
- K2G_CORE_IOPAD(0x1360) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru1_gpo15.pr1_pru1_gpo15 (pr1_mii0_txen) */
- K2G_CORE_IOPAD(0x1364) (BUFFER_CLASS_B | MUX_MODE1) /* pr1_pru1_gpo16.pr1_pru1_gpo16 (pr1_mii_mt0_clk) */
-
- /* PRUSS1 PRU1 Ethernet */
- K2G_CORE_IOPAD(0x1324) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo0.pr1_pru1_gpi0 (pr1_mii1_rxd0) */
- K2G_CORE_IOPAD(0x132c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo2.pr1_pru1_gpi2 (pr1_mii1_rxd2) */
- K2G_CORE_IOPAD(0x1330) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo3.pr1_pru1_gpi3 (pr1_mii1_rxd3) */
- K2G_CORE_IOPAD(0x1334) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo4.pr1_pru1_gpi4 (pr1_mii1_rxdv) */
- K2G_CORE_IOPAD(0x1338) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo5.pr1_pru1_gpi5 (pr1_mii1_rxer) */
- K2G_CORE_IOPAD(0x133c) (BUFFER_CLASS_B | MUX_MODE1) /* pr1_pru1_gpo6.pr1_pru1_gpi6 (pr1_mii_mr1_clk) */
-
- K2G_CORE_IOPAD(0x1344) (BUFFER_CLASS_B | MUX_MODE1) /* pr1_pru1_gpo8.pr1_pru1_gpi8 (pr1_mii1_rxlink) */
- K2G_CORE_IOPAD(0x1348) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo9.pr1_pru1_gpi9 (pr1_mii1_col) */
- K2G_CORE_IOPAD(0x134c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo10.pr1_pru1_gpi10 (pr1_mii1_crs) */
-
- K2G_CORE_IOPAD(0x1300) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru0_gpo11.pr1_pru0_gpo11 (pr1_mii1_txd0) */
- K2G_CORE_IOPAD(0x1304) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru0_gpo12.pr1_pru0_gpo12 (pr1_mii1_txd1) */
- K2G_CORE_IOPAD(0x1308) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru0_gpo13.pr1_pru0_gpo13 (pr1_mii1_txd2) */
- K2G_CORE_IOPAD(0x130c) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru0_gpo14.pr1_pru0_gpo14 (pr1_mii1_txd3) */
- K2G_CORE_IOPAD(0x1310) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru0_gpo15.pr1_pru0_gpo15 (pr1_mii1_txen) */
- K2G_CORE_IOPAD(0x1314) (BUFFER_CLASS_B | MUX_MODE1) /* pr1_pru0_gpo16.pr1_pru0_gpo16 (pr1_mii_mt1_clk) */
- >;
- };
-};
-
-&uio_pruss1_mdio {
- status = "okay";
- pinctrl-0 = <&uio_pruss1_mdio_eth_default>;
- pinctrl-names = "default";
- reset-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>,
- <&gpio0 21 GPIO_ACTIVE_LOW>;
- reset-delay-us = <20>;
-
- uio_pruss1_eth0_phy: uio-ethernet-phy@0 {
- reg = <0>;
- };
-
- uio_pruss1_eth1_phy: uio-ethernet-phy@1 {
- reg = <1>;
- };
-};
-
-&uio_pruss2_mdio {
- status = "okay";
- pinctrl-0 = <&uio_pruss2_mdio_eth_default>;
- pinctrl-names = "default";
- reset-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>,
- <&gpio0 24 GPIO_ACTIVE_LOW>;
- reset-delay-us = <20>;
-
- uio_pruss2_eth0_phy: uio-ethernet-phy@2 {
- reg = <2>;
- };
-
- uio_pruss2_eth1_phy: uio-ethernet-phy@3 {
- reg = <3>;
- };
-};
-
-&pruss0 {
- status = "disabled";
-};
-
-&pru0_0 {
- status = "disabled";
-};
-
-&pru0_1 {
- status = "disabled";
-};
-
-&pruss0_intc {
- status = "disabled";
-};
-
-&pruss0_mdio {
- status = "disabled";
-};
-
-&pruss1 {
- status = "disabled";
-};
-
-&pru1_0 {
- status = "disabled";
-};
-
-&pru1_1 {
- status = "disabled";
-};
-
-&pruss1_intc {
- status = "disabled";
-};
-
-&pruss1_mdio {
- status = "disabled";
-};
-
-&pruss0_emac0 {
- status = "disabled";
-};
-
-&pruss0_emac1 {
- status = "disabled";
-};
-
-&pruss1_emac0 {
- status = "disabled";
-};
-
-&pruss1_emac1 {
- status = "disabled";
-};
diff --git a/recipes-kernel/linux/files/k2hk/cmem.dtsi b/recipes-kernel/linux/files/k2hk/cmem.dtsi
deleted file mode 100644
index 400aa9dd..00000000
--- a/recipes-kernel/linux/files/k2hk/cmem.dtsi
+++ /dev/null
@@ -1,37 +0,0 @@
-/ {
- reserved-memory {
-
- cmem_block_mem_0: cmem_block_mem@830000000 {
- reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
- no-map;
- status = "okay";
- };
- };
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x00000000 0x18000000>;
- };
-
- cmem_block_1: cmem_block@1 {
- reg = <1>;
- sram = <&sram_cmem>;
- };
- };
-};
-
-&msm_ram {
- sram_cmem: sram-cmem@100000 {
- reg = <0x100000 0x480000>;
- };
-};
diff --git a/recipes-kernel/linux/files/k2hk/k2hk-uio.dtsi b/recipes-kernel/linux/files/k2hk/k2hk-uio.dtsi
deleted file mode 100644
index cabe0b8d..00000000
--- a/recipes-kernel/linux/files/k2hk/k2hk-uio.dtsi
+++ /dev/null
@@ -1,58 +0,0 @@
-/ {
- soc {
- uio_hyperlink0: hyperlink0 {
- compatible = "ti,uio-module-drv";
- mem = <0x21400000 0x00001000
- 0x40000000 0x10000000
- 0x0231a000 0x00002000>;
- clocks = <&clkhyperlink0>;
- interrupts = <0 387 0x101>;
- cfg-params
- {
- ti,serdes_refclk_khz = <312500>;
- ti,serdes_maxserrate_khz = <6250000>;
- ti,serdes_lanerate = "half";
- ti,serdes_numlanes = <4>;
- ti,serdes_c1 = <4 4 4 4>;
- ti,serdes_c2 = <0 0 0 0>;
- ti,serdes_cm = <0 0 0 0>;
- ti,serdes_tx_att = <12 12 12 12>;
- ti,serdes_tx_vreg = <4 4 4 4>;
- ti,serdes_rx_att = <11 11 11 11>;
- ti,serdes_rx_boost = <3 3 3 3>;
- };
- };
-
- uio_hyperlink1: hyperlink1 {
- compatible = "ti,uio-module-drv";
- mem = <0x21400000 0x00001000
- 0x28000000 0x08000000
- 0x0231c000 0x00002000>;
- clocks = <&clkhyperlink1>;
- interrupts = <0 388 0x101>;
- cfg-params
- {
- ti,serdes_refclk_khz = <312500>;
- ti,serdes_maxserrate_khz = <6250000>;
- ti,serdes_lanerate = "half";
- ti,serdes_numlanes = <4>;
- ti,serdes_c1 = <4 4 4 4>;
- ti,serdes_c2 = <0 0 0 0>;
- ti,serdes_cm = <0 0 0 0>;
- ti,serdes_tx_att = <12 12 12 12>;
- ti,serdes_tx_vreg = <4 4 4 4>;
- ti,serdes_rx_att = <11 11 11 11>;
- ti,serdes_rx_boost = <3 3 3 3>;
- };
- };
-
- uio_srio: srio {
- compatible = "ti,uio-module-drv";
- mem = <0x0232C000 0x00002000
- 0x02900000 0x00040000
- 0x0232C000 0x00002000>;
- clocks=<&clksrio>;
- interrupts = <0 154 0xf01>;
- };
- };
-};
diff --git a/recipes-kernel/linux/files/k2l/cmem.dtsi b/recipes-kernel/linux/files/k2l/cmem.dtsi
deleted file mode 100644
index da389e5d..00000000
--- a/recipes-kernel/linux/files/k2l/cmem.dtsi
+++ /dev/null
@@ -1,37 +0,0 @@
-/ {
- reserved-memory {
-
- cmem_block_mem_0: cmem_block_mem@830000000 {
- reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
- no-map;
- status = "okay";
- };
- };
-
- cmem {
- compatible = "ti,cmem";
- #address-cells = <1>;
- #size-cells = <0>;
-
- #pool-size-cells = <2>;
-
- status = "okay";
-
- cmem_block_0: cmem_block@0 {
- reg = <0>;
- memory-region = <&cmem_block_mem_0>;
- cmem-buf-pools = <1 0x00000000 0x18000000>;
- };
-
- cmem_block_1: cmem_block@1 {
- reg = <1>;
- sram = <&sram_cmem>;
- };
- };
-};
-
-&msm_ram {
- sram_cmem: sram-cmem@80000 {
- reg = <0x80000 0xc0000>;
- };
-};
diff --git a/recipes-kernel/linux/files/k2l/k2l-uio.dtsi b/recipes-kernel/linux/files/k2l/k2l-uio.dtsi
deleted file mode 100644
index a1b2e07e..00000000
--- a/recipes-kernel/linux/files/k2l/k2l-uio.dtsi
+++ /dev/null
@@ -1,10 +0,0 @@
-/ {
- soc {
- uio_srss: srss {
- compatible = "ti,uio-module-drv";
- mem = <0x02330000 0x0000400>;
- clocks=<&clksr>;
- interrupts = <0 0x173 0xf01>;
- };
- };
-};
diff --git a/recipes-kernel/linux/files/keystone/keystone-uio.dtsi b/recipes-kernel/linux/files/keystone/keystone-uio.dtsi
deleted file mode 100644
index 43b183db..00000000
--- a/recipes-kernel/linux/files/keystone/keystone-uio.dtsi
+++ /dev/null
@@ -1,186 +0,0 @@
-/ {
- soc {
- uio_mpax: mpax {
- compatible = "ti,uio-module-drv";
- mem = <0x00bc00000 0x00000a00>;
- };
-
- uio_edma3: edma3 {
- compatible = "ti,uio-module-drv";
- mem = <0x02700000 0x000C0000>;
- };
- uio_secmgr: secmgr {
- compatible = "ti,uio-module-drv";
- mem = <0x002500100 0x00000004>;
- };
- uio_qmss: qmss {
- compatible = "ti,uio-module-drv";
- mem = <0x02a00000 0x00100000
- 0x23a00000 0x00200000>;
- };
-
- uio_qpend0: qpend0 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 44 0xf04>;
- interrupt-mode = <1>; /* Interrupt mode oneshot */
- cfg-params
- {
- ti,qm-queue = <662>;
- };
- };
-
- uio_qpend1: qpend1 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 45 0xf04>;
- interrupt-mode = <1>; /* Interrupt mode oneshot */
- cfg-params
- {
- ti,qm-queue = <663>;
- };
- };
-
- uio_qpend2: qpend2 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 46 0xf04>;
- interrupt-mode = <1>; /* Interrupt mode oneshot */
- cfg-params
- {
- ti,qm-queue = <664>;
- };
- };
-
- uio_qpend3: qpend3 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 47 0xf04>;
- interrupt-mode = <1>; /* Interrupt mode oneshot */
- cfg-params
- {
- ti,qm-queue = <665>;
- };
- };
-
- /* The following uio cic2 entries allow access to interupt output
- * by the cic2 controller: The actual input event triggering the
- * interrupt is assumed to be programmed other drivers
- */
- uio_cic2_out32: cic2_out32 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 451 0xf01>;
- };
-
- uio_cic2_out33: cic2_out33 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 452 0xf01>;
- };
-
- uio_cic2_out34: cic2_out34 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 453 0xf01>;
- };
-
- uio_cic2_out35: cic2_out35 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 454 0xf01>;
- };
-
- uio_cic2_out36: cic2_out36 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 455 0xf01>;
- };
-
- uio_cic2_out37: cic2_out37 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 456 0xf01>;
- };
-
- uio_cic2_out38: cic2_out38 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 457 0xf01>;
- };
-
- uio_cic2_out39: cic2_out39 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 458 0xf01>;
- };
-
- uio_cic2_out40: cic2_out40 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 459 0xf01>;
- };
-
- uio_cic2_out41: cic2_out41 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 460 0xf01>;
- };
-
- uio_cic2_out42: cic2_out42 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 461 0xf01>;
- };
-
- uio_cic2_out43: cic2_out43 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 462 0xf01>;
- };
-
- uio_cic2_out44: cic2_out44 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 463 0xf01>;
- };
-
- uio_cic2_out45: cic2_out45 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 464 0xf01>;
- };
-
- uio_cic2_out46: cic2_out46 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 465 0xf01>;
- };
-
- uio_cic2_out47: cic2_out47 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 466 0xf01>;
- };
-
- uio_cic2_out18: cic2_out18 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 467 0xf01>;
- };
-
- uio_cic2_out19: cic2_out19 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 468 0xf01>;
- };
-
- uio_cic2_out22: cic2_out22 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 469 0xf01>;
- };
-
- uio_cic2_out23: cic2_out23 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 470 0xf01>;
- };
-
- uio_cic2_out50: cic2_out50 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 471 0xf01>;
- };
-
- uio_cic2_out51: cic2_out51 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 472 0xf01>;
- };
-
- uio_cic2_out66: cic2_out66 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 473 0xf01>;
- };
-
- uio_cic2_out67: cic2_out67 {
- compatible = "ti,uio-module-drv";
- interrupts = <0 474 0xf01>;
- };
- };
-};
diff --git a/recipes-kernel/linux/files/ti33x/am335x-pru-uio.dtsi b/recipes-kernel/linux/files/ti33x/am335x-pru-uio.dtsi
deleted file mode 100644
index 93a40ab5..00000000
--- a/recipes-kernel/linux/files/ti33x/am335x-pru-uio.dtsi
+++ /dev/null
@@ -1,192 +0,0 @@
-&pruss_soc_bus {
- uio_pruss_mdio: uio_mdio@4a332400 {
- compatible = "ti,davinci_mdio";
- reg = <0x4a332400 0x90>;
- clocks = <&dpll_core_m4_ck>;
- clock-names = "fck";
- bus_freq = <1000000>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
-
- uio_pruss_mem: uio_pruss_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4a300000 0x2000>,
- <0x4a302000 0x2000>,
- <0x4a310000 0x3000>,
- <0x4a320000 0x2000>,
- <0x4a326000 0x2000>,
- <0x4a32e000 0x31c>,
- <0x4a332000 0x58>;
- mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
- "iep", "mii_rt";
-
- status = "okay";
- };
- uio_pruss_mem2: uio_pruss_mem2 {
- compatible = "ti,uio-module-drv";
- mem = <0x4a328000 0xd4>,
- <0x4a330000 0x174>,
- <0x4a332400 0x90>,
- <0x40302000 0x0e000>;
- mem-names = "uart", "ecap", "mdio", "ocmc";
- status = "okay";
- };
-
- uio_pruss_evt0: uio_pruss_evt0 {
- compatible = "ti,uio-module-drv";
- interrupts = <20>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss_evt1: uio_pruss_evt1 {
- compatible = "ti,uio-module-drv";
- interrupts = <21>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss_evt2: uio_pruss_evt2 {
- compatible = "ti,uio-module-drv";
- interrupts = <22>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss_evt3: uio_pruss_evt3 {
- compatible = "ti,uio-module-drv";
- interrupts = <23>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss_evt4: uio_pruss_evt4 {
- compatible = "ti,uio-module-drv";
- interrupts = <24>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss_evt5: uio_pruss_evt5 {
- compatible = "ti,uio-module-drv";
- interrupts = <25>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss_evt6: uio_pruss_evt6 {
- compatible = "ti,uio-module-drv";
- interrupts = <26>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss_evt7: uio_pruss_evt7 {
- compatible = "ti,uio-module-drv";
- interrupts = <27>;
- interrupt-mode = <1>;
- status = "okay";
- };
-
- uio_pruss_0_mem: uio_pruss_0_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4a334000 0x2000>,
- <0x4a322000 0x400>,
- <0x4a322400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-
- uio_pruss_1_mem: uio_pruss_1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x4a338000 0x2000>,
- <0x4a324000 0x400>,
- <0x4a324400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-};
-
-&am33xx_pinmux {
- uio_pruss_mdio_eth_default: uio_pruss_mdio_eht_default {
- pinctrl-single,pins = <
- AM33XX_IOPAD(0x88c, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_clk.pr1_mdio_mdclk */
- AM33XX_IOPAD(0x888, (PIN_INPUT | MUX_MODE5)) /* gpmc_csn3.pr1_mdio_data */
- AM33XX_IOPAD(0x89c, (PIN_INPUT_PULLUP | MUX_MODE7)) /* gpmc_ben0_cle.gpio2_5 */
- /* disable CPSW MDIO */
- AM33XX_IOPAD(0x948, (PIN_INPUT_PULLUP | MUX_MODE7)) /* mdio_data.gpio0_0 */
- AM33XX_IOPAD(0x94c, (PIN_INPUT_PULLUP | MUX_MODE7)) /* mdio_clk.gpio0_1 */
- AM33XX_IOPAD(0x8a0, (PIN_INPUT | MUX_MODE2)) /* dss_data0.pr1_mii_mt0_clk */
- AM33XX_IOPAD(0x8b4, (PIN_OUTPUT | MUX_MODE2)) /* dss_data5.pr1_mii0_txd0 */
- AM33XX_IOPAD(0x8b0, (PIN_OUTPUT | MUX_MODE2)) /* dss_data4.pr1_mii0_txd1 */
- AM33XX_IOPAD(0x8ac, (PIN_OUTPUT | MUX_MODE2)) /* dss_data3.pr1_mii0_txd2 */
- AM33XX_IOPAD(0x8a8, (PIN_OUTPUT | MUX_MODE2)) /* dss_data2.pr1_mii0_txd3 */
- AM33XX_IOPAD(0x8cc, (PIN_INPUT | MUX_MODE5)) /* dss_data11.pr1_mii0_rxd0 */
- AM33XX_IOPAD(0x8c8, (PIN_INPUT | MUX_MODE5)) /* dss_data10.pr1_mii0_rxd1 */
- AM33XX_IOPAD(0x8c4, (PIN_INPUT | MUX_MODE5)) /* dss_data9.pr1_mii0_rxd2 */
- AM33XX_IOPAD(0x8c0, (PIN_INPUT | MUX_MODE5)) /* dss_data8.pr1_mii0_rxd3 */
- AM33XX_IOPAD(0x8a4, (PIN_OUTPUT | MUX_MODE2)) /* dss_data1.pr1_mii0_txen */
- AM33XX_IOPAD(0x8d8, (PIN_INPUT | MUX_MODE5)) /* dss_data14.pr1_mii_mr0_clk */
- AM33XX_IOPAD(0x8dc, (PIN_INPUT | MUX_MODE5)) /* dss_data15.pr1_mii0_rxdv */
- AM33XX_IOPAD(0x8d4, (PIN_INPUT | MUX_MODE5)) /* dss_data13.pr1_mii0_rxer */
- AM33XX_IOPAD(0x8d0, (PIN_INPUT | MUX_MODE5)) /* dss_data12.pr1_mii0_rxlink */
- AM33XX_IOPAD(0x8e8, (PIN_INPUT | MUX_MODE2)) /* dss_pclk.pr1_mii0_crs */
-
- AM33XX_IOPAD(0x840, (PIN_INPUT | MUX_MODE5)) /* gpmc_a0.pr1_mii_mt1_clk */
- AM33XX_IOPAD(0x850, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a4.pr1_mii1_txd0 */
- AM33XX_IOPAD(0x84c, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a3.pr1_mii1_txd1 */
- AM33XX_IOPAD(0x848, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a2.pr1_mii1_txd2 */
- AM33XX_IOPAD(0x844, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a1.pr1_mii1_txd3 */
- AM33XX_IOPAD(0x860, (PIN_INPUT | MUX_MODE5)) /* gpmc_a8.pr1_mii1_rxd0 */
- AM33XX_IOPAD(0x85c, (PIN_INPUT | MUX_MODE5)) /* gpmc_a7.pr1_mii1_rxd1 */
- AM33XX_IOPAD(0x858, (PIN_INPUT | MUX_MODE5)) /* gpmc_a6.pr1_mii1_rxd2 */
- AM33XX_IOPAD(0x854, (PIN_INPUT | MUX_MODE5)) /* gpmc_a5.pr1_mii1_rxd3 */
- AM33XX_IOPAD(0x874, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_wpn.pr1_mii1_txen */
- AM33XX_IOPAD(0x864, (PIN_INPUT | MUX_MODE5)) /* gpmc_a9.pr1_mii_mr1_clk */
- AM33XX_IOPAD(0x868, (PIN_INPUT | MUX_MODE5)) /* gpmc_a10.pr1_mii1_rxdv */
- AM33XX_IOPAD(0x86c, (PIN_INPUT | MUX_MODE5)) /* gpmc_a11.pr1_mii1_rxer */
- AM33XX_IOPAD(0x878, (PIN_INPUT | MUX_MODE5)) /* gpmc_ben1.pr1_mii1_rxlink */
- AM33XX_IOPAD(0x8ec, (PIN_INPUT | MUX_MODE2)) /* lcd_ac_bias_en.pr1_mii1_crs */
- AM33XX_IOPAD(0x870, (PIN_INPUT | MUX_MODE5)) /* gpmc_wait0.pr1_mii1_col */
- >;
- };
-};
-
-&uio_pruss_mdio {
- pinctrl-0 = <&uio_pruss_mdio_eth_default>;
- pinctrl-names = "default";
- reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
- reset-delay-us = <2>; /* PHY datasheet states 1uS min */
- status = "okay";
-
- uio_pruss_eth0_phy: ethernet-phy@1 {
- reg = <1>;
- };
-
- uio_pruss_eth1_phy: ethernet-phy@3 {
- reg = <3>;
- };
-};
-
-&pruss {
- status = "disabled";
-};
-
-&pru0 {
- status = "disabled";
-};
-
-&pru1 {
- status = "disabled";
-};
-
-&pruss_intc {
- status = "disabled";
-};
-
-&pruss_mdio {
- status = "disabled";
-};
-
-&pruss_emac0 {
- status = "disabled";
-};
-
-&pruss_emac1 {
- status = "disabled";
-};
diff --git a/recipes-kernel/linux/files/ti43x/am437x-pru-uio.dtsi b/recipes-kernel/linux/files/ti43x/am437x-pru-uio.dtsi
deleted file mode 100644
index 80993c4b..00000000
--- a/recipes-kernel/linux/files/ti43x/am437x-pru-uio.dtsi
+++ /dev/null
@@ -1,292 +0,0 @@
-&pruss_soc_bus {
- uio_pruss2_mdio: uio_mdio@54432400 {
- compatible = "ti,davinci_mdio";
- reg = <0x54432400 0x90>;
- clocks = <&dpll_core_m4_ck>;
- clock-names = "fck";
- bus_freq = <1000000>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
- };
-
- uio_pruss2_mem: uio_pruss2_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x54400000 0x2000>,
- <0x54402000 0x2000>,
- <0x54410000 0x8000>,
- <0x54420000 0x2000>,
- <0x54426000 0x2000>,
- <0x5442e000 0x31c>,
- <0x54432000 0x58>;
- mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
- "iep", "mii_rt";
- status = "okay";
- };
- uio_pruss2_mem2: uio_pruss2_mem2 {
- compatible = "ti,uio-module-drv";
- mem = <0x54428000 0x38>,
- <0x54430000 0x60>,
- <0x54432400 0x90>,
- <0x40320000 0x20000>;
- mem-names = "uart", "ecap", "mdio", "ocmc";
- status = "okay";
- };
- uio_pruss2_evt0: uio_pruss2_evt0 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt1: uio_pruss2_evt1 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt2: uio_pruss2_evt2 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt3: uio_pruss2_evt3 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt4: uio_pruss2_evt4 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt5: uio_pruss2_evt5 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt6: uio_pruss2_evt6 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss2_evt7: uio_pruss2_evt7 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
-
- uio_pruss2_0_mem: uio_pruss2_0_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x54434000 0x3000>,
- <0x54422000 0x400>,
- <0x54422400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-
- uio_pruss2_1_mem: uio_pruss2_1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x54438000 0x3000>,
- <0x54424000 0x400>,
- <0x54424400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-
- uio_pruss1_mem: uio_pruss1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x54440000 0x1000>,
- <0x54442000 0x1000>,
- <0x54450000 0x8000>,
- <0x54460000 0x2000>,
- <0x54466000 0x2000>,
- <0x5446e000 0x31c>,
- <0x54472000 0x58>;
- mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
- "iep", "mii_rt";
- status = "okay";
- };
- uio_pruss1_mem2: uio_pruss1_mem2 {
- compatible = "ti,uio-module-drv";
- mem = <0x54468000 0x38>,
- <0x54470000 0x60>,
- <0x54472400 0x90>,
- <0x40302000 0x1e000>;
- mem-names = "uart", "ecap", "mdio", "ocmc";
- status = "okay";
- };
- uio_pruss1_evt0: uio_pruss1_evt0 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt1: uio_pruss1_evt1 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt2: uio_pruss1_evt2 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt3: uio_pruss1_evt3 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt4: uio_pruss1_evt4 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt5: uio_pruss1_evt5 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt6: uio_pruss1_evt6 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
- uio_pruss1_evt7: uio_pruss1_evt7 {
- compatible = "ti,uio-module-drv";
- interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-mode = <1>;
- status = "okay";
- };
-
- uio_pruss1_0_mem: uio_pruss1_0_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x54474000 0x1000>,
- <0x54462000 0x400>,
- <0x54462400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
- uio_pruss1_1_mem: uio_pruss1_1_mem {
- compatible = "ti,uio-module-drv";
- mem = <0x54478000 0x1000>,
- <0x54464000 0x400>,
- <0x54464400 0x100>;
- mem-names = "iram", "control", "debug";
- status = "okay";
- };
-};
-
-&am43xx_pinmux {
- uio_pruss2_mdio_eth_default: uio_pruss2_mdio_eth_default {
- pinctrl-single,pins = <
- AM4372_IOPAD(0x88c, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_clk.pr1_mdio_mdclk */
- AM4372_IOPAD(0xa70, (PIN_INPUT | MUX_MODE8)) /* xdma_event_intr0.pr1_mdio_data */
- AM4372_IOPAD(0xa00, (PIN_INPUT_PULLUP | MUX_MODE7)) /* cam1_data6.gpio4_20 */
- AM4372_IOPAD(0x8a0, (PIN_INPUT | MUX_MODE2)) /* dss_data0.pr1_mii_mt0_clk */
- AM4372_IOPAD(0x8b4, (PIN_OUTPUT | MUX_MODE2)) /* dss_data5.pr1_mii0_txd0 */
- AM4372_IOPAD(0x8b0, (PIN_OUTPUT | MUX_MODE2)) /* dss_data4.pr1_mii0_txd1 */
- AM4372_IOPAD(0x8ac, (PIN_OUTPUT | MUX_MODE2)) /* dss_data3.pr1_mii0_txd2 */
- AM4372_IOPAD(0x8a8, (PIN_OUTPUT | MUX_MODE2)) /* dss_data2.pr1_mii0_txd3 */
- AM4372_IOPAD(0x8cc, (PIN_INPUT | MUX_MODE5)) /* dss_data11.pr1_mii0_rxd0 */
- AM4372_IOPAD(0x8c8, (PIN_INPUT | MUX_MODE5)) /* dss_data10.pr1_mii0_rxd1 */
- AM4372_IOPAD(0x8c4, (PIN_INPUT | MUX_MODE5)) /* dss_data9.pr1_mii0_rxd2 */
- AM4372_IOPAD(0x8c0, (PIN_INPUT | MUX_MODE5)) /* dss_data8.pr1_mii0_rxd3 */
- AM4372_IOPAD(0x8a4, (PIN_OUTPUT | MUX_MODE2)) /* dss_data1.pr1_mii0_txen */
- AM4372_IOPAD(0x8d8, (PIN_INPUT | MUX_MODE5)) /* dss_data14.pr1_mii_mr0_clk */
- AM4372_IOPAD(0x8dc, (PIN_INPUT | MUX_MODE5)) /* dss_data15.pr1_mii0_rxdv */
- AM4372_IOPAD(0x8d4, (PIN_INPUT | MUX_MODE5)) /* dss_data13.pr1_mii0_rxer */
- AM4372_IOPAD(0x8d0, (PIN_INPUT | MUX_MODE5)) /* dss_data12.pr1_mii0_rxlink */
- AM4372_IOPAD(0xa40, (PIN_INPUT | MUX_MODE5)) /* gpio5_10.pr1_mii0_crs */
- AM4372_IOPAD(0xa38, (PIN_INPUT | MUX_MODE5)) /* gpio5_8.pr1_mii0_col */
- AM4372_IOPAD(0x858, (PIN_INPUT | MUX_MODE5)) /* gpmc_a6.pr1_mii_mt1_clk */
- AM4372_IOPAD(0x854, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a5.pr1_mii1_txd0 */
- AM4372_IOPAD(0x850, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a4.pr1_mii1_txd1 */
- AM4372_IOPAD(0x84c, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a3.pr1_mii1_txd2 */
- AM4372_IOPAD(0x848, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a2.pr1_mii1_txd3 */
- AM4372_IOPAD(0x86c, (PIN_INPUT | MUX_MODE5)) /* gpmc_a11.pr1_mii1_rxd0 */
- AM4372_IOPAD(0x868, (PIN_INPUT | MUX_MODE5)) /* gpmc_a10.pr1_mii1_rxd1 */
- AM4372_IOPAD(0x864, (PIN_INPUT | MUX_MODE5)) /* gpmc_a9.pr1_mii1_rxd2 */
- AM4372_IOPAD(0x860, (PIN_INPUT | MUX_MODE5)) /* gpmc_a8.pr1_mii1_rxd3 */
- AM4372_IOPAD(0x840, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a0.pr1_mii1_txen */
- AM4372_IOPAD(0x85c, (PIN_INPUT | MUX_MODE5)) /* gpmc_a7.pr1_mii_mr1_clk */
- AM4372_IOPAD(0x844, (PIN_INPUT | MUX_MODE5)) /* gpmc_a1.pr1_mii1_rxdv */
- AM4372_IOPAD(0x874, (PIN_INPUT | MUX_MODE5)) /* gpmc_wpn.pr1_mii1_rxer */
- AM4372_IOPAD(0xa4c, (PIN_INPUT | MUX_MODE5)) /* gpio5_13.pr1_mii1_rxlink */
- AM4372_IOPAD(0xa44, (PIN_INPUT | MUX_MODE5)) /* gpio5_11.pr1_mii1_crs */
- AM4372_IOPAD(0x878, (PIN_INPUT | MUX_MODE5)) /* gpmc_be1n.pr1_mii1_col */
- >;
- };
-};
-
-&uio_pruss2_mdio {
- pinctrl-0 = <&uio_pruss2_mdio_eth_default>;
- pinctrl-names = "default";
- status = "okay";
-
- reset-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
- reset-delay-us = <2>; /* PHY datasheet states 1uS min */
-
- uio_pruss2_eth0_phy: uio_ethernet-phy@0 {
- reg = <0>;
- };
-
- uio_pruss2_eth1_phy: uio_ethernet-phy@1 {
- reg = <1>;
- };
-};
-
-&pruss1 {
- status = "disabled";
-};
-
-&pru1_0 {
- status = "disabled";
-};
-
-&pru1_1 {
- status = "disabled";
-};
-
-&pruss1_intc {
- status = "disabled";
-};
-
-&pruss1_mdio {
- status = "disabled";
-};
-
-&pruss0 {
- status = "disabled";
-};
-
-&pru0_0 {
- status = "disabled";
-};
-
-&pru0_1 {
- status = "disabled";
-};
-
-&pruss0_intc {
- status = "disabled";
-};
-
-&pruss1_emac0 {
- status = "disabled";
-};
-
-&pruss1_emac1 {
- status = "disabled";
-};
diff --git a/recipes-kernel/linux/linux-ti-staging-5.4/defconfig b/recipes-kernel/linux/linux-ti-staging-5.4/defconfig
deleted file mode 100644
index d083d182..00000000
--- a/recipes-kernel/linux/linux-ti-staging-5.4/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_omap2_release
diff --git a/recipes-kernel/linux/linux-ti-staging-5.4/dra7xx/defconfig b/recipes-kernel/linux/linux-ti-staging-5.4/dra7xx/defconfig
deleted file mode 100644
index dcb53bab..00000000
--- a/recipes-kernel/linux/linux-ti-staging-5.4/dra7xx/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_dra7x_release
diff --git a/recipes-kernel/linux/linux-ti-staging-5.4/k2g/defconfig b/recipes-kernel/linux/linux-ti-staging-5.4/k2g/defconfig
deleted file mode 100644
index 316b04bb..00000000
--- a/recipes-kernel/linux/linux-ti-staging-5.4/k2g/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_k2g_release
diff --git a/recipes-kernel/linux/linux-ti-staging-5.4/k3/defconfig b/recipes-kernel/linux/linux-ti-staging-5.4/k3/defconfig
deleted file mode 100644
index b9bc6137..00000000
--- a/recipes-kernel/linux/linux-ti-staging-5.4/k3/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_arm64_release
diff --git a/recipes-kernel/linux/linux-ti-staging-5.4/keystone/defconfig b/recipes-kernel/linux/linux-ti-staging-5.4/keystone/defconfig
deleted file mode 100644
index 5a40b93d..00000000
--- a/recipes-kernel/linux/linux-ti-staging-5.4/keystone/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_keystone_release
diff --git a/recipes-kernel/linux/linux-ti-staging-5.4/omapl138/defconfig b/recipes-kernel/linux/linux-ti-staging-5.4/omapl138/defconfig
deleted file mode 100644
index b3467853..00000000
--- a/recipes-kernel/linux/linux-ti-staging-5.4/omapl138/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_omapl138_release
diff --git a/recipes-kernel/linux/linux-ti-staging-5.4/ti33x/defconfig b/recipes-kernel/linux/linux-ti-staging-5.4/ti33x/defconfig
deleted file mode 100644
index 88f80fa9..00000000
--- a/recipes-kernel/linux/linux-ti-staging-5.4/ti33x/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_am3x_release
diff --git a/recipes-kernel/linux/linux-ti-staging-5.4/ti43x/defconfig b/recipes-kernel/linux/linux-ti-staging-5.4/ti43x/defconfig
deleted file mode 100644
index 4b9daaf9..00000000
--- a/recipes-kernel/linux/linux-ti-staging-5.4/ti43x/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_am4x_release
diff --git a/recipes-kernel/linux/linux-ti-staging-rt-5.4/defconfig b/recipes-kernel/linux/linux-ti-staging-rt-5.4/defconfig
deleted file mode 100644
index f0b8bab0..00000000
--- a/recipes-kernel/linux/linux-ti-staging-rt-5.4/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_omap2_rt_release
diff --git a/recipes-kernel/linux/linux-ti-staging-rt-5.4/dra7xx/defconfig b/recipes-kernel/linux/linux-ti-staging-rt-5.4/dra7xx/defconfig
deleted file mode 100644
index 47e3d04a..00000000
--- a/recipes-kernel/linux/linux-ti-staging-rt-5.4/dra7xx/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_dra7x_rt_release
diff --git a/recipes-kernel/linux/linux-ti-staging-rt-5.4/k2g/defconfig b/recipes-kernel/linux/linux-ti-staging-rt-5.4/k2g/defconfig
deleted file mode 100644
index a9c24f2e..00000000
--- a/recipes-kernel/linux/linux-ti-staging-rt-5.4/k2g/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_k2g_rt_release
diff --git a/recipes-kernel/linux/linux-ti-staging-rt-5.4/k3/defconfig b/recipes-kernel/linux/linux-ti-staging-rt-5.4/k3/defconfig
deleted file mode 100644
index cc10bfda..00000000
--- a/recipes-kernel/linux/linux-ti-staging-rt-5.4/k3/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_arm64_rt_release
diff --git a/recipes-kernel/linux/linux-ti-staging-rt-5.4/keystone/defconfig b/recipes-kernel/linux/linux-ti-staging-rt-5.4/keystone/defconfig
deleted file mode 100644
index fc68085f..00000000
--- a/recipes-kernel/linux/linux-ti-staging-rt-5.4/keystone/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_keystone_rt_release
diff --git a/recipes-kernel/linux/linux-ti-staging-rt-5.4/ti33x/defconfig b/recipes-kernel/linux/linux-ti-staging-rt-5.4/ti33x/defconfig
deleted file mode 100644
index 0a4fbac2..00000000
--- a/recipes-kernel/linux/linux-ti-staging-rt-5.4/ti33x/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_am3x_rt_release
diff --git a/recipes-kernel/linux/linux-ti-staging-rt-5.4/ti43x/defconfig b/recipes-kernel/linux/linux-ti-staging-rt-5.4/ti43x/defconfig
deleted file mode 100644
index 99594c81..00000000
--- a/recipes-kernel/linux/linux-ti-staging-rt-5.4/ti43x/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_am4x_rt_release
diff --git a/recipes-kernel/linux/linux-ti-staging-rt_5.4.bb b/recipes-kernel/linux/linux-ti-staging-rt_5.4.bb
deleted file mode 100644
index dfe44454..00000000
--- a/recipes-kernel/linux/linux-ti-staging-rt_5.4.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-require linux-ti-staging_5.4.bb
-
-# Look in the generic major.minor directory for files
-# This will have priority over generic non-rt path
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.4:"
-
-BRANCH = "ti-rt-linux-5.4.y"
-
-SRCREV = "27ac613bbce13841a47fcc7341d7c14333b8e0e9"
-PV = "5.4.20+git${SRCPV}"
diff --git a/recipes-kernel/linux/linux-ti-staging-systest-5.4/defconfig b/recipes-kernel/linux/linux-ti-staging-systest-5.4/defconfig
deleted file mode 100644
index 5d051bd1..00000000
--- a/recipes-kernel/linux/linux-ti-staging-systest-5.4/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_omap2_debug
diff --git a/recipes-kernel/linux/linux-ti-staging-systest-5.4/dra7xx/defconfig b/recipes-kernel/linux/linux-ti-staging-systest-5.4/dra7xx/defconfig
deleted file mode 100644
index 2b3635c3..00000000
--- a/recipes-kernel/linux/linux-ti-staging-systest-5.4/dra7xx/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_dra7x_debug
diff --git a/recipes-kernel/linux/linux-ti-staging-systest-5.4/k2g/defconfig b/recipes-kernel/linux/linux-ti-staging-systest-5.4/k2g/defconfig
deleted file mode 100644
index abfb3309..00000000
--- a/recipes-kernel/linux/linux-ti-staging-systest-5.4/k2g/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_k2g_debug
diff --git a/recipes-kernel/linux/linux-ti-staging-systest-5.4/k3/defconfig b/recipes-kernel/linux/linux-ti-staging-systest-5.4/k3/defconfig
deleted file mode 100644
index 56cf9302..00000000
--- a/recipes-kernel/linux/linux-ti-staging-systest-5.4/k3/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_arm64_debug
diff --git a/recipes-kernel/linux/linux-ti-staging-systest-5.4/keystone/defconfig b/recipes-kernel/linux/linux-ti-staging-systest-5.4/keystone/defconfig
deleted file mode 100644
index e95bcf95..00000000
--- a/recipes-kernel/linux/linux-ti-staging-systest-5.4/keystone/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_keystone_debug
diff --git a/recipes-kernel/linux/linux-ti-staging-systest-5.4/omapl138/defconfig b/recipes-kernel/linux/linux-ti-staging-systest-5.4/omapl138/defconfig
deleted file mode 100644
index 95b61168..00000000
--- a/recipes-kernel/linux/linux-ti-staging-systest-5.4/omapl138/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_omapl138_debug
diff --git a/recipes-kernel/linux/linux-ti-staging-systest-5.4/ti33x/defconfig b/recipes-kernel/linux/linux-ti-staging-systest-5.4/ti33x/defconfig
deleted file mode 100644
index 9ab6733c..00000000
--- a/recipes-kernel/linux/linux-ti-staging-systest-5.4/ti33x/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_am3x_debug
diff --git a/recipes-kernel/linux/linux-ti-staging-systest-5.4/ti43x/defconfig b/recipes-kernel/linux/linux-ti-staging-systest-5.4/ti43x/defconfig
deleted file mode 100644
index 825c31cd..00000000
--- a/recipes-kernel/linux/linux-ti-staging-systest-5.4/ti43x/defconfig
+++ /dev/null
@@ -1 +0,0 @@
-use-tisdk-config=ti_sdk_am4x_debug
diff --git a/recipes-kernel/linux/linux-ti-staging_5.4.bb b/recipes-kernel/linux/linux-ti-staging_5.4.bb
deleted file mode 100644
index 49a4c185..00000000
--- a/recipes-kernel/linux/linux-ti-staging_5.4.bb
+++ /dev/null
@@ -1,81 +0,0 @@
-SECTION = "kernel"
-DESCRIPTION = "Linux kernel for TI devices"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
-
-inherit kernel
-
-require recipes-kernel/linux/setup-defconfig.inc
-require recipes-kernel/linux/cmem.inc
-require recipes-kernel/linux/ti-uio.inc
-require recipes-kernel/linux/bundle-devicetree.inc
-
-# Look in the generic major.minor directory for files
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.4:"
-
-# Pull in the devicetree files into the rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base += "kernel-devicetree"
-
-# Add run-time dependency for PM firmware to the rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti33x = " amx3-cm3"
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti43x = " amx3-cm3"
-
-# Add run-time dependency for VPE VPDMA firmware to the rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_dra7xx = " vpdma-fw"
-
-# Add run-time dependency for Goodix firmware to the rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_dra7xx = " goodix-fw"
-
-# Install boot-monitor skern file into /boot dir of rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_keystone = " boot-monitor"
-
-# Install ti-sci-fw into /boot dir of rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2g = " ti-sci-fw"
-
-# Add run-time dependency for SerDes firmware to the rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_keystone = " serdes-fw"
-
-# Add run-time dependency for QMSS PDSP firmware to the rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_keystone = " qmss-pdsp-fw"
-
-# Add run-time dependency for NETCP PA firmware to the rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2hk = " netcp-pa-fw"
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2e = " netcp-pa-fw"
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2l = " netcp-pa-fw"
-
-# Add run-time dependency for PRU Ethernet firmware to the rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am57xx-evm = " prueth-fw"
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am57xx-hs-evm = " prueth-fw"
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti43x = " prueth-fw"
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti33x = " prueth-fw"
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2g = " prueth-fw"
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx = " prueth-fw-am65x"
-
-# Add run-time dependency for Cadence MHDP firmware to the rootfs
-RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7-evm = " cadence-mhdp-fw"
-
-KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
-
-S = "${WORKDIR}/git"
-
-BRANCH = "ti-linux-5.4.y"
-
-SRCREV = "70338004346078dd120c51a1cb22ed7d5bfdfca9"
-PV = "5.4.20+git${SRCPV}"
-
-# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
-MACHINE_KERNEL_PR_append = "a"
-PR = "${MACHINE_KERNEL_PR}"
-
-KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
-KERNEL_GIT_PROTOCOL = "git"
-SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
- file://defconfig"
-
-FILES_${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"
-
-# Special configuration for remoteproc/rpmsg IPC modules
-module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
-module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
-module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
-KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
diff --git a/recipes-kernel/linux/ti-uio.inc b/recipes-kernel/linux/ti-uio.inc
deleted file mode 100644
index 80dad7dc..00000000
--- a/recipes-kernel/linux/ti-uio.inc
+++ /dev/null
@@ -1,92 +0,0 @@
-SRC_URI_append_keystone = " file://keystone-uio.dtsi"
-SRC_URI_append_k2hk = " file://k2hk-uio.dtsi"
-SRC_URI_append_k2l = " file://k2l-uio.dtsi"
-SRC_URI_append_k2e = " file://k2e-uio.dtsi"
-SRC_URI_append_k2g = " file://keystone-k2g-pru-uio.dtsi"
-SRC_URI_append_dra7xx = " file://am57xx-pru-uio.dtsi \
- file://am571x-pru-uio.dtsi \
-"
-SRC_URI_append_ti33x = " file://am335x-pru-uio.dtsi"
-SRC_URI_append_ti43x = " file://am437x-pru-uio.dtsi"
-
-DTSI_LIST = ""
-DTSI_LIST_append_keystone = " keystone-uio.dtsi"
-DTSI_LIST_append_k2hk = " k2hk-uio.dtsi"
-DTSI_LIST_append_k2l = " k2l-uio.dtsi"
-DTSI_LIST_append_k2e = " k2e-uio.dtsi"
-
-do_setup_uio() {
- if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
- then
- for dtsi in ${DTSI_LIST}
- do
- cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/
- for dtb in ${KERNEL_DEVICETREE}
- do
- dts=`echo $dtb | sed -e 's|dtb$|dts|'`
- echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts
- done
- done
- fi
-}
-
-do_setup_uio_append_dra7xx() {
-
- if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
- then
- dtsi="am57xx-pru-uio.dtsi"
- cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/
-
- dts="am572x-idk-pru-excl-uio.dts"
- cp ${S}/arch/arm/boot/dts/am572x-idk.dts ${S}/arch/arm/boot/dts/$dts
- echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts
-
- dts="am574x-idk-pru-excl-uio.dts"
- cp ${S}/arch/arm/boot/dts/am574x-idk.dts ${S}/arch/arm/boot/dts/$dts
- echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts
-
- dts="am571x-idk-pru-excl-uio.dts"
- dtsi="am571x-pru-uio.dtsi"
- cp ${S}/arch/arm/boot/dts/am571x-idk.dts ${S}/arch/arm/boot/dts/$dts
- cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/
- echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts
- fi
-}
-
-do_setup_uio_append_ti33x() {
-
- if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
- then
- dts="am335x-icev2-pru-excl-uio.dts"
- dtsi="am335x-pru-uio.dtsi"
- cp ${S}/arch/arm/boot/dts/am335x-icev2-prueth.dts ${S}/arch/arm/boot/dts/$dts
- cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/
- echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts
- fi
-}
-
-do_setup_uio_append_ti43x() {
-
- if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
- then
- dts="am437x-idk-pru-excl-uio.dts"
- dtsi="am437x-pru-uio.dtsi"
- cp ${S}/arch/arm/boot/dts/am437x-idk-evm.dts ${S}/arch/arm/boot/dts/$dts
- cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/
- echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts
- fi
-}
-
-do_setup_uio_append_k2g() {
-
- if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
- then
- dts="keystone-k2g-ice-pru-excl-uio.dts"
- dtsi="keystone-k2g-pru-uio.dtsi"
- cp ${S}/arch/arm/boot/dts/keystone-k2g-ice.dts ${S}/arch/arm/boot/dts/$dts
- cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/
- echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts
- fi
-}
-
-do_patch[postfuncs] += "do_setup_uio"
diff --git a/recipes-ti/bios/ti-biosutils.inc b/recipes-ti/bios/ti-biosutils.inc
deleted file mode 100644
index d562c2dd..00000000
--- a/recipes-ti/bios/ti-biosutils.inc
+++ /dev/null
@@ -1,18 +0,0 @@
-DESCRIPTION = "TI DSP/BIOS Utilities"
-HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/Bios_Utils"
-SECTION = "devel"
-LICENSE = "TI"
-LIC_FILES_CHKSUM = "file://packages/ti/bios/utils/Load.c;md5=e666d585907c3456e82b7e10f7a09a73"
-
-require ../includes/ti-paths.inc
-require ../includes/ti-staging.inc
-
-S = "${WORKDIR}/biosutils_${PV}"
-
-SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/Bios_Utils/${PV}${PVsuffix}/exports/biosutils_${PV}.tar.gz;name=biosutilstarball"
-
-do_install() {
- install -d ${D}${BIOSUTILS_INSTALL_DIR_RECIPE}
- cp -pPrf ${S}/* ${D}${BIOSUTILS_INSTALL_DIR_RECIPE}
-}
-
diff --git a/recipes-ti/bios/ti-biosutils_1.02.02.bb b/recipes-ti/bios/ti-biosutils_1.02.02.bb
deleted file mode 100644
index 01c070d7..00000000
--- a/recipes-ti/bios/ti-biosutils_1.02.02.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-require ti-biosutils.inc
-
-PV = "1_02_02"
-PVsuffix = "_02"
-
-SRC_URI[biosutilstarball.md5sum] = "0654e9e72b0a6fc7a6575829c0cd90c9"
-SRC_URI[biosutilstarball.sha256sum] = "df486500bdc8dbe3800fc7efe4241e6fa5b1827ba7c0dc17a71b41d42ef921e1"
-
-INSANE_SKIP_${PN} = "installed-vs-shipped"
-
-COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/bios/ti-dspbios.inc b/recipes-ti/bios/ti-dspbios.inc
deleted file mode 100644
index 0e3fa62d..00000000
--- a/recipes-ti/bios/ti-dspbios.inc
+++ /dev/null
@@ -1,25 +0,0 @@
-DESCRIPTION = "TI DSP/BIOS v5 Kernel"
-HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/dspbios"
-SECTION = "devel"
-LICENSE = "TI"
-
-# We can't depend on license files to be present, so just use the TI logo
-LIC_FILES_CHKSUM = "file://docs/tilogo.gif;md5=f049a774c576a5cef3fca4932d707b39"
-
-require ../includes/ti-paths.inc
-require ../includes/ti-staging.inc
-require ../includes/ti-eula-unpack.inc
-
-TI_BIN_UNPK_WDEXT="/bios_${PV}"
-S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}"
-
-SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/dspbios/${PV}/exports/bios_setuplinux_${PV}.bin;name=biosbin"
-
-BINFILE="bios_setuplinux_${PV}.bin"
-TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
-
-do_install() {
- install -d ${D}${BIOS_INSTALL_DIR_RECIPE}
- cp -pPrf ${S}/* ${D}${BIOS_INSTALL_DIR_RECIPE}
-}
-
diff --git a/recipes-ti/devtools/gcc-arm-none-eabi-native_4.9.2015q3.bb b/recipes-ti/devtools/gcc-arm-none-eabi-native_4.9.2015q3.bb
deleted file mode 100644
index 1fe5c525..00000000
--- a/recipes-ti/devtools/gcc-arm-none-eabi-native_4.9.2015q3.bb
+++ /dev/null
@@ -1,23 +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=cba77c7fde3ed13e866b04a2f3d93918"
-
-inherit native
-require recipes-ti/includes/ti-paths.inc
-
-SRC_URI = "https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update/+download/gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2;name=gcc-arm-none"
-
-SRC_URI[gcc-arm-none.md5sum] = "8a4a74872830f80c788c944877d3ad8c"
-SRC_URI[gcc-arm-none.sha256sum] = "c50078bfbd29e6c15615900e746f4d0acde917338e55860b0f145f57387c12ab"
-
-S = "${WORKDIR}/gcc-arm-none-eabi-4_9-2015q3"
-
-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"
diff --git a/recipes-ti/devtools/gcc-linaro-baremetal-aarch64-native.bb b/recipes-ti/devtools/gcc-linaro-baremetal-aarch64-native.bb
deleted file mode 100644
index 97344f90..00000000
--- a/recipes-ti/devtools/gcc-linaro-baremetal-aarch64-native.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-include recipes-ti/devtools/gcc-linaro.inc
-
-PACKAGE_DIR = "gcc-linaro-${PV}-${GCC_ARM_YEAR}-x86_64_aarch64-elf"
-S = "${WORKDIR}/${PACKAGE_DIR}"
-
-LIC_CHKSUM = "bc7fad4bba98e7a4cd5ab3042506493c"
-
-inherit native
-require recipes-ti/includes/ti-paths.inc
-
-SRC_URI = "https://releases.linaro.org/components/toolchain/binaries/7.2-${GCC_ARM_YEAR}/aarch64-elf/gcc-linaro-${PV}-${GCC_ARM_YEAR}-x86_64_aarch64-elf.tar.xz;name=gcc-linaro-aarch64"
-
-SRC_URI[gcc-linaro-aarch64.md5sum] = "4972f8943820bdd2f577f498de78964b"
-SRC_URI[gcc-linaro-aarch64.sha256sum] = "30fb7d876bcb982c502057c593d9c1f11b35d5158a26d986718e2b998388c4c8"
-
-do_install() {
- install -d ${D}${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE}
- cp -r ${S}/. ${D}${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE}
-}
-
-FILES_${PN} = "${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE}/*"
-
-INSANE_SKIP_${PN} = "already-stripped"
diff --git a/recipes-ti/devtools/gcc-linaro-baremetal-native.bb b/recipes-ti/devtools/gcc-linaro-baremetal-native.bb
deleted file mode 100644
index 0268ae3d..00000000
--- a/recipes-ti/devtools/gcc-linaro-baremetal-native.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-include recipes-ti/devtools/gcc-linaro.inc
-
-PACKAGE_DIR = "gcc-linaro-${PV}-${GCC_ARM_YEAR}-x86_64_arm-eabi"
-S = "${WORKDIR}/${PACKAGE_DIR}"
-
-LIC_CHKSUM = "bc7fad4bba98e7a4cd5ab3042506493c"
-
-inherit native
-require recipes-ti/includes/ti-paths.inc
-
-SRC_URI = "https://releases.linaro.org/components/toolchain/binaries/7.2-${GCC_ARM_YEAR}/arm-eabi/gcc-linaro-${PV}-${GCC_ARM_YEAR}-x86_64_arm-eabi.tar.xz;name=gcc-linaro"
-
-SRC_URI[gcc-linaro.md5sum] = "9a4a39cfc78c84375b1160aa93587aed"
-SRC_URI[gcc-linaro.sha256sum] = "45fc4f90af2e2e9c3197a275f6005ef5639f7a1889fa3eb24c3125ccd70fcd3d"
-
-do_install() {
- install -d ${D}${GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE}
- cp -r ${S}/. ${D}${GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE}
-}
-
-FILES_${PN} = "${GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE}/*"
-
-INSANE_SKIP_${PN} = "already-stripped"
diff --git a/recipes-ti/devtools/gcc-linaro.inc b/recipes-ti/devtools/gcc-linaro.inc
deleted file mode 100644
index 19f5a2cf..00000000
--- a/recipes-ti/devtools/gcc-linaro.inc
+++ /dev/null
@@ -1,10 +0,0 @@
-DESCRIPTION = "Linaro GCC for ARM"
-HOMEPAGE = "https://launchpad.net/gcc-arm-embedded"
-SECTION = "devel"
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
-LIC_FILES_CHKSUM = "file://share/doc/gcc/GNU-Free-Documentation-License.html;md5=${LIC_CHKSUM}"
-
-PV = "7.2.1"
-PR = "r0"
-
-GCC_ARM_YEAR = "2017.11"
diff --git a/recipes-ti/devtools/ti-xdctools-core.inc b/recipes-ti/devtools/ti-xdctools-core.inc
deleted file mode 100644
index 47f73b6d..00000000
--- a/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/recipes-ti/devtools/ti-xdctools.inc b/recipes-ti/devtools/ti-xdctools.inc
deleted file mode 100644
index 1415f83e..00000000
--- a/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/recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff b/recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff
deleted file mode 100644
index 26debf8f..00000000
--- a/recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/packages/gnu/targets/arm/linkcmd.xdt 2010-12-30 19:33:53.000000000 +0100
-+++ b/packages/gnu/targets/arm/linkcmd.xdt 2010-12-30 19:42:55.000000000 +0100
-@@ -40,12 +40,13 @@
-
- %if ("BINVERS" in prog.build.target) {
- % var _utils = xdc.loadCapsule("gnu/targets/linkUtils.xs");
-+% if (prog.build.target.GCCVERS < "4.3.3") {
- SECTIONS {
- `_utils.genSections(prog)`
- }
--
--% if (!prog.build.target.noStdLinkScript
--% && prog.build.target.BINVERS >= "2.19") {
-+% }
-+% if (prog.build.target.noStdLinkScript
-+% && prog.build.target.BINVERS >= "2.19") {
- INSERT BEFORE .gnu.attributes
- % }
-
diff --git a/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff b/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff
deleted file mode 100644
index 36142c47..00000000
--- a/recipes-ti/devtools/ti-xdctools/fix-hardcoded-paths.diff
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ur a/packages/gnu/targets/ITarget.xs b/packages/gnu/targets/ITarget.xs
---- a/packages/gnu/targets/ITarget.xs 2011-08-06 13:24:44.000000000 +0200
-+++ b/packages/gnu/targets/ITarget.xs 2011-08-06 13:23:37.000000000 +0200
-@@ -251,7 +251,7 @@
-
- function askLd(target)
- {
-- var ldCmd = target.rootDir + "/" + target.GCCTARG + "/bin/ld";
-+ var ldCmd = target.rootDir + "/" + target.GCCTARG + "-ld";
- /* If the ld executable cannot be found, and the prefix is not used,
- * it's probably a misspelled directory path.
- */
-@@ -486,7 +486,7 @@
- tool2cmd["link"] = cmd;
-
- /* define the ar command template */
-- cmd = prefix + target.ar.cmd
-+ cmd = prefix + target.GCCTARG + "-ar"
- + " $(AROPTS_P) " + target.ar.opts
- + " $@ $(AROPTS_S) $(aropts) $(files)";
- tool2cmd["ar"] = cmd;
diff --git a/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb b/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb
deleted file mode 100644
index 74817835..00000000
--- a/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-require recipes-ti/devtools/ti-xdctools-core.inc
-
-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/recipes-ti/dmai/ti-dmai.inc b/recipes-ti/dmai/ti-dmai.inc
deleted file mode 100644
index 50621184..00000000
--- a/recipes-ti/dmai/ti-dmai.inc
+++ /dev/null
@@ -1,162 +0,0 @@
-DESCRIPTION = "Davinci Multimedia Application Interface (DMAI) for TI ARM/DSP processors"
-HOMEPAGE = "https://gforge.ti.com/gf/project/dmai/"
-SECTION = "multimedia"
-LICENSE = "BSD"
-
-# TODO ::
-
-require recipes-ti/includes/ti-paths.inc
-require recipes-ti/includes/ti-staging.inc
-
-PROVIDES += "ti-dmai-apps"
-
-PE = "1"
-
-SRCREV ?= "UNDEFINED_SRCREV"
-DMAIBRANCH ?= "UNDEFINED_DMAIBRANCH"
-
-S = "${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/dmai_${PV}/dmai"
-
-SRC_URI = "svn://gforge.ti.com/svn/dmai/;module=${DMAIBRANCH};protocol=https;user=anonymous;pswd='' \
- file://loadmodules-ti-dmai-dm6446_al.sh \
- file://loadmodules-ti-dmai-dm6467_al.sh \
- file://loadmodules-ti-dmai-o3530_al.sh \
- file://loadmodules-ti-dmai-dm355_al.sh \
- file://loadmodules-ti-dmai-dm365_al.sh \
- file://loadmodules-ti-dmai-ol137_al.sh \
- file://loadmodules-ti-dmai-ol138_al.sh \
- file://doxygen_templates.tar.gz \
- file://arago-tdox \
- "
-
-DEPENDS = "virtual/kernel alsa-lib ti-framework-components ti-codec-engine ti-xdctools-native"
-
-DEPENDS_append_dm6446 = " ti-codecs-dm6446 ti-dspbios ti-cgt6x ti-linuxutils"
-DEPENDS_append_dm6467 = " ti-codecs-dm6467 ti-dspbios ti-cgt6x ti-linuxutils"
-DEPENDS_append_omap3 = " ti-codecs-omap3530 ti-dspbios ti-cgt6x ti-linuxutils"
-DEPENDS_append_dm355 = " ti-codecs-dm355"
-DEPENDS_append_dm365 = " ti-codecs-dm365"
-DEPENDS_append_omapl137 = " ti-codecs-omapl137 ti-dspbios ti-cgt6x ti-linuxutils"
-DEPENDS_append_omapl138 = " ti-codecs-omapl138 ti-dspbios ti-cgt6x ti-linuxutils"
-
-# Define DMAI build time variables
-DMAIPLATFORM_dm6446 = "dm6446_al"
-DMAIPLATFORM_dm6467 = "dm6467_al"
-DMAIPLATFORM_omap3 = "o3530_al"
-DMAIPLATFORM_dm355 = "dm355_al"
-DMAIPLATFORM_dm365 = "dm365_al"
-DMAIPLATFORM_omapl137 = "ol137_al"
-DMAIPLATFORM_omapl138 = "ol138_al"
-DMAIPLATFORM ?= "UNDEFINED_DMAIPLATFORM"
-
-# Need to set this for other platforms as well
-#GPPOS_dm355 = "LINUX_GCC"
-#GPPOS_dm365 = "LINUX_GCC"
-#GPPOS ?= "UNDEFINEDGPPOS"
-
-# Need to re-define this for OMAP-L137/L138
-DSPSUFFIX_omapl137 = "x64P"
-DSPSUFFIX_omapl138 = "x64P"
-DSPSUFFIX ?= "x64p"
-
-# This is needed for dm355/dm365 targets in order to find ti.sdo.codecs.g711
-# TODO :: review - should we just pass this in do_compile?
-USER_XDC_PATH = "${CE_INSTALL_DIR}/examples"
-
-PARALLEL_MAKE = ""
-
-do_prepsources() {
- # run the release steps - this will delete .svn file and run doxygen to
- # generate proper documentation of the source etc.
- find ${WORKDIR}/${DMAIBRANCH} -name .svn -type d | xargs rm -rf
- cp -pPrf ${WORKDIR}/doxygen_templates ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface
- cp -pPrf ${WORKDIR}/arago-tdox ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/tdox
- chmod a+x ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/release.sh
- chmod a+x ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/tdox
- sed -i 's|tdox|./tdox|g' ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/release.sh
- rm -rf ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/dmai_${PV}/*
- (cd ${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface; ./release.sh ${PV})
-}
-
-# run prepare sources before do_patch to ensure that sourceipk picks the right sources.
-addtask prepsources after do_unpack before do_patch
-
-do_compile () {
- # Recent kernel headers warn against inclusion from userspace
- for makefile in $(find ${S} -name "Makefile") ; do
- sed -i -e s:-Werror::g $makefile
- done
-
- # Angstrom 2008 breaks with -Wl,-T, while angstrom 2010 needs it
- if [ $(${TARGET_PREFIX}gcc -dumpversion | awk -F. '{print $2}') -gt 3 ] ; then
- # Fix up linkerscripts, recent toolchains need -T to prepend the default script to the custom one
- for appmakefile in $(find ${S} -name "Makefile.app") ; do
- sed -i -e 's: $(XDC_CFG)/linker.cmd: -Wl,-T,$(XDC_CFG)/linker.cmd:g' $appmakefile
- done
- fi
-
- # TODO :: Why do we do this?
- unset DMAI_INSTALL_DIR
- cd ${S}
-
- make XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" PLATFORM="${DMAIPLATFORM}" clean
-
- for dir in ${S}; do
- cd $dir
- # TODO: Figure out how to pass the alsa require location, currently
- # LINUXLIBS_INSTALL_DIR is hard-coded for armv5te
- make \
- CE_INSTALL_DIR="${CE_INSTALL_DIR}" \
- CODEC_INSTALL_DIR="${CODEC_INSTALL_DIR}" \
- FC_INSTALL_DIR="${FC_INSTALL_DIR}" \
- LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" \
- XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \
- CODEGEN_INSTALL_DIR="${CODEGEN_INSTALL_DIR}" \
- BIOS_INSTALL_DIR="${BIOS_INSTALL_DIR}"\
- LINUXLIBS_INSTALL_DIR="${STAGING_DIR_TARGET}/usr" \
- USER_XDC_PATH="${USER_XDC_PATH}" \
- CROSS_COMPILE="${TOOLCHAIN_PATH}/${TARGET_PREFIX}" \
- CSTOOL_DIR="${TOOLCHAIN_PATH}" \
- VERBOSE="true" \
- XDAIS_INSTALL_DIR="${XDAIS_INSTALL_DIR}" \
- LINK_INSTALL_DIR="${LINK_INSTALL_DIR}" \
- CMEM_INSTALL_DIR="${CMEM_INSTALL_DIR}" \
- LPM_INSTALL_DIR="${LPM_INSTALL_DIR}" \
- C6ACCEL_INSTALL_DIR=${C6ACCEL_INSTALL_DIR} \
- MVTOOL_PREFIX="${TARGET_PREFIX}" \
- PLATFORM="${DMAIPLATFORM}"
- done
-}
-
-do_install () {
-
- # TODO :: Why do we do this?
- unset DMAI_INSTALL_DIR
-
- install -d ${D}/${installdir}/ti-dmai-apps
- cd ${S}
- make PLATFORM="${DMAIPLATFORM}" EXEC_DIR=${D}/${installdir}/ti-dmai-apps install
- install -m 0755 ${WORKDIR}/loadmodules-ti-dmai-${DMAIPLATFORM}.sh ${D}/${installdir}/ti-dmai-apps/loadmodules.sh
-
- install -d ${D}${DMAI_INSTALL_DIR_RECIPE}
- cp -pPrf ${S}/* ${D}${DMAI_INSTALL_DIR_RECIPE}
-}
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PACKAGES += "ti-dmai-apps"
-FILES_ti-dmai-apps = "${installdir}/ti-dmai-apps/*"
-INSANE_SKIP_ti-dmai-apps = "1"
-
-RDEPENDS_ti-dmai-apps_dm6446 += "ti-codecs-dm6446-server ti-cmem-module ti-dsplink-module"
-RDEPENDS_ti-dmai-apps_dm6467 += "ti-codecs-dm6467 ti-cmem-module ti-dsplink-module"
-RDEPENDS_ti-dmai-apps_omap3 += "ti-codecs-omap3530-server ti-cmem-module ti-dsplink-module ti-lpm-module ti-sdma-module"
-RDEPENDS_ti-dmai-apps_dm355 += "ti-codecs-dm355 ti-cmem-module ti-dm355mm-module"
-RDEPENDS_ti-dmai-apps_dm365 += "ti-codecs-dm365 ti-cmem-module ti-dm365mm-module ti-edma-module ti-irq-module"
-RDEPENDS_ti-dmai-apps_omapl137 += "ti-codecs-omapl137-server ti-cmem-module ti-dsplink-module"
-RDEPENDS_ti-dmai-apps_omapl138 += "ti-codecs-omapl138-server ti-cmem-module ti-dsplink-module"
-
-pkg_postinst_ti-dmai-apps () {
- ln -sf ${installdir}/ti-codecs-server/*.${DSPSUFFIX} ${installdir}/ti-dmai-apps/
-}
-
diff --git a/recipes-ti/dmai/ti-dmai/arago-tdox b/recipes-ti/dmai/ti-dmai/arago-tdox
deleted file mode 100644
index 81538cf3..00000000
--- a/recipes-ti/dmai/ti-dmai/arago-tdox
+++ /dev/null
@@ -1,210 +0,0 @@
-#!/bin/bash
-#
-#
-# This script sets a series of environment variable that are referenced
-# in a doxygen configuration file. The values passed in here are simply
-# plugged into the file locations and doxygen proceeds normaly.
-#
-# template location is ${VENDORS}/opensource/doxygen/templates/<version>
-#
-#
-
-# Revision history
-#! 02 Jul 2009 cring: Added cmd line args for doxygendir (-x) and template (-t)
-#! 13 Jul 2006 ada: New template smaller pdf generation
-#! 16 May 2006 ada: Added -p file to pdf for space in project names
-#! 08 May 2006 ada: Added pdf generation to tdox (Solaris/Linux only).
-#! 23 Jan 2006 ada: Overide file to change default doxyfile behaivior
-#! 19 Jan 2006 ada: 1093, ENUM_VALUES_PER_LINE set to 1, ref doxyfile via vers
-#! 05 Oct 2005 ada: 933, doxyfile in tools, removed win and unix vendors path
-#! 24 Aug 2005 ada: Added 897 changes, optional css c or jave optimization
-#! 18 Aug 2005 ada: inital version from AR 887
-
-# Set these defaults here as the usage statement uses them
-TDOX_TEMPLATEDIR=${TOOLS}/default/doxygen_templates
-DOXYGEN_EXECUTABLE=doxygen
-
-function usage
-{
- OPTIONS="`basename $0` code_location out_doc_location [-x doxygen_exe ] [-t tdox_templatedir] [-n project_name] [-v version] [-f FILE_PATTERNS ] [-s strip_dir] [-c css location] [-e exclude dirs] [-b enabled sections] [-m generate chm] [-p pdf_file] [-o override doxyfile] [-j]"
- echo "`basename $1` $OPTIONS"
- echo "Where: "
- echo "\tcode_location: Top of tree(s) to search for code (required as 1st param)"
- echo "\tout_doc_location: Output location for generated files (required as 2nd param)"
- echo "\t[-n project_name]: title of generated documentation (defaults to Project)"
- echo "\t[-x doxygen_exe]: location of doxygen executable (defaults to $DOXYGEN_EXECUTABLE)"
- echo "\t[-t tdox_templatedir]: location of tdox templates (defaults to $TDOX_TEMPLATEDIR)"
- echo "\t[-v version]: version number or string (defaults to 1.0)"
- echo "\t[-f FILE_PATTERNS]: Optional list of files to document (defaults to all)"
- echo "\t[-s strip_dirs]: Remove directory prefix from generated files (defaults to not remove)"
- echo "\t[-c path_to_css]: Path to a user suplied CSS style sheet"
- echo "\t[-e exclude dirs]: List of directories to exclude"
- echo "\t[-b enabled sections]: List of sections to enable"
- echo "\t[-m generate chm]: chm file name (required)"
- echo "\t[-p generate pdf <file>]: create <file>.pdf in html/pdf (Linux only)"
- echo "\t[-o override doxyfile]: file (advanced) Overide any doxyfile default"
- echo "\t[-j]: Optimize for Java (Generate class files) defaults to C"
- echo "\t[-r]: Call rshd to windows for chm generation (defaults to wine)"
- echo
- exit
-}
-
-function optimizeForJava
-{
- DOX_OPTIMIZE_OUTPUT_JAVA="YES"
- DOX_OPTIMIZE_OUTPUT_FOR_C="NO"
-}
-
-if [ "$#" -lt 2 ]; then
- echo "Invalid number of parameters"
- usage $0
-fi
-
-# get the required parameters then shift for the getopts parameters
-export DOX_INPUT="$1"
-shift
-export DOX_OUTPUT_DIRECTORY="$1"
-shift
-
-#set the global defaults
-DOX_QUIET="YES"
-DOX_OPTIMIZE_OUTPUT_JAVA="NO"
-DOX_OPTIMIZE_OUTPUT_FOR_C="YES"
-DOX_CHM_FILE=
-DOX_GENERATE_HTMLHELP="NO"
-OVERRIDE_FILE=""
-PDF=""
-
-# Process the rest of the arguments as getopts
-# parameters
-while getopts b:c:e:f:m:n:o:p:s:t:v:x:dhjr arg
-do
- case $arg in
- b) DOX_ENABLED_SECTIONS=${OPTARG};;
- c) DOX_HTML_STYLESHEET=${OPTARG};;
- d) DEBUG=1;;
- e) DOX_EXCLUDE=${OPTARG};;
- f) DOX_FILE_PATTERNS=${OPTARG};;
- h) usage;exit 0;;
- j) optimizeForJava;;
- r) USERSHD=1;;
- m) DOX_CHM_FILE=${OPTARG};DOX_GENERATE_HTMLHELP="YES";;
- n) DOX_PROJECT_NAME=${OPTARG};;
- s) DOX_STRIP_FROM_PATH=${OPTARG};;
- t) TDOX_TEMPLATEDIR=${OPTARG};;
- v) DOX_PROJECT_NUMBER=${OPTARG};;
- x) DOXYGEN_EXECUTABLE=${OPTARG};;
- o) OVERRIDE_FILE=${OPTARG};;
- p) PDF=${OPTARG};;
- \?) usage
- exit 2;;
- esac
-done
-
-if [ "$DEBUG" = "1" ]; then
- DOX_QUIET="NO"
- set -x
-fi
-
-if [ "$DOX_PROJECT_NAME" = "" ]; then
- DOX_PROJECT_NAME="Project"
-fi
-
-if [ "$DOX_PROJECT_NUMBER" = "" ]; then
- DOX_PROJECT_NUMBER="1.0"
-fi
-
-if [ "$DOX_FILE_PATTERNS" = "" ]; then
- DOX_FILE_PATTERNS="*.c \
- *.cc \
- *.cxx \
- *.cpp \
- *.c++ \
- *.d \
- *.java \
- *.ii \
- *.ixx \
- *.ipp \
- *.i++ \
- *.inl \
- *.h \
- *.hh \
- *.hxx \
- *.hpp \
- *.h++ \
- *.idl \
- *.odl \
- *.cs \
- *.php \
- *.php3 \
- *.inc \
- *.m \
- *.mm \
- *.dox"
-fi
-
-export DOX_INPUT
-export DOX_OUTPUT_DIRECTORY
-export DOX_PROJECT_NAME
-export DOX_PROJECT_NUMBER
-export DOX_FILE_PATTERNS
-export DOX_STRIP_FROM_PATH
-export DOX_QUIET
-export DOX_HTML_STYLESHEET
-export DOX_OPTIMIZE_OUTPUT_FOR_C
-export DOX_OPTIMIZE_OUTPUT_JAVA
-export DOX_EXCLUDE
-export DOX_ENABLED_SECTIONS
-export DOX_CHM_FILE
-export DOX_GENERATE_HTMLHELP
-export TDOX_TEMPLATEDIR
-
-
-# Make sure the dir exists
-mkdir -p $DOX_OUTPUT_DIRECTORY
-
-# Create temp file copy of doxyfile and append overrides to the end of the file
-cp ${TDOX_TEMPLATEDIR}/doxyfile /tmp/doxyfile$$
-
-chmod +w /tmp/doxyfile$$
-if [ "$OVERRIDE_FILE" != "" ]; then
- cat $OVERRIDE_FILE >> /tmp/doxyfile$$
-fi
-
-# Run doxygen and clean up temp file
-${DOXYGEN_EXECUTABLE} /tmp/doxyfile$$
-rm -f /tmp/doxyfile$$
-
-# Copy the TI banner gifs to the html directory.
-cp -p ${TDOX_TEMPLATEDIR}/*gif $DOX_OUTPUT_DIRECTORY/html
-
-# Generate PDF files
-if [ "$PDF" != "" ]; then
- if [ "$BUILD_HOST_OS" = "Linux" ]; then
- rm -rf $DOX_OUTPUT_DIRECTORY/html/pdf
- mkdir -p $DOX_OUTPUT_DIRECTORY/html/pdf
- cwd=`pwd`
- cd $DOX_OUTPUT_DIRECTORY/latex
- latex refman.tex
- makeindex refman.idx
- latex refman.tex
- latex_count=5
- while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ]
- do
- latex refman.tex
- latex_count=`expr $$latex_count - 1`
- done
- dvips -o refman.ps refman.dvi
- ps2pdf refman.ps refman.pdf
- cd $cwd
- mv $DOX_OUTPUT_DIRECTORY/latex/refman.pdf $DOX_OUTPUT_DIRECTORY/html/pdf/${PDF}.pdf
- else
- echo "Sorry... pdf generation supported under Linux only"
- fi
-fi
-
-# Generate Windows compressed help
-if [ "$DOX_GENERATE_HTMLHELP" = "YES" ]; then
-
- echo "chm generation is not supported"
-fi
diff --git a/recipes-ti/dmai/ti-dmai/doxygen_templates.tar.gz b/recipes-ti/dmai/ti-dmai/doxygen_templates.tar.gz
deleted file mode 100644
index 6d613bf5..00000000
--- a/recipes-ti/dmai/ti-dmai/doxygen_templates.tar.gz
+++ /dev/null
Binary files differ
diff --git a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-apps.sh b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-apps.sh
deleted file mode 100755
index 7120b744..00000000
--- a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-apps.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Default Memory Map - for OMAP3530 dvsdk examples from 3.00.00.29 - this memory map is used for DMAI apps
-#
-# Start Addr Size Description
-# -------------------------------------------
-# 0x80000000 88 MB Linux
-# 0x85800000 08 MB CMEM
-# 0x86800000 16 MB DDRALGHEAP
-# 0x87800000 6 MB DDR2 (BIOS, Codecs, Applications)
-# 0x87E00000 1 MB DSPLINK (MEM)
-# 0x87F00000 4 KB DSPLINK (RESET)
-# 0x87F01000 1020 KB unused
-
-# sanity check to verify that we're using the right mem=xxM (88M in this case)
-awk '/MemTotal:/ {
- mem=$2
-
- if (mem > 88 * 1024)
- print "Warning! You need to use mem=88M or less on the kernel cmdline"
-
- printf "You have %dkB total memory for Linux\n", mem
-}' /proc/meminfo
-
-# Select cmemk parameters for best fit, i.e. starting at 0x85000000
-modprobe cmemk phys_start=0x85800000 phys_end=0x86800000 pools=20x4096,8x131072,5x1048576,1x1429440,1x256000,1x3600000,5x829440
-
-# insert DSP/BIOS Link driver
-#
-modprobe dsplinkk
-
-# make /dev/dsplink
-#rm -f /dev/dsplink
-#mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
-
-# insert Local Power Manager driver
-#
-modprobe lpm_omap3530
diff --git a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm355_al.sh b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm355_al.sh
deleted file mode 100755
index ca357e20..00000000
--- a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm355_al.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# loadmodules.sh
-#
-# Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as
-# published by the Free Software Foundation version 2.1 of the License.
-#
-# This program is distributed #as is# WITHOUT ANY WARRANTY of any kind,
-# whether express or implied; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-
-# 12MB
-modprobe cmemk phys_start=0x87400000 phys_end=0x88000000 pools=1x2903040,1x1529856,7x829440,1x524288,1x108680,1x81920,2x8192,6x4096
-
-./mapdmaq
-
-modprobe dm350mmap
-rm -f /dev/dm350mmap
-mknod /dev/dm350mmap c `awk "\\$2==\"dm350mmap\" {print \\$1}" /proc/devices` 0
diff --git a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm365_al.sh b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm365_al.sh
deleted file mode 100644
index 36dc78ec..00000000
--- a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm365_al.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-# This loadmodules script is provided to support 1920x1080 resolution file based encode/decode DMAI unit test applications
-
-# Sample bootargs is given below
-# mem=60M console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=<nfsroot> ip=dhcp video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,2025K dm365_imp.oper_mode=0
-
-depmod -a
-rmmod cmemk 2>/dev/null
-rmmod irqk 2>/dev/null
-rmmod edmak 2>/dev/null
-rmmod dm365mmap 2>/dev/null
-
-# Pools configuration
-modprobe cmemk phys_start=0x83C00000 phys_end=0x88000000 pools=1x384,2x5984,2x3133440,1x16384,1x48952,1x20480,1x60288,1x74,1x28,1x2048,1x6785280,1x146,1x896,1x65536,1x98,1x296,29x56,2x24,1x624,4x62,1x1456,1x18321120,1x65792,5x3523584,1x4194304,1x8355840
-
-#VC1 decode pool configuration
-# insmod cmemk.ko phys_start=0x83C00000 phys_end=0x88000000 pools=1x384,1x112665,3x7680,1x319264,2x1024,5x7208960,1x80,1x116,1x29184,1x2688,1x30720,1x551680,2x128,1x74,1x28,1x10240,1x47232,1x448,2x1152,1x8192,2x272896,18x56,2x24,1x86,4x62,2x7808,1x2097152
-
-modprobe irqk
-modprobe edmak
-modprobe dm365mmap
-
-rm -f /dev/dm365mmap
-mknod /dev/dm365mmap c `awk "\\$2==\"dm365mmap\" {print \\$1}" /proc/devices` 0
diff --git a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm6446_al.sh b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm6446_al.sh
deleted file mode 100755
index b4a230d5..00000000
--- a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm6446_al.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# loadmodules.sh
-#
-# Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as
-# published by the Free Software Foundation version 2.1 of the License.
-#
-# This program is distributed #as is# WITHOUT ANY WARRANTY of any kind,
-# whether express or implied; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-
-modprobe cmemk phys_start=0x87800000 phys_end=0x88E00000 pools=20x4096,8x202752,10x131072,2x1048576,1x2097152,10x829440,1x6750000
-modprobe dsplinkk ddr_start=0x8F800000 ddr_size=0x600000
-
-rm -rf /dev/dsplink
-mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
diff --git a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm6467_al.sh b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm6467_al.sh
deleted file mode 100755
index b4a230d5..00000000
--- a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-dm6467_al.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# loadmodules.sh
-#
-# Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as
-# published by the Free Software Foundation version 2.1 of the License.
-#
-# This program is distributed #as is# WITHOUT ANY WARRANTY of any kind,
-# whether express or implied; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-
-modprobe cmemk phys_start=0x87800000 phys_end=0x88E00000 pools=20x4096,8x202752,10x131072,2x1048576,1x2097152,10x829440,1x6750000
-modprobe dsplinkk ddr_start=0x8F800000 ddr_size=0x600000
-
-rm -rf /dev/dsplink
-mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
diff --git a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-o3530_al.sh b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-o3530_al.sh
deleted file mode 100755
index 076af072..00000000
--- a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-o3530_al.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-# loadmodules.sh
-#
-# Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as
-# published by the Free Software Foundation version 2.1 of the License.
-#
-# This program is distributed #as is# WITHOUT ANY WARRANTY of any kind,
-# whether express or implied; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-
-#
-# Default Memory Map
-#
-# Start Addr Size Description
-# -------------------------------------------
-# 0x80000000 88 MB Linux
-# 0x85800000 08 MB CMEM
-# 0x86800000 24 MB DDRALGHEAP
-# 0x87800000 6 MB DDR2 (BIOS, Codecs, Applications)
-# 0x87E00000 1 MB DSPLINK (MEM)
-# 0x87F00000 4 KB DSPLINK (RESET)
-# 0x87F01000 1020 KB unused
-
-modprobe cmemk phys_start=0x85800000 phys_end=0x86800000 pools=20x4096,8x131072,4x829440,1x5250000,1x1429440,1x256000
-
-
-# insert DSP/BIOS Link driver
-#
-modprobe dsplinkk
-
-# make /dev/dsplink
-rm -f /dev/dsplink
-mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
-
-
-# insert Local Power Manager driver
-#
-modprobe lpm_omap3530
-
diff --git a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-ol137_al.sh b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-ol137_al.sh
deleted file mode 100755
index 2c98c787..00000000
--- a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-ol137_al.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# loadmodules.sh
-#
-# Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as
-# published by the Free Software Foundation version 2.1 of the License.
-#
-# This program is distributed #as is# WITHOUT ANY WARRANTY of any kind,
-# whether express or implied; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-
-modprobe cmemk phys_start=0xC2200000 phys_end=0xC3200000 pools=1x5250000,3x1048576,3x829440,1x256000,4x131072
-modprobe dsplinkk
-
-rm -rf /dev/dsplink
-mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
diff --git a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-ol138_al.sh b/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-ol138_al.sh
deleted file mode 100755
index 2c98c787..00000000
--- a/recipes-ti/dmai/ti-dmai/loadmodules-ti-dmai-ol138_al.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# loadmodules.sh
-#
-# Copyright (C) $year Texas Instruments Incorporated - http://www.ti.com/
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as
-# published by the Free Software Foundation version 2.1 of the License.
-#
-# This program is distributed #as is# WITHOUT ANY WARRANTY of any kind,
-# whether express or implied; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-
-modprobe cmemk phys_start=0xC2200000 phys_end=0xC3200000 pools=1x5250000,3x1048576,3x829440,1x256000,4x131072
-modprobe dsplinkk
-
-rm -rf /dev/dsplink
-mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
diff --git a/recipes-ti/dmai/ti-dmai/omap3530-r642-remove-include-videodev.diff b/recipes-ti/dmai/ti-dmai/omap3530-r642-remove-include-videodev.diff
deleted file mode 100644
index 63f9cc68..00000000
--- a/recipes-ti/dmai/ti-dmai/omap3530-r642-remove-include-videodev.diff
+++ /dev/null
@@ -1,64 +0,0 @@
-From 06c4cfeec98f4f1e31543878ceb74c5fff1907e4 Mon Sep 17 00:00:00 2001
-From: Enrico Butera <ebutera@users.berlios.de>
-Date: Thu, 22 Dec 2011 11:01:58 +0100
-Subject: [PATCH 1/2] adjust videdev headers for recent kernels
-
-Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
----
- .../packages/ti/sdo/dmai/linux/omap3530/Capture.c | 1 -
- .../ti/sdo/dmai/linux/omap3530/Display_v4l2.c | 1 -
- .../ti/sdo/dmai/linux/omap3530/_VideoBuf.c | 1 -
- .../ti/sdo/dmai/linux/omap3530/priv/_VideoBuf.h | 1 -
- 4 files changed, 0 insertions(+), 4 deletions(-)
-
-diff --git a/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/Capture.c b/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/Capture.c
-index a924169..c2b45d2 100644
---- a/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/Capture.c
-+++ b/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/Capture.c
-@@ -40,7 +40,6 @@
- #include <sys/mman.h>
- #include <sys/ioctl.h>
- #include <asm/types.h>
--#include <linux/videodev.h>
- #include <linux/videodev2.h>
-
- #include <xdc/std.h>
-diff --git a/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/Display_v4l2.c b/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/Display_v4l2.c
-index 0d01b39..0c35efe 100644
---- a/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/Display_v4l2.c
-+++ b/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/Display_v4l2.c
-@@ -38,7 +38,6 @@
- #include <sys/ioctl.h>
- #include <sys/mman.h>
- #include <errno.h>
--#include <linux/videodev.h>
- #include <linux/videodev2.h>
-
- #include <xdc/std.h>
-diff --git a/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/_VideoBuf.c b/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/_VideoBuf.c
-index 5615e2f..5cb712d 100644
---- a/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/_VideoBuf.c
-+++ b/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/_VideoBuf.c
-@@ -38,7 +38,6 @@
- #include <sys/ioctl.h>
- #include <sys/mman.h>
- #include <errno.h>
--#include <linux/videodev.h>
- #include <linux/videodev2.h>
-
- #include <xdc/std.h>
-diff --git a/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/priv/_VideoBuf.h b/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/priv/_VideoBuf.h
-index b2128a3..dbaa4eb 100644
---- a/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/priv/_VideoBuf.h
-+++ b/davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/omap3530/priv/_VideoBuf.h
-@@ -34,7 +34,6 @@
- #ifndef ti_sdo_dai_linux_priv__VideoBuf_h_
- #define ti_sdo_dai_linux_priv__VideoBuf_h_
-
--#include <linux/videodev.h>
- #include <linux/videodev2.h>
-
- #include <ti/sdo/dmai/BufferGfx.h>
---
-1.7.2.5
-
diff --git a/recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff b/recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff
deleted file mode 100644
index 2f328c0e..00000000
--- a/recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff
+++ /dev/null
@@ -1,48 +0,0 @@
-From 86e89bb160cfe67c173f1260b93066b12dd73580 Mon Sep 17 00:00:00 2001
-From: Enrico Butera <ebutera@users.berlios.de>
-Date: Thu, 22 Dec 2011 11:03:58 +0100
-Subject: [PATCH 2/2] fix toolchain names in config.bld
-
-Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
----
- .../dmai/packages/config.bld | 24 +------------------
- 1 files changed, 2 insertions(+), 22 deletions(-)
-
-diff --git a/davinci_multimedia_application_interface/dmai/packages/config.bld b/davinci_multimedia_application_interface/dmai/packages/config.bld
-index 8c2e96e..566f907 100644
---- a/davinci_multimedia_application_interface/dmai/packages/config.bld
-+++ b/davinci_multimedia_application_interface/dmai/packages/config.bld
-@@ -44,28 +44,8 @@ var C6X = xdc.useModule('ti.targets.C64P');
- C6X.rootDir = codegen;
- C6X.platform = xdcplat;
-
--/* User passes in $(CROSS_COMPILE) where $(CROSS_COMPILE)gcc is their compiler
-- Then the TOOLDIR and LONGNAME are derived based on a regex of CROSS_COMPILE
--*/
--var crosscompile = "" + java.lang.System.getenv("CROSS_COMPILE");
--
--var tooldir = "";
--var longName = "";
--
--/* Search CROSS_COMPILE for bin/ If only 1 bin/ is found, set the tooldir to
-- the path prior to bin/ and the prefix to "bin/" + remainder of path,
-- else leave the tooldir as "" and set the LONGNAME to the full CROSS_COMPILE
-- path
--*/
--var regex = new RegExp("bin/");
--var find = crosscompile.split( regex );
--
--if (find[0]!=crosscompile && find.length==2) {
-- tooldir = find[0];
-- longName = "bin/" + find[1] + "gcc";
--} else {
-- longName = crosscompile + "gcc";
--}
-+var tooldir = "" + java.lang.System.getenv("CSTOOL_DIR");
-+var longName = "" + java.lang.System.getenv("MVTOOL_PREFIX") + "gcc";
-
- /* location of the GCC Arm9 tools */
- var GCArmv5T = xdc.useModule('gnu.targets.arm.GCArmv5T');
---
-1.7.2.5
-
diff --git a/recipes-ti/dmai/ti-dmai/remove-unneeded-includes.patch b/recipes-ti/dmai/ti-dmai/remove-unneeded-includes.patch
deleted file mode 100644
index cfd325a3..00000000
--- a/recipes-ti/dmai/ti-dmai/remove-unneeded-includes.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Index: a/packages/ti/sdo/dmai/Makefile
-===================================================================
---- a/packages/ti/sdo/dmai/Makefile
-+++ b/packages/ti/sdo/dmai/Makefile
-@@ -107,7 +107,7 @@ XDCPATH += $(XDC_INSTALL_DIR)/packages;$
-
- CPP_FLAGS += -I$(XDC_INSTALL_DIR)/packages -I$(DMAI_INSTALL_DIR)/packages -I$(CE_INSTALL_DIR)/packages -I$(FC_INSTALL_DIR)/packages -I$(XDAIS_INSTALL_DIR)/packages -I$(CODEC_INSTALL_DIR)/packages -DDmai_Device_$(PLATFORM_DEVICE)
-
--GCC_CPP_FLAGS += $(CPP_FLAGS) -I$(LINUXKERNEL_INSTALL_DIR)/include -I$(LINUXKERNEL_INSTALL_DIR)/arch/arm/include -I$(LINUXKERNEL_INSTALL_DIR)/arch/arm/$(PLATFORM_ARCH)/include $(HAVE_AUTOCONFIG) -I$(CMEM_INSTALL_DIR)/packages -I$(LINK_INSTALL_DIR) -DDmai_BuildOs_linux -Dxdc_target_types__=gnu/targets/std.h -I$(LINUXLIBS_INSTALL_DIR)/include -Dxdc_target_name__=arm/GCArmv5T
-+GCC_CPP_FLAGS += $(CPP_FLAGS) $(HAVE_AUTOCONFIG) -I$(CMEM_INSTALL_DIR)/packages -I$(LINK_INSTALL_DIR) -DDmai_BuildOs_linux -Dxdc_target_types__=gnu/targets/std.h -I$(LINUXLIBS_INSTALL_DIR)/include -Dxdc_target_name__=arm/GCArmv5T
- C64P_CPP_FLAGS += $(CPP_FLAGS) -I$(BIOS_INSTALL_DIR)/packages/ti/bios/include -I$(BIOS_INSTALL_DIR)/packages -DDmai_BuildOs_bios -Dxdc_target__='<ti/targets/std.h>' -I$(CODEGEN_INSTALL_DIR)/include -mv6400+ -pdse225 -eo$(PLATFORM_DEVICE).o$(EXT)
-
- GCC_C_FLAGS += $(C_FLAGS) -Wall
-Index: a/packages/ti/sdo/dmai/apps/Makefile.app
-===================================================================
---- a/packages/ti/sdo/dmai/apps/Makefile.app
-+++ b/packages/ti/sdo/dmai/apps/Makefile.app
-@@ -121,7 +121,7 @@ C64P_C_FLAGS = $(C_FLAGS)
- GCC_CPP_FLAGS = $(CPP_FLAGS) -I$(LINUXKERNEL_INSTALL_DIR)/include
- C64P_CPP_FLAGS = $(CPP_FLAGS) -pdse225 -I$(CODEGEN_INSTALL_DIR)/include -mv6400+ -I$(BIOS_INSTALL_DIR)/packages/ti/bios/include -eo$(PLATFORM_DEVICE).o$(EXT)
-
--GCC_LD_FLAGS = $(LD_FLAGS) -lpthread -lm -L$(LINUXLIBS_INSTALL_DIR)/lib -lasound
-+GCC_LD_FLAGS = $(LD_FLAGS) -lpthread -lm --sysroot=$(PKG_CONFIG_SYSROOT_DIR) -L$(LINUXLIBS_INSTALL_DIR)/lib -lasound
- C64P_LD_FLAGS = $(LD_FLAGS) -z -w -x -c -i$(RTDX_INSTALL_DIR)/packages/ti/rtdx/iom/lib/debug -i$(RTDX_INSTALL_DIR)/packages/ti/rtdx/cio/lib/release -i$(RTDX_INSTALL_DIR)/packages/ti/rtdx/lib/c6000
-
- SOURCES = $(wildcard *.c)
diff --git a/recipes-ti/dmai/ti-dmai/unloadmodules-ti-dmai-apps.sh b/recipes-ti/dmai/ti-dmai/unloadmodules-ti-dmai-apps.sh
deleted file mode 100644
index 793d727f..00000000
--- a/recipes-ti/dmai/ti-dmai/unloadmodules-ti-dmai-apps.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-# Unload modules - DMAI - OMAP3530
-
-# remove lpm module
-rmmod lpm_omap3530
-
-# remove DSP/BIOS Link driver
-rmmod dsplinkk
-#rm -f /dev/dsplink
-
-# remove cmem module
-rmmod cmemk
-
diff --git a/recipes-ti/dmai/ti-dmai_svn.bb b/recipes-ti/dmai/ti-dmai_svn.bb
deleted file mode 100644
index 3cc54b91..00000000
--- a/recipes-ti/dmai/ti-dmai_svn.bb
+++ /dev/null
@@ -1,43 +0,0 @@
-require ti-dmai.inc
-
-# Need to descend one level more to find source
-S = "${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/dmai_${PV}/dmai"
-
-# Hack to be able to use recent kernel headers from userspace
-TARGET_CC_ARCH += " -D__EXPORTED_HEADERS__"
-
-PV = "2_10_00_01+svnr${SRCPV}"
-
-LIC_FILES_CHKSUM = "file://dmai_${PV}_License.html;md5=3302f728a5a42f97cabc26a54d7fa607"
-
-# This package has high dependence on kernel, use kernel PR as base and append a local version
-PR = "${MACHINE_KERNEL_PR}"
-PR_append = "p"
-
-DMAIBRANCH_dm6446 = "trunk"
-DMAIBRANCH_dm6467 = "branches/GITPSP_INT_101009"
-DMAIBRANCH_omap3 = "trunk"
-DMAIBRANCH_dm355 = "branches/GITPSP_INT_101009"
-DMAIBRANCH_dm365 = "trunk"
-DMAIBRANCH_omapl137 = "trunk"
-DMAIBRANCH_omapl138 = "trunk"
-DMAIBRANCH ?= "UNDEFINED_DMAIBRANCH"
-
-SRCREV_dm6446 = "482"
-SRCREV_dm6467 = "441"
-SRCREV_omap3 = "642"
-SRCREV_dm355 = "424"
-SRCREV_dm365 = "570"
-SRCREV_omapl137 = "482"
-SRCREV_omapl138 = "570"
-SRCREV ?= "UNDEFINED_SRCREV"
-
-SRC_URI_append = " file://omap3530-r642-remove-include-videodev.diff;striplevel=3 \
- file://r642-fix-config-bld.diff;striplevel=3 \
- file://remove-unneeded-includes.patch \
- "
-
-INSANE_SKIP_${PN} = "installed-vs-shipped"
-
-COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/hdvpss/ti-hdvpss.inc b/recipes-ti/hdvpss/ti-hdvpss.inc
deleted file mode 100644
index 3c99b792..00000000
--- a/recipes-ti/hdvpss/ti-hdvpss.inc
+++ /dev/null
@@ -1,20 +0,0 @@
-DESCRIPTION = "TI HDVPSS"
-SECTION = "devel"
-LICENSE = "TI"
-
-require ../includes/ti-paths.inc
-require ../includes/ti-staging.inc
-
-S = "${WORKDIR}/REL.HDVPSS_${PV}"
-
-SRC_URI = "http://install.source.dir.local/REL.HDVPSS.${PV}.zip"
-
-do_compile() {
- :
-}
-
-do_install() {
- install -d ${D}${HDVPSS_INSTALL_DIR_RECIPE}
- cp -pPrf ${S}/* ${D}${HDVPSS_INSTALL_DIR_RECIPE}
-}
-
diff --git a/recipes-ti/hdvpss/ti-hdvpss_01.00.01.27.bb b/recipes-ti/hdvpss/ti-hdvpss_01.00.01.27.bb
deleted file mode 100644
index 88b08442..00000000
--- a/recipes-ti/hdvpss/ti-hdvpss_01.00.01.27.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require ti-hdvpss.inc
-
-SRC_URI[md5sum] = "6db908bef3b933dc8cea666564d5d4d8"
-SRC_URI[sha256sum] = "2caa9c859cfe348197e860f07d174a8ab7048d38d6d3a12ec576802122c9e91e"
-
-COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc
deleted file mode 100644
index 52a93cf5..00000000
--- a/recipes-ti/includes/ti-paths.inc
+++ /dev/null
@@ -1,125 +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 BIOS_INSTALL_DIR_RECIPE = "${installdir}/ti-dspbios-tree"
-export BIOSPSP_INSTALL_DIR_RECIPE = "${installdir}/ti-biospsp-tree"
-export BIOSUTILS_INSTALL_DIR_RECIPE = "${installdir}/ti-biosutils-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 CMEM_INSTALL_DIR_RECIPE = "${installdir}/ti-linuxutils-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 DMAI_INSTALL_DIR_RECIPE = "${installdir}/ti-dmai-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 HDVPSS_INSTALL_DIR_RECIPE = "${installdir}/ti-hdvpss-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 LINUXUTILS_INSTALL_DIR_RECIPE = "${installdir}/ti-linuxutils-tree"
-export LPM_INSTALL_DIR_RECIPE = "${installdir}/ti-local-power-manager-tree"
-export NDK_INSTALL_DIR_RECIPE = "${installdir}/ti-ndk-tree"
-export NS_INSTALL_DIR_RECIPE = "${installdir}/ti-ns-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 GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE = "${installdir}/gcc-linaro-baremetal"
-export GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE = "${installdir}/gcc-linaro-baremetal-aarch64"
-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 BIOSUTILS_INSTALL_DIR = "${STAGING_DIR_TARGET}${BIOSUTILS_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 DMAI_INSTALL_DIR = "${STAGING_DIR_TARGET}${DMAI_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 HDVPSS_INSTALL_DIR = "${STAGING_DIR_TARGET}${HDVPSS_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 LINUXUTILS_INSTALL_DIR = "${STAGING_DIR_TARGET}${LINUXUTILS_INSTALL_DIR_RECIPE}"
-export LPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${LPM_INSTALL_DIR_RECIPE}"
-export NDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${NDK_INSTALL_DIR_RECIPE}"
-export NS_INSTALL_DIR = "${STAGING_DIR_TARGET}${NS_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/recipes-ti/includes/ti-staging.inc b/recipes-ti/includes/ti-staging.inc
deleted file mode 100644
index b5888055..00000000
--- a/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/recipes-ti/ipc/ipc-transport-common-rtos_git.bb b/recipes-ti/ipc/ipc-transport-common-rtos_git.bb
deleted file mode 100644
index 6fec0f0d..00000000
--- a/recipes-ti/ipc/ipc-transport-common-rtos_git.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-require recipes-ti/includes/ti-paths.inc
-require ipc-transport.inc
-
-PR = "${INC_PR}.1"
-
-LIC_FILES_CHKSUM = "file://common_src/bench_common.h;beginline=1;endline=31;md5=a6ddfb26d2097041d513e3881f40e4e8"
-
-COMPATIBLE_MACHINE = "k2hk|k2l|k2e"
-
-IPC_TRANSPORT_COMMON_DESTSUFFIX = "git/c66/example"
-
-S = "${WORKDIR}/${IPC_TRANSPORT_COMMON_DESTSUFFIX}"
-
-do_compile() {
- :
-}
-
-do_install () {
- install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/transport/ipc/c66/example
- cp -r ${S} ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/transport/ipc/c66
-}
-
-FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/ti/transport/ipc/c66/example/*"
diff --git a/recipes-ti/ipc/ipc-transport-qmss-rtos_git.bb b/recipes-ti/ipc/ipc-transport-qmss-rtos_git.bb
deleted file mode 100644
index 6655ab7e..00000000
--- a/recipes-ti/ipc/ipc-transport-qmss-rtos_git.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-inherit ti-pdk
-require ipc-transport.inc
-
-PR = "${INC_PR}.4"
-
-LIC_FILES_CHKSUM = "file://TransportQmss.xdc;beginline=1;endline=35;md5=ad783760d74a4cc5b8d4ad3d8a1f28a2"
-
-COMPATIBLE_MACHINE = "k2hk|k2l|k2e"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS_append = " qmss-lld-rtos \
- cppi-lld-rtos \
- ti-ipc-rtos \
- ipc-transport-common-rtos \
-"
-
-IPC_TRANSPORT_QMSS_DESTSUFFIX = "git/c66/qmss"
-
-S = "${WORKDIR}/${IPC_TRANSPORT_QMSS_DESTSUFFIX}"
-
-export IPC_INSTALL_PATH = "${IPC_INSTALL_DIR}"
-XDCPATH_append = ";${IPC_INSTALL_DIR}/packages"
diff --git a/recipes-ti/ipc/ipc-transport-qmss-test_git.bb b/recipes-ti/ipc/ipc-transport-qmss-test_git.bb
deleted file mode 100644
index 3561ef95..00000000
--- a/recipes-ti/ipc/ipc-transport-qmss-test_git.bb
+++ /dev/null
@@ -1,37 +0,0 @@
-include ipc-transport-qmss.inc
-
-PR = "${INC_PR}.0"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEPENDS = "ipc-transport-qmss ti-ipc"
-
-#FILES_${PN}-test = "${bindir}/multiProcessTest_*.out"
-
-CHOICELIST = "yes no"
-
-DEVICELIST_k2hk = "k2h k2k"
-DEVICELIST_k2e = "k2e"
-DEVICELIST_k2l = "k2l"
-
-do_compile () {
-# Now build the test code
- for device in ${DEVICELIST}
- do
- for choice in ${CHOICELIST}
- do
- oe_runmake tests \
- IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} \
- USEDYNAMIC_LIB="$choice" DEVICE="$device"
- done
- done
-}
-
-do_install () {
- for device in ${DEVICELIST}
- do
- oe_runmake installbin \
- INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
- done
-
-}
diff --git a/recipes-ti/ipc/ipc-transport-qmss.inc b/recipes-ti/ipc/ipc-transport-qmss.inc
deleted file mode 100644
index f029656e..00000000
--- a/recipes-ti/ipc/ipc-transport-qmss.inc
+++ /dev/null
@@ -1,14 +0,0 @@
-DESCRIPTION = "TI QMSS-Based IPC MessageQ Transport"
-LICENSE = "BSD-3-Clause"
-
-require ipc-transport.inc
-
-INC_PR_append = ".1"
-
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02"
-
-COMPATIBLE_MACHINE = "keystone"
-
-S = "${WORKDIR}/git/linux/qmss"
-
-EXTRA_OEMAKE += "PDK_INSTALL_PATH=${STAGING_INCDIR} TRANS_QMSS_SRC_DIR=${S}"
diff --git a/recipes-ti/ipc/ipc-transport-qmss_git.bb b/recipes-ti/ipc/ipc-transport-qmss_git.bb
deleted file mode 100644
index 4c9aaded..00000000
--- a/recipes-ti/ipc/ipc-transport-qmss_git.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-include ipc-transport-qmss.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS = "ti-ipc mpm-transport"
-
-do_compile () {
-# Now build the transport
- oe_runmake clean
- oe_runmake lib
-}
-
-do_install () {
- oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} \
- INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-}
diff --git a/recipes-ti/ipc/ipc-transport-srio-rtos_git.bb b/recipes-ti/ipc/ipc-transport-srio-rtos_git.bb
deleted file mode 100644
index 3f96598f..00000000
--- a/recipes-ti/ipc/ipc-transport-srio-rtos_git.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-inherit ti-pdk
-require ipc-transport.inc
-
-PR = "${INC_PR}.2"
-
-LIC_FILES_CHKSUM = "file://TransportSrio.xdc;beginline=1;endline=35;md5=4d466471e4b933a0cc353a46bb546fe7"
-
-COMPATIBLE_MACHINE = "k2hk"
-
-DEPENDS_append = " qmss-lld-rtos \
- cppi-lld-rtos \
- srio-lld-rtos \
- ti-ipc-rtos \
- ipc-transport-common-rtos \
-"
-
-IPC_TRANSPORT_SRIO_DESTSUFFIX = "git/c66/srio"
-
-S = "${WORKDIR}/${IPC_TRANSPORT_SRIO_DESTSUFFIX}"
-
-export IPC_INSTALL_PATH = "${IPC_INSTALL_DIR}"
-XDCPATH_append = ";${IPC_INSTALL_DIR}/packages"
diff --git a/recipes-ti/ipc/ipc-transport-srio-test_git.bb b/recipes-ti/ipc/ipc-transport-srio-test_git.bb
deleted file mode 100644
index 4e23fb21..00000000
--- a/recipes-ti/ipc/ipc-transport-srio-test_git.bb
+++ /dev/null
@@ -1,32 +0,0 @@
-include ipc-transport-srio.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS = "ipc-transport-srio ipc-transport-qmss ti-ipc"
-
-DEVICELIST = "k2h k2k"
-
-CHOICELIST = "yes no"
-
-do_compile () {
-# Now build the test code
- for device in ${DEVICELIST}
- do
- for choice in ${CHOICELIST}
- do
- oe_runmake tests \
- IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} \
- USEDYNAMIC_LIB="$choice" DEVICE="$device"
- done
- done
-}
-
-do_install () {
-
- for device in ${DEVICELIST}
- do
- oe_runmake installbin \
- INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
- done
-
-}
diff --git a/recipes-ti/ipc/ipc-transport-srio.inc b/recipes-ti/ipc/ipc-transport-srio.inc
deleted file mode 100644
index 6c477388..00000000
--- a/recipes-ti/ipc/ipc-transport-srio.inc
+++ /dev/null
@@ -1,14 +0,0 @@
-DESCRIPTION = "TI SRIO-Based IPC MessageQ Transport"
-LICENSE = "BSD-3-Clause"
-
-require ipc-transport.inc
-
-INC_PR_append = ".1"
-
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02"
-
-COMPATIBLE_MACHINE = "k2hk"
-
-S = "${WORKDIR}/git/linux/srio"
-
-EXTRA_OEMAKE += "PDK_INSTALL_PATH=${STAGING_INCDIR} TRANS_SRIO_SRC_DIR=${S}"
diff --git a/recipes-ti/ipc/ipc-transport-srio_git.bb b/recipes-ti/ipc/ipc-transport-srio_git.bb
deleted file mode 100644
index ca7f7b6c..00000000
--- a/recipes-ti/ipc/ipc-transport-srio_git.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-include ipc-transport-srio.inc
-
-PR = "${INC_PR}.0"
-
-DEPENDS = "ti-ipc mpm-transport"
-
-do_compile () {
-# Now build the transport
- oe_runmake clean
- oe_runmake lib
-}
-
-do_install () {
- oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} \
- INSTALL_LIB_BASE_DIR=${D}${libdir}
- chown -R root:root ${D}
-}
diff --git a/recipes-ti/ipc/ipc-transport.inc b/recipes-ti/ipc/ipc-transport.inc
deleted file mode 100644
index 0c1edef1..00000000
--- a/recipes-ti/ipc/ipc-transport.inc
+++ /dev/null
@@ -1,15 +0,0 @@
-LICENSE = "BSD-3-Clause"
-
-IPC_TRANSPORT_GIT_URI = "git://git.ti.com/keystone-linux/ipc-transport.git"
-IPC_TRANSPORT_GIT_PROTOCOL = "git"
-IPC_TRANSPORT_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.IPC-TRANSPORT.02.00.00.02A"
-IPC_TRANSPORT_SRCREV = "f75e2e29b9b1b63443a0c82493e41dd2f771c6f5"
-
-BRANCH = "${IPC_TRANSPORT_GIT_BRANCH}"
-SRC_URI = "${IPC_TRANSPORT_GIT_URI};protocol=${IPC_TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${IPC_TRANSPORT_SRCREV}"
-PV = "02.00.00.02A"
-INC_PR = "r0"
diff --git a/recipes-ti/ipc/ti-ipc-common.inc b/recipes-ti/ipc/ti-ipc-common.inc
deleted file mode 100644
index 96cbd667..00000000
--- a/recipes-ti/ipc/ti-ipc-common.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-PV = "3.51.00.00"
-INC_PR = "r0"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
-
-PLATFORM = "UNKNOWN"
-PLATFORM_omap5-evm = "OMAP54XX"
-PLATFORM_dra7xx = "DRA7XX"
-PLATFORM_k2hk = "TCI6638"
-PLATFORM_k2l = "TCI6630"
-PLATFORM_k2e = "66AK2E"
-PLATFORM_k2g = "66AK2G"
-PLATFORM_omapl138 = "OMAPL138"
-PLATFORM_c667x-evm = "C6678"
-PLATFORM_c665x-evm = "C6678"
-PLATFORM_am65xx = "AM65XX"
-
-ALT_PLATFORM_k2hk = "TCI6636"
-ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
diff --git a/recipes-ti/linuxutils/ti-linuxutils.inc b/recipes-ti/linuxutils/ti-linuxutils.inc
deleted file mode 100644
index c8f93209..00000000
--- a/recipes-ti/linuxutils/ti-linuxutils.inc
+++ /dev/null
@@ -1,93 +0,0 @@
-DESCRIPTION = "MFP Linux utils for TI ARM/DSP processors"
-SECTION = "devel"
-LICENSE = "GPLv2 & BSD"
-
-BASE_SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/linuxutils/${PV}/exports"
-SRC_URI = "${BASE_SRC_URI}/linuxutils_${PV}.tar.gz "
-
-LIC_FILES_CHKSUM = "file://gpl_2.0.txt;md5=1298794fc2eed3df92a89f3c9d317440"
-
-S = "${WORKDIR}/linuxutils_${PV}"
-
-require recipes-ti/includes/ti-paths.inc
-require recipes-ti/includes/ti-staging.inc
-
-PR = "${MACHINE_KERNEL_PR}"
-
-#This is a kernel module, don't set PR directly
-MACHINE_KERNEL_PR_append = "f"
-
-inherit module
-
-do_compile() {
- do_make_scripts
- unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
-
- case "${SOC_FAMILY}" in
- "dm365")
- modules="cmem edma irq";;
- "omap3")
- modules="cmem sdma";;
- "dm355")
- modules="cmem edma irq";;
- *)
- modules="cmem"
- esac
-
- for module in $modules ; do
- cd ${S}/packages/ti/sdo/linuxutils/$module
- make \
- LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" \
- MVTOOL_PREFIX="${TARGET_PREFIX}" \
- UCTOOL_PREFIX="${TARGET_PREFIX}" \
- clean debug release
- done
-}
-
-do_install () {
- install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
- # Install CMEM
- for module in $(find ${S}/packages/ti/sdo/linuxutils/ -name "*.ko") ; do
- install -m 0755 $module ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
- done
- cd ${S}/packages/ti/sdo/linuxutils/cmem/apps
- make \
- LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" \
- MVTOOL_PREFIX="${TARGET_PREFIX}" \
- UCTOOL_PREFIX="${TARGET_PREFIX}" \
- EXEC_DIR="${D}${installdir}/ti-linuxutils-app/cmem-app" \
- install
- # Install EDMA
- if [ "${SOC_FAMILY}" = "dm365" ] ; then
- cd ${S}/packages/ti/sdo/linuxutils/edma/apps
- make \
- LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" \
- MVTOOL_PREFIX="${TARGET_PREFIX}" \
- UCTOOL_PREFIX="${TARGET_PREFIX}" \
- EXEC_DIR="${D}${installdir}/ti-linuxutils-app/edma-app" \
- install
- fi
-
- # stage tree - other packages may need this
- install -d ${D}${LINUXUTILS_INSTALL_DIR_RECIPE}
- cp -pPrf ${S}/* ${D}${LINUXUTILS_INSTALL_DIR_RECIPE}
-}
-
-
-
-
-PACKAGES =+ " ti-cmem-module \
- ti-sdma-module \
- ti-edma-module \
- ti-irq-module \
- ti-linuxutils-app"
-
-FILES_ti-cmem-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/cmem*.ko"
-FILES_ti-sdma-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/sdma*.ko"
-FILES_ti-edma-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/edma*.ko"
-FILES_ti-irq-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/irq*.ko"
-
-FILES_ti-linuxutils-app = "${installdir}/ti-linuxutils-app/*/*"
-
-INSANE_SKIP_ti-linuxutils-app = "True"
-INHIBIT_PACKAGE_STRIP = "1"
diff --git a/recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix-2.patch b/recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix-2.patch
deleted file mode 100644
index 1438003c..00000000
--- a/recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix-2.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From: Koen Kooi <k-kooi@ti.com>
-Subject: linuxutils: fix build with 2.6.37rcX
-
----
-
---- /tmp/sdmak.c 2010-12-05 18:43:55.000000000 +0100
-+++ linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c 2010-12-05 18:48:31.000000000 +0100
-@@ -208,9 +208,12 @@
- }
-
- up_read(&current->mm->mmap_sem);
--
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
-+ sema_init(&(channels[channel].mutex),1);
-+#else
- init_MUTEX_LOCKED(&(channels[channel].mutex));
-- channels[channel].owner = filp;
-+#endif
-+ channels[channel].owner = filp;
-
- if (copy_to_user(argp, &channel, sizeof(channel))) {
- return -EFAULT;
diff --git a/recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix.patch b/recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix.patch
deleted file mode 100644
index 29b0a444..00000000
--- a/recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-From: Koen Kooi <k-kooi@ti.com>
-Subject: linuxutils: fix build with 2.6.37rcX
-
----
-
---- /tmp/cmemk.c 2010-12-05 18:41:00.000000000 +0100
-+++ linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c 2010-12-05 18:43:24.000000000 +0100
-@@ -31,6 +31,7 @@
- #include <linux/seq_file.h>
- #include <linux/vmalloc.h>
- #include <linux/sched.h>
-+#include <linux/slab.h>
- #include <asm/cacheflush.h>
- #include <asm/uaccess.h>
- #include <asm/pgtable.h>
-@@ -204,7 +205,11 @@
- "\n\t\t fall back to a heap-based allocation attempt");
- module_param(useHeapIfPoolUnavailable, int, S_IRUGO);
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
-+static DEFINE_SEMAPHORE(cmem_mutex);
-+#else
- static DECLARE_MUTEX(cmem_mutex);
-+#endif
-
- /* Describes a pool buffer */
- typedef struct pool_buffer {
-@@ -243,8 +248,12 @@
-
- static struct file_operations cmem_fxns = {
- owner: THIS_MODULE,
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
-+ unlocked_ioctl: ioctl,
-+#else
- ioctl: ioctl,
-- mmap: mmap,
-+#endif
-+ mmap: mmap,
- open: open,
- release: release
- };
---- /tmp/sdmak.c 2010-12-05 18:43:55.000000000 +0100
-+++ linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c 2010-12-05 18:48:31.000000000 +0100
-@@ -208,9 +208,12 @@
- }
-
- up_read(&current->mm->mmap_sem);
--
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
-+ sema_init(&(channels[channel].mutex),1);
-+#else
- init_MUTEX_LOCKED(&(channels[channel].mutex));
-- channels[channel].owner = filp;
-+#endif
-+ channels[channel].owner = filp;
-
- if (copy_to_user(argp, &channel, sizeof(channel))) {
- return -EFAULT;
-@@ -286,8 +289,12 @@
- }
-
- static struct file_operations fops = {
-- .ioctl = dma_ioctl,
-- .release = dma_release,
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
-+ .unlocked_ioctl = dma_ioctl,
-+#else
-+ .ioctl = dma_ioctl,
-+#endif
-+ .release = dma_release,
- .owner = THIS_MODULE
- };
-
diff --git a/recipes-ti/linuxutils/ti-linuxutils/linuxutils_2_26-cmemk-fixes.patch b/recipes-ti/linuxutils/ti-linuxutils/linuxutils_2_26-cmemk-fixes.patch
deleted file mode 100644
index 3ce66f8c..00000000
--- a/recipes-ti/linuxutils/ti-linuxutils/linuxutils_2_26-cmemk-fixes.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-Index: linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
-===================================================================
---- linuxutils_2_26_01_02.orig/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
-+++ linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
-@@ -31,6 +31,7 @@
- #include <linux/seq_file.h>
- #include <linux/vmalloc.h>
- #include <linux/sched.h>
-+#include <linux/slab.h>
- #include <asm/cacheflush.h>
- #include <asm/uaccess.h>
- #include <asm/pgtable.h>
-@@ -1072,7 +1073,7 @@ static int set_noncached(struct vm_area_
- {
- vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
-
-- vma->vm_flags |= VM_RESERVED | VM_IO;
-+ vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP | VM_IO;
-
- if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff,
- vma->vm_end - vma->vm_start, vma->vm_page_prot)) {
-@@ -1095,7 +1096,7 @@ static int set_cached(struct vm_area_str
- );
- #endif
-
-- vma->vm_flags |= VM_RESERVED | VM_IO;
-+ vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP | VM_IO;
-
- if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff,
- vma->vm_end - vma->vm_start, vma->vm_page_prot)) {
-@@ -2062,8 +2063,13 @@ int __init cmem_init(void)
- block_avail_size[bi] = length;
-
- /* attempt to determine the end of Linux kernel memory */
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 11, 0)
- phys_end_kernel = virt_to_phys((void *)PAGE_OFFSET) +
- (num_physpages << PAGE_SHIFT);
-+#else
-+ phys_end_kernel = virt_to_phys((void *)PAGE_OFFSET) +
-+ (get_num_physpages() << PAGE_SHIFT);
-+#endif
-
- if (phys_end_kernel > block_start[bi]) {
- if (allowOverlap == 0) {
-@@ -2186,10 +2192,14 @@ int __init cmem_init(void)
- }
-
- /* Create the /proc entry */
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
- cmem_proc_entry = create_proc_entry("cmem", 0, NULL);
- if (cmem_proc_entry) {
- cmem_proc_entry->proc_fops = &cmem_proc_ops;
- }
-+#else
-+ cmem_proc_entry = proc_create_data("cmem", 0, NULL, &cmem_proc_ops, NULL);
-+#endif
-
- mutex_init(&cmem_mutex);
-
diff --git a/recipes-ti/linuxutils/ti-linuxutils/linuxutils_2_26-sdmak-fixes.patch b/recipes-ti/linuxutils/ti-linuxutils/linuxutils_2_26-sdmak-fixes.patch
deleted file mode 100644
index 5ec85fc2..00000000
--- a/recipes-ti/linuxutils/ti-linuxutils/linuxutils_2_26-sdmak-fixes.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Index: linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
-===================================================================
---- linuxutils_2_26_01_02.orig/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
-+++ linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
-@@ -44,7 +44,7 @@
- #include <mach/hardware.h>
- #include <mach/dma.h>
- #include <mach/tc.h>
--#else
-+#elif LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
- #include <plat/hardware.h>
- #include <plat/dma.h>
- #include <plat/tc.h>
-@@ -97,6 +97,11 @@
-
- #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18) */
-
-+#ifndef OMAP_DMA_NO_DEVICE
-+#include <linux/omap-dma.h>
-+#define OMAP_DMA_NO_DEVICE 0
-+#endif
-+
- #include "../interface/sdma.h"
-
- struct channel {
diff --git a/recipes-ti/linuxutils/ti-linuxutils_2.26.01.02.bb b/recipes-ti/linuxutils/ti-linuxutils_2.26.01.02.bb
deleted file mode 100644
index 113e6a69..00000000
--- a/recipes-ti/linuxutils/ti-linuxutils_2.26.01.02.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-require ti-linuxutils.inc
-
-SRC_URI += "file://linuxutils-BKL-fix-2.patch \
- file://linuxutils_2_26-cmemk-fixes.patch \
- file://linuxutils_2_26-sdmak-fixes.patch \
- "
-
-PE = "1"
-PV = "2_26_01_02"
-
-SRC_URI[md5sum] = "70b4918bc35c1bcfef34d6ba3fbce0c8"
-SRC_URI[sha256sum] = "51266dd928f8d629cd417c869789a6c0d596612120f165619119cbaadfd66ee2"
-
-INSANE_SKIP_${PN} = "installed-vs-shipped"
-
-COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/mpm-transport/mpm-transport_git.bb b/recipes-ti/mpm-transport/mpm-transport_git.bb
deleted file mode 100644
index 3c28f28c..00000000
--- a/recipes-ti/mpm-transport/mpm-transport_git.bb
+++ /dev/null
@@ -1,49 +0,0 @@
-DESCRIPTION = "Multiproc transport layer for KeyStone devices: Provide basic transport layer for moving data between different processing nodes"
-HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"
-LICENSE = "BSD-3-Clause & MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9"
-COMPATIBLE_MACHINE = "keystone"
-
-DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld qmss-lld cppi-lld uio-module-drv"
-DEPENDS_append_k2hk = " hyplnk-lld srio-lld"
-DEPENDS_append_k2e = " hyplnk-lld"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRC_URI = "git://git.ti.com/keystone-linux/mpm-transport.git;protocol=git;branch=${BRANCH}"
-
-BRANCH = "master"
-# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.04.00
-SRCREV = "e0e44fe55bef7ddf89f7ff3574f07fa906e72a37"
-
-PV = "2.0.4.0"
-PR = "r0"
-
-EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
-EXTRA_OEMAKE_append_k2hk += "HYPLNK_TRANSPORT=true SRIO_TRANSPORT=true"
-EXTRA_OEMAKE_append_k2e += "HYPLNK_TRANSPORT=true"
-INSANE_SKIP_${PN} += "ldflags"
-
-S = "${WORKDIR}/git"
-
-PACKAGES =+ "${PN}-test"
-FILES_${PN}-test = "${bindir}/mpm_transport_test.out \
- ${bindir}/mpm_transport_hyplnk_loopback.out \
- ${bindir}/mpm_transport_hyplnk_remote.out \
- ${bindir}/mpm_transport_hyplnk_loopback_dma.out \
- ${bindir}/mpm_transport_hyplnk_loopback64.out \
- ${bindir}/mpm_transport_qmss_arm_mt.out \
- ${bindir}/mpm_transport_srio_arm_mt.out"
-
-do_install() {
- oe_runmake installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir}
-
- install -d ${D}${includedir}/
- install -c -m 644 ${S}/include/* ${D}${includedir}/
-
- install -d ${D}${libdir}/
- cp -a --preserve=mode,timestamps --no-preserve=ownership ${S}/lib/* ${D}${libdir}/
-
- install -d ${D}${sysconfdir}/mpm/
- install -c -m 644 ${S}/scripts/mpm_config.json ${D}${sysconfdir}/mpm/mpm_config.json
-}
diff --git a/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb b/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb
deleted file mode 100644
index 7a6e0f63..00000000
--- a/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb
+++ /dev/null
@@ -1,44 +0,0 @@
-SUMMARY = "TI Multiproc Manager (RTOS) for KeyStone II"
-DESCRIPTION = "Provides download, debug and other utilities for other cores in the SOC like DSP"
-
-require recipes-ti/includes/ti-paths.inc
-require recipes-ti/multiprocmgr/multiprocmgr.inc
-
-DEPENDS = "ti-cgt6x-native"
-
-PR = "${INC_PR}.2"
-
-PACKAGES =+ "${PN}-test"
-FILES_${PN}-test = "${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin/*.out \
- ${datadir}/ti/examples/mpm/test/sync_test/c66x/bin/*.out"
-
-EXTRA_OEMAKE = "LOCAL_SYSROOT="${STAGING_DIR_TARGET}" \
- C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
- "
-
-do_compile() {
- oe_runmake c66x
- oe_runmake test_c66x
-}
-
-do_install() {
- CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
- install -d ${D}${MPM_INSTALL_DIR_RECIPE}
- cp ${CP_ARGS} ${S}/* ${D}${MPM_INSTALL_DIR_RECIPE}
-
- # Copy C66x binaries
- install -d ${D}${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin
- cp ${S}/test/filetestdemo/c66x/demo_loopback/build/bin/*.out \
- ${D}${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin/
- install -d ${D}${datadir}/ti/examples/mpm/test/sync_test/c66x/bin
- cp ${S}/test/sync_test/c66x/bin/*.out \
- ${D}${datadir}/ti/examples/mpm/test/sync_test/c66x/bin/
-}
-
-FILES_${PN}-dev += "${MPM_INSTALL_DIR_RECIPE}"
-INSANE_SKIP_${PN}-dev = "arch"
-INSANE_SKIP_${PN}-test = "arch"
-
-RDEPENDS_${PN}-dev = "bash"
-
-ALLOW_EMPTY_${PN} = "1"
diff --git a/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb b/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb
deleted file mode 100644
index 7c3f9e1b..00000000
--- a/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-SUMMARY = "TI Multiproc Manager test code"
-
-include multiprocmgr.inc
-
-PR = "${INC_PR}.2"
-
-DEPENDS = "multiprocmgr cmem"
-RDEPENDS_${PN} = "multiprocmgr mpm-transport cmem"
-RDEPENDS_${PN} += "multiprocmgr-rtos-test bash"
-
-FILES_${PN} += "\
- ${datadir}/ti/examples/mpm \
-"
-
-FILES_${PN}-dbg += "\
- ${datadir}/ti/examples/mpm/*/.debug \
-"
-
-do_compile() {
- oe_runmake -C ${S} test
-}
-
-do_install() {
- # Copy Sources and binary
- install -d ${D}${datadir}/ti/examples/mpm/src
- cp -r ${S}/src/mailbox ${D}${datadir}/ti/examples/mpm/src
- cp -r ${S}/src/sync ${D}${datadir}/ti/examples/mpm/src
- cp -r ${S}/test ${D}${datadir}/ti/examples/mpm
-}
diff --git a/recipes-ti/multiprocmgr/multiprocmgr.inc b/recipes-ti/multiprocmgr/multiprocmgr.inc
deleted file mode 100644
index 64fb6f6f..00000000
--- a/recipes-ti/multiprocmgr/multiprocmgr.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/multi-proc-manager.git"
-LICENSE = "BSD-3-Clause & MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce208c498eb9669223724dc9c1d8fe4"
-SECTION = "console"
-COMPATIBLE_MACHINE = "keystone"
-
-MULTIPROCMGR_GIT_URI = "git://git.ti.com/keystone-linux/multi-proc-manager.git"
-MULTIPROCMGR_GIT_PROTOCOL = "git"
-MULTIPROCMGR_GIT_BRANCH = "master"
-
-# The following commits correspond to DEV.MPM-3.00.05.00
-MULTIPROCMGR_SRCREV = "810d8a31c797d07abe808cb3fa89465fa934d4dd"
-
-PV = "3.0.5.0"
-INC_PR = "r1"
-
-BRANCH = "${MULTIPROCMGR_GIT_BRANCH}"
-SRC_URI = "${MULTIPROCMGR_GIT_URI};protocol=${MULTIPROCMGR_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${MULTIPROCMGR_SRCREV}"
-
-S = "${WORKDIR}/git"
diff --git a/recipes-ti/multiprocmgr/multiprocmgr/mpmsrv-daemon.service b/recipes-ti/multiprocmgr/multiprocmgr/mpmsrv-daemon.service
deleted file mode 100644
index 40eb4650..00000000
--- a/recipes-ti/multiprocmgr/multiprocmgr/mpmsrv-daemon.service
+++ /dev/null
@@ -1,14 +0,0 @@
-[Unit]
-Description=TI Multiproc Manager
-
-[Service]
-ExecStartPre=/sbin/modprobe keystone_remoteproc
-ExecStartPre=/sbin/modprobe keystone_dsp_mem
-ExecStartPre=/sbin/modprobe uio_module_drv
-
-Type=forking
-PIDFile=/var/run/mpm/pid
-ExecStart=/usr/bin/mpmsrv
-
-[Install]
-WantedBy=basic.target
diff --git a/recipes-ti/multiprocmgr/multiprocmgr_git.bb b/recipes-ti/multiprocmgr/multiprocmgr_git.bb
deleted file mode 100644
index 07512603..00000000
--- a/recipes-ti/multiprocmgr/multiprocmgr_git.bb
+++ /dev/null
@@ -1,44 +0,0 @@
-SUMMARY = "TI Multiproc Manager for KeyStone II"
-DESCRIPTION = "Provides download, debug and other utilities for other cores in the SOC like DSP"
-
-include multiprocmgr.inc
-
-SRC_URI += " \
- file://mpmsrv-daemon.service \
-"
-
-PR = "${INC_PR}.2"
-
-DEPENDS = "mpm-transport libdaemon virtual/kernel cmem"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-INITSCRIPT_NAME = "mpmsrv-daemon.sh"
-INITSCRIPT_PARAMS = "defaults 10"
-
-SYSTEMD_SERVICE_${PN} = "mpmsrv-daemon.service"
-
-inherit update-rc.d systemd
-
-do_install() {
- install -d ${D}${bindir}/
- install -c -m 755 ${S}/bin/mpmsrv ${D}${bindir}/mpmsrv
- install -c -m 755 ${S}/bin/mpmcl ${D}${bindir}/mpmcl
-
- install -d ${D}${systemd_system_unitdir}
- install -m 0644 ${WORKDIR}/mpmsrv-daemon.service ${D}${systemd_system_unitdir}
- install -d ${D}${sysconfdir}/init.d/
- install -c -m 755 ${S}/scripts/mpmsrv-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
-
- install -d ${D}${sysconfdir}/mpm/
- install -c -m 755 ${S}/scripts/crash_callback.sh ${D}${sysconfdir}/mpm/crash_callback.sh
-
- install -d ${D}${includedir}/
- install -c -m 755 ${S}/include/* ${D}${includedir}/
-
- install -d ${D}${libdir}/
- cp -a ${S}/lib/* ${D}${libdir}/
- chown -R root:root ${D}${libdir}/
-}
-
-INSANE_SKIP_${PN} = "ldflags"
diff --git a/recipes-ti/ndk/ti-ndk.inc b/recipes-ti/ndk/ti-ndk.inc
deleted file mode 100644
index 9afde316..00000000
--- a/recipes-ti/ndk/ti-ndk.inc
+++ /dev/null
@@ -1,20 +0,0 @@
-SUMMARY = "TI RTOS_Networking"
-HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/index.html"
-SECTION = "devel"
-LICENSE = "BSD"
-
-require recipes-ti/includes/ti-paths.inc
-
-S = "${WORKDIR}/ndk_${PV}"
-SRC_URI = "http://software-dl.ti.com/targetcontent/ndk/${PV}/exports/ndk_${PV}.zip;name=ndkzip"
-
-do_install() {
- CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
- install -d ${D}${NDK_INSTALL_DIR_RECIPE}
- cp ${CP_ARGS} ${S}/* ${D}${NDK_INSTALL_DIR_RECIPE}
-}
-
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN}-dev += "${NDK_INSTALL_DIR_RECIPE}"
-
-INSANE_SKIP_${PN}-dev = "arch ldflags staticdev file-rdeps"
diff --git a/recipes-ti/ndk/ti-ndk_3.61.01.01.bb b/recipes-ti/ndk/ti-ndk_3.61.01.01.bb
deleted file mode 100644
index f120f2fe..00000000
--- a/recipes-ti/ndk/ti-ndk_3.61.01.01.bb
+++ /dev/null
@@ -1,16 +0,0 @@
-require ti-ndk.inc
-
-PV = "3_61_01_01"
-PR = "r0"
-
-LIC_FILES_CHKSUM = "file://manifest_ndk_${PV}.html;md5=871c716abcf52bac5a7c23154eaba3b6"
-
-SRC_URI[ndkzip.md5sum] = "87f0494c9faee344fe93ae68e71ca189"
-SRC_URI[ndkzip.sha256sum] = "3bfca50367432603ebc1d53d9185302bb4fa4558ac766696f086dc7a5a2ccd29"
-
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-INHIBIT_SYSROOT_STRIP = "1"
-
-COMPATIBLE_HOST ?= "null"
-COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/ns/ti-ns.inc b/recipes-ti/ns/ti-ns.inc
deleted file mode 100644
index 2a50c56c..00000000
--- a/recipes-ti/ns/ti-ns.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-SUMMARY = "TI Network Services"
-HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ns/index.html"
-SECTION = "devel"
-LICENSE = "BSD"
-
-require recipes-ti/includes/ti-paths.inc
-
-S = "${WORKDIR}/ns_${PV}"
-
-SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ns/${PV}/exports/ns_${PV}.zip;name=nszip"
-
-do_install() {
- CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
- install -d ${D}${NS_INSTALL_DIR_RECIPE}
- cp ${CP_ARGS} ${S}/* ${D}${NS_INSTALL_DIR_RECIPE}
-}
-
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN}-dev += "${NS_INSTALL_DIR_RECIPE}"
-
-INSANE_SKIP_${PN}-dev = "arch ldflags staticdev file-rdeps"
diff --git a/recipes-ti/ns/ti-ns_2.60.01.06.bb b/recipes-ti/ns/ti-ns_2.60.01.06.bb
deleted file mode 100644
index d86fcd5f..00000000
--- a/recipes-ti/ns/ti-ns_2.60.01.06.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-require ti-ns.inc
-
-PV = "2_60_01_06"
-PR = "r0"
-SRC_URI = "http://software-dl.ti.com/targetcontent/ns/${PV}/exports/ns_${PV}.zip;name=nszip"
-
-LIC_FILES_CHKSUM = "file://manifest_ns_${PV}.html;md5=e15dc261b0ef14c6fbabba24abcde4f0"
-
-SRC_URI[nszip.md5sum] = "b78d86423e9c4d148be5fba5903cc2c7"
-SRC_URI[nszip.sha256sum] = "f66b2fda6ab02585020e67d84897305209f3e141847581a214ccf123c3f15f00"
-
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-INHIBIT_SYSROOT_STRIP = "1"
diff --git a/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb b/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb
deleted file mode 100644
index 96648815..00000000
--- a/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb
+++ /dev/null
@@ -1,32 +0,0 @@
-DESCRIPTION = "Package containing PDK makefile infrastructure"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=1;endline=31;md5=92ab6f5e10f1502081c6080207e57ec1"
-
-require recipes-ti/includes/ti-paths.inc
-
-PR = "r0"
-
-inherit ti-pdk-fetch
-
-TI_PDK_COMP = "ti.build"
-
-PE = "1"
-
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PARALLEL_MAKE = ""
-CLEANBROKEN = "1"
-
-do_compile() {
- :
-}
-
-EXTRA_OEMAKE = "-f make_install LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" PDK_INSTALL_DIR="${D}${PDK_INSTALL_DIR_RECIPE}""
-
-do_install() {
- oe_runmake
-}
-
-FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/*"
-INSANE_SKIP_${PN} += " file-rdeps"
diff --git a/recipes-ti/udma/udma_git.bb b/recipes-ti/udma/udma_git.bb
deleted file mode 100644
index c905fa58..00000000
--- a/recipes-ti/udma/udma_git.bb
+++ /dev/null
@@ -1,32 +0,0 @@
-DESCRIPTION = "Provides zero copy access from user-space to packet dma channels via udma kernel driver"
-LICENSE = "BSD-3-Clause"
-
-COMPATIBLE_MACHINE = "keystone"
-LIC_FILES_CHKSUM = "file://include/udma.h;startline=1;endline=39;md5=ba3c7f91f970afe073b759ced61d0f27"
-
-BRANCH = "master"
-SRC_URI = "git://git.ti.com/keystone-linux/udma.git;protocol=git;branch=${BRANCH}"
-S = "${WORKDIR}/git"
-# Commit corresponds to UDMA.01.00.00.00
-SRCREV = "53d09fb0bc98c41c5eb43623097e363c497d6fd8"
-
-PV = "01.00.00.00"
-
-PACKAGES =+ "${PN}-test"
-
-FILES_${PN}-test = "${bindir}/udma_test"
-
-do_install() {
- install -d ${D}${bindir}/
- install -d ${D}${libdir}/
- install -d ${D}${includedir}/
- install -c -m 755 ${S}/udma_test ${D}${bindir}/
- install -c -m 755 ${S}/libudma.a ${D}${libdir}/
- install -c -m 755 ${S}/libudma.so ${D}${libdir}/libudma.so.1.0.0
- cd ${D}${libdir}/
- ln -sf libudma.so.1.0.0 libudma.so.1
- ln -sf libudma.so.1.0.0 libudma.so
- install -c -m 755 ${S}/include/* ${D}${includedir}/
-}
-
-INSANE_SKIP_${PN} += "textrel"
diff --git a/recipes-ti/uio-test-pruss/uio-test-pruss_git.bb b/recipes-ti/uio-test-pruss/uio-test-pruss_git.bb
deleted file mode 100644
index cbae1b11..00000000
--- a/recipes-ti/uio-test-pruss/uio-test-pruss_git.bb
+++ /dev/null
@@ -1,39 +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|k2g"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-DEVICE_NAME = ""
-DEVICE_NAME_append_am57xx-evm = "am57xx"
-DEVICE_NAME_append_ti33x = "am33xx"
-DEVICE_NAME_append_ti43x = "am43xx"
-DEVICE_NAME_append_k2g = "k2g"
-
-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/wic/sdimage-3part.wks b/wic/sdimage-3part.wks
deleted file mode 100644
index 86aeb1cc..00000000
--- a/wic/sdimage-3part.wks
+++ /dev/null
@@ -1,8 +0,0 @@
-# short-description: Create SD card image with 3 partitions
-# long-description: Creates a partitioned SD card image for testing TI platforms.
-# Boot files are located in the first vfat partition.
-# Second ext4 partition is empty and is used for testing.
-
-part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --size 100M --use-uuid
-part test --ondisk mmcblk0 --fstype=ext4 --label test --align 1024 --size 1G --use-uuid
-part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --extra-space 500M --use-uuid