summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2022-02-22 04:13:08 +0000
committerRyan Eatmon <reatmon@ti.com>2022-02-22 12:01:31 -0600
commit53f4cdf2ce35cbb0aaac0891e5f06e8909caecdd (patch)
tree2d7a22adf169476666eda7d988767506f40f3d20
parentdd558151806beb2ac95356a7a8275498ccddf125 (diff)
downloadmeta-ti-53f4cdf2ce35cbb0aaac0891e5f06e8909caecdd.tar.gz
classes,recipes: remove K1/2 PDK RTOS support, FWs and IPC transports
Remove deprecated support for compiling Keystone1/2 RTOS components and Linux firmwares using PDK, CSL, etc. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--classes/ti-pdk-fetch.bbclass47
-rw-r--r--classes/ti-pdk.bbclass144
-rw-r--r--conf/machine/am57xx-evm.conf4
-rw-r--r--conf/machine/beaglebone.conf3
-rw-r--r--conf/machine/dra7xx-evm.conf4
-rw-r--r--conf/machine/include/am64xx.inc5
-rw-r--r--conf/machine/include/am65xx.inc5
-rw-r--r--conf/machine/include/j7.inc5
-rw-r--r--conf/machine/include/omapl138.inc3
-rw-r--r--conf/machine/include/ti33x.inc4
-rw-r--r--conf/machine/include/ti43x.inc4
-rw-r--r--conf/machine/omapl138-lcdk.conf3
-rw-r--r--recipes-bsp/audk2g-addon/audk2g-addon-rtos_git.bb38
-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/cmb-addon/cmb-addon-rtos_git.bb41
-rw-r--r--recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb23
-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/dsptop/temperature-module-drv_git.bb18
-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/fvid2/fvid2-rtos_git.bb67
-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/ibl-boot/ibl-boot-rtos_git.bb75
-rw-r--r--recipes-bsp/mad-utils/mad-utils-rtos_git.bb57
-rw-r--r--recipes-bsp/netcp-pa-fw/netcp-pa-fw_git.bb50
-rw-r--r--recipes-bsp/netcp-sa-fw/netcp-sa-fw_git.bb23
-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/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/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/qmss-pdsp-fw/qmss-pdsp-fw_git.bb26
-rw-r--r--recipes-bsp/sciclient/sciclient-rtos_git.bb125
-rw-r--r--recipes-bsp/serdes-diag/serdes-diag-rtos_git.bb35
-rw-r--r--recipes-bsp/serdes-fw/serdes-fw_git.bb27
-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/ti-pdk-source/ti-pdk-source_git.bb33
-rw-r--r--recipes-bsp/ti-sci-fw/ti-sci-fw_0.1.1.50.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.bb40
-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/utils-rtos/profiling-rtos_git.bb26
-rw-r--r--recipes-bsp/utils-rtos/trace-rtos_git.bb28
-rw-r--r--recipes-bsp/wdtimer/wdtimer-rtos_git.bb29
-rw-r--r--recipes-ti/includes/ti-paths.inc4
-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.bb19
-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.bb19
-rw-r--r--recipes-ti/ipc/ipc-transport.inc15
-rw-r--r--recipes-ti/mpm-transport/mpm-transport_git.bb50
-rw-r--r--recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb44
-rw-r--r--recipes-ti/multiprocmgr/multiprocmgr-test_git.bb31
-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.bb17
-rw-r--r--recipes-ti/ns/ti-ns.inc21
-rw-r--r--recipes-ti/ns/ti-ns_2.60.01.06.bb15
-rw-r--r--recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb32
-rw-r--r--recipes-ti/udma/udma_git.bb32
87 files changed, 0 insertions, 2673 deletions
diff --git a/classes/ti-pdk-fetch.bbclass b/classes/ti-pdk-fetch.bbclass
deleted file mode 100644
index e4c55e33..00000000
--- a/classes/ti-pdk-fetch.bbclass
+++ /dev/null
@@ -1,47 +0,0 @@
1TI_PDK_GIT_URI ?= "git://git.ti.com/processor-sdk/pdk.git"
2TI_PDK_GIT_BRANCH ?= "master"
3TI_PDK_GIT_PROTOCOL ?= "git"
4TI_PDK_SRCREV ?= "a1ace885998e9adbcbbd0abf8b9ded6ba9ec54ff"
5
6TI_PDK_VERSION ?= "2020.5.6"
7
8PV = "${TI_PDK_VERSION}"
9PE = "2"
10
11TI_PDK_COMP ?= ""
12TI_PDK_COMP_PATH = "${@'${TI_PDK_COMP}'.replace('.','/')}"
13
14TI_PDK_SOURCE_PN = "ti-pdk-source"
15TI_PDK_SOURCE_WORKDIR = "${TMPDIR}/work-shared/ti-pdk-${PV}"
16TI_PDK_SOURCE = "${TI_PDK_SOURCE_WORKDIR}/git"
17
18S = "${@'${WORKDIR}/git/${TI_PDK_COMP_PATH}'.rstrip('/')}"
19
20# Hard-link only required sources from PDK
21python do_unpack:append() {
22 if len(d.getVar('TI_PDK_COMP') or '') > 0:
23 import shutil
24
25 # Get src/dst paths
26 src = os.path.join(d.getVar('TI_PDK_SOURCE'),'packages',d.getVar('TI_PDK_COMP_PATH'))
27 s = d.getVar('S')
28
29 # Set up the directory structure, except for the root of the sources
30 # hard-linked.
31 bb.utils.mkdirhier(s)
32 os.rmdir(s)
33
34 # Recursively hard-link the sources
35 shutil.copytree(src, s, copy_function=os.link)
36
37 # Recursively hard-link the git directory
38 shutil.copytree(os.path.join(d.getVar('TI_PDK_SOURCE'),'.git'), os.path.join(s,'.git'), copy_function=os.link)
39}
40
41# Make sure that ti-pdk-source is unpacked before we set up the hardlinks.
42python __anonymous () {
43 pn = d.getVar('PN')
44 pdk_src_pn = d.getVar('TI_PDK_SOURCE_PN')
45 if pn != pdk_src_pn:
46 d.appendVarFlag('do_unpack', 'depends', ' ${TI_PDK_SOURCE_PN}:do_unpack')
47}
diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
deleted file mode 100644
index aa0568e9..00000000
--- a/classes/ti-pdk.bbclass
+++ /dev/null
@@ -1,144 +0,0 @@
1require recipes-ti/includes/ti-paths.inc
2require recipes-ti/includes/ti-staging.inc
3
4inherit perlnative
5
6DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-baremetal-native ti-cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos doxygen-native"
7
8DEPENDS:append:omap-a15 = " ti-cgt-arm-native"
9DEPENDS:remove:ti33x = "ti-cgt6x-native"
10DEPENDS:remove:ti43x = "ti-cgt6x-native"
11DEPENDS:append:omapl1 = " ti-cgt-arm-native"
12DEPENDS:remove:am65xx = "gcc-arm-baremetal-native ti-cgt6x-native"
13DEPENDS:append:am65xx = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native"
14DEPENDS:remove:j7 = "gcc-arm-baremetal-native"
15DEPENDS:append:j7 = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native ti-cgt7x-native"
16
17S = "${WORKDIR}/git"
18B = "${WORKDIR}/build"
19
20# HTML hyperlink text
21PDK_COMP_LINK_TEXT ?= ""
22
23DOC_FILE = "API_Documentation_${PN}.html"
24
25create_doc_link () {
26 PDK_COMP_DIR=`get_build_dir_bash`
27
28 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}
29}
30
31get_build_dir_bash() {
32 if [ -f ${S}/package.xdc ]
33 then
34 grep '^package' ${S}/package.xdc | sed -e 's|\[.*$||' | awk '{ print $2 }' | sed -e 's|\.|/|g'
35 else
36 echo ${S}
37 return 1
38 fi
39}
40
41export CROSS_TOOL_PRFX="arm-none-eabi-"
42export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
43export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
44export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}"
45export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}"
46export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}"
47export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
48export C7X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c7x"
49export TOOLCHAIN_PATH_EVE = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-arp32"
50export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}"
51export TOOLCHAIN_PATH_GCC_ARCH64 = "${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}"
52export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
53
54export ROOTDIR = "${B}"
55export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
56export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}"
57export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
58
59export XDCPATH = "${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;${PDK_INSTALL_DIR}/packages"
60export SECTTI="perl ${CG_XML_INSTALL_DIR}/ofd/sectti.pl"
61
62TI_PDK_XDCMAKE ?= "1"
63
64# By default, only build the cores with available toolchains
65TI_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"
66TI_PDK_LIMIT_SOCS ?= ""
67TI_PDK_LIMIT_BOARDS ?= ""
68TI_PDK_MAKE_TARGET ?= "release"
69TI_PDK_EXTRA_MAKE ?= ""
70TI_PDK_DOXYGEN_SUPPORT ?= "1"
71
72TI_PDK_XDC_ARGS ?= "${TI_PDK_LIMIT_SOCS}"
73
74PARALLEL_XDC = "${@oe.utils.parallel_make_argument(d, '--jobs=%d')}"
75PARALLEL_MAKE = ""
76
77def get_doxygen_support(d):
78 if d.getVar('TI_PDK_DOXYGEN_SUPPORT') == '1':
79 return ''
80 return 'DOXYGEN_SUPPORT=no'
81
82EXTRA_OEMAKE = " \
83 LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" \
84 LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" \
85 LIMIT_CORES="${TI_PDK_LIMIT_CORES}" \
86 ${TI_PDK_EXTRA_MAKE} \
87 ${@get_doxygen_support(d)} \
88"
89
90do_configure() {
91 BUILD_DIR=${B}/`get_build_dir_bash`
92
93 mkdir -p ${BUILD_DIR}
94 cp -r ${S}/* ${BUILD_DIR}
95
96 if [ "${TI_PDK_XDCMAKE}" == "1" ]
97 then
98 cd ${BUILD_DIR}
99
100 sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs
101 find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \;
102 find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \;
103 find -name "*.xs" -exec sed -i "/\.chm/d" {} \;
104 find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \;
105
106 cd ${B}
107 ${XDC_INSTALL_DIR}/xdc clean ${PARALLEL_XDC} -PR .
108 else
109 if [ "${CLEANBROKEN}" != "1" ]
110 then
111 cd ${BUILD_DIR}
112 oe_runmake clean
113 cd "${B}"
114 fi
115 fi
116
117}
118
119do_compile() {
120
121 if [ "${TI_PDK_XDCMAKE}" == "1" ]
122 then
123 ${XDC_INSTALL_DIR}/xdc all ${PARALLEL_XDC} XDCARGS="${TI_PDK_XDC_ARGS}" ROOTDIR="${ROOTDIR}" -PR .
124 ${XDC_INSTALL_DIR}/xdc release XDCARGS="${TI_PDK_XDC_ARGS}" -PR .
125 else
126 BUILD_DIR=${B}/`get_build_dir_bash`
127 cd ${BUILD_DIR}
128
129 oe_runmake ${TI_PDK_MAKE_TARGET}
130 fi
131}
132
133do_install () {
134 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
135 find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
136
137 if [ "${PDK_COMP_LINK_TEXT}" != "" ]
138 then
139 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/.extras/doc
140 create_doc_link
141 fi
142}
143
144FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
diff --git a/conf/machine/am57xx-evm.conf b/conf/machine/am57xx-evm.conf
index f977c5c6..eb0082ee 100644
--- a/conf/machine/am57xx-evm.conf
+++ b/conf/machine/am57xx-evm.conf
@@ -51,7 +51,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
51# UBI: sub-page size: 512 51# UBI: sub-page size: 512
52# UBI: VID header offset: 2048 (aligned 2048) 52# UBI: VID header offset: 2048 (aligned 2048)
53UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" 53UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
54
55# Set the list of device targets for ti-pdk class recipes
56TI_PDK_LIMIT_SOCS = "am571x am572x am574x"
57TI_PDK_LIMIT_BOARDS = "evmAM571x evmAM572x idkAM571x idkAM572x idkAM574x"
diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
index dcb14cc9..cce8fd09 100644
--- a/conf/machine/beaglebone.conf
+++ b/conf/machine/beaglebone.conf
@@ -14,6 +14,3 @@ MACHINE_GUI_CLASS = "bigscreen"
14SERIAL_CONSOLES = "115200;ttyS0" 14SERIAL_CONSOLES = "115200;ttyS0"
15 15
16IMAGE_INSTALL:append = " kernel-devicetree kernel-image-zimage" 16IMAGE_INSTALL:append = " kernel-devicetree kernel-image-zimage"
17
18# Refine the list of device targets for ti-pdk class recipes
19TI_PDK_LIMIT_BOARDS = "bbbAM335x"
diff --git a/conf/machine/dra7xx-evm.conf b/conf/machine/dra7xx-evm.conf
index db4a5e1c..5fa1dfa5 100644
--- a/conf/machine/dra7xx-evm.conf
+++ b/conf/machine/dra7xx-evm.conf
@@ -46,7 +46,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
46# UBI: sub-page size: 512 46# UBI: sub-page size: 512
47# UBI: VID header offset: 2048 (aligned 2048) 47# UBI: VID header offset: 2048 (aligned 2048)
48UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" 48UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
49
50# Set the list of device targets for ti-pdk class recipes
51TI_PDK_LIMIT_BOARDS = "evmDRA72x evmDRA75x evmDRA78x"
52TI_PDK_LIMIT_SOCS = "dra72x dra75x dra78x"
diff --git a/conf/machine/include/am64xx.inc b/conf/machine/include/am64xx.inc
index 1d53c7a1..afb96a22 100644
--- a/conf/machine/include/am64xx.inc
+++ b/conf/machine/include/am64xx.inc
@@ -22,8 +22,3 @@ do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
22TFA_BOARD = "lite" 22TFA_BOARD = "lite"
23OPTEEMACHINE = "k3-am65x" 23OPTEEMACHINE = "k3-am65x"
24OPTEEOUTPUTMACHINE = "k3" 24OPTEEOUTPUTMACHINE = "k3"
25
26# Set the list of device targets for ti-pdk class recipes
27TI_PDK_LIMIT_SOCS = "am64x"
28TI_PDK_LIMIT_BOARDS = "am64x_evm"
29TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0 mcu1_1 mcu2_0 mcu2_1"
diff --git a/conf/machine/include/am65xx.inc b/conf/machine/include/am65xx.inc
index 8b1531c7..111ef96f 100644
--- a/conf/machine/include/am65xx.inc
+++ b/conf/machine/include/am65xx.inc
@@ -30,8 +30,3 @@ do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"
30 30
31OPTEEMACHINE = "k3-am65x" 31OPTEEMACHINE = "k3-am65x"
32OPTEEOUTPUTMACHINE = "k3" 32OPTEEOUTPUTMACHINE = "k3"
33
34# Set the list of device targets for ti-pdk class recipes
35TI_PDK_LIMIT_SOCS = "am65xx"
36TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk"
37TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0"
diff --git a/conf/machine/include/j7.inc b/conf/machine/include/j7.inc
index cf5f6a94..4ea3a5d8 100644
--- a/conf/machine/include/j7.inc
+++ b/conf/machine/include/j7.inc
@@ -5,8 +5,3 @@ OPTEEMACHINE = "k3-j721e"
5OPTEEOUTPUTMACHINE = "k3" 5OPTEEOUTPUTMACHINE = "k3"
6 6
7# Use default IMAGE_BOOT_FILES_LEGACY files 7# Use default IMAGE_BOOT_FILES_LEGACY files
8
9# Set the list of device targets for ti-pdk class recipes
10TI_PDK_LIMIT_SOCS = "j721e j7200"
11TI_PDK_LIMIT_BOARDS = "j721e_evm j7200_evm"
12TI_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/include/omapl138.inc b/conf/machine/include/omapl138.inc
index f73517d0..c6eb0cd9 100644
--- a/conf/machine/include/omapl138.inc
+++ b/conf/machine/include/omapl138.inc
@@ -1,5 +1,2 @@
1require conf/machine/include/omapl1.inc 1require conf/machine/include/omapl1.inc
2SOC_FAMILY:append = ":omapl138" 2SOC_FAMILY:append = ":omapl138"
3
4# Set the list of device targets for ti-pdk class recipes
5TI_PDK_LIMIT_SOCS = "omapl138"
diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc
index 197cac19..afb80fd6 100644
--- a/conf/machine/include/ti33x.inc
+++ b/conf/machine/include/ti33x.inc
@@ -64,10 +64,6 @@ EXTRA_IMAGEDEPENDS += "virtual/bootloader"
64# List common SoC features, may need to add touchscreen for specific machines 64# List common SoC features, may need to add touchscreen for specific machines
65MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu" 65MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
66 66
67# Set the list of device targets for ti-pdk class recipes
68TI_PDK_LIMIT_SOCS = "am335x"
69TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x"
70
71IMAGE_FSTYPES += "tar.xz wic.xz" 67IMAGE_FSTYPES += "tar.xz wic.xz"
72WKS_FILE ?= "sdimage-2part.wks" 68WKS_FILE ?= "sdimage-2part.wks"
73IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" 69IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
diff --git a/conf/machine/include/ti43x.inc b/conf/machine/include/ti43x.inc
index e6e0412d..2c3a3770 100644
--- a/conf/machine/include/ti43x.inc
+++ b/conf/machine/include/ti43x.inc
@@ -61,10 +61,6 @@ EXTRA_IMAGEDEPENDS += "u-boot"
61# List common SoC features, may need to add touchscreen for specific machines 61# List common SoC features, may need to add touchscreen for specific machines
62MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu" 62MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
63 63
64# Set the list of device targets for ti-pdk class recipes
65TI_PDK_LIMIT_SOCS = "am437x"
66TI_PDK_LIMIT_BOARDS = "evmAM437x idkAM437x skAM437x"
67
68IMAGE_FSTYPES += "tar.xz wic.xz" 64IMAGE_FSTYPES += "tar.xz wic.xz"
69WKS_FILE ?= "sdimage-2part.wks" 65WKS_FILE ?= "sdimage-2part.wks"
70IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" 66IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
diff --git a/conf/machine/omapl138-lcdk.conf b/conf/machine/omapl138-lcdk.conf
index 06db2f8d..ba4d5645 100644
--- a/conf/machine/omapl138-lcdk.conf
+++ b/conf/machine/omapl138-lcdk.conf
@@ -17,6 +17,3 @@ IMAGE_FSTYPES += "tar.xz"
17SERIAL_CONSOLES = "115200;ttyS2" 17SERIAL_CONSOLES = "115200;ttyS2"
18 18
19KERNEL_DEVICETREE = "da850-evm.dtb da850-lcdk.dtb" 19KERNEL_DEVICETREE = "da850-evm.dtb da850-lcdk.dtb"
20
21# Set the list of device targets for ti-pdk class recipes
22TI_PDK_LIMIT_BOARDS = "lcdkOMAPL138"
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 e40fb43c..00000000
--- a/recipes-bsp/audk2g-addon/audk2g-addon-rtos_git.bb
+++ /dev/null
@@ -1,38 +0,0 @@
1SUMMARY = "TI RTOS Audio add-on software for k2g"
2
3inherit ti-pdk
4
5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://audk2gaddonver.h;beginline=8;endline=47;md5=7a3996aaf1a3d3ca87358cf9b89bce3d"
7
8COMPATIBLE_MACHINE = "k2g"
9PACKAGE_ARCH = "${MACHINE_ARCH}"
10
11AUDK2G_ADDON_GIT_URI = "git://git.ti.com/processor-sdk/audk2g-addon.git"
12AUDK2G_ADDON_GIT_PROTOCOL = "git"
13AUDK2G_ADDON_GIT_BRANCH = "master"
14AUDK2G_ADDON_GIT_DESTSUFFIX = "git/ti/addon/audk2g"
15
16# Below commit ID corresponds to "DEV.AUDK2G.01.04.00.00"
17AUDK2G_ADDON_SRCREV = "815180b45ceb1fa3c110f9979106c7f5aa8b3ca2"
18
19BRANCH = "${AUDK2G_ADDON_GIT_BRANCH}"
20SRC_URI = "${AUDK2G_ADDON_GIT_URI};destsuffix=${AUDK2G_ADDON_GIT_DESTSUFFIX};protocol=${AUDK2G_ADDON_GIT_PROTOCOL};branch=${BRANCH}"
21
22SRCREV = "${AUDK2G_ADDON_SRCREV}"
23PV = "01.04.00.00"
24PR = "r0"
25
26S = "${WORKDIR}/git/ti/addon/audk2g"
27
28DEPENDS:append = " ti-sysbios \
29 gpio-lld-rtos \
30 i2c-lld-rtos \
31 board-rtos \
32"
33
34export PDK_AUDK2G_ROOT_PATH = "${WORKDIR}/build"
35export DEST_ROOT="${S}"
36
37# Build with make instead of XDC
38TI_PDK_XDCMAKE = "0"
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 50d66adc..00000000
--- a/recipes-bsp/board-rtos/board-rtos_git.bb
+++ /dev/null
@@ -1,76 +0,0 @@
1SUMMARY = "TI RTOS Board Library"
2
3inherit ti-pdk ti-pdk-fetch
4
5TI_PDK_COMP = "ti.board"
6
7PE = "1"
8
9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://board.h;beginline=1;endline=32;md5=9bed8e4ac2fb37fc627cefe49eb1c919"
11
12COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
13PACKAGE_ARCH = "${MACHINE_ARCH}"
14
15
16
17PR = "r0"
18
19DEPENDS:append = " i2c-lld-rtos \
20 spi-lld-rtos \
21 uart-lld-rtos \
22 osal-rtos \
23"
24
25DEPENDS:append:omap-a15 = " ti-ndk \
26 mmcsd-lld-rtos \
27 pm-lld-rtos \
28"
29
30DEPENDS:append:am57xx-evm = " gpio-lld-rtos \
31 icss-emac-lld-rtos \
32 pruss-lld-rtos \
33"
34
35
36DEPENDS:append:ti33x = " gpio-lld-rtos \
37 gpmc-lld-rtos \
38 icss-emac-lld-rtos \
39 mmcsd-lld-rtos \
40 pruss-lld-rtos \
41 starterware-rtos \
42 ti-ndk \
43"
44
45DEPENDS:append:ti43x = " gpio-lld-rtos \
46 gpmc-lld-rtos \
47 icss-emac-lld-rtos \
48 mmcsd-lld-rtos \
49 pruss-lld-rtos \
50 starterware-rtos \
51 ti-ndk \
52"
53
54DEPENDS:append:dra7xx = " pm-lld-rtos \
55 mmcsd-lld-rtos \
56"
57
58DEPENDS:append:am65xx = " sciclient-rtos \
59"
60DEPENDS:append:j7 = " udma-lld-rtos \
61 sciclient-rtos \
62 mmcsd-lld-rtos \
63"
64
65# Build with make instead of XDC
66TI_PDK_XDCMAKE = "0"
67
68INHIBIT_SYSROOT_STRIP = "1"
69INHIBIT_PACKAGE_STRIP = "1"
70
71export PDK_BOARD_ROOT_PATH ="${WORKDIR}/build"
72export DEST_ROOT="${S}"
73
74XDCPATH:append = ";${PDK_INSTALL_DIR}/packages/ti/csl;${NDK_INSTALL_DIR}/packages"
75
76INSANE_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 dee180ff..00000000
--- a/recipes-bsp/boot-monitor/boot-monitor_git.bb
+++ /dev/null
@@ -1,47 +0,0 @@
1DESCRIPTION = "Boot Monitor - TI ARM Boot monitor code"
2LICENSE = "BSD"
3LIC_FILES_CHKSUM = "file://COPYING;md5=25fe219a6febf6e5bb45beda1b2eb315"
4
5COMPATIBLE_MACHINE = "keystone"
6PACKAGE_ARCH = "${MACHINE_ARCH}"
7
8DEPENDS = "u-boot-mkimage-native"
9
10SRC_URI = "git://git.ti.com/processor-firmware/ks2-boot-monitor.git;protocol=git;branch=${BRANCH}"
11
12PV = "4.0+git${SRCPV}"
13
14BRANCH = "master"
15
16S = "${WORKDIR}/git"
17
18SRCREV = "d57d5c1d8f0b0b1487484d9ceb1595bd4507231a"
19
20BOOT_MONITOR_IMAGE ?= "skern-${BOOT_MONITOR_MAKE_TARGET}.bin"
21
22FLOATABI = "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
23
24EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}" LD="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}""
25
26FILES:${PN} = "/boot"
27
28inherit deploy
29
30do_compile () {
31 unset LDFLAGS
32 unset CFLAGS
33 unset CPPFLAGS
34 oe_runmake image_${BOOT_MONITOR_MAKE_TARGET}
35}
36
37do_install () {
38 install -d ${D}/boot
39 install -m 0644 ${S}/${BOOT_MONITOR_IMAGE} ${D}/boot/
40}
41
42do_deploy () {
43 install -d ${DEPLOYDIR}
44 install -m 0644 ${S}/${BOOT_MONITOR_IMAGE} ${DEPLOYDIR}/
45}
46
47addtask deploy before do_build after do_compile
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 8ca44164..00000000
--- a/recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
+++ /dev/null
@@ -1,41 +0,0 @@
1SUMMARY = "TI RTOS software supporting circular microphone array board"
2
3inherit ti-pdk
4
5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://cmbaddonver.h;beginline=8;endline=47;md5=d0cb159bf210cfafed63042da01c83e0"
7
8COMPATIBLE_MACHINE = "k2g|omapl137-evm"
9
10PACKAGE_ARCH = "${MACHINE_ARCH}"
11
12CMB_ADDON_GIT_URI = "git://git.ti.com/processor-sdk/circmicarray-addon.git"
13CMB_ADDON_GIT_PROTOCOL = "git"
14CMB_ADDON_GIT_BRANCH = "master"
15CMB_ADDON_GIT_DESTSUFFIX = "git/ti/addon"
16
17# Below commit ID corresponds to "DEV.CMB.01.01.00.03A"
18CMB_ADDON_SRCREV = "3655aad07f17d3a167ec7dcecb52450c1d2fe8be"
19
20SRCREV = "${CMB_ADDON_SRCREV}"
21PV = "01.01.00.03A"
22PR = "r0"
23
24BRANCH = "${CMB_ADDON_GIT_BRANCH}"
25SRC_URI = "${CMB_ADDON_GIT_URI};destsuffix=${CMB_ADDON_GIT_DESTSUFFIX};protocol=${CMB_ADDON_GIT_PROTOCOL};branch=${BRANCH}"
26
27
28S = "${WORKDIR}/git/ti/addon/cmb"
29
30DEPENDS:append = " ti-sysbios \
31 gpio-lld-rtos \
32 i2c-lld-rtos \
33 mcasp-lld-rtos \
34 board-rtos \
35"
36
37export PDK_CMB_ROOT_PATH = "${WORKDIR}/build"
38export DEST_ROOT="${S}"
39
40# Build with make instead of XDC
41TI_PDK_XDCMAKE = "0"
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 11baafcc..00000000
--- a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
+++ /dev/null
@@ -1,23 +0,0 @@
1require common-csl-ip.inc
2PR = "${INC_PR}.6"
3
4PACKAGE_ARCH = "${MACHINE_ARCH}"
5COMPATIBLE_MACHINE:append = "|c66x|k3"
6
7inherit ti-pdk
8
9DEPENDS:remove = "${PN}"
10DEPENDS:remove = "ti-sysbios"
11
12# Build with make instead of XDC
13TI_PDK_XDCMAKE = "0"
14
15export PDK_CSL_ROOT_PATH ="${WORKDIR}/build"
16export DEST_ROOT="${S}"
17
18# HTML doc link params
19PDK_COMP_LINK_TEXT = "CSL-Chip Support Library"
20
21# Workaround: dra7xx build requires am57xx CSL libraries for opencl-monitor
22TI_PDK_LIMIT_SOCS:append:dra7xx = " am571x am572x am574x"
23TI_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 23586fd7..00000000
--- a/recipes-bsp/common-csl-ip/common-csl-ip.inc
+++ /dev/null
@@ -1,23 +0,0 @@
1DESCRIPTION = "Chip support library low level interface"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
4
5COMPATIBLE_MACHINE = "keystone|dra7xx|ti33x|ti43x|omapl1"
6
7PV = "03.03.00.17B"
8INC_PR = "r0"
9PE = "2"
10
11CSL_GIT_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git"
12CSL_GIT_PROTOCOL ="git"
13CSL_GIT_BRANCH = "release"
14CSL_GIT_DESTSUFFIX = "git"
15
16# Below commit ID corresponding to "DEV.CSL_PROCESSOR-SDK.03.03.00.17B"
17CSL_SRCREV = "027d26031709ad6a0e9f84625d11a3419e486467"
18
19BRANCH="${CSL_GIT_BRANCH}"
20SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}"
21SRCREV = "${CSL_SRCREV}"
22
23S = "${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 6fffc7ee..00000000
--- a/recipes-bsp/common-csl-ip/common-csl-ip_git.bb
+++ /dev/null
@@ -1,17 +0,0 @@
1require common-csl-ip.inc
2
3PR = "${INC_PR}.0"
4
5ALLOW_EMPTY:${PN} = "1"
6
7CLEANBROKEN = "1"
8
9do_compile() {
10 :
11}
12
13do_install () {
14 install -d ${D}${includedir}/ti/csl
15 find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl
16 find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl
17}
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 a7936594..00000000
--- a/recipes-bsp/common-csl-ip/csl-rti-dwwdtest-fw_git.bb
+++ /dev/null
@@ -1,77 +0,0 @@
1SUMMARY = "MCU Watchdog test firmware"
2DESCRIPTION = "Firmware for the R5F core to test the detection of watchdog timeout events to trigger SOC reset though DMSC."
3
4require recipes-bsp/common-csl-ip/common-csl-ip.inc
5require recipes-ti/includes/ti-paths.inc
6
7LIC_FILES_CHKSUM = "file://../../../COPYING.txt;md5=5857833e20836213677fac33f9aded21"
8
9S = "${WORKDIR}/${CSL_GIT_DESTSUFFIX}/example/rti/rti_dwwdtest_app"
10
11COMPATIBLE_MACHINE = "am65xx"
12PACKAGE_ARCH = "${MACHINE_ARCH}"
13
14DEPENDS = "ti-cgt-arm-native \
15 ti-pdk-build-rtos \
16 uart-lld-rtos \
17 board-rtos \
18 sciclient-rtos \
19 udma-lld-rtos"
20
21export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
22export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
23
24EXTRA_OEMAKE = "WDT_RESET=enable DEST_ROOT=${S}"
25
26do_compile() {
27 for soc in ${TI_PDK_LIMIT_SOCS}
28 do
29 for board in ${TI_PDK_LIMIT_BOARDS}
30 do
31 oe_runmake SOC=$soc BOARD=$board
32 done
33 done
34}
35
36do_install() {
37 install -d ${D}${base_libdir}/firmware/rti_dwwdtest
38
39 for board in ${TI_PDK_LIMIT_BOARDS}
40 do
41 install -d ${D}${base_libdir}/firmware/rti_dwwdtest/$board
42 install -m 0644 csl_rti_dwwd_test_app/bin/$board/csl_rti_dwwd_test_app_mcu1_0_release.xer5f \
43 ${D}${base_libdir}/firmware/rti_dwwdtest/$board
44 done
45}
46
47# Create separate package for each firmware so we can utilize
48# update-alternatives.
49PACKAGES =+ "${PN}-evm ${PN}-idk"
50RDEPENDS:${PN} = "${PN}-evm ${PN}-idk"
51ALLOW_EMPTY:${PN} = "1"
52
53FILES:${PN}-evm = "${base_libdir}/firmware/rti_dwwdtest/am65xx_evm"
54FILES:${PN}-idk = "${base_libdir}/firmware/rti_dwwdtest/am65xx_idk"
55
56# We are packaging R5 firmware
57INSANE_SKIP:${PN}-evm = "arch"
58INSANE_SKIP:${PN}-idk = "arch"
59
60# Configure update-alternatives as there may be other firmwares provided in an
61# image.
62inherit update-alternatives
63
64# It might be nice to dynamically declare the following based on
65# TI_PDK_LIMIT_BOARDS, but that is probably overkill.
66ALTERNATIVE:${PN}-evm = "am65x-mcu-r5f0_0-fw"
67ALTERNATIVE:${PN}-idk = "am65x-mcu-r5f0_0-fw"
68
69ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/am65x-mcu-r5f0_0-fw"
70
71ALTERNATIVE_TARGET_${PN}-evm = "${base_libdir}/firmware/rti_dwwdtest/am65xx_evm/csl_rti_dwwd_test_app_mcu1_0_release.xer5f"
72ALTERNATIVE_TARGET_${PN}-idk = "${base_libdir}/firmware/rti_dwwdtest/am65xx_idk/csl_rti_dwwd_test_app_mcu1_0_release.xer5f"
73
74# Use a lesser priority than ipc example fw
75# See meta-ti/recipes-ti/ipc/ti-ipc-rtos_git.bb
76ALTERNATIVE_PRIORITY_${PN}-evm = "4"
77ALTERNATIVE_PRIORITY_${PN}-idk = "3"
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 1f49ddf8..00000000
--- a/recipes-bsp/dsptop/temperature-module-drv_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1DESCRIPTION = "Smart Reflex Sub-System (SRSS) module driver for Keystone devices"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3"
4
5# This package builds a kernel module, use kernel PR as base and append a local
6MACHINE_KERNEL_PR:append = "a"
7PR = "${MACHINE_KERNEL_PR}"
8PV:append = "+git${SRCPV}"
9
10S = "${WORKDIR}/git/temperature_module/temperature-mod"
11
12inherit module
13
14EXTRA_OEMAKE = "KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
15
16COMPATIBLE_MACHINE = "keystone"
17
18include dsptop.inc
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 5255e582..00000000
--- a/recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1SUMMARY = "TI RTOS driver for FAT filesystem"
2
3inherit ti-pdk ti-pdk-fetch
4
5TI_PDK_COMP = "ti.fs.fatfs"
6
7PE = "1"
8
9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://FATFS.h;beginline=1;endline=32;md5=6619832755598d1cc2b01f2e6a1801d6"
11
12COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|k3"
13PACKAGE_ARCH = "${MACHINE_ARCH}"
14
15PR = "r0"
16
17DEPENDS:append = " mmcsd-lld-rtos \
18 osal-rtos \
19"
20
21# Build with make instead of XDC
22TI_PDK_XDCMAKE = "0"
23
24export PDK_FATFS_ROOT_PATH ="${WORKDIR}/build"
25export DEST_ROOT="${S}"
26
27# HTML doc link params
28PDK_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 a999e813..00000000
--- a/recipes-bsp/faultmanagement/faultmanagement-rtos_git.bb
+++ /dev/null
@@ -1,36 +0,0 @@
1SUMMARY = "TI Fault management module for keystone devices"
2
3inherit ti-pdk
4
5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://fault_mgmt.h;beginline=1;endline=41;md5=4be5df2b9c314da729e9e4f6cc0b2979"
7
8COMPATIBLE_MACHINE = "k2hk|k2e|k2l"
9PACKAGE_ARCH = "${MACHINE_ARCH}"
10
11FAULT_MANAGEMENT_GIT_URI = "git://git.ti.com/keystone-rtos/fault_mgmt.git"
12FAULT_MANAGEMENT_GIT_PROTOCOL = "git"
13FAULT_MANAGEMENT_GIT_BRANCH = "master"
14FAULT_MANAGEMENT_GIT_DESTSUFFIX = "git/ti/instrumentation/fault_mgmt"
15
16# Below commit ID corresponds to "DEV.FAULT_MGMT.01.00.01.04A"
17FAULT_MANAGEMENT_SRCREV = "67becdff0e3d181ab7b8fada226f5737517c1c52"
18
19BRANCH = "${FAULT_MANAGEMENT_GIT_BRANCH}"
20SRC_URI = "${FAULT_MANAGEMENT_GIT_URI};destsuffix=${FAULT_MANAGEMENT_GIT_DESTSUFFIX};protocol=${FAULT_MANAGEMENT_GIT_PROTOCOL};branch=${BRANCH}"
21
22SRCREV = "${FAULT_MANAGEMENT_SRCREV}"
23PV = "01.00.01.04A"
24PR = "r0"
25
26S = "${WORKDIR}/${FAULT_MANAGEMENT_GIT_DESTSUFFIX}"
27
28DEPENDS:append:keystone = " qmss-lld-rtos \
29 cppi-lld-rtos \
30 pa-lld-rtos \
31"
32
33DEPENDS:append:k2hk = " aif2-lld-rtos \
34"
35# HTML doc link params
36PDK_COMP_LINK_TEXT = "Fault Management"
diff --git a/recipes-bsp/fvid2/fvid2-rtos_git.bb b/recipes-bsp/fvid2/fvid2-rtos_git.bb
deleted file mode 100644
index b70a9b07..00000000
--- a/recipes-bsp/fvid2/fvid2-rtos_git.bb
+++ /dev/null
@@ -1,67 +0,0 @@
1SUMMARY = "TI RTOS Video Driver Interface"
2
3inherit ti-pdk ti-pdk-fetch
4
5TI_PDK_COMP = "ti.drv.fvid2"
6
7PE = "1"
8
9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://fvid2.h;beginline=1;endline=31;md5=83d177cf3df55c16b27ae4102b6ade9a"
11
12COMPATIBLE_MACHINE = "k3"
13PACKAGE_ARCH = "${MACHINE_ARCH}"
14
15PR = "r0"
16
17DEPENDS:append = " osal-rtos \
18"
19
20# Build with make instead of XDC
21TI_PDK_XDCMAKE = "0"
22
23FVID2_PACKAGE_BASE = "${WORKDIR}/fvid2_base"
24FVID2_ROOTPATH = "${FVID2_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/fvid2"
25
26export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
27export PDK_FVID2_ROOT_PATH = "${FVID2_PACKAGE_BASE}/package/all/pdk_/packages"
28
29
30BOARD_PACKAGE = ""
31BOARD_PACKAGE:am65xx = "am65xx_evm"
32BOARD_PACKAGE:j7 = "j721e_evm"
33
34# HTML doc link params
35PDK_COMP_LINK_TEXT = "FVID2"
36
37do_configure() {
38 rm -rf ${FVID2_PACKAGE_BASE}
39 cd ${S}
40
41 # remove any previous package
42 rm -f ${FVID2_PACKAGE_BASE}
43
44 # make the release package before building it
45 make package BOARD=${BOARD_PACKAGE} DEST_ROOT=${FVID2_PACKAGE_BASE} PDK_FVID2_COMP_PATH=${S}
46}
47
48do_compile() {
49 echo "fvid2 root path is ${FVID2_ROOTPATH}"
50 cd ${FVID2_ROOTPATH}
51
52 # Build am65xx libraries
53 make clean lib xdc_meta LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" LIMIT_CORES="${TI_PDK_LIMIT_CORES}"
54
55 #archive
56 tar -cf fvid2.tar --exclude='*.tar' ./*
57}
58
59do_install() {
60 cd ${FVID2_ROOTPATH}
61 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/fvid2
62 find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/fvid2 \;
63}
64
65FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
66
67INSANE_SKIP:${PN} = "arch ldflags"
diff --git a/recipes-bsp/hplib/hplib-mod_git.bb b/recipes-bsp/hplib/hplib-mod_git.bb
deleted file mode 100644
index c992b12f..00000000
--- a/recipes-bsp/hplib/hplib-mod_git.bb
+++ /dev/null
@@ -1,22 +0,0 @@
1DESCRIPTION = "TI High Performance Library kernel module"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/module/COPYING.txt;md5=c1c4d3453cddc5b7f0ce84a277e66779"
4
5DEPENDS = "hplib"
6
7include hplib.inc
8
9# This package builds a kernel module, use kernel PR as base and append a local
10MACHINE_KERNEL_PR:append = "b"
11PR = "${MACHINE_KERNEL_PR}"
12
13S ="${WORKDIR}/git/ti/runtime/hplib/module"
14EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR} PDK_INSTALL_PATH=${STAGING_INCDIR}"
15
16inherit module
17
18do_install () {
19 oe_runmake install INSTALL_MOD_PATH="${D}"
20}
21
22KERNEL_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 @@
1DESCRIPTION = "TI High performance library test binaries"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
4
5DEPENDS = "common-csl-ip qmss-lld sa-lld pktlib hplib"
6
7include hplib.inc
8
9PR = "${INC_PR}.0"
10
11CHOICELIST = "yes no"
12
13S = "${WORKDIR}/git/ti/runtime/hplib"
14
15EXTRA_OEMAKE += '-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}'
16
17do_compile () {
18 for device in ${DEVICELIST}
19 do
20 for choice in ${CHOICELIST}
21 do
22 oe_runmake tests HPLIB_SRC_DIR=${S} USEDYNAMIC_LIB=$choice DEVICE="$device"
23 done
24 done
25}
26
27do_install () {
28 for device in ${DEVICELIST}
29 do
30 oe_runmake installbin INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
31 done
32}
diff --git a/recipes-bsp/hplib/hplib.inc b/recipes-bsp/hplib/hplib.inc
deleted file mode 100644
index 217a4531..00000000
--- a/recipes-bsp/hplib/hplib.inc
+++ /dev/null
@@ -1,20 +0,0 @@
1COMPATIBLE_MACHINE = "keystone"
2PACKAGE_ARCH = "${MACHINE_ARCH}"
3
4DEVICELIST:k2hk = "k2h k2k"
5DEVICELIST:k2l = "k2l"
6DEVICELIST:k2e = "k2e"
7
8HPLIB_GIT_URI = "git://git.ti.com/keystone-rtos/hplib.git"
9HPLIB_GIT_PROTOCOL = "git"
10HPLIB_GIT_BRANCH = "master"
11
12# Below Commit ID corresponds to "DEV.HPLIB.01.01.00.08"
13HPLIB_SRCREV = "5e9b27854f5d6f9f37a0ed8d7516d4874427cd8b"
14
15BRANCH = "${HPLIB_GIT_BRANCH}"
16SRC_URI = "${HPLIB_GIT_URI};protocol=${HPLIB_GIT_PROTOCOL};branch=${BRANCH}"
17SRCREV = "${HPLIB_SRCREV}"
18
19PV = "01.01.00.08+git${SRCPV}"
20INC_PR = "r0"
diff --git a/recipes-bsp/hplib/hplib_git.bb b/recipes-bsp/hplib/hplib_git.bb
deleted file mode 100644
index 0ccd1481..00000000
--- a/recipes-bsp/hplib/hplib_git.bb
+++ /dev/null
@@ -1,33 +0,0 @@
1DESCRIPTION = "TI High performance libraries"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
4
5DEPENDS = "common-csl-ip rm-lld qmss-lld sa-lld pktlib"
6RDEPENDS:${PN} = "hplib-mod"
7
8include hplib.inc
9
10PR = "${INC_PR}.0"
11
12CHOICELIST = "yes no"
13
14S = "${WORKDIR}/git/ti/runtime/hplib"
15
16EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
17
18do_compile () {
19 for device in ${DEVICELIST}
20 do
21 for choice in ${CHOICELIST}
22 do
23 oe_runmake lib HPLIB_SRC_DIR=${S} USEDYNAMIC_LIB=$choice DEVICE="$device"
24 done
25 done
26}
27
28do_install () {
29 for device in ${DEVICELIST}
30 do
31 oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
32 done
33}
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 1e072272..00000000
--- a/recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb
+++ /dev/null
@@ -1,75 +0,0 @@
1SUMMARY = "Second stage bootloader for c66x"
2DESCRIPTION = "The Intermediate Bootloader (IBL) is a second stage \
3bootloader for the c66x family of embedded processors. This second \
4stage bootloader takes care of additional initializations, advisory \
5setups, and errata workarounds that are not present in the first stage boot."
6
7LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://src/ibl.h;beginline=1;endline=34;md5=ee7d7a3305d1e524955996d1c5e31cb9"
9
10require recipes-ti/includes/ti-paths.inc
11
12DEPENDS = " ti-cgt6x-7-native \
13 bison-native \
14 flex-native \
15"
16
17PACKAGE_ARCH = "${MACHINE_ARCH}"
18COMPATIBLE_MACHINE = "c66x"
19
20CLEANBROKEN = "1"
21
22IBL_BOOT_GIT_URI = "git://git.ti.com/keystone-rtos/ibl.git"
23IBL_BOOT_GIT_PROTOCOL = "git"
24IBL_BOOT_GIT_BRANCH = "master"
25IBL_BOOT_SRCREV = "ed3f0989d8cdc813b7ca1ed899c4d84b63de3a75"
26
27BRANCH = "${IBL_BOOT_GIT_BRANCH}"
28SRC_URI = "${IBL_BOOT_GIT_URI};protocol=${IBL_BOOT_GIT_PROTOCOL};branch=${BRANCH}"
29SRCREV = "${IBL_BOOT_SRCREV}"
30
31
32PR = "r2"
33
34S = "${WORKDIR}/git"
35
36PATH:prepend = "${TI_CGT6X_7_INSTALL_DIR}/bin:"
37
38IBLTARGETS = ""
39IBLTARGETS_c665x-evm = "evm_c6657_i2c"
40IBLTARGETS_c667x-evm = "evm_c6678_i2c"
41
42IBLENDIAN = ""
43IBLENDIAN_c665x-evm = "little"
44IBLENDIAN_c667x-evm = "little"
45
46export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}"
47export TOOLSC6X="${C6X_BASE_DIR}"
48export TOOLSC6XDOS="${C6X_BASE_DIR}"
49export TOOLSBIOSC6XDOS="${C6X_BASE_DIR}"
50export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
51
52do_compile() {
53 cd src/make
54 for t in ${IBLTARGETS}
55 do
56 for e in ${IBLENDIAN}
57 do
58 make ${t} ENDIAN=${e} I2C_BUS_ADDR=0x51
59 done
60 done
61 cd -
62}
63
64do_install() {
65 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/ibl
66 cp -rP --preserve=mode,links,timestamps --no-preserve=ownership * ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/ibl
67}
68
69FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
70
71INHIBIT_PACKAGE_STRIP = "1"
72INHIBIT_SYSROOT_STRIP = "1"
73INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
74
75INSANE_SKIP:${PN} = "arch file-rdeps"
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 6eed9786..00000000
--- a/recipes-bsp/mad-utils/mad-utils-rtos_git.bb
+++ /dev/null
@@ -1,57 +0,0 @@
1SUMMARY = "Utility for loading and running multicore applications"
2DESCRIPTION = "Multicore Application Deployment (MAD) utility is used \
3for loading and running a multicore application on an embedded \
4processor with multiple cores. This utility package contains the \
5scripts to combine multiple applications for different cores into a \
6single binary as well as loadable application to parse and execute the applications on different cores."
7
8LICENSE = "BSD-3-Clause"
9LIC_FILES_CHKSUM = "file://README.txt;md5=44b2180aec0657f6b0e42e5611c0bafb"
10
11require recipes-ti/includes/ti-paths.inc
12
13DEPENDS = "ti-cgt6x-7-native"
14
15PACKAGE_ARCH = "${MACHINE_ARCH}"
16COMPATIBLE_MACHINE = "c66x"
17
18BRANCH = "master"
19SRC_URI = "git://git.ti.com/keystone-rtos/mad-utils.git;protocol=git;branch=${BRANCH}"
20SRCREV = "2458510f76eddfa837c2b83448965e233156944b"
21PR = "r0"
22
23S = "${WORKDIR}/git"
24
25export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}"
26PATH:prepend = "${TI_CGT6X_7_INSTALL_DIR}/bin:"
27
28DEVICE = ""
29DEVICE_c665x-evm = "C6657"
30DEVICE_c667x-evm = "C6678"
31
32ENDIAN = ""
33ENDIAN_c665x-evm = "little big"
34ENDIAN_c667x-evm = "little big"
35
36do_compile() {
37 cd mad-loader
38 for e in ${ENDIAN}
39 do
40 mkdir -p bin/${DEVICE}/${e}
41 make -C mal/malLib/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR}
42 make -C mal/malApp/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR}
43 cp mal/malApp/build/mal_app.exe bin/${DEVICE}/${e}
44 make -C nmlLoader/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR}
45 cp nmlLoader/build/nml.exe bin/${DEVICE}/${e}
46 done
47 cd -
48}
49
50do_install() {
51 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils
52 cp -rP --preserve=mode,links,timestamps --no-preserve=ownership * ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils
53}
54
55FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils"
56
57INSANE_SKIP:${PN} += "arch staticdev ldflags file-rdeps"
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 2a5bfb92..00000000
--- a/recipes-bsp/netcp-pa-fw/netcp-pa-fw_git.bb
+++ /dev/null
@@ -1,50 +0,0 @@
1DESCRIPTION = "NETCP PA firmware for Keystone"
2
3require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
4
5PV = "${NETCP_PA_FW_VERSION}"
6PR = "${INC_PR}.1"
7
8CLEANBROKEN = "1"
9
10COMPATIBLE_MACHINE = "k2hk|k2l|k2e"
11
12PACKAGE_ARCH = "${MACHINE_ARCH}"
13
14S = "${WORKDIR}/git"
15
16FWBASENAME = " \
17ks2_pa_eg0_pdsp0 \
18ks2_pa_eg0_pdsp1 \
19ks2_pa_eg0_pdsp2 \
20ks2_pa_eg1_pdsp0 \
21ks2_pa_eg2_pdsp0 \
22ks2_pa_in0_pdsp0 \
23ks2_pa_in0_pdsp1 \
24ks2_pa_in1_pdsp0 \
25ks2_pa_in1_pdsp1 \
26ks2_pa_in2_pdsp0 \
27ks2_pa_in3_pdsp0 \
28ks2_pa_in4_pdsp0 \
29ks2_pa_in4_pdsp1 \
30ks2_pa_post_pdsp0 \
31ks2_pa_post_pdsp1 \
32"
33
34FWBASENAME:k2hk = " \
35ks2_pa_pdsp0_classify1 \
36ks2_pa_pdsp1_classify1 \
37ks2_pa_pdsp2_classify1 \
38ks2_pa_pdsp3_classify2 \
39ks2_pa_pdsp4_pam \
40ks2_pa_pdsp5_pam \
41"
42
43do_install() {
44 install -d ${D}${base_libdir}/firmware
45 for f in ${FWBASENAME}; do
46 install -m 0644 ${S}/ti-keystone/$f.bin ${D}${base_libdir}/firmware/$f.bin
47 done
48}
49
50FILES:${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 ec3c30fb..00000000
--- a/recipes-bsp/netcp-sa-fw/netcp-sa-fw_git.bb
+++ /dev/null
@@ -1,23 +0,0 @@
1DESCRIPTION = "NETCP SA firmware for Keystone"
2
3require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
4
5PV = "${NETCP_SA_FW_VERSION}"
6PR = "${INC_PR}.0"
7
8CLEANBROKEN = "1"
9
10COMPATIBLE_MACHINE = "keystone"
11
12PACKAGE_ARCH = "${MACHINE_ARCH}"
13
14S = "${WORKDIR}/git"
15
16TARGET = "sa_mci.fw"
17
18do_install() {
19 install -d ${D}${base_libdir}/firmware
20 install -m 0644 ${S}/ti-keystone/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
21}
22
23FILES:${PN} = "${base_libdir}/firmware"
diff --git a/recipes-bsp/osal/osal-rtos_git.bb b/recipes-bsp/osal/osal-rtos_git.bb
deleted file mode 100644
index eeaeb23f..00000000
--- a/recipes-bsp/osal/osal-rtos_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1inherit ti-pdk
2require recipes-bsp/osal/osal.inc
3
4PR = "${INC_PR}.0"
5
6COMPATIBLE_MACHINE:append = "|c66x|k3"
7
8DEPENDS:append:ti33x = " starterware-rtos"
9DEPENDS:append:ti43x = " starterware-rtos"
10
11# Build with make instead of XDC
12TI_PDK_XDCMAKE = "0"
13
14export PDK_OSAL_ROOT_PATH ="${WORKDIR}/build"
15export DEST_ROOT="${S}"
16
17# HTML doc link params
18PDK_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 @@
1DESCRIPTION = "TI OSAL tests"
2
3DEPENDS="common-csl-ip osal"
4
5include osal.inc
6
7PR = "${INC_PR}.1"
8
9EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S}"
10
11do_compile () {
12# Build the tests
13 oe_runmake clean
14 oe_runmake tests
15}
16
17do_install () {
18# Install the binary
19 oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}
20}
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 @@
1LICENSE = "BSD-3-Clause"
2LIC_FILES_CHKSUM = "file://osal.h;beginline=1;endline=31;md5=6fbde6922f8bca1e6cd371d3c2faa4f9"
3
4COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1"
5PACKAGE_ARCH = "${MACHINE_ARCH}"
6
7inherit ti-pdk-fetch
8
9TI_PDK_COMP = "ti.osal"
10
11PE = "1"
12
13INC_PR = "r0"
14
15INHIBIT_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 @@
1DESCRIPTION = "TI OSAL library for Linux"
2
3DEPENDS="common-csl-ip"
4
5include osal.inc
6
7PR = "${INC_PR}.1"
8
9EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
10
11do_compile () {
12# Build the lib
13 oe_runmake clean
14 oe_runmake lib
15}
16
17do_install () {
18# Install the lib
19 oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
20 chown -R root:root ${D}
21}
diff --git a/recipes-bsp/pktlib/pktlib-rtos_git.bb b/recipes-bsp/pktlib/pktlib-rtos_git.bb
deleted file mode 100644
index 1688d392..00000000
--- a/recipes-bsp/pktlib/pktlib-rtos_git.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1inherit ti-pdk
2require pktlib.inc
3
4PR = "${INC_PR}.1"
5
6DEPENDS:append = " rm-lld-rtos \
7 qmss-lld-rtos \
8 cppi-lld-rtos \
9"
10COMPATIBLE_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 @@
1DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://docs/Doxyfile;md5=91d01dc3788e1f405f000b2089191a0a"
4
5COMPATIBLE_MACHINE = "keystone"
6PACKAGE_ARCH = "${MACHINE_ARCH}"
7
8PKTLIB_GIT_URI = "git://git.ti.com/keystone-rtos/pktlib.git"
9PKTLIB_GIT_PROTOCOL = "git"
10PKTLIB_GIT_BRANCH = "master"
11PKTLIB_GIT_DESTSUFFIX = "git/ti/runtime/pktlib"
12
13# Below commit ID corresponds to "DEV.PKTLIB.2.1.0.8B"
14PKTLIB_SRCREV = "6d3758fda4c8c40fa9bd1194a9c713c9675b5a40"
15
16BRANCH = "${PKTLIB_GIT_BRANCH}"
17# Don't use DESTSUFFIX when cloning since repo contains ti/runtime/pktlib directory tree
18SRC_URI = "${PKTLIB_GIT_URI};protocol=${PKTLIB_GIT_PROTOCOL};branch=${BRANCH}"
19
20SRCREV = "${PKTLIB_SRCREV}"
21PV = "2.1.0.8B"
22INC_PR = "r0"
23
24S = "${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 @@
1DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
2LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
3
4DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld"
5
6include pktlib.inc
7
8PR = "${INC_PR}.1"
9
10EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}"
11
12do_compile () {
13 oe_runmake lib
14}
15
16do_install () {
17 oe_runmake install
18 chown -R root:root ${D}
19}
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 14c81390..00000000
--- a/recipes-bsp/pru/pru-pwm-fw_git.bb
+++ /dev/null
@@ -1,39 +0,0 @@
1SUMMARY = "Programmable Real-time Unit PWM Firmware"
2LICENSE = "BSD-3-Clause"
3
4LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=32;md5=893d6a0cf1644338ea96642c0db97f59"
5
6require recipes-ti/includes/ti-paths.inc
7
8COMPATIBLE_MACHINE = "am65xx"
9PACKAGE_ARCH = "${MACHINE_ARCH}"
10
11
12
13inherit ti-pdk-fetch
14
15TI_PDK_COMP = "ti.drv.pruss.example.apps.icssg_pwm.firmware.src"
16
17PE = "1"
18
19DEPENDS = "ti-cgt-pru-native pru-icss common-csl-ip-rtos"
20
21
22EXTRA_OEMAKE += " \
23 PRU_CGT="${TI_CGT_PRU_INSTALL_DIR}" \
24 PRU_SSP="${STAGING_DIR_TARGET}/usr" \
25 PDK_INSTALL_DIR="${STAGING_DATADIR}/ti/ti-pdk-tree/packages" \
26"
27
28do_compile() {
29 oe_runmake
30}
31
32do_install() {
33 install -d ${D}/lib/firmware/ti-pruss
34 install -m 0644 ${S}/gen/pwm.out ${D}/lib/firmware/ti-pruss/am65x-pru0-pwm-fw.elf
35}
36
37FILES:${PN} = "/lib/firmware"
38
39INSANE_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 @@
1From d37359e7b2bd26da4d04fc97a94967cf457558e9 Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com>
3Date: Tue, 6 Aug 2019 19:50:59 -0400
4Subject: [PATCH] icss_uart: add Makefile for building firmware
5
6Signed-off-by: Denys Dmytriyenko <denys@ti.com>
7---
8 firmware/icss_uart/src/Makefile | 125 ++++++++++++++++++++++++++++++++++++++++
9 1 file changed, 125 insertions(+)
10 create mode 100644 firmware/icss_uart/src/Makefile
11
12diff --git a/firmware/icss_uart/src/Makefile b/firmware/icss_uart/src/Makefile
13new file mode 100644
14index 0000000..4764622
15--- /dev/null
16+++ b/firmware/icss_uart/src/Makefile
17@@ -0,0 +1,125 @@
18+# PRU_CGT environment variable must point to the TI PRU code gen tools directory. E.g.:
19+#(Desktop Linux) export PRU_CGT=/path/to/pru/code/gen/tools/ti-cgt-pru_2.x.y
20+#(Windows) set PRU_CGT=C:/path/to/pru/code/gen/tools/ti-cgt-pru_2.x.y
21+#(ARM Linux*) export PRU_CGT=/usr/share/ti/cgt-pru
22+#
23+# *ARM Linux also needs to create a symbolic link to the /usr/bin/ directory in
24+# order to use the same Makefile
25+#(ARM Linux) ln -s /usr/bin/ /usr/share/ti/cgt-pru/bin
26+
27+ifndef PRU_CGT
28+define ERROR_BODY
29+
30+*******************************************************************************
31+PRU_CGT environment variable is not set. Examples given:
32+(Desktop Linux) export PRU_CGT=/path/to/pru/code/gen/tools/ti-cgt-pru_2.1.2
33+(Windows) set PRU_CGT=C:/path/to/pru/code/gen/tools/ti-cgt-pru_2.1.2
34+(ARM Linux*) export PRU_CGT=/usr/share/ti/cgt-pru
35+
36+*ARM Linux also needs to create a symbolic link to the /usr/bin/ directory in
37+order to use the same Makefile
38+(ARM Linux) ln -s /usr/bin/ /usr/share/ti/cgt-pru/bin
39+*******************************************************************************
40+
41+endef
42+$(error $(ERROR_BODY))
43+endif
44+
45+# PRU_SSP environment variable must point to the PRU Software Support Package. E.g.:
46+#(Desktop Linux) export PRU_SSP=/path/to/pru_software_support_package
47+#(Windows) set PRU_SSP=C:/path/to/pru_software_support_package
48+#(ARM Linux*) export PRU_SSP=/path/to/pru_software_support_package
49+
50+ifndef PRU_SSP
51+define ERROR_BODY
52+
53+*******************************************************************************
54+PRU_SSP environment variable must point to the PRU Software Support Package. E.g.:
55+(Desktop Linux) export PRU_SSP=/path/to/pru_software_support_package
56+(Windows) set PRU_SSP=C:/path/to/pru_software_support_package
57+(ARM Linux*) export PRU_SSP=/path/to/pru_software_support_package
58+PRU_CGT environment variable is not set. Examples given:
59+*******************************************************************************
60+
61+endef
62+$(error $(ERROR_BODY))
63+endif
64+
65+MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
66+CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
67+PROJ_NAME=$(CURRENT_DIR)
68+LINKER_COMMAND_FILE=./AM335x_PRU.cmd
69+LIBS=--library=$(PRU_SSP)/lib/rpmsg_lib.lib
70+INCLUDE=--include_path=$(PRU_SSP)/include --include_path=$(PRU_SSP)/include/am335x
71+STACK_SIZE=0x100
72+HEAP_SIZE=0x100
73+GEN_DIR=gen
74+
75+#Common compiler and linker flags (Defined in 'PRU Optimizing C/C++ Compiler User's Guide)
76+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
77+#Linker flags (Defined in 'PRU Optimizing C/C++ Compiler User's Guide)
78+LFLAGS=--reread_libs --warn_sections --stack_size=$(STACK_SIZE) --heap_size=$(HEAP_SIZE)
79+
80+TARGET=$(GEN_DIR)/$(PROJ_NAME).out
81+MAP=$(GEN_DIR)/$(PROJ_NAME).map
82+OBJECTS=$(patsubst %.asm,$(GEN_DIR)/%.object,$(wildcard *.asm))
83+OBJECTS+=$(patsubst %.c,$(GEN_DIR)/%.object,$(wildcard *.c))
84+
85+
86+all: printStart $(TARGET) printEnd
87+
88+printStart:
89+ @echo ''
90+ @echo '************************************************************'
91+ @echo 'Building project: $(PROJ_NAME)'
92+
93+printEnd:
94+ @echo ''
95+ @echo 'Output files can be found in the "$(GEN_DIR)" directory'
96+ @echo ''
97+ @echo 'Finished building project: $(PROJ_NAME)'
98+ @echo '************************************************************'
99+ @echo ''
100+
101+# Invokes the linker (-z flag) to make the .out file
102+$(TARGET): $(OBJECTS) $(LINKER_COMMAND_FILE)
103+ @echo ''
104+ @echo 'Building target: $@'
105+ @echo 'Invoking: PRU Linker'
106+ $(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)
107+ @echo 'Finished building target: $@'
108+
109+# Invokes the compiler on all assembly files in the directory to create the object files
110+$(GEN_DIR)/%.object: %.asm
111+ @mkdir -p $(GEN_DIR)
112+ @echo ''
113+ @echo 'Building file: $<'
114+ @echo 'Invoking: PRU Compiler'
115+ $(PRU_CGT)/bin/clpru --include_path=$(PRU_CGT)/include $(INCLUDE) $(CFLAGS) -fe $@ $<
116+
117+# Invokes the compiler on all c files in the directory to create the object files
118+$(GEN_DIR)/%.object: %.c
119+ @mkdir -p $(GEN_DIR)
120+ @echo ''
121+ @echo 'Building file: $<'
122+ @echo 'Invoking: PRU Compiler'
123+ $(PRU_CGT)/bin/clpru -k --include_path=$(PRU_CGT)/include $(INCLUDE) $(CFLAGS) -fe $@ $<
124+
125+.PHONY: all clean
126+
127+# Remove the $(GEN_DIR) directory
128+clean:
129+ @echo ''
130+ @echo '************************************************************'
131+ @echo 'Cleaning project: $(PROJ_NAME)'
132+ @echo ''
133+ @echo 'Removing files in the "$(GEN_DIR)" directory'
134+ @rm -rf $(GEN_DIR)
135+ @echo ''
136+ @echo 'Finished cleaning project: $(PROJ_NAME)'
137+ @echo '************************************************************'
138+ @echo ''
139+
140+# Includes the dependencies that the compiler creates (-ppd and -ppa flags)
141+-include $(OBJECTS:%.object=%.pp)
142+
143--
1442.7.4
145
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 @@
1From 1b853cfd6194d3855310f47d43cb8c9f498b6182 Mon Sep 17 00:00:00 2001
2From: Bin Liu <b-liu@ti.com>
3Date: Wed, 27 Feb 2019 14:38:43 -0600
4Subject: [PATCH] icss_uart: remove dependency on PDK/CSL
5
6Signed-off-by: Bin Liu <b-liu@ti.com>
7---
8 firmware/icss_uart/src/icss_ctrl_regs.h | 32 ++++----------------------------
9 1 file changed, 4 insertions(+), 28 deletions(-)
10
11diff --git a/firmware/icss_uart/src/icss_ctrl_regs.h b/firmware/icss_uart/src/icss_ctrl_regs.h
12index ce640f5..99ec90d 100644
13--- a/firmware/icss_uart/src/icss_ctrl_regs.h
14+++ b/firmware/icss_uart/src/icss_ctrl_regs.h
15@@ -39,32 +39,8 @@
16 .if !$isdefed("__icss_ctrl_regs_h")
17 __icss_ctrl_regs_h .set 1
18
19- .cdecls C,NOLIST
20-%{
21-#include "cslr_icss.h"
22-%}
23-
24- .if $defined("ICSS_REV1")
25-ICSS_PRU_CTRL_CONTROL .set (CSL_ICSSM_PRU_CTRL_CONTROL)
26-ICSS_PRU_CTRL_STATUS .set (CSL_ICSSM_PRU_CTRL_STATUS)
27-ICSS_PRU_CTRL_WAKEUP_EN .set (CSL_ICSSM_PRU_CTRL_WAKEUP_EN)
28-ICSS_PRU_CTRL_CYCLE .set (CSL_ICSSM_PRU_CTRL_CYCLE)
29-ICSS_PRU_CTRL_STALL .set (CSL_ICSSM_PRU_CTRL_STALL)
30-ICSS_PRU_CTRL_CTBIR0 .set (CSL_ICSSM_PRU_CTRL_CTBIR0)
31-ICSS_PRU_CTRL_CTBIR1 .set (CSL_ICSSM_PRU_CTRL_CTBIR1)
32-ICSS_PRU_CTRL_CTPPR0 .set (CSL_ICSSM_PRU_CTRL_CTPPR0)
33-ICSS_PRU_CTRL_CTPPR1 .set (CSL_ICSSM_PRU_CTRL_CTPPR1)
34- .endif ;ICSS_REV1
35-
36- .if $defined("ICSS_REV2")
37-ICSS_PRU_CTRL_CONTROL .set (CSL_ICSSPRUCTRL_CONTROL)
38-ICSS_PRU_CTRL_STATUS .set (CSL_ICSSPRUCTRL_STATUS)
39-ICSS_PRU_CTRL_WAKEUP_EN .set (CSL_ICSSPRUCTRL_WAKEUP_EN)
40-ICSS_PRU_CTRL_CYCLE .set (CSL_ICSSPRUCTRL_CYCLE)
41-ICSS_PRU_CTRL_STALL .set (CSL_ICSSPRUCTRL_STALL)
42-ICSS_PRU_CTRL_CTBIR0 .set (CSL_ICSSPRUCTRL_CTBIR0)
43-ICSS_PRU_CTRL_CTBIR1 .set (CSL_ICSSPRUCTRL_CTBIR1)
44-ICSS_PRU_CTRL_CTPPR0 .set (CSL_ICSSPRUCTRL_CTPPR0)
45-ICSS_PRU_CTRL_CTPPR1 .set (CSL_ICSSPRUCTRL_CTPPR1)
46- .endif ;ICSS_REV2
47+ICSS_PRU_CTRL_CONTROL .set (0x0U)
48+ICSS_PRU_CTRL_STATUS .set (0x4U)
49+ICSS_PRU_CTRL_WAKEUP_EN .set (0x8U)
50+ICSS_PRU_CTRL_CYCLE .set (0xcU)
51 .endif
52--
532.7.4
54
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 f0d9e80d..00000000
--- a/recipes-bsp/pru/pru-swuart-fw_git.bb
+++ /dev/null
@@ -1,40 +0,0 @@
1SUMMARY = "Programmable Real-time Unit Software UART Firmware"
2LICENSE = "BSD-3-Clause"
3
4LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=1;endline=31;md5=94b6a199da1caf777f6756cb70aca4a7"
5
6require recipes-ti/includes/ti-paths.inc
7
8COMPATIBLE_MACHINE = "ti33x"
9PACKAGE_ARCH = "${MACHINE_ARCH}"
10
11
12inherit ti-pdk-fetch
13
14TI_PDK_COMP = "ti.drv.uart"
15
16PE = "1"
17
18SRC_URI:append = " \
19 file://0001-icss_uart-add-Makefile-for-building-firmware.patch \
20 file://0001-icss_uart-remove-dependency-on-PDK-CSL.patch \
21"
22
23DEPENDS = "ti-cgt-pru-native pru-icss"
24
25
26export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}"
27export PRU_SSP = "${STAGING_DIR_TARGET}/usr"
28
29do_compile() {
30 oe_runmake -C firmware/icss_uart/src
31}
32
33do_install() {
34 install -d ${D}/lib/firmware/ti-pruss
35 install -m 0644 ${S}/firmware/icss_uart/src/gen/src.out ${D}/lib/firmware/ti-pruss/pru_swuart-fw.elf
36}
37
38FILES:${PN} = "/lib/firmware"
39
40INSANE_SKIP:${PN} = "arch"
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 6ab26e6a..00000000
--- a/recipes-bsp/qmss-pdsp-fw/qmss-pdsp-fw_git.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1DESCRIPTION = "QMSS PDSP firmware"
2
3require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
4
5LICENSE = "TI-TFL"
6LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
7
8PV = "${QMSS_PDSP_FW_VERSION}"
9PR = "${INC_PR}.1"
10
11CLEANBROKEN = "1"
12
13COMPATIBLE_MACHINE = "keystone"
14
15PACKAGE_ARCH = "${MACHINE_ARCH}"
16
17S = "${WORKDIR}/git"
18ORIGIN = "ks2_qmss_pdsp_acc48_k2_le_1_0_0_9.bin"
19TARGET = "ks2_qmss_pdsp_acc48.bin"
20
21do_install() {
22 install -d ${D}${base_libdir}/firmware
23 install -m 0644 ${S}/ti-keystone/${ORIGIN} ${D}${base_libdir}/firmware/${TARGET}
24}
25
26FILES:${PN} = "${base_libdir}/firmware"
diff --git a/recipes-bsp/sciclient/sciclient-rtos_git.bb b/recipes-bsp/sciclient/sciclient-rtos_git.bb
deleted file mode 100644
index 890db6e0..00000000
--- a/recipes-bsp/sciclient/sciclient-rtos_git.bb
+++ /dev/null
@@ -1,125 +0,0 @@
1SUMMARY = "TI RTOS low level driver for SCICLIENT"
2
3inherit ti-pdk ti-pdk-fetch
4
5TI_PDK_COMP = "ti.drv.sciclient"
6
7PE = "1"
8
9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://COPYING.txt;md5=99d7639a81c1ba1f16fd070a928ffddb"
11
12COMPATIBLE_MACHINE = "k3"
13PACKAGE_ARCH = "${MACHINE_ARCH}"
14
15PR = "r1"
16
17DEPENDS:append = " osal-rtos common-csl-ip-rtos openssl-native"
18
19# Build with make instead of XDC
20TI_PDK_XDCMAKE = "0"
21
22SCICLIENT_PACKAGE_BASE = "${WORKDIR}/sciclient_base"
23SCICLIENT_ROOTPATH = "${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/sciclient"
24
25export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
26export PDK_SCICLIENT_ROOT_PATH = "${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/packages"
27
28BUILD_HS = ""
29BUILD_HS:am65xx-hs-evm = "yes"
30BUILD_HS:j7-hs-evm = "yes"
31export BUILD_HS
32
33# Sciclient for am65x supports mcu1_1 in addition to the default cores in TI_PDK_LIMIT_CORES
34TI_PDK_LIMIT_CORES:append:am65xx = " mcu1_1"
35
36# HTML doc link params
37PDK_COMP_LINK_TEXT = "SCICLIENT"
38
39do_configure() {
40
41 rm -rf ${SCICLIENT_PACKAGE_BASE}
42 cd ${S}
43
44 # remove any previous package
45 rm -f ${SCICLIENT_PACKAGE_BASE}
46
47 # make the release package before building it
48 make package BOARD="${TI_PDK_LIMIT_BOARDS}" DEST_ROOT=${SCICLIENT_PACKAGE_BASE} PDK_SCICLIENT_COMP_PATH=${S}
49
50 # This is to ensure the make package completed successfully
51 cat ${SCICLIENT_ROOTPATH}/makefile
52}
53
54do_compile() {
55
56 cd ${SCICLIENT_ROOTPATH}
57
58 # Clean
59 # make clean LIMIT_SOCS="${LIMSOCS}" LIMIT_BOARDS="${LIMBOARDS}"
60
61 # Build am65xx libraries
62 make lib xdc_meta doxygen LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" LIMIT_CORES="${TI_PDK_LIMIT_CORES}"
63
64 #archive
65 tar -cf sciclient.tar --exclude='*.tar' ./*
66}
67
68
69do_compile:prepend:am65xx-hs-evm() {
70
71 cd ${SCICLIENT_ROOTPATH}
72
73 # Saving the GP firmware to a different GP name
74 cp ${CP_ARGS} ./soc/V0/sysfw.bin ./soc/V0/sysfw-gp.bin
75
76 cd ${SCICLIENT_ROOTPATH}/tools
77 # Create the .bin file for HS
78 ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x-hs ${PDK_INSTALL_DIR}/packages
79 cd -
80}
81
82do_compile:prepend:am65xx-evm() {
83
84 cd ${SCICLIENT_ROOTPATH}/tools
85
86 # Create the .bin file for GP, PG1
87 ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x ${PDK_INSTALL_DIR}/packages
88 # Create the .bin file for GP, PG2
89 ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x_pg2 ${PDK_INSTALL_DIR}/packages
90
91 cd -
92}
93
94
95do_compile:prepend:j7-evm() {
96
97 cd ${SCICLIENT_ROOTPATH}/tools
98 # Create the .bin file for GP
99 ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh j721e ${PDK_INSTALL_DIR}/packages
100 cd -
101}
102
103do_compile:prepend:j7-hs-evm() {
104
105 cd ${SCICLIENT_ROOTPATH}/tools
106 # Create the .bin file for HS
107 ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh j721e-hs ${PDK_INSTALL_DIR}/packages
108 cd -
109}
110
111do_install() {
112 cd ${SCICLIENT_ROOTPATH}
113 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/sciclient
114 find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/sciclient \;
115}
116
117FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
118
119INSANE_SKIP:${PN} = "arch ldflags file-rdeps"
120
121INSANE_SKIP:${PN}-dbg = "arch"
122
123INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
124INHIBIT_PACKAGE_STRIP = "1"
125INHIBIT_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 3e87928d..00000000
--- a/recipes-bsp/serdes-diag/serdes-diag-rtos_git.bb
+++ /dev/null
@@ -1,35 +0,0 @@
1SUMMARY = "TI RTOS library for SERDES diagnostics"
2
3inherit ti-pdk
4
5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://serdes_diag.h;beginline=1;endline=42;;md5=68e7ce6fdc0e9328fa7d0ec41c54420c"
7
8COMPATIBLE_MACHINE = "keystone|c66x|k3"
9PACKAGE_ARCH = "${MACHINE_ARCH}"
10
11SERDES_DIAG_GIT_URI = "git://git.ti.com/keystone-rtos/serdes_diag.git"
12SERDES_DIAG_GIT_PROTOCOL = "git"
13SERDES_DIAG_GIT_BRANCH = "master"
14SERDES_DIAG_GIT_DESTSUFFIX = "git/ti/diag/serdes_diag"
15
16# Below commit ID corresponds to "DEV.DIAG_SERDES_SB.01.00.00.13"
17SERDES_DIAG_SRCREV = "6dd7cd2170efe3cb41cc424486ba55b8d5bba354"
18
19BRANCH = "${SERDES_DIAG_GIT_BRANCH}"
20SRC_URI = "${SERDES_DIAG_GIT_URI};destsuffix=${SERDES_DIAG_GIT_DESTSUFFIX};protocol=${SERDES_DIAG_GIT_PROTOCOL};branch=${BRANCH}"
21
22SRCREV = "${SERDES_DIAG_SRCREV}"
23PV = "01.00.00.13"
24PR = "r0"
25
26S = "${WORKDIR}/${SERDES_DIAG_GIT_DESTSUFFIX}"
27
28
29# Build with make instead of XDC for k3
30TI_PDK_XDCMAKE:k3 = "0"
31
32# HTML doc link params
33PDK_COMP_LINK_TEXT = "SERDES Diagnostics"
34
35INSANE_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 6f79c64d..00000000
--- a/recipes-bsp/serdes-fw/serdes-fw_git.bb
+++ /dev/null
@@ -1,27 +0,0 @@
1DESCRIPTION = "SerDes firmware for Keystone PCIe and 1/10GigE"
2
3require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
4
5LICENSE = "TI-TFL"
6LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
7
8PV = "${SERDES_FW_VERSION}"
9PR = "${INC_PR}.0"
10
11CLEANBROKEN = "1"
12
13COMPATIBLE_MACHINE = "keystone"
14
15PACKAGE_ARCH = "${MACHINE_ARCH}"
16
17S = "${WORKDIR}/git"
18TARGET = "ks2_pcie_serdes.bin ks2_gbe_serdes.bin ks2_xgbe_serdes.bin"
19
20do_install() {
21 install -d ${D}${base_libdir}/firmware
22 for f in ${TARGET}; do
23 install -m 0644 ${S}/ti-keystone/$f ${D}${base_libdir}/firmware/$f
24 done
25}
26
27FILES:${PN} = "${base_libdir}/firmware"
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 @@
1DESCRIPTION = "TI Smart Reflex temperature control application for KeyStone II"
2HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/srss-tc.git"
3LICENSE = "BSD & MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51"
5COMPATIBLE_MACHINE = "keystone"
6
7PV = "1.0.0.1"
8
9BRANCH = "master"
10# This commit corresponds to tag DEV.SRSS-TC-01.00.00.01A
11SRCREV = "107cd1433ef5785e5647ef086a4cc77566506604"
12
13SRC_URI = "git://git.ti.com/keystone-linux/srss-tc.git;protocol=git;branch=${BRANCH}"
14
15S = "${WORKDIR}/git"
16
17SRSS_BIN_NAME = "srss_tc.out"
18INITSCRIPT_NAME = "run_srss_tc.sh"
19INITSCRIPT_PARAMS = "defaults 10"
20
21inherit update-rc.d
22LDFLAGS += "-lrt"
23CFLAGS += "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
24
25EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
26
27do_install() {
28 install -d ${D}${bindir}/
29 install -c -m 755 ${S}/src/${SRSS_BIN_NAME} ${D}${bindir}/${SRSS_BIN_NAME}
30
31 install -d ${D}${sysconfdir}/init.d/
32 install -c -m 755 ${S}/scripts/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
33}
diff --git a/recipes-bsp/starterware/starterware-rtos_git.bb b/recipes-bsp/starterware/starterware-rtos_git.bb
deleted file mode 100644
index 1d94e949..00000000
--- a/recipes-bsp/starterware/starterware-rtos_git.bb
+++ /dev/null
@@ -1,33 +0,0 @@
1require starterware.inc
2
3DEPENDS = "gcc-arm-baremetal-native ti-pdk-build-rtos ti-xdctools-native"
4
5require recipes-ti/includes/ti-paths.inc
6
7PR = "${INC_PR}.0"
8
9PARTNO:ti33x = "am335x"
10PARTNO:ti43x = "am437x"
11
12export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
13export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
14export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
15export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}"
16
17do_compile() {
18 cd build
19 ./release_${PARTNO}.sh
20}
21
22do_install() {
23 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware
24 find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware \;
25}
26
27FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
28
29INHIBIT_PACKAGE_STRIP = "1"
30INHIBIT_SYSROOT_STRIP = "1"
31INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
32INSANE_SKIP:${PN} = "arch staticdev file-rdeps"
33
diff --git a/recipes-bsp/starterware/starterware.inc b/recipes-bsp/starterware/starterware.inc
deleted file mode 100644
index 82b012ad..00000000
--- a/recipes-bsp/starterware/starterware.inc
+++ /dev/null
@@ -1,21 +0,0 @@
1LICENSE = "BSD-3-Clause"
2LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
3
4COMPATIBLE_MACHINE = "ti33x|ti43x"
5PACKAGE_ARCH = "${MACHINE_ARCH}"
6
7STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
8STARTERWARE_GIT_PROTOCOL = "git"
9STARTERWARE_GIT_BRANCH = "master"
10
11# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.12A"
12STARTERWARE_SRCREV = "49a4d4cd4c72bacee738d44b8e72e7f59aa948cd"
13
14BRANCH = "${STARTERWARE_GIT_BRANCH}"
15SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
16
17SRCREV = "${STARTERWARE_SRCREV}"
18PV = "02.01.01.12A"
19INC_PR = "r0"
20
21S = "${WORKDIR}/git"
diff --git a/recipes-bsp/starterware/starterware_git.bb b/recipes-bsp/starterware/starterware_git.bb
deleted file mode 100644
index a560e7bd..00000000
--- a/recipes-bsp/starterware/starterware_git.bb
+++ /dev/null
@@ -1,16 +0,0 @@
1require starterware.inc
2
3PR = "${INC_PR}.0"
4
5ALLOW_EMPTY:${PN} = "1"
6
7CLEANBROKEN = "1"
8
9do_compile() {
10 :
11}
12
13do_install () {
14 install -d ${D}${includedir}/ti/starterware
15 find . -name "*.h" -type f | xargs -I {} cp --parents --no-preserve=ownership {} ${D}${includedir}/ti/starterware
16}
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 @@
1# Recipe to fetch/unpack sources used by ti-pdk-fetch recipes.
2#
3# Mimic gcc-source.inc from oe-core.
4
5# These shources will be unpacked to a "work-shared" directory. Then each
6# "ti-pdk-fetch" recipe will hard-link only the sources it requires.
7
8deltask do_configure
9deltask do_compile
10deltask do_install
11deltask do_populate_sysroot
12deltask do_populate_lic
13
14RM_WORK_EXCLUDE += "${PN}"
15EXCLUDE_FROM_WORLD = "1"
16
17inherit nopackages ti-pdk-fetch
18
19LICENSE = "BSD-3-Clause"
20
21PN = "${TI_PDK_SOURCE_PN}"
22WORKDIR = "${TI_PDK_SOURCE_WORKDIR}"
23SSTATE_SWSPEC = "sstate:ti-pdk::${PV}:${PR}::${SSTATE_VERSION}:"
24
25STAMP = "${STAMPS_DIR}/work-shared/ti-pdk-${PV}"
26STAMPCLEAN = "${STAMPS_DIR}/work-shared/ti-pdk-${PV}*"
27
28INHIBIT_DEFAULT_DEPS = "1"
29DEPENDS = ""
30PACKAGES = ""
31
32SRC_URI = "${TI_PDK_GIT_URI};branch=${TI_PDK_GIT_BRANCH};protocol=${TI_PDK_GIT_PROTOCOL}"
33SRCREV = "${TI_PDK_SRCREV}"
diff --git a/recipes-bsp/ti-sci-fw/ti-sci-fw_0.1.1.50.bb b/recipes-bsp/ti-sci-fw/ti-sci-fw_0.1.1.50.bb
deleted file mode 100644
index 32ea3b4d..00000000
--- a/recipes-bsp/ti-sci-fw/ti-sci-fw_0.1.1.50.bb
+++ /dev/null
@@ -1,37 +0,0 @@
1DESCRIPTION = "TI SCI firmware"
2
3LICENSE = "TI-TFL"
4LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
5
6PV = "0.1.1.50"
7PR = "r2"
8
9CLEANBROKEN = "1"
10
11COMPATIBLE_MACHINE = "k2g"
12
13PACKAGE_ARCH = "${MACHINE_ARCH}"
14
15SRCREV = "ab507546f0f3f217f4c782a20845856e14b38224"
16BRANCH ?= "ti-linux-firmware"
17
18SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
19
20S = "${WORKDIR}/git"
21TARGET = "ti-sci-firmware-k2g.bin"
22
23do_install() {
24 install -d ${D}/boot
25 install -m 0644 ${S}/ti-keystone/${TARGET} ${D}/boot/${TARGET}
26}
27
28FILES:${PN} = "/boot"
29
30inherit deploy
31
32do_deploy () {
33 install -d ${DEPLOYDIR}
34 install -m 0644 ${S}/ti-keystone/${TARGET} ${DEPLOYDIR}/${TARGET}
35}
36
37addtask 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 55e41188..00000000
--- a/recipes-bsp/traceframework/traceframework-rtos_git.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1inherit ti-pdk
2
3require traceframework.inc
4
5PR = "${INC_PR}.2"
6
7XDCPATH:append = ";${UIA_INSTALL_DIR}/packages"
8
9# HTML doc link params
10PDK_COMP_LINK_TEXT = "Trace Framework"
diff --git a/recipes-bsp/traceframework/traceframework.inc b/recipes-bsp/traceframework/traceframework.inc
deleted file mode 100644
index 2312b020..00000000
--- a/recipes-bsp/traceframework/traceframework.inc
+++ /dev/null
@@ -1,27 +0,0 @@
1LICENSE = "BSD-3-Clause"
2LIC_FILES_CHKSUM = "file://COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
3
4COMPATIBLE_MACHINE = "tci6614-evm|keystone"
5PACKAGE_ARCH = "${MACHINE_ARCH}"
6
7TRACEFRAMEWORK_GIT_URI = "git://git.ti.com/keystone-rtos/traceframework.git"
8TRACEFRAMEWORK_GIT_PROTOCOL = "git"
9TRACEFRAMEWORK_GIT_BRANCH = "master"
10TRACEFRAMEWORK_GIT_DESTSUFFIX = "git/ti/instrumentation/traceframework"
11
12# Below commit ID corresponds to "DEV.TFWK-01.01.01.09A"
13TRACEFRAMEWORK_SRCREV = "b7aa8d91901d1aabe2e56fabc3233ed66bf08819"
14
15BRANCH = "${TRACEFRAMEWORK_GIT_BRANCH}"
16SRC_URI = "${TRACEFRAMEWORK_GIT_URI};destsuffix=${TRACEFRAMEWORK_GIT_DESTSUFFIX};protocol=${TRACEFRAMEWORK_GIT_PROTOCOL};branch=${BRANCH}"
17
18SRCREV = "${TRACEFRAMEWORK_SRCREV}"
19PV = "01.01.01.09A"
20INC_PR = "r0"
21
22DEVICELIST = "k2k k2h k2e k2l"
23DEVICELIST:k2hk = "k2k k2h"
24DEVICELIST:k2e = "k2e"
25DEVICELIST:k2l = "k2l"
26
27S = "${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 4c11e652..00000000
--- a/recipes-bsp/traceframework/traceframework_git.bb
+++ /dev/null
@@ -1,40 +0,0 @@
1DESCRIPTION = "TI Trace Framework library"
2
3DEPENDS = "cuia"
4
5include traceframework.inc
6
7PR = "${INC_PR}.0"
8
9BASEDIR = "${WORKDIR}/git"
10
11EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} \
12 CUIA_INSTALL_DIR=${STAGING_INCDIR} CUIA_LIB_DIR=${STAGING_LIBDIR}"
13
14do_compile () {
15# making the library
16 oe_runmake clean
17 oe_runmake lib
18
19# make the test application
20 for device in ${DEVICELIST}
21 do
22 oe_runmake tests DEVICE="$device" TFW_INC_DIR=${BASEDIR} TFW_SRC_DIR=${S} \
23 TARGET_ROOT_DIR=${D}
24 done
25}
26
27do_install() {
28 for device in ${DEVICELIST}
29 do
30 oe_runmake install DEVICE="$device" TFW_SRC_DIR=${S} TARGET_ROOT_DIR=${D}
31 done
32 chown -R root:root ${D}
33}
34
35PACKAGES =+ "${PN}-test"
36
37FILES:${PN}-test = "${bindir}/tfw*.out \
38 ${bindir}/*.txt"
39
40INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libdir}/libtraceframework.a"
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 aa21b652..00000000
--- a/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1SUMMARY = "RTOS driver for BMET Ethernet"
2
3inherit ti-pdk
4require transport.inc
5
6PR = "${INC_PR}.0"
7
8LIC_FILES_CHKSUM = "file://bmet_transport.h;beginline=12;endline=40;md5=6d209c698b273aef180b0c1d38469e8e"
9
10COMPATIBLE_MACHINE = "k2hk|k2e|k2l"
11
12DEPENDS:append = " qmss-lld-rtos \
13 cppi-lld-rtos \
14"
15
16TI_PDK_COMP = "ti.transport.bmet_eth"
17
18# HTML doc link params
19PDK_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 a4ecaa28..00000000
--- a/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
1SUMMARY = "RTOS driver for NIMU ICSS"
2
3inherit ti-pdk
4require transport.inc
5
6PR = "${INC_PR}.0"
7
8LIC_FILES_CHKSUM = "file://nimu_icssEth.h;beginline=1;endline=35;md5=3ea633a510be24d8a89d9d08b930994c"
9
10COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|c66x|omapl1|k3"
11
12DEPENDS:append = " ti-ndk \
13 pruss-lld-rtos \
14 icss-emac-lld-rtos \
15"
16DEPENDS:append_c665x-evm = " emac-lld-rtos"
17DEPENDS:append_c667x-evm = " pa-lld-rtos"
18DEPENDS:append:omapl1 = " emac-lld-rtos"
19
20TI_PDK_COMP = "ti.transport.ndk.nimu_icss"
21
22# Build with make instead of XDC
23TI_PDK_XDCMAKE = "0"
24
25export PDK_NIMU_ICSS_ROOT_PATH ="${WORKDIR}/build"
26export DEST_ROOT="${S}"
27
28export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}"
29XDCPATH: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 b726be2c..00000000
--- a/recipes-bsp/transport-rtos/nimu-rtos_git.bb
+++ /dev/null
@@ -1,35 +0,0 @@
1SUMMARY = "RTOS driver for Network Interface Management Unit (NIMU)"
2
3inherit ti-pdk
4require transport.inc
5
6PR = "${INC_PR}.0"
7
8LIC_FILES_CHKSUM = "file://nimu_eth.h;beginline=1;endline=35;md5=ee9c662c39d4584fb2a8b66413d2866d"
9
10COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1|k3"
11
12TI_PDK_COMP = "ti.transport.ndk.nimu"
13
14DEPENDS:append = " ti-ndk osal-rtos"
15DEPENDS:append:ti33x = " starterware-rtos emac-lld-rtos"
16DEPENDS:append:ti43x = " starterware-rtos emac-lld-rtos"
17DEPENDS:append:omap-a15 = " emac-lld-rtos"
18DEPENDS:append:keystone = " qmss-lld-rtos cppi-lld-rtos"
19DEPENDS:append:k2hk = " pa-lld-rtos"
20DEPENDS:append:k2e = " pa-lld-rtos"
21DEPENDS:append:k2l = " pa-lld-rtos"
22DEPENDS:append:k2g = " emac-lld-rtos"
23DEPENDS:append_c665x-evm = " emac-lld-rtos"
24DEPENDS:append_c667x-evm = " pa-lld-rtos cppi-lld-rtos"
25DEPENDS:append:omapl1 = " emac-lld-rtos"
26DEPENDS:append:k3 = " emac-lld-rtos pruss-lld-rtos"
27
28# Build with make instead of XDC
29TI_PDK_XDCMAKE = "0"
30
31export PDK_NIMU_ROOT_PATH ="${WORKDIR}/build"
32export DEST_ROOT="${S}"
33
34export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}"
35XDCPATH: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 3913ecf4..00000000
--- a/recipes-bsp/transport-rtos/timesync-rtos_git.bb
+++ /dev/null
@@ -1,31 +0,0 @@
1SUMMARY = "RTOS driver for timesync driver"
2
3inherit ti-pdk
4require recipes-bsp/transport-rtos/transport.inc
5
6PR = "${INC_PR}.0"
7
8LIC_FILES_CHKSUM = "file://timeSync_ver.h;beginline=23;endline=45;md5=4bd873035e47065aaa811e53622992e9"
9
10COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
11
12DEPENDS:append = " ti-ndk \
13 osal-rtos \
14 pruss-lld-rtos \
15 icss-emac-lld-rtos \
16 nimu-icss-rtos \
17 edma3-lld-rtos \
18"
19
20TI_PDK_COMP = "ti.transport.timeSync"
21
22# Build with make instead of XDC
23TI_PDK_XDCMAKE = "0"
24
25export PDK_TIMESYNC_ROOT_PATH ="${WORKDIR}/build"
26export DEST_ROOT="${S}"
27
28export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}"
29export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
30
31XDCPATH: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 @@
1LICENSE = "BSD-3-Clause"
2
3PACKAGE_ARCH = "${MACHINE_ARCH}"
4
5inherit ti-pdk-fetch
6
7TI_PDK_COMP = "ti.transport"
8
9PE = "1"
10
11INC_PR = "r0"
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 @@
1SUMMARY = "TI RTOS profiling utilities"
2
3inherit ti-pdk ti-pdk-fetch
4
5TI_PDK_COMP = "ti.utils.profiling"
6
7PE = "1"
8
9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://profilingver.h;beginline=1;endline=46;md5=974494ad60f33cfc0340e421c5a5a7a0"
11
12COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|k3"
13PACKAGE_ARCH = "${MACHINE_ARCH}"
14
15
16PR = "r0"
17
18
19# Build with make instead of XDC
20TI_PDK_XDCMAKE = "0"
21
22export PDK_PROFILING_ROOT_PATH ="${WORKDIR}/build"
23export DEST_ROOT="${S}"
24
25# HTML doc link params
26PDK_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 @@
1SUMMARY = "TI RTOS Trace utility"
2
3DESCRIPTION = "This utility allows for tracing support in PDK drivers"
4
5inherit ti-pdk ti-pdk-fetch
6
7TI_PDK_COMP = "ti.utils.trace"
8
9PE = "1"
10
11LICENSE = "BSD-3-Clause"
12LIC_FILES_CHKSUM = "file://tracever.h;beginline=19;endline=47;md5=983f531ecfc9fc8c4bc3af9333ab6696"
13
14COMPATIBLE_MACHINE = "k3"
15PACKAGE_ARCH = "${MACHINE_ARCH}"
16
17
18PR = "r0"
19
20
21# Build with make instead of XDC
22TI_PDK_XDCMAKE = "0"
23
24export PDK_TRACE_ROOT_PATH ="${WORKDIR}/build"
25export DEST_ROOT="${S}"
26
27# HTML doc link params
28PDK_COMP_LINK_TEXT = "Trace Utility"
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 @@
1SUMMARY = "Watchdog Timer (wdtimer) test example"
2
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://WatchdogTimer.xdc;beginline=1;endline=31;md5=837fb1761f89c7671e79bd5992bcf9e4"
5
6inherit ti-pdk
7
8COMPATIBLE_MACHINE = "k2hk|k2e|k2l"
9PACKAGE_ARCH = "${MACHINE_ARCH}"
10
11WATCHDOG_TIMER_GIT_URI = "git://git.ti.com/keystone-rtos/wdtimer.git"
12WATCHDOG_TIMER_GIT_PROTOCOL = "git"
13WATCHDOG_TIMER_GIT_BRANCH = "master"
14WATCHDOG_TIMER_GIT_DESTSUFFIX = "git/ti/instrumentation/wdtimer"
15
16# Below commit ID corresponds to "DEV.WDTIMER.01.00.00.04A"
17WATCHDOG_TIMER_SRCREV = "5c382014ed02fdf054beb1dd0263758eb17c34e2"
18
19BRANCH = "${WATCHDOG_TIMER_GIT_BRANCH}"
20SRC_URI = "${WATCHDOG_TIMER_GIT_URI};destsuffix=${WATCHDOG_TIMER_GIT_DESTSUFFIX};protocol=${WATCHDOG_TIMER_GIT_PROTOCOL};branch=${BRANCH}"
21
22SRCREV = "${WATCHDOG_TIMER_SRCREV}"
23PV = "01.00.00.04A"
24PR = "r0"
25
26S = "${WORKDIR}/git/ti/instrumentation/wdtimer"
27
28# HTML doc link params
29PDK_COMP_LINK_TEXT = "Watchdog Timer"
diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc
index d226c4af..86689d3c 100644
--- a/recipes-ti/includes/ti-paths.inc
+++ b/recipes-ti/includes/ti-paths.inc
@@ -29,8 +29,6 @@ export IMGLIB_C64P_INSTALL_DIR_RECIPE= "${installdir}/ti-imglib-tree"
29export IPC_INSTALL_DIR_RECIPE = "${installdir}/ti-ipc-tree" 29export IPC_INSTALL_DIR_RECIPE = "${installdir}/ti-ipc-tree"
30export LINK_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplink-tree" 30export LINK_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplink-tree"
31export LPM_INSTALL_DIR_RECIPE = "${installdir}/ti-local-power-manager-tree" 31export LPM_INSTALL_DIR_RECIPE = "${installdir}/ti-local-power-manager-tree"
32export NDK_INSTALL_DIR_RECIPE = "${installdir}/ti-ndk-tree"
33export NS_INSTALL_DIR_RECIPE = "${installdir}/ti-ns-tree"
34export OMX_INSTALL_DIR_RECIPE = "${installdir}/ti-omx-tree" 32export OMX_INSTALL_DIR_RECIPE = "${installdir}/ti-omx-tree"
35export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree" 33export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree"
36export RTFS_INSTALL_DIR_RECIPE = "${installdir}/ti-rtfs-tree" 34export RTFS_INSTALL_DIR_RECIPE = "${installdir}/ti-rtfs-tree"
@@ -81,8 +79,6 @@ export IMGLIB_C64P_INSTALL_DIR= "${STAGING_DIR_TARGET}${IMGLIB_C64P_INSTALL_DIR_
81export IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}${IPC_INSTALL_DIR_RECIPE}" 79export IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}${IPC_INSTALL_DIR_RECIPE}"
82export LINK_INSTALL_DIR = "${STAGING_DIR_TARGET}${LINK_INSTALL_DIR_RECIPE}" 80export LINK_INSTALL_DIR = "${STAGING_DIR_TARGET}${LINK_INSTALL_DIR_RECIPE}"
83export LPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${LPM_INSTALL_DIR_RECIPE}" 81export LPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${LPM_INSTALL_DIR_RECIPE}"
84export NDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${NDK_INSTALL_DIR_RECIPE}"
85export NS_INSTALL_DIR = "${STAGING_DIR_TARGET}${NS_INSTALL_DIR_RECIPE}"
86export OMX_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMX_INSTALL_DIR_RECIPE}" 82export OMX_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMX_INSTALL_DIR_RECIPE}"
87export SYSBIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECIPE}" 83export SYSBIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECIPE}"
88export SYSLINK_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSLINK_INSTALL_DIR_RECIPE}" 84export SYSLINK_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSLINK_INSTALL_DIR_RECIPE}"
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 ade78022..00000000
--- a/recipes-ti/ipc/ipc-transport-common-rtos_git.bb
+++ /dev/null
@@ -1,23 +0,0 @@
1require recipes-ti/includes/ti-paths.inc
2require ipc-transport.inc
3
4PR = "${INC_PR}.1"
5
6LIC_FILES_CHKSUM = "file://common_src/bench_common.h;beginline=1;endline=31;md5=a6ddfb26d2097041d513e3881f40e4e8"
7
8COMPATIBLE_MACHINE = "k2hk|k2l|k2e"
9
10IPC_TRANSPORT_COMMON_DESTSUFFIX = "git/c66/example"
11
12S = "${WORKDIR}/${IPC_TRANSPORT_COMMON_DESTSUFFIX}"
13
14do_compile() {
15 :
16}
17
18do_install () {
19 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/transport/ipc/c66/example
20 cp -r ${S} ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/transport/ipc/c66
21}
22
23FILES:${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 2dffc11e..00000000
--- a/recipes-ti/ipc/ipc-transport-qmss-rtos_git.bb
+++ /dev/null
@@ -1,23 +0,0 @@
1inherit ti-pdk
2require ipc-transport.inc
3
4PR = "${INC_PR}.4"
5
6LIC_FILES_CHKSUM = "file://TransportQmss.xdc;beginline=1;endline=35;md5=ad783760d74a4cc5b8d4ad3d8a1f28a2"
7
8COMPATIBLE_MACHINE = "k2hk|k2l|k2e"
9
10PACKAGE_ARCH = "${MACHINE_ARCH}"
11
12DEPENDS:append = " qmss-lld-rtos \
13 cppi-lld-rtos \
14 ti-ipc-rtos \
15 ipc-transport-common-rtos \
16"
17
18IPC_TRANSPORT_QMSS_DESTSUFFIX = "git/c66/qmss"
19
20S = "${WORKDIR}/${IPC_TRANSPORT_QMSS_DESTSUFFIX}"
21
22export IPC_INSTALL_PATH = "${IPC_INSTALL_DIR}"
23XDCPATH: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 158d1856..00000000
--- a/recipes-ti/ipc/ipc-transport-qmss-test_git.bb
+++ /dev/null
@@ -1,37 +0,0 @@
1include ipc-transport-qmss.inc
2
3PR = "${INC_PR}.0"
4
5PACKAGE_ARCH = "${MACHINE_ARCH}"
6
7DEPENDS = "ipc-transport-qmss ti-ipc"
8
9#FILES_${PN}-test = "${bindir}/multiProcessTest_*.out"
10
11CHOICELIST = "yes no"
12
13DEVICELIST:k2hk = "k2h k2k"
14DEVICELIST:k2e = "k2e"
15DEVICELIST:k2l = "k2l"
16
17do_compile () {
18# Now build the test code
19 for device in ${DEVICELIST}
20 do
21 for choice in ${CHOICELIST}
22 do
23 oe_runmake tests \
24 IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} \
25 USEDYNAMIC_LIB="$choice" DEVICE="$device"
26 done
27 done
28}
29
30do_install () {
31 for device in ${DEVICELIST}
32 do
33 oe_runmake installbin \
34 INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
35 done
36
37}
diff --git a/recipes-ti/ipc/ipc-transport-qmss.inc b/recipes-ti/ipc/ipc-transport-qmss.inc
deleted file mode 100644
index 04705269..00000000
--- a/recipes-ti/ipc/ipc-transport-qmss.inc
+++ /dev/null
@@ -1,14 +0,0 @@
1DESCRIPTION = "TI QMSS-Based IPC MessageQ Transport"
2LICENSE = "BSD-3-Clause"
3
4require ipc-transport.inc
5
6INC_PR:append = ".1"
7
8LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02"
9
10COMPATIBLE_MACHINE = "keystone"
11
12S = "${WORKDIR}/git/linux/qmss"
13
14EXTRA_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 93136670..00000000
--- a/recipes-ti/ipc/ipc-transport-qmss_git.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1include ipc-transport-qmss.inc
2
3PR = "${INC_PR}.0"
4
5DEPENDS = "ti-ipc mpm-transport"
6
7do_compile () {
8# Now build the transport
9 oe_runmake clean
10 oe_runmake lib
11}
12
13do_install () {
14 oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} \
15 INSTALL_LIB_BASE_DIR=${D}${libdir}
16 chown -R root:root ${D}
17}
18
19INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libdir}/libTransportQmss.a"
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 52720916..00000000
--- a/recipes-ti/ipc/ipc-transport-srio-rtos_git.bb
+++ /dev/null
@@ -1,22 +0,0 @@
1inherit ti-pdk
2require ipc-transport.inc
3
4PR = "${INC_PR}.2"
5
6LIC_FILES_CHKSUM = "file://TransportSrio.xdc;beginline=1;endline=35;md5=4d466471e4b933a0cc353a46bb546fe7"
7
8COMPATIBLE_MACHINE = "k2hk"
9
10DEPENDS:append = " qmss-lld-rtos \
11 cppi-lld-rtos \
12 srio-lld-rtos \
13 ti-ipc-rtos \
14 ipc-transport-common-rtos \
15"
16
17IPC_TRANSPORT_SRIO_DESTSUFFIX = "git/c66/srio"
18
19S = "${WORKDIR}/${IPC_TRANSPORT_SRIO_DESTSUFFIX}"
20
21export IPC_INSTALL_PATH = "${IPC_INSTALL_DIR}"
22XDCPATH: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 @@
1include ipc-transport-srio.inc
2
3PR = "${INC_PR}.0"
4
5DEPENDS = "ipc-transport-srio ipc-transport-qmss ti-ipc"
6
7DEVICELIST = "k2h k2k"
8
9CHOICELIST = "yes no"
10
11do_compile () {
12# Now build the test code
13 for device in ${DEVICELIST}
14 do
15 for choice in ${CHOICELIST}
16 do
17 oe_runmake tests \
18 IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} \
19 USEDYNAMIC_LIB="$choice" DEVICE="$device"
20 done
21 done
22}
23
24do_install () {
25
26 for device in ${DEVICELIST}
27 do
28 oe_runmake installbin \
29 INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
30 done
31
32}
diff --git a/recipes-ti/ipc/ipc-transport-srio.inc b/recipes-ti/ipc/ipc-transport-srio.inc
deleted file mode 100644
index 89425703..00000000
--- a/recipes-ti/ipc/ipc-transport-srio.inc
+++ /dev/null
@@ -1,14 +0,0 @@
1DESCRIPTION = "TI SRIO-Based IPC MessageQ Transport"
2LICENSE = "BSD-3-Clause"
3
4require ipc-transport.inc
5
6INC_PR:append = ".1"
7
8LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02"
9
10COMPATIBLE_MACHINE = "k2hk"
11
12S = "${WORKDIR}/git/linux/srio"
13
14EXTRA_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 6001585a..00000000
--- a/recipes-ti/ipc/ipc-transport-srio_git.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1include ipc-transport-srio.inc
2
3PR = "${INC_PR}.0"
4
5DEPENDS = "ti-ipc mpm-transport"
6
7do_compile () {
8# Now build the transport
9 oe_runmake clean
10 oe_runmake lib
11}
12
13do_install () {
14 oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} \
15 INSTALL_LIB_BASE_DIR=${D}${libdir}
16 chown -R root:root ${D}
17}
18
19INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libdir}/libTransportSrio.a"
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 @@
1LICENSE = "BSD-3-Clause"
2
3IPC_TRANSPORT_GIT_URI = "git://git.ti.com/keystone-linux/ipc-transport.git"
4IPC_TRANSPORT_GIT_PROTOCOL = "git"
5IPC_TRANSPORT_GIT_BRANCH = "master"
6
7# Below commit ID corresponds to "DEV.IPC-TRANSPORT.02.00.00.02A"
8IPC_TRANSPORT_SRCREV = "f75e2e29b9b1b63443a0c82493e41dd2f771c6f5"
9
10BRANCH = "${IPC_TRANSPORT_GIT_BRANCH}"
11SRC_URI = "${IPC_TRANSPORT_GIT_URI};protocol=${IPC_TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}"
12
13SRCREV = "${IPC_TRANSPORT_SRCREV}"
14PV = "02.00.00.02A"
15INC_PR = "r0"
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 3b80af34..00000000
--- a/recipes-ti/mpm-transport/mpm-transport_git.bb
+++ /dev/null
@@ -1,50 +0,0 @@
1DESCRIPTION = "Multiproc transport layer for KeyStone devices: Provide basic transport layer for moving data between different processing nodes"
2HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git"
3LICENSE = "BSD-3-Clause & MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9"
5COMPATIBLE_MACHINE = "keystone"
6
7DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld qmss-lld cppi-lld uio-module-drv"
8DEPENDS:append:k2hk = " hyplnk-lld srio-lld"
9DEPENDS:append:k2e = " hyplnk-lld"
10
11PACKAGE_ARCH = "${MACHINE_ARCH}"
12
13SRC_URI = "git://git.ti.com/keystone-linux/mpm-transport.git;protocol=git;branch=${BRANCH}"
14
15BRANCH = "master"
16# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.04.00
17SRCREV = "e0e44fe55bef7ddf89f7ff3574f07fa906e72a37"
18
19PV = "2.0.4.0"
20PR = "r0"
21
22CC += "-fcommon"
23EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
24EXTRA_OEMAKE:append:k2hk = " HYPLNK_TRANSPORT=true SRIO_TRANSPORT=true"
25EXTRA_OEMAKE:append:k2e = " HYPLNK_TRANSPORT=true"
26INSANE_SKIP:${PN} += "ldflags"
27
28S = "${WORKDIR}/git"
29
30PACKAGES =+ "${PN}-test"
31FILES:${PN}-test = "${bindir}/mpm_transport_test.out \
32 ${bindir}/mpm_transport_hyplnk_loopback.out \
33 ${bindir}/mpm_transport_hyplnk_remote.out \
34 ${bindir}/mpm_transport_hyplnk_loopback_dma.out \
35 ${bindir}/mpm_transport_hyplnk_loopback64.out \
36 ${bindir}/mpm_transport_qmss_arm_mt.out \
37 ${bindir}/mpm_transport_srio_arm_mt.out"
38
39do_install() {
40 oe_runmake installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir}
41
42 install -d ${D}${includedir}/
43 install -c -m 644 ${S}/include/* ${D}${includedir}/
44
45 install -d ${D}${libdir}/
46 cp -a --preserve=mode,timestamps --no-preserve=ownership ${S}/lib/* ${D}${libdir}/
47
48 install -d ${D}${sysconfdir}/mpm/
49 install -c -m 644 ${S}/scripts/mpm_config.json ${D}${sysconfdir}/mpm/mpm_config.json
50}
diff --git a/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb b/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb
deleted file mode 100644
index 41efe38b..00000000
--- a/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb
+++ /dev/null
@@ -1,44 +0,0 @@
1SUMMARY = "TI Multiproc Manager (RTOS) for KeyStone II"
2DESCRIPTION = "Provides download, debug and other utilities for other cores in the SOC like DSP"
3
4require recipes-ti/includes/ti-paths.inc
5require recipes-ti/multiprocmgr/multiprocmgr.inc
6
7DEPENDS = "ti-cgt6x-native"
8
9PR = "${INC_PR}.2"
10
11PACKAGES =+ "${PN}-test"
12FILES:${PN}-test = "${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin/*.out \
13 ${datadir}/ti/examples/mpm/test/sync_test/c66x/bin/*.out"
14
15EXTRA_OEMAKE = "LOCAL_SYSROOT="${STAGING_DIR_TARGET}" \
16 C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
17 "
18
19do_compile() {
20 oe_runmake c66x
21 oe_runmake test_c66x
22}
23
24do_install() {
25 CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
26 install -d ${D}${MPM_INSTALL_DIR_RECIPE}
27 cp ${CP_ARGS} ${S}/* ${D}${MPM_INSTALL_DIR_RECIPE}
28
29 # Copy C66x binaries
30 install -d ${D}${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin
31 cp ${S}/test/filetestdemo/c66x/demo_loopback/build/bin/*.out \
32 ${D}${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin/
33 install -d ${D}${datadir}/ti/examples/mpm/test/sync_test/c66x/bin
34 cp ${S}/test/sync_test/c66x/bin/*.out \
35 ${D}${datadir}/ti/examples/mpm/test/sync_test/c66x/bin/
36}
37
38FILES:${PN}-dev += "${MPM_INSTALL_DIR_RECIPE}"
39INSANE_SKIP:${PN}-dev = "arch"
40INSANE_SKIP:${PN}-test = "arch"
41
42RDEPENDS:${PN}-dev = "bash"
43
44ALLOW_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 3d1b3aee..00000000
--- a/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb
+++ /dev/null
@@ -1,31 +0,0 @@
1SUMMARY = "TI Multiproc Manager test code"
2
3include multiprocmgr.inc
4
5PR = "${INC_PR}.2"
6
7DEPENDS = "multiprocmgr cmem"
8RDEPENDS:${PN} = "multiprocmgr mpm-transport cmem"
9RDEPENDS:${PN} += "multiprocmgr-rtos-test bash"
10
11FILES:${PN} += "\
12 ${datadir}/ti/examples/mpm \
13"
14
15FILES:${PN}-dbg += "\
16 ${datadir}/ti/examples/mpm/*/.debug \
17"
18
19do_compile() {
20 oe_runmake -C ${S} test
21}
22
23do_install() {
24 # Copy Sources and binary
25 install -d ${D}${datadir}/ti/examples/mpm/src
26 cp -r ${S}/src/mailbox ${D}${datadir}/ti/examples/mpm/src
27 cp -r ${S}/src/sync ${D}${datadir}/ti/examples/mpm/src
28 cp -r ${S}/test ${D}${datadir}/ti/examples/mpm
29}
30
31INSANE_SKIP:${PN} = "ldflags staticdev"
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 @@
1HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/multi-proc-manager.git"
2LICENSE = "BSD-3-Clause & MIT"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce208c498eb9669223724dc9c1d8fe4"
4SECTION = "console"
5COMPATIBLE_MACHINE = "keystone"
6
7MULTIPROCMGR_GIT_URI = "git://git.ti.com/keystone-linux/multi-proc-manager.git"
8MULTIPROCMGR_GIT_PROTOCOL = "git"
9MULTIPROCMGR_GIT_BRANCH = "master"
10
11# The following commits correspond to DEV.MPM-3.00.05.00
12MULTIPROCMGR_SRCREV = "810d8a31c797d07abe808cb3fa89465fa934d4dd"
13
14PV = "3.0.5.0"
15INC_PR = "r1"
16
17BRANCH = "${MULTIPROCMGR_GIT_BRANCH}"
18SRC_URI = "${MULTIPROCMGR_GIT_URI};protocol=${MULTIPROCMGR_GIT_PROTOCOL};branch=${BRANCH}"
19SRCREV = "${MULTIPROCMGR_SRCREV}"
20
21S = "${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 @@
1[Unit]
2Description=TI Multiproc Manager
3
4[Service]
5ExecStartPre=/sbin/modprobe keystone_remoteproc
6ExecStartPre=/sbin/modprobe keystone_dsp_mem
7ExecStartPre=/sbin/modprobe uio_module_drv
8
9Type=forking
10PIDFile=/var/run/mpm/pid
11ExecStart=/usr/bin/mpmsrv
12
13[Install]
14WantedBy=basic.target
diff --git a/recipes-ti/multiprocmgr/multiprocmgr_git.bb b/recipes-ti/multiprocmgr/multiprocmgr_git.bb
deleted file mode 100644
index 1bd24885..00000000
--- a/recipes-ti/multiprocmgr/multiprocmgr_git.bb
+++ /dev/null
@@ -1,44 +0,0 @@
1SUMMARY = "TI Multiproc Manager for KeyStone II"
2DESCRIPTION = "Provides download, debug and other utilities for other cores in the SOC like DSP"
3
4include multiprocmgr.inc
5
6SRC_URI += " \
7 file://mpmsrv-daemon.service \
8"
9
10PR = "${INC_PR}.2"
11
12DEPENDS = "mpm-transport libdaemon virtual/kernel cmem"
13
14PACKAGE_ARCH = "${MACHINE_ARCH}"
15
16INITSCRIPT_NAME = "mpmsrv-daemon.sh"
17INITSCRIPT_PARAMS = "defaults 10"
18
19SYSTEMD_SERVICE:${PN} = "mpmsrv-daemon.service"
20
21inherit update-rc.d systemd
22
23do_install() {
24 install -d ${D}${bindir}/
25 install -c -m 755 ${S}/bin/mpmsrv ${D}${bindir}/mpmsrv
26 install -c -m 755 ${S}/bin/mpmcl ${D}${bindir}/mpmcl
27
28 install -d ${D}${systemd_system_unitdir}
29 install -m 0644 ${WORKDIR}/mpmsrv-daemon.service ${D}${systemd_system_unitdir}
30 install -d ${D}${sysconfdir}/init.d/
31 install -c -m 755 ${S}/scripts/mpmsrv-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
32
33 install -d ${D}${sysconfdir}/mpm/
34 install -c -m 755 ${S}/scripts/crash_callback.sh ${D}${sysconfdir}/mpm/crash_callback.sh
35
36 install -d ${D}${includedir}/
37 install -c -m 755 ${S}/include/* ${D}${includedir}/
38
39 install -d ${D}${libdir}/
40 cp -a ${S}/lib/* ${D}${libdir}/
41 chown -R root:root ${D}${libdir}/
42}
43
44INSANE_SKIP:${PN} = "ldflags"
diff --git a/recipes-ti/ndk/ti-ndk.inc b/recipes-ti/ndk/ti-ndk.inc
deleted file mode 100644
index 89c1adf8..00000000
--- a/recipes-ti/ndk/ti-ndk.inc
+++ /dev/null
@@ -1,20 +0,0 @@
1SUMMARY = "TI RTOS_Networking"
2HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/index.html"
3SECTION = "devel"
4LICENSE = "BSD"
5
6require recipes-ti/includes/ti-paths.inc
7
8S = "${WORKDIR}/ndk_${PV}"
9SRC_URI = "http://software-dl.ti.com/targetcontent/ndk/${PV}/exports/ndk_${PV}.zip;name=ndkzip"
10
11do_install() {
12 CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
13 install -d ${D}${NDK_INSTALL_DIR_RECIPE}
14 cp ${CP_ARGS} ${S}/* ${D}${NDK_INSTALL_DIR_RECIPE}
15}
16
17ALLOW_EMPTY:${PN} = "1"
18FILES:${PN}-dev += "${NDK_INSTALL_DIR_RECIPE}"
19
20INSANE_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 41e8bc1e..00000000
--- a/recipes-ti/ndk/ti-ndk_3.61.01.01.bb
+++ /dev/null
@@ -1,17 +0,0 @@
1require ti-ndk.inc
2
3PE = "1"
4PV = "3_61_01_01"
5PR = "r0"
6
7LIC_FILES_CHKSUM = "file://manifest_ndk_${PV}.html;md5=871c716abcf52bac5a7c23154eaba3b6"
8
9SRC_URI[ndkzip.md5sum] = "87f0494c9faee344fe93ae68e71ca189"
10SRC_URI[ndkzip.sha256sum] = "3bfca50367432603ebc1d53d9185302bb4fa4558ac766696f086dc7a5a2ccd29"
11
12INHIBIT_PACKAGE_STRIP = "1"
13INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
14INHIBIT_SYSROOT_STRIP = "1"
15
16COMPATIBLE_HOST ?= "null"
17COMPATIBLE_HOST:ti-soc = "(.*)"
diff --git a/recipes-ti/ns/ti-ns.inc b/recipes-ti/ns/ti-ns.inc
deleted file mode 100644
index a6b37c6b..00000000
--- a/recipes-ti/ns/ti-ns.inc
+++ /dev/null
@@ -1,21 +0,0 @@
1SUMMARY = "TI Network Services"
2HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ns/index.html"
3SECTION = "devel"
4LICENSE = "BSD"
5
6require recipes-ti/includes/ti-paths.inc
7
8S = "${WORKDIR}/ns_${PV}"
9
10SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ns/${PV}/exports/ns_${PV}.zip;name=nszip"
11
12do_install() {
13 CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
14 install -d ${D}${NS_INSTALL_DIR_RECIPE}
15 cp ${CP_ARGS} ${S}/* ${D}${NS_INSTALL_DIR_RECIPE}
16}
17
18ALLOW_EMPTY:${PN} = "1"
19FILES:${PN}-dev += "${NS_INSTALL_DIR_RECIPE}"
20
21INSANE_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 36a9003b..00000000
--- a/recipes-ti/ns/ti-ns_2.60.01.06.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1require ti-ns.inc
2
3PE = "1"
4PV = "2_60_01_06"
5PR = "r0"
6SRC_URI = "http://software-dl.ti.com/targetcontent/ns/${PV}/exports/ns_${PV}.zip;name=nszip"
7
8LIC_FILES_CHKSUM = "file://manifest_ns_${PV}.html;md5=e15dc261b0ef14c6fbabba24abcde4f0"
9
10SRC_URI[nszip.md5sum] = "b78d86423e9c4d148be5fba5903cc2c7"
11SRC_URI[nszip.sha256sum] = "f66b2fda6ab02585020e67d84897305209f3e141847581a214ccf123c3f15f00"
12
13INHIBIT_PACKAGE_STRIP = "1"
14INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
15INHIBIT_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 6b491dcc..00000000
--- a/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1DESCRIPTION = "Package containing PDK makefile infrastructure"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=1;endline=31;md5=92ab6f5e10f1502081c6080207e57ec1"
4
5require recipes-ti/includes/ti-paths.inc
6
7PR = "r0"
8
9inherit ti-pdk-fetch
10
11TI_PDK_COMP = "ti.build"
12
13PE = "1"
14
15COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
16PACKAGE_ARCH = "${MACHINE_ARCH}"
17
18PARALLEL_MAKE = ""
19CLEANBROKEN = "1"
20
21do_compile() {
22 :
23}
24
25EXTRA_OEMAKE = "-f make_install LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" PDK_INSTALL_DIR="${D}${PDK_INSTALL_DIR_RECIPE}""
26
27do_install() {
28 oe_runmake
29}
30
31FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/*"
32INSANE_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 b6100a37..00000000
--- a/recipes-ti/udma/udma_git.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1DESCRIPTION = "Provides zero copy access from user-space to packet dma channels via udma kernel driver"
2LICENSE = "BSD-3-Clause"
3
4COMPATIBLE_MACHINE = "keystone"
5LIC_FILES_CHKSUM = "file://include/udma.h;startline=1;endline=39;md5=ba3c7f91f970afe073b759ced61d0f27"
6
7BRANCH = "master"
8SRC_URI = "git://git.ti.com/keystone-linux/udma.git;protocol=git;branch=${BRANCH}"
9S = "${WORKDIR}/git"
10# Commit corresponds to UDMA.01.00.00.00
11SRCREV = "53d09fb0bc98c41c5eb43623097e363c497d6fd8"
12
13PV = "01.00.00.00"
14
15PACKAGES =+ "${PN}-test"
16
17FILES:${PN}-test = "${bindir}/udma_test"
18
19do_install() {
20 install -d ${D}${bindir}/
21 install -d ${D}${libdir}/
22 install -d ${D}${includedir}/
23 install -c -m 755 ${S}/udma_test ${D}${bindir}/
24 install -c -m 755 ${S}/libudma.a ${D}${libdir}/
25 install -c -m 755 ${S}/libudma.so ${D}${libdir}/libudma.so.1.0.0
26 cd ${D}${libdir}/
27 ln -sf libudma.so.1.0.0 libudma.so.1
28 ln -sf libudma.so.1.0.0 libudma.so
29 install -c -m 755 ${S}/include/* ${D}${includedir}/
30}
31
32INSANE_SKIP:${PN} += "textrel"