diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2022-02-22 04:13:08 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-02-22 12:01:31 -0600 |
commit | 53f4cdf2ce35cbb0aaac0891e5f06e8909caecdd (patch) | |
tree | 2d7a22adf169476666eda7d988767506f40f3d20 | |
parent | dd558151806beb2ac95356a7a8275498ccddf125 (diff) | |
download | meta-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>
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 @@ | |||
1 | TI_PDK_GIT_URI ?= "git://git.ti.com/processor-sdk/pdk.git" | ||
2 | TI_PDK_GIT_BRANCH ?= "master" | ||
3 | TI_PDK_GIT_PROTOCOL ?= "git" | ||
4 | TI_PDK_SRCREV ?= "a1ace885998e9adbcbbd0abf8b9ded6ba9ec54ff" | ||
5 | |||
6 | TI_PDK_VERSION ?= "2020.5.6" | ||
7 | |||
8 | PV = "${TI_PDK_VERSION}" | ||
9 | PE = "2" | ||
10 | |||
11 | TI_PDK_COMP ?= "" | ||
12 | TI_PDK_COMP_PATH = "${@'${TI_PDK_COMP}'.replace('.','/')}" | ||
13 | |||
14 | TI_PDK_SOURCE_PN = "ti-pdk-source" | ||
15 | TI_PDK_SOURCE_WORKDIR = "${TMPDIR}/work-shared/ti-pdk-${PV}" | ||
16 | TI_PDK_SOURCE = "${TI_PDK_SOURCE_WORKDIR}/git" | ||
17 | |||
18 | S = "${@'${WORKDIR}/git/${TI_PDK_COMP_PATH}'.rstrip('/')}" | ||
19 | |||
20 | # Hard-link only required sources from PDK | ||
21 | python 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. | ||
42 | python __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 @@ | |||
1 | require recipes-ti/includes/ti-paths.inc | ||
2 | require recipes-ti/includes/ti-staging.inc | ||
3 | |||
4 | inherit perlnative | ||
5 | |||
6 | DEPENDS = "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 | |||
8 | DEPENDS:append:omap-a15 = " ti-cgt-arm-native" | ||
9 | DEPENDS:remove:ti33x = "ti-cgt6x-native" | ||
10 | DEPENDS:remove:ti43x = "ti-cgt6x-native" | ||
11 | DEPENDS:append:omapl1 = " ti-cgt-arm-native" | ||
12 | DEPENDS:remove:am65xx = "gcc-arm-baremetal-native ti-cgt6x-native" | ||
13 | DEPENDS:append:am65xx = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native" | ||
14 | DEPENDS:remove:j7 = "gcc-arm-baremetal-native" | ||
15 | DEPENDS:append:j7 = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native ti-cgt7x-native" | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | B = "${WORKDIR}/build" | ||
19 | |||
20 | # HTML hyperlink text | ||
21 | PDK_COMP_LINK_TEXT ?= "" | ||
22 | |||
23 | DOC_FILE = "API_Documentation_${PN}.html" | ||
24 | |||
25 | create_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 | |||
31 | get_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 | |||
41 | export CROSS_TOOL_PRFX="arm-none-eabi-" | ||
42 | export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}" | ||
43 | export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}" | ||
44 | export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}" | ||
45 | export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}" | ||
46 | export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}" | ||
47 | export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" | ||
48 | export C7X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c7x" | ||
49 | export TOOLCHAIN_PATH_EVE = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-arp32" | ||
50 | export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}" | ||
51 | export TOOLCHAIN_PATH_GCC_ARCH64 = "${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}" | ||
52 | export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}" | ||
53 | |||
54 | export ROOTDIR = "${B}" | ||
55 | export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}" | ||
56 | export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}" | ||
57 | export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages" | ||
58 | |||
59 | export XDCPATH = "${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;${PDK_INSTALL_DIR}/packages" | ||
60 | export SECTTI="perl ${CG_XML_INSTALL_DIR}/ofd/sectti.pl" | ||
61 | |||
62 | TI_PDK_XDCMAKE ?= "1" | ||
63 | |||
64 | # By default, only build the cores with available toolchains | ||
65 | TI_PDK_LIMIT_CORES ?= "a15_0 ipu1_0 ipu1_1 ipu2_0 ipu2_1 mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1 c66x c66xdsp_1 c66xdsp_2 c7x_1 arm9_0 c674x a9host a8host pru_0 pru_1" | ||
66 | TI_PDK_LIMIT_SOCS ?= "" | ||
67 | TI_PDK_LIMIT_BOARDS ?= "" | ||
68 | TI_PDK_MAKE_TARGET ?= "release" | ||
69 | TI_PDK_EXTRA_MAKE ?= "" | ||
70 | TI_PDK_DOXYGEN_SUPPORT ?= "1" | ||
71 | |||
72 | TI_PDK_XDC_ARGS ?= "${TI_PDK_LIMIT_SOCS}" | ||
73 | |||
74 | PARALLEL_XDC = "${@oe.utils.parallel_make_argument(d, '--jobs=%d')}" | ||
75 | PARALLEL_MAKE = "" | ||
76 | |||
77 | def get_doxygen_support(d): | ||
78 | if d.getVar('TI_PDK_DOXYGEN_SUPPORT') == '1': | ||
79 | return '' | ||
80 | return 'DOXYGEN_SUPPORT=no' | ||
81 | |||
82 | EXTRA_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 | |||
90 | do_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 | |||
119 | do_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 | |||
133 | do_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 | |||
144 | FILES:${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) |
53 | UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" | 53 | UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" |
54 | |||
55 | # Set the list of device targets for ti-pdk class recipes | ||
56 | TI_PDK_LIMIT_SOCS = "am571x am572x am574x" | ||
57 | TI_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" | |||
14 | SERIAL_CONSOLES = "115200;ttyS0" | 14 | SERIAL_CONSOLES = "115200;ttyS0" |
15 | 15 | ||
16 | IMAGE_INSTALL:append = " kernel-devicetree kernel-image-zimage" | 16 | IMAGE_INSTALL:append = " kernel-devicetree kernel-image-zimage" |
17 | |||
18 | # Refine the list of device targets for ti-pdk class recipes | ||
19 | TI_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) |
48 | UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" | 48 | UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" |
49 | |||
50 | # Set the list of device targets for ti-pdk class recipes | ||
51 | TI_PDK_LIMIT_BOARDS = "evmDRA72x evmDRA75x evmDRA78x" | ||
52 | TI_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" | |||
22 | TFA_BOARD = "lite" | 22 | TFA_BOARD = "lite" |
23 | OPTEEMACHINE = "k3-am65x" | 23 | OPTEEMACHINE = "k3-am65x" |
24 | OPTEEOUTPUTMACHINE = "k3" | 24 | OPTEEOUTPUTMACHINE = "k3" |
25 | |||
26 | # Set the list of device targets for ti-pdk class recipes | ||
27 | TI_PDK_LIMIT_SOCS = "am64x" | ||
28 | TI_PDK_LIMIT_BOARDS = "am64x_evm" | ||
29 | TI_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 | ||
31 | OPTEEMACHINE = "k3-am65x" | 31 | OPTEEMACHINE = "k3-am65x" |
32 | OPTEEOUTPUTMACHINE = "k3" | 32 | OPTEEOUTPUTMACHINE = "k3" |
33 | |||
34 | # Set the list of device targets for ti-pdk class recipes | ||
35 | TI_PDK_LIMIT_SOCS = "am65xx" | ||
36 | TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk" | ||
37 | TI_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" | |||
5 | OPTEEOUTPUTMACHINE = "k3" | 5 | OPTEEOUTPUTMACHINE = "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 | ||
10 | TI_PDK_LIMIT_SOCS = "j721e j7200" | ||
11 | TI_PDK_LIMIT_BOARDS = "j721e_evm j7200_evm" | ||
12 | TI_PDK_LIMIT_CORES = "mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1 c66xdsp_1 c66xdsp_2 c7x_1" | ||
diff --git a/conf/machine/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 @@ | |||
1 | require conf/machine/include/omapl1.inc | 1 | require conf/machine/include/omapl1.inc |
2 | SOC_FAMILY:append = ":omapl138" | 2 | SOC_FAMILY:append = ":omapl138" |
3 | |||
4 | # Set the list of device targets for ti-pdk class recipes | ||
5 | TI_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 |
65 | MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu" | 65 | MACHINE_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 | ||
68 | TI_PDK_LIMIT_SOCS = "am335x" | ||
69 | TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x" | ||
70 | |||
71 | IMAGE_FSTYPES += "tar.xz wic.xz" | 67 | IMAGE_FSTYPES += "tar.xz wic.xz" |
72 | WKS_FILE ?= "sdimage-2part.wks" | 68 | WKS_FILE ?= "sdimage-2part.wks" |
73 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" | 69 | IMAGE_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 |
62 | MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu" | 62 | MACHINE_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 | ||
65 | TI_PDK_LIMIT_SOCS = "am437x" | ||
66 | TI_PDK_LIMIT_BOARDS = "evmAM437x idkAM437x skAM437x" | ||
67 | |||
68 | IMAGE_FSTYPES += "tar.xz wic.xz" | 64 | IMAGE_FSTYPES += "tar.xz wic.xz" |
69 | WKS_FILE ?= "sdimage-2part.wks" | 65 | WKS_FILE ?= "sdimage-2part.wks" |
70 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" | 66 | IMAGE_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" | |||
17 | SERIAL_CONSOLES = "115200;ttyS2" | 17 | SERIAL_CONSOLES = "115200;ttyS2" |
18 | 18 | ||
19 | KERNEL_DEVICETREE = "da850-evm.dtb da850-lcdk.dtb" | 19 | KERNEL_DEVICETREE = "da850-evm.dtb da850-lcdk.dtb" |
20 | |||
21 | # Set the list of device targets for ti-pdk class recipes | ||
22 | TI_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 @@ | |||
1 | SUMMARY = "TI RTOS Audio add-on software for k2g" | ||
2 | |||
3 | inherit ti-pdk | ||
4 | |||
5 | LICENSE = "BSD-3-Clause" | ||
6 | LIC_FILES_CHKSUM = "file://audk2gaddonver.h;beginline=8;endline=47;md5=7a3996aaf1a3d3ca87358cf9b89bce3d" | ||
7 | |||
8 | COMPATIBLE_MACHINE = "k2g" | ||
9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
10 | |||
11 | AUDK2G_ADDON_GIT_URI = "git://git.ti.com/processor-sdk/audk2g-addon.git" | ||
12 | AUDK2G_ADDON_GIT_PROTOCOL = "git" | ||
13 | AUDK2G_ADDON_GIT_BRANCH = "master" | ||
14 | AUDK2G_ADDON_GIT_DESTSUFFIX = "git/ti/addon/audk2g" | ||
15 | |||
16 | # Below commit ID corresponds to "DEV.AUDK2G.01.04.00.00" | ||
17 | AUDK2G_ADDON_SRCREV = "815180b45ceb1fa3c110f9979106c7f5aa8b3ca2" | ||
18 | |||
19 | BRANCH = "${AUDK2G_ADDON_GIT_BRANCH}" | ||
20 | SRC_URI = "${AUDK2G_ADDON_GIT_URI};destsuffix=${AUDK2G_ADDON_GIT_DESTSUFFIX};protocol=${AUDK2G_ADDON_GIT_PROTOCOL};branch=${BRANCH}" | ||
21 | |||
22 | SRCREV = "${AUDK2G_ADDON_SRCREV}" | ||
23 | PV = "01.04.00.00" | ||
24 | PR = "r0" | ||
25 | |||
26 | S = "${WORKDIR}/git/ti/addon/audk2g" | ||
27 | |||
28 | DEPENDS:append = " ti-sysbios \ | ||
29 | gpio-lld-rtos \ | ||
30 | i2c-lld-rtos \ | ||
31 | board-rtos \ | ||
32 | " | ||
33 | |||
34 | export PDK_AUDK2G_ROOT_PATH = "${WORKDIR}/build" | ||
35 | export DEST_ROOT="${S}" | ||
36 | |||
37 | # Build with make instead of XDC | ||
38 | TI_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 @@ | |||
1 | SUMMARY = "TI RTOS Board Library" | ||
2 | |||
3 | inherit ti-pdk ti-pdk-fetch | ||
4 | |||
5 | TI_PDK_COMP = "ti.board" | ||
6 | |||
7 | PE = "1" | ||
8 | |||
9 | LICENSE = "BSD-3-Clause" | ||
10 | LIC_FILES_CHKSUM = "file://board.h;beginline=1;endline=32;md5=9bed8e4ac2fb37fc627cefe49eb1c919" | ||
11 | |||
12 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3" | ||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
14 | |||
15 | |||
16 | |||
17 | PR = "r0" | ||
18 | |||
19 | DEPENDS:append = " i2c-lld-rtos \ | ||
20 | spi-lld-rtos \ | ||
21 | uart-lld-rtos \ | ||
22 | osal-rtos \ | ||
23 | " | ||
24 | |||
25 | DEPENDS:append:omap-a15 = " ti-ndk \ | ||
26 | mmcsd-lld-rtos \ | ||
27 | pm-lld-rtos \ | ||
28 | " | ||
29 | |||
30 | DEPENDS:append:am57xx-evm = " gpio-lld-rtos \ | ||
31 | icss-emac-lld-rtos \ | ||
32 | pruss-lld-rtos \ | ||
33 | " | ||
34 | |||
35 | |||
36 | DEPENDS: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 | |||
45 | DEPENDS: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 | |||
54 | DEPENDS:append:dra7xx = " pm-lld-rtos \ | ||
55 | mmcsd-lld-rtos \ | ||
56 | " | ||
57 | |||
58 | DEPENDS:append:am65xx = " sciclient-rtos \ | ||
59 | " | ||
60 | DEPENDS:append:j7 = " udma-lld-rtos \ | ||
61 | sciclient-rtos \ | ||
62 | mmcsd-lld-rtos \ | ||
63 | " | ||
64 | |||
65 | # Build with make instead of XDC | ||
66 | TI_PDK_XDCMAKE = "0" | ||
67 | |||
68 | INHIBIT_SYSROOT_STRIP = "1" | ||
69 | INHIBIT_PACKAGE_STRIP = "1" | ||
70 | |||
71 | export PDK_BOARD_ROOT_PATH ="${WORKDIR}/build" | ||
72 | export DEST_ROOT="${S}" | ||
73 | |||
74 | XDCPATH:append = ";${PDK_INSTALL_DIR}/packages/ti/csl;${NDK_INSTALL_DIR}/packages" | ||
75 | |||
76 | INSANE_SKIP:${PN} = "arch" | ||
diff --git a/recipes-bsp/boot-monitor/boot-monitor_git.bb b/recipes-bsp/boot-monitor/boot-monitor_git.bb deleted file mode 100644 index dee180ff..00000000 --- a/recipes-bsp/boot-monitor/boot-monitor_git.bb +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | DESCRIPTION = "Boot Monitor - TI ARM Boot monitor code" | ||
2 | LICENSE = "BSD" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=25fe219a6febf6e5bb45beda1b2eb315" | ||
4 | |||
5 | COMPATIBLE_MACHINE = "keystone" | ||
6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
7 | |||
8 | DEPENDS = "u-boot-mkimage-native" | ||
9 | |||
10 | SRC_URI = "git://git.ti.com/processor-firmware/ks2-boot-monitor.git;protocol=git;branch=${BRANCH}" | ||
11 | |||
12 | PV = "4.0+git${SRCPV}" | ||
13 | |||
14 | BRANCH = "master" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | SRCREV = "d57d5c1d8f0b0b1487484d9ceb1595bd4507231a" | ||
19 | |||
20 | BOOT_MONITOR_IMAGE ?= "skern-${BOOT_MONITOR_MAKE_TARGET}.bin" | ||
21 | |||
22 | FLOATABI = "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}" | ||
23 | |||
24 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}" LD="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}"" | ||
25 | |||
26 | FILES:${PN} = "/boot" | ||
27 | |||
28 | inherit deploy | ||
29 | |||
30 | do_compile () { | ||
31 | unset LDFLAGS | ||
32 | unset CFLAGS | ||
33 | unset CPPFLAGS | ||
34 | oe_runmake image_${BOOT_MONITOR_MAKE_TARGET} | ||
35 | } | ||
36 | |||
37 | do_install () { | ||
38 | install -d ${D}/boot | ||
39 | install -m 0644 ${S}/${BOOT_MONITOR_IMAGE} ${D}/boot/ | ||
40 | } | ||
41 | |||
42 | do_deploy () { | ||
43 | install -d ${DEPLOYDIR} | ||
44 | install -m 0644 ${S}/${BOOT_MONITOR_IMAGE} ${DEPLOYDIR}/ | ||
45 | } | ||
46 | |||
47 | addtask 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 @@ | |||
1 | SUMMARY = "TI RTOS software supporting circular microphone array board" | ||
2 | |||
3 | inherit ti-pdk | ||
4 | |||
5 | LICENSE = "BSD-3-Clause" | ||
6 | LIC_FILES_CHKSUM = "file://cmbaddonver.h;beginline=8;endline=47;md5=d0cb159bf210cfafed63042da01c83e0" | ||
7 | |||
8 | COMPATIBLE_MACHINE = "k2g|omapl137-evm" | ||
9 | |||
10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
11 | |||
12 | CMB_ADDON_GIT_URI = "git://git.ti.com/processor-sdk/circmicarray-addon.git" | ||
13 | CMB_ADDON_GIT_PROTOCOL = "git" | ||
14 | CMB_ADDON_GIT_BRANCH = "master" | ||
15 | CMB_ADDON_GIT_DESTSUFFIX = "git/ti/addon" | ||
16 | |||
17 | # Below commit ID corresponds to "DEV.CMB.01.01.00.03A" | ||
18 | CMB_ADDON_SRCREV = "3655aad07f17d3a167ec7dcecb52450c1d2fe8be" | ||
19 | |||
20 | SRCREV = "${CMB_ADDON_SRCREV}" | ||
21 | PV = "01.01.00.03A" | ||
22 | PR = "r0" | ||
23 | |||
24 | BRANCH = "${CMB_ADDON_GIT_BRANCH}" | ||
25 | SRC_URI = "${CMB_ADDON_GIT_URI};destsuffix=${CMB_ADDON_GIT_DESTSUFFIX};protocol=${CMB_ADDON_GIT_PROTOCOL};branch=${BRANCH}" | ||
26 | |||
27 | |||
28 | S = "${WORKDIR}/git/ti/addon/cmb" | ||
29 | |||
30 | DEPENDS:append = " ti-sysbios \ | ||
31 | gpio-lld-rtos \ | ||
32 | i2c-lld-rtos \ | ||
33 | mcasp-lld-rtos \ | ||
34 | board-rtos \ | ||
35 | " | ||
36 | |||
37 | export PDK_CMB_ROOT_PATH = "${WORKDIR}/build" | ||
38 | export DEST_ROOT="${S}" | ||
39 | |||
40 | # Build with make instead of XDC | ||
41 | TI_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 @@ | |||
1 | require common-csl-ip.inc | ||
2 | PR = "${INC_PR}.6" | ||
3 | |||
4 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
5 | COMPATIBLE_MACHINE:append = "|c66x|k3" | ||
6 | |||
7 | inherit ti-pdk | ||
8 | |||
9 | DEPENDS:remove = "${PN}" | ||
10 | DEPENDS:remove = "ti-sysbios" | ||
11 | |||
12 | # Build with make instead of XDC | ||
13 | TI_PDK_XDCMAKE = "0" | ||
14 | |||
15 | export PDK_CSL_ROOT_PATH ="${WORKDIR}/build" | ||
16 | export DEST_ROOT="${S}" | ||
17 | |||
18 | # HTML doc link params | ||
19 | PDK_COMP_LINK_TEXT = "CSL-Chip Support Library" | ||
20 | |||
21 | # Workaround: dra7xx build requires am57xx CSL libraries for opencl-monitor | ||
22 | TI_PDK_LIMIT_SOCS:append:dra7xx = " am571x am572x am574x" | ||
23 | TI_PDK_LIMIT_BOARDS:append:dra7xx = " evmAM571x evmAM572x idkAM574x" | ||
diff --git a/recipes-bsp/common-csl-ip/common-csl-ip.inc b/recipes-bsp/common-csl-ip/common-csl-ip.inc deleted file mode 100644 index 23586fd7..00000000 --- a/recipes-bsp/common-csl-ip/common-csl-ip.inc +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | DESCRIPTION = "Chip support library low level interface" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21" | ||
4 | |||
5 | COMPATIBLE_MACHINE = "keystone|dra7xx|ti33x|ti43x|omapl1" | ||
6 | |||
7 | PV = "03.03.00.17B" | ||
8 | INC_PR = "r0" | ||
9 | PE = "2" | ||
10 | |||
11 | CSL_GIT_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git" | ||
12 | CSL_GIT_PROTOCOL ="git" | ||
13 | CSL_GIT_BRANCH = "release" | ||
14 | CSL_GIT_DESTSUFFIX = "git" | ||
15 | |||
16 | # Below commit ID corresponding to "DEV.CSL_PROCESSOR-SDK.03.03.00.17B" | ||
17 | CSL_SRCREV = "027d26031709ad6a0e9f84625d11a3419e486467" | ||
18 | |||
19 | BRANCH="${CSL_GIT_BRANCH}" | ||
20 | SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}" | ||
21 | SRCREV = "${CSL_SRCREV}" | ||
22 | |||
23 | S = "${WORKDIR}/${CSL_GIT_DESTSUFFIX}" | ||
diff --git a/recipes-bsp/common-csl-ip/common-csl-ip_git.bb b/recipes-bsp/common-csl-ip/common-csl-ip_git.bb deleted file mode 100644 index 6fffc7ee..00000000 --- a/recipes-bsp/common-csl-ip/common-csl-ip_git.bb +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | require common-csl-ip.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | ALLOW_EMPTY:${PN} = "1" | ||
6 | |||
7 | CLEANBROKEN = "1" | ||
8 | |||
9 | do_compile() { | ||
10 | : | ||
11 | } | ||
12 | |||
13 | do_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 @@ | |||
1 | SUMMARY = "MCU Watchdog test firmware" | ||
2 | DESCRIPTION = "Firmware for the R5F core to test the detection of watchdog timeout events to trigger SOC reset though DMSC." | ||
3 | |||
4 | require recipes-bsp/common-csl-ip/common-csl-ip.inc | ||
5 | require recipes-ti/includes/ti-paths.inc | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://../../../COPYING.txt;md5=5857833e20836213677fac33f9aded21" | ||
8 | |||
9 | S = "${WORKDIR}/${CSL_GIT_DESTSUFFIX}/example/rti/rti_dwwdtest_app" | ||
10 | |||
11 | COMPATIBLE_MACHINE = "am65xx" | ||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | DEPENDS = "ti-cgt-arm-native \ | ||
15 | ti-pdk-build-rtos \ | ||
16 | uart-lld-rtos \ | ||
17 | board-rtos \ | ||
18 | sciclient-rtos \ | ||
19 | udma-lld-rtos" | ||
20 | |||
21 | export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages" | ||
22 | export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}" | ||
23 | |||
24 | EXTRA_OEMAKE = "WDT_RESET=enable DEST_ROOT=${S}" | ||
25 | |||
26 | do_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 | |||
36 | do_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. | ||
49 | PACKAGES =+ "${PN}-evm ${PN}-idk" | ||
50 | RDEPENDS:${PN} = "${PN}-evm ${PN}-idk" | ||
51 | ALLOW_EMPTY:${PN} = "1" | ||
52 | |||
53 | FILES:${PN}-evm = "${base_libdir}/firmware/rti_dwwdtest/am65xx_evm" | ||
54 | FILES:${PN}-idk = "${base_libdir}/firmware/rti_dwwdtest/am65xx_idk" | ||
55 | |||
56 | # We are packaging R5 firmware | ||
57 | INSANE_SKIP:${PN}-evm = "arch" | ||
58 | INSANE_SKIP:${PN}-idk = "arch" | ||
59 | |||
60 | # Configure update-alternatives as there may be other firmwares provided in an | ||
61 | # image. | ||
62 | inherit 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. | ||
66 | ALTERNATIVE:${PN}-evm = "am65x-mcu-r5f0_0-fw" | ||
67 | ALTERNATIVE:${PN}-idk = "am65x-mcu-r5f0_0-fw" | ||
68 | |||
69 | ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/am65x-mcu-r5f0_0-fw" | ||
70 | |||
71 | ALTERNATIVE_TARGET_${PN}-evm = "${base_libdir}/firmware/rti_dwwdtest/am65xx_evm/csl_rti_dwwd_test_app_mcu1_0_release.xer5f" | ||
72 | ALTERNATIVE_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 | ||
76 | ALTERNATIVE_PRIORITY_${PN}-evm = "4" | ||
77 | ALTERNATIVE_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 @@ | |||
1 | DESCRIPTION = "Smart Reflex Sub-System (SRSS) module driver for Keystone devices" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3" | ||
4 | |||
5 | # This package builds a kernel module, use kernel PR as base and append a local | ||
6 | MACHINE_KERNEL_PR:append = "a" | ||
7 | PR = "${MACHINE_KERNEL_PR}" | ||
8 | PV:append = "+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git/temperature_module/temperature-mod" | ||
11 | |||
12 | inherit module | ||
13 | |||
14 | EXTRA_OEMAKE = "KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}" | ||
15 | |||
16 | COMPATIBLE_MACHINE = "keystone" | ||
17 | |||
18 | include 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 @@ | |||
1 | SUMMARY = "TI RTOS driver for FAT filesystem" | ||
2 | |||
3 | inherit ti-pdk ti-pdk-fetch | ||
4 | |||
5 | TI_PDK_COMP = "ti.fs.fatfs" | ||
6 | |||
7 | PE = "1" | ||
8 | |||
9 | LICENSE = "BSD-3-Clause" | ||
10 | LIC_FILES_CHKSUM = "file://FATFS.h;beginline=1;endline=32;md5=6619832755598d1cc2b01f2e6a1801d6" | ||
11 | |||
12 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|k3" | ||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
14 | |||
15 | PR = "r0" | ||
16 | |||
17 | DEPENDS:append = " mmcsd-lld-rtos \ | ||
18 | osal-rtos \ | ||
19 | " | ||
20 | |||
21 | # Build with make instead of XDC | ||
22 | TI_PDK_XDCMAKE = "0" | ||
23 | |||
24 | export PDK_FATFS_ROOT_PATH ="${WORKDIR}/build" | ||
25 | export DEST_ROOT="${S}" | ||
26 | |||
27 | # HTML doc link params | ||
28 | PDK_COMP_LINK_TEXT = "FATFS Library" | ||
diff --git a/recipes-bsp/faultmanagement/faultmanagement-rtos_git.bb b/recipes-bsp/faultmanagement/faultmanagement-rtos_git.bb deleted file mode 100644 index a999e813..00000000 --- a/recipes-bsp/faultmanagement/faultmanagement-rtos_git.bb +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | SUMMARY = "TI Fault management module for keystone devices" | ||
2 | |||
3 | inherit ti-pdk | ||
4 | |||
5 | LICENSE = "BSD-3-Clause" | ||
6 | LIC_FILES_CHKSUM = "file://fault_mgmt.h;beginline=1;endline=41;md5=4be5df2b9c314da729e9e4f6cc0b2979" | ||
7 | |||
8 | COMPATIBLE_MACHINE = "k2hk|k2e|k2l" | ||
9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
10 | |||
11 | FAULT_MANAGEMENT_GIT_URI = "git://git.ti.com/keystone-rtos/fault_mgmt.git" | ||
12 | FAULT_MANAGEMENT_GIT_PROTOCOL = "git" | ||
13 | FAULT_MANAGEMENT_GIT_BRANCH = "master" | ||
14 | FAULT_MANAGEMENT_GIT_DESTSUFFIX = "git/ti/instrumentation/fault_mgmt" | ||
15 | |||
16 | # Below commit ID corresponds to "DEV.FAULT_MGMT.01.00.01.04A" | ||
17 | FAULT_MANAGEMENT_SRCREV = "67becdff0e3d181ab7b8fada226f5737517c1c52" | ||
18 | |||
19 | BRANCH = "${FAULT_MANAGEMENT_GIT_BRANCH}" | ||
20 | SRC_URI = "${FAULT_MANAGEMENT_GIT_URI};destsuffix=${FAULT_MANAGEMENT_GIT_DESTSUFFIX};protocol=${FAULT_MANAGEMENT_GIT_PROTOCOL};branch=${BRANCH}" | ||
21 | |||
22 | SRCREV = "${FAULT_MANAGEMENT_SRCREV}" | ||
23 | PV = "01.00.01.04A" | ||
24 | PR = "r0" | ||
25 | |||
26 | S = "${WORKDIR}/${FAULT_MANAGEMENT_GIT_DESTSUFFIX}" | ||
27 | |||
28 | DEPENDS:append:keystone = " qmss-lld-rtos \ | ||
29 | cppi-lld-rtos \ | ||
30 | pa-lld-rtos \ | ||
31 | " | ||
32 | |||
33 | DEPENDS:append:k2hk = " aif2-lld-rtos \ | ||
34 | " | ||
35 | # HTML doc link params | ||
36 | PDK_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 @@ | |||
1 | SUMMARY = "TI RTOS Video Driver Interface" | ||
2 | |||
3 | inherit ti-pdk ti-pdk-fetch | ||
4 | |||
5 | TI_PDK_COMP = "ti.drv.fvid2" | ||
6 | |||
7 | PE = "1" | ||
8 | |||
9 | LICENSE = "BSD-3-Clause" | ||
10 | LIC_FILES_CHKSUM = "file://fvid2.h;beginline=1;endline=31;md5=83d177cf3df55c16b27ae4102b6ade9a" | ||
11 | |||
12 | COMPATIBLE_MACHINE = "k3" | ||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
14 | |||
15 | PR = "r0" | ||
16 | |||
17 | DEPENDS:append = " osal-rtos \ | ||
18 | " | ||
19 | |||
20 | # Build with make instead of XDC | ||
21 | TI_PDK_XDCMAKE = "0" | ||
22 | |||
23 | FVID2_PACKAGE_BASE = "${WORKDIR}/fvid2_base" | ||
24 | FVID2_ROOTPATH = "${FVID2_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/fvid2" | ||
25 | |||
26 | export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages" | ||
27 | export PDK_FVID2_ROOT_PATH = "${FVID2_PACKAGE_BASE}/package/all/pdk_/packages" | ||
28 | |||
29 | |||
30 | BOARD_PACKAGE = "" | ||
31 | BOARD_PACKAGE:am65xx = "am65xx_evm" | ||
32 | BOARD_PACKAGE:j7 = "j721e_evm" | ||
33 | |||
34 | # HTML doc link params | ||
35 | PDK_COMP_LINK_TEXT = "FVID2" | ||
36 | |||
37 | do_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 | |||
48 | do_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 | |||
59 | do_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 | |||
65 | FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" | ||
66 | |||
67 | INSANE_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 @@ | |||
1 | DESCRIPTION = "TI High Performance Library kernel module" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/module/COPYING.txt;md5=c1c4d3453cddc5b7f0ce84a277e66779" | ||
4 | |||
5 | DEPENDS = "hplib" | ||
6 | |||
7 | include hplib.inc | ||
8 | |||
9 | # This package builds a kernel module, use kernel PR as base and append a local | ||
10 | MACHINE_KERNEL_PR:append = "b" | ||
11 | PR = "${MACHINE_KERNEL_PR}" | ||
12 | |||
13 | S ="${WORKDIR}/git/ti/runtime/hplib/module" | ||
14 | EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR} PDK_INSTALL_PATH=${STAGING_INCDIR}" | ||
15 | |||
16 | inherit module | ||
17 | |||
18 | do_install () { | ||
19 | oe_runmake install INSTALL_MOD_PATH="${D}" | ||
20 | } | ||
21 | |||
22 | KERNEL_MODULE_AUTOLOAD += "hplibmod" | ||
diff --git a/recipes-bsp/hplib/hplib-test_git.bb b/recipes-bsp/hplib/hplib-test_git.bb deleted file mode 100644 index 4ba79dbd..00000000 --- a/recipes-bsp/hplib/hplib-test_git.bb +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | DESCRIPTION = "TI High performance library test binaries" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462" | ||
4 | |||
5 | DEPENDS = "common-csl-ip qmss-lld sa-lld pktlib hplib" | ||
6 | |||
7 | include hplib.inc | ||
8 | |||
9 | PR = "${INC_PR}.0" | ||
10 | |||
11 | CHOICELIST = "yes no" | ||
12 | |||
13 | S = "${WORKDIR}/git/ti/runtime/hplib" | ||
14 | |||
15 | EXTRA_OEMAKE += '-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}' | ||
16 | |||
17 | do_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 | |||
27 | do_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 @@ | |||
1 | COMPATIBLE_MACHINE = "keystone" | ||
2 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
3 | |||
4 | DEVICELIST:k2hk = "k2h k2k" | ||
5 | DEVICELIST:k2l = "k2l" | ||
6 | DEVICELIST:k2e = "k2e" | ||
7 | |||
8 | HPLIB_GIT_URI = "git://git.ti.com/keystone-rtos/hplib.git" | ||
9 | HPLIB_GIT_PROTOCOL = "git" | ||
10 | HPLIB_GIT_BRANCH = "master" | ||
11 | |||
12 | # Below Commit ID corresponds to "DEV.HPLIB.01.01.00.08" | ||
13 | HPLIB_SRCREV = "5e9b27854f5d6f9f37a0ed8d7516d4874427cd8b" | ||
14 | |||
15 | BRANCH = "${HPLIB_GIT_BRANCH}" | ||
16 | SRC_URI = "${HPLIB_GIT_URI};protocol=${HPLIB_GIT_PROTOCOL};branch=${BRANCH}" | ||
17 | SRCREV = "${HPLIB_SRCREV}" | ||
18 | |||
19 | PV = "01.01.00.08+git${SRCPV}" | ||
20 | INC_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 @@ | |||
1 | DESCRIPTION = "TI High performance libraries" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462" | ||
4 | |||
5 | DEPENDS = "common-csl-ip rm-lld qmss-lld sa-lld pktlib" | ||
6 | RDEPENDS:${PN} = "hplib-mod" | ||
7 | |||
8 | include hplib.inc | ||
9 | |||
10 | PR = "${INC_PR}.0" | ||
11 | |||
12 | CHOICELIST = "yes no" | ||
13 | |||
14 | S = "${WORKDIR}/git/ti/runtime/hplib" | ||
15 | |||
16 | EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" | ||
17 | |||
18 | do_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 | |||
28 | do_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 @@ | |||
1 | SUMMARY = "Second stage bootloader for c66x" | ||
2 | DESCRIPTION = "The Intermediate Bootloader (IBL) is a second stage \ | ||
3 | bootloader for the c66x family of embedded processors. This second \ | ||
4 | stage bootloader takes care of additional initializations, advisory \ | ||
5 | setups, and errata workarounds that are not present in the first stage boot." | ||
6 | |||
7 | LICENSE = "BSD-3-Clause" | ||
8 | LIC_FILES_CHKSUM = "file://src/ibl.h;beginline=1;endline=34;md5=ee7d7a3305d1e524955996d1c5e31cb9" | ||
9 | |||
10 | require recipes-ti/includes/ti-paths.inc | ||
11 | |||
12 | DEPENDS = " ti-cgt6x-7-native \ | ||
13 | bison-native \ | ||
14 | flex-native \ | ||
15 | " | ||
16 | |||
17 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
18 | COMPATIBLE_MACHINE = "c66x" | ||
19 | |||
20 | CLEANBROKEN = "1" | ||
21 | |||
22 | IBL_BOOT_GIT_URI = "git://git.ti.com/keystone-rtos/ibl.git" | ||
23 | IBL_BOOT_GIT_PROTOCOL = "git" | ||
24 | IBL_BOOT_GIT_BRANCH = "master" | ||
25 | IBL_BOOT_SRCREV = "ed3f0989d8cdc813b7ca1ed899c4d84b63de3a75" | ||
26 | |||
27 | BRANCH = "${IBL_BOOT_GIT_BRANCH}" | ||
28 | SRC_URI = "${IBL_BOOT_GIT_URI};protocol=${IBL_BOOT_GIT_PROTOCOL};branch=${BRANCH}" | ||
29 | SRCREV = "${IBL_BOOT_SRCREV}" | ||
30 | |||
31 | |||
32 | PR = "r2" | ||
33 | |||
34 | S = "${WORKDIR}/git" | ||
35 | |||
36 | PATH:prepend = "${TI_CGT6X_7_INSTALL_DIR}/bin:" | ||
37 | |||
38 | IBLTARGETS = "" | ||
39 | IBLTARGETS_c665x-evm = "evm_c6657_i2c" | ||
40 | IBLTARGETS_c667x-evm = "evm_c6678_i2c" | ||
41 | |||
42 | IBLENDIAN = "" | ||
43 | IBLENDIAN_c665x-evm = "little" | ||
44 | IBLENDIAN_c667x-evm = "little" | ||
45 | |||
46 | export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}" | ||
47 | export TOOLSC6X="${C6X_BASE_DIR}" | ||
48 | export TOOLSC6XDOS="${C6X_BASE_DIR}" | ||
49 | export TOOLSBIOSC6XDOS="${C6X_BASE_DIR}" | ||
50 | export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages" | ||
51 | |||
52 | do_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 | |||
64 | do_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 | |||
69 | FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" | ||
70 | |||
71 | INHIBIT_PACKAGE_STRIP = "1" | ||
72 | INHIBIT_SYSROOT_STRIP = "1" | ||
73 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
74 | |||
75 | INSANE_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 @@ | |||
1 | SUMMARY = "Utility for loading and running multicore applications" | ||
2 | DESCRIPTION = "Multicore Application Deployment (MAD) utility is used \ | ||
3 | for loading and running a multicore application on an embedded \ | ||
4 | processor with multiple cores. This utility package contains the \ | ||
5 | scripts to combine multiple applications for different cores into a \ | ||
6 | single binary as well as loadable application to parse and execute the applications on different cores." | ||
7 | |||
8 | LICENSE = "BSD-3-Clause" | ||
9 | LIC_FILES_CHKSUM = "file://README.txt;md5=44b2180aec0657f6b0e42e5611c0bafb" | ||
10 | |||
11 | require recipes-ti/includes/ti-paths.inc | ||
12 | |||
13 | DEPENDS = "ti-cgt6x-7-native" | ||
14 | |||
15 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
16 | COMPATIBLE_MACHINE = "c66x" | ||
17 | |||
18 | BRANCH = "master" | ||
19 | SRC_URI = "git://git.ti.com/keystone-rtos/mad-utils.git;protocol=git;branch=${BRANCH}" | ||
20 | SRCREV = "2458510f76eddfa837c2b83448965e233156944b" | ||
21 | PR = "r0" | ||
22 | |||
23 | S = "${WORKDIR}/git" | ||
24 | |||
25 | export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}" | ||
26 | PATH:prepend = "${TI_CGT6X_7_INSTALL_DIR}/bin:" | ||
27 | |||
28 | DEVICE = "" | ||
29 | DEVICE_c665x-evm = "C6657" | ||
30 | DEVICE_c667x-evm = "C6678" | ||
31 | |||
32 | ENDIAN = "" | ||
33 | ENDIAN_c665x-evm = "little big" | ||
34 | ENDIAN_c667x-evm = "little big" | ||
35 | |||
36 | do_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 | |||
50 | do_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 | |||
55 | FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils" | ||
56 | |||
57 | INSANE_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 @@ | |||
1 | DESCRIPTION = "NETCP PA firmware for Keystone" | ||
2 | |||
3 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
4 | |||
5 | PV = "${NETCP_PA_FW_VERSION}" | ||
6 | PR = "${INC_PR}.1" | ||
7 | |||
8 | CLEANBROKEN = "1" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "k2hk|k2l|k2e" | ||
11 | |||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | FWBASENAME = " \ | ||
17 | ks2_pa_eg0_pdsp0 \ | ||
18 | ks2_pa_eg0_pdsp1 \ | ||
19 | ks2_pa_eg0_pdsp2 \ | ||
20 | ks2_pa_eg1_pdsp0 \ | ||
21 | ks2_pa_eg2_pdsp0 \ | ||
22 | ks2_pa_in0_pdsp0 \ | ||
23 | ks2_pa_in0_pdsp1 \ | ||
24 | ks2_pa_in1_pdsp0 \ | ||
25 | ks2_pa_in1_pdsp1 \ | ||
26 | ks2_pa_in2_pdsp0 \ | ||
27 | ks2_pa_in3_pdsp0 \ | ||
28 | ks2_pa_in4_pdsp0 \ | ||
29 | ks2_pa_in4_pdsp1 \ | ||
30 | ks2_pa_post_pdsp0 \ | ||
31 | ks2_pa_post_pdsp1 \ | ||
32 | " | ||
33 | |||
34 | FWBASENAME:k2hk = " \ | ||
35 | ks2_pa_pdsp0_classify1 \ | ||
36 | ks2_pa_pdsp1_classify1 \ | ||
37 | ks2_pa_pdsp2_classify1 \ | ||
38 | ks2_pa_pdsp3_classify2 \ | ||
39 | ks2_pa_pdsp4_pam \ | ||
40 | ks2_pa_pdsp5_pam \ | ||
41 | " | ||
42 | |||
43 | do_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 | |||
50 | FILES:${PN} = "${base_libdir}/firmware" | ||
diff --git a/recipes-bsp/netcp-sa-fw/netcp-sa-fw_git.bb b/recipes-bsp/netcp-sa-fw/netcp-sa-fw_git.bb deleted file mode 100644 index ec3c30fb..00000000 --- a/recipes-bsp/netcp-sa-fw/netcp-sa-fw_git.bb +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | DESCRIPTION = "NETCP SA firmware for Keystone" | ||
2 | |||
3 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
4 | |||
5 | PV = "${NETCP_SA_FW_VERSION}" | ||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | CLEANBROKEN = "1" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "keystone" | ||
11 | |||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | TARGET = "sa_mci.fw" | ||
17 | |||
18 | do_install() { | ||
19 | install -d ${D}${base_libdir}/firmware | ||
20 | install -m 0644 ${S}/ti-keystone/${TARGET} ${D}${base_libdir}/firmware/${TARGET} | ||
21 | } | ||
22 | |||
23 | FILES:${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 @@ | |||
1 | inherit ti-pdk | ||
2 | require recipes-bsp/osal/osal.inc | ||
3 | |||
4 | PR = "${INC_PR}.0" | ||
5 | |||
6 | COMPATIBLE_MACHINE:append = "|c66x|k3" | ||
7 | |||
8 | DEPENDS:append:ti33x = " starterware-rtos" | ||
9 | DEPENDS:append:ti43x = " starterware-rtos" | ||
10 | |||
11 | # Build with make instead of XDC | ||
12 | TI_PDK_XDCMAKE = "0" | ||
13 | |||
14 | export PDK_OSAL_ROOT_PATH ="${WORKDIR}/build" | ||
15 | export DEST_ROOT="${S}" | ||
16 | |||
17 | # HTML doc link params | ||
18 | PDK_COMP_LINK_TEXT = "OSAL Library" | ||
diff --git a/recipes-bsp/osal/osal-test_git.bb b/recipes-bsp/osal/osal-test_git.bb deleted file mode 100644 index 354aa797..00000000 --- a/recipes-bsp/osal/osal-test_git.bb +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | DESCRIPTION = "TI OSAL tests" | ||
2 | |||
3 | DEPENDS="common-csl-ip osal" | ||
4 | |||
5 | include osal.inc | ||
6 | |||
7 | PR = "${INC_PR}.1" | ||
8 | |||
9 | EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S}" | ||
10 | |||
11 | do_compile () { | ||
12 | # Build the tests | ||
13 | oe_runmake clean | ||
14 | oe_runmake tests | ||
15 | } | ||
16 | |||
17 | do_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 @@ | |||
1 | LICENSE = "BSD-3-Clause" | ||
2 | LIC_FILES_CHKSUM = "file://osal.h;beginline=1;endline=31;md5=6fbde6922f8bca1e6cd371d3c2faa4f9" | ||
3 | |||
4 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1" | ||
5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
6 | |||
7 | inherit ti-pdk-fetch | ||
8 | |||
9 | TI_PDK_COMP = "ti.osal" | ||
10 | |||
11 | PE = "1" | ||
12 | |||
13 | INC_PR = "r0" | ||
14 | |||
15 | INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libdir}/libosal.a" | ||
diff --git a/recipes-bsp/osal/osal_git.bb b/recipes-bsp/osal/osal_git.bb deleted file mode 100644 index 4f881d2e..00000000 --- a/recipes-bsp/osal/osal_git.bb +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | DESCRIPTION = "TI OSAL library for Linux" | ||
2 | |||
3 | DEPENDS="common-csl-ip" | ||
4 | |||
5 | include osal.inc | ||
6 | |||
7 | PR = "${INC_PR}.1" | ||
8 | |||
9 | EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" | ||
10 | |||
11 | do_compile () { | ||
12 | # Build the lib | ||
13 | oe_runmake clean | ||
14 | oe_runmake lib | ||
15 | } | ||
16 | |||
17 | do_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 @@ | |||
1 | inherit ti-pdk | ||
2 | require pktlib.inc | ||
3 | |||
4 | PR = "${INC_PR}.1" | ||
5 | |||
6 | DEPENDS:append = " rm-lld-rtos \ | ||
7 | qmss-lld-rtos \ | ||
8 | cppi-lld-rtos \ | ||
9 | " | ||
10 | COMPATIBLE_MACHINE:append = "|c66x" | ||
diff --git a/recipes-bsp/pktlib/pktlib.inc b/recipes-bsp/pktlib/pktlib.inc deleted file mode 100644 index af3f8bb1..00000000 --- a/recipes-bsp/pktlib/pktlib.inc +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | DESCRIPTION = "Provides library for handling packet descriptors for keystone devices" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://docs/Doxyfile;md5=91d01dc3788e1f405f000b2089191a0a" | ||
4 | |||
5 | COMPATIBLE_MACHINE = "keystone" | ||
6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
7 | |||
8 | PKTLIB_GIT_URI = "git://git.ti.com/keystone-rtos/pktlib.git" | ||
9 | PKTLIB_GIT_PROTOCOL = "git" | ||
10 | PKTLIB_GIT_BRANCH = "master" | ||
11 | PKTLIB_GIT_DESTSUFFIX = "git/ti/runtime/pktlib" | ||
12 | |||
13 | # Below commit ID corresponds to "DEV.PKTLIB.2.1.0.8B" | ||
14 | PKTLIB_SRCREV = "6d3758fda4c8c40fa9bd1194a9c713c9675b5a40" | ||
15 | |||
16 | BRANCH = "${PKTLIB_GIT_BRANCH}" | ||
17 | # Don't use DESTSUFFIX when cloning since repo contains ti/runtime/pktlib directory tree | ||
18 | SRC_URI = "${PKTLIB_GIT_URI};protocol=${PKTLIB_GIT_PROTOCOL};branch=${BRANCH}" | ||
19 | |||
20 | SRCREV = "${PKTLIB_SRCREV}" | ||
21 | PV = "2.1.0.8B" | ||
22 | INC_PR = "r0" | ||
23 | |||
24 | S = "${WORKDIR}/${PKTLIB_GIT_DESTSUFFIX}" | ||
diff --git a/recipes-bsp/pktlib/pktlib_git.bb b/recipes-bsp/pktlib/pktlib_git.bb deleted file mode 100644 index b15b61b2..00000000 --- a/recipes-bsp/pktlib/pktlib_git.bb +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | DESCRIPTION = "Provides library for handling packet descriptors for keystone devices" | ||
2 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462" | ||
3 | |||
4 | DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld" | ||
5 | |||
6 | include pktlib.inc | ||
7 | |||
8 | PR = "${INC_PR}.1" | ||
9 | |||
10 | EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}" | ||
11 | |||
12 | do_compile () { | ||
13 | oe_runmake lib | ||
14 | } | ||
15 | |||
16 | do_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 @@ | |||
1 | SUMMARY = "Programmable Real-time Unit PWM Firmware" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | |||
4 | LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=32;md5=893d6a0cf1644338ea96642c0db97f59" | ||
5 | |||
6 | require recipes-ti/includes/ti-paths.inc | ||
7 | |||
8 | COMPATIBLE_MACHINE = "am65xx" | ||
9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
10 | |||
11 | |||
12 | |||
13 | inherit ti-pdk-fetch | ||
14 | |||
15 | TI_PDK_COMP = "ti.drv.pruss.example.apps.icssg_pwm.firmware.src" | ||
16 | |||
17 | PE = "1" | ||
18 | |||
19 | DEPENDS = "ti-cgt-pru-native pru-icss common-csl-ip-rtos" | ||
20 | |||
21 | |||
22 | EXTRA_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 | |||
28 | do_compile() { | ||
29 | oe_runmake | ||
30 | } | ||
31 | |||
32 | do_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 | |||
37 | FILES:${PN} = "/lib/firmware" | ||
38 | |||
39 | INSANE_SKIP:${PN} = "arch" | ||
diff --git a/recipes-bsp/pru/pru-swuart-fw/0001-icss_uart-add-Makefile-for-building-firmware.patch b/recipes-bsp/pru/pru-swuart-fw/0001-icss_uart-add-Makefile-for-building-firmware.patch deleted file mode 100644 index 8414d945..00000000 --- a/recipes-bsp/pru/pru-swuart-fw/0001-icss_uart-add-Makefile-for-building-firmware.patch +++ /dev/null | |||
@@ -1,145 +0,0 @@ | |||
1 | From d37359e7b2bd26da4d04fc97a94967cf457558e9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Dmytriyenko <denys@ti.com> | ||
3 | Date: Tue, 6 Aug 2019 19:50:59 -0400 | ||
4 | Subject: [PATCH] icss_uart: add Makefile for building firmware | ||
5 | |||
6 | Signed-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 | |||
12 | diff --git a/firmware/icss_uart/src/Makefile b/firmware/icss_uart/src/Makefile | ||
13 | new file mode 100644 | ||
14 | index 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 | -- | ||
144 | 2.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 @@ | |||
1 | From 1b853cfd6194d3855310f47d43cb8c9f498b6182 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bin Liu <b-liu@ti.com> | ||
3 | Date: Wed, 27 Feb 2019 14:38:43 -0600 | ||
4 | Subject: [PATCH] icss_uart: remove dependency on PDK/CSL | ||
5 | |||
6 | Signed-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 | |||
11 | diff --git a/firmware/icss_uart/src/icss_ctrl_regs.h b/firmware/icss_uart/src/icss_ctrl_regs.h | ||
12 | index 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 | -- | ||
53 | 2.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 @@ | |||
1 | SUMMARY = "Programmable Real-time Unit Software UART Firmware" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | |||
4 | LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=1;endline=31;md5=94b6a199da1caf777f6756cb70aca4a7" | ||
5 | |||
6 | require recipes-ti/includes/ti-paths.inc | ||
7 | |||
8 | COMPATIBLE_MACHINE = "ti33x" | ||
9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
10 | |||
11 | |||
12 | inherit ti-pdk-fetch | ||
13 | |||
14 | TI_PDK_COMP = "ti.drv.uart" | ||
15 | |||
16 | PE = "1" | ||
17 | |||
18 | SRC_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 | |||
23 | DEPENDS = "ti-cgt-pru-native pru-icss" | ||
24 | |||
25 | |||
26 | export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}" | ||
27 | export PRU_SSP = "${STAGING_DIR_TARGET}/usr" | ||
28 | |||
29 | do_compile() { | ||
30 | oe_runmake -C firmware/icss_uart/src | ||
31 | } | ||
32 | |||
33 | do_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 | |||
38 | FILES:${PN} = "/lib/firmware" | ||
39 | |||
40 | INSANE_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 @@ | |||
1 | DESCRIPTION = "QMSS PDSP firmware" | ||
2 | |||
3 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
4 | |||
5 | LICENSE = "TI-TFL" | ||
6 | LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c" | ||
7 | |||
8 | PV = "${QMSS_PDSP_FW_VERSION}" | ||
9 | PR = "${INC_PR}.1" | ||
10 | |||
11 | CLEANBROKEN = "1" | ||
12 | |||
13 | COMPATIBLE_MACHINE = "keystone" | ||
14 | |||
15 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | ORIGIN = "ks2_qmss_pdsp_acc48_k2_le_1_0_0_9.bin" | ||
19 | TARGET = "ks2_qmss_pdsp_acc48.bin" | ||
20 | |||
21 | do_install() { | ||
22 | install -d ${D}${base_libdir}/firmware | ||
23 | install -m 0644 ${S}/ti-keystone/${ORIGIN} ${D}${base_libdir}/firmware/${TARGET} | ||
24 | } | ||
25 | |||
26 | FILES:${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 @@ | |||
1 | SUMMARY = "TI RTOS low level driver for SCICLIENT" | ||
2 | |||
3 | inherit ti-pdk ti-pdk-fetch | ||
4 | |||
5 | TI_PDK_COMP = "ti.drv.sciclient" | ||
6 | |||
7 | PE = "1" | ||
8 | |||
9 | LICENSE = "BSD-3-Clause" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=99d7639a81c1ba1f16fd070a928ffddb" | ||
11 | |||
12 | COMPATIBLE_MACHINE = "k3" | ||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
14 | |||
15 | PR = "r1" | ||
16 | |||
17 | DEPENDS:append = " osal-rtos common-csl-ip-rtos openssl-native" | ||
18 | |||
19 | # Build with make instead of XDC | ||
20 | TI_PDK_XDCMAKE = "0" | ||
21 | |||
22 | SCICLIENT_PACKAGE_BASE = "${WORKDIR}/sciclient_base" | ||
23 | SCICLIENT_ROOTPATH = "${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/sciclient" | ||
24 | |||
25 | export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages" | ||
26 | export PDK_SCICLIENT_ROOT_PATH = "${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/packages" | ||
27 | |||
28 | BUILD_HS = "" | ||
29 | BUILD_HS:am65xx-hs-evm = "yes" | ||
30 | BUILD_HS:j7-hs-evm = "yes" | ||
31 | export BUILD_HS | ||
32 | |||
33 | # Sciclient for am65x supports mcu1_1 in addition to the default cores in TI_PDK_LIMIT_CORES | ||
34 | TI_PDK_LIMIT_CORES:append:am65xx = " mcu1_1" | ||
35 | |||
36 | # HTML doc link params | ||
37 | PDK_COMP_LINK_TEXT = "SCICLIENT" | ||
38 | |||
39 | do_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 | |||
54 | do_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 | |||
69 | do_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 | |||
82 | do_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 | |||
95 | do_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 | |||
103 | do_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 | |||
111 | do_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 | |||
117 | FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" | ||
118 | |||
119 | INSANE_SKIP:${PN} = "arch ldflags file-rdeps" | ||
120 | |||
121 | INSANE_SKIP:${PN}-dbg = "arch" | ||
122 | |||
123 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
124 | INHIBIT_PACKAGE_STRIP = "1" | ||
125 | INHIBIT_SYSROOT_STRIP = "1" | ||
diff --git a/recipes-bsp/serdes-diag/serdes-diag-rtos_git.bb b/recipes-bsp/serdes-diag/serdes-diag-rtos_git.bb deleted file mode 100644 index 3e87928d..00000000 --- a/recipes-bsp/serdes-diag/serdes-diag-rtos_git.bb +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | SUMMARY = "TI RTOS library for SERDES diagnostics" | ||
2 | |||
3 | inherit ti-pdk | ||
4 | |||
5 | LICENSE = "BSD-3-Clause" | ||
6 | LIC_FILES_CHKSUM = "file://serdes_diag.h;beginline=1;endline=42;;md5=68e7ce6fdc0e9328fa7d0ec41c54420c" | ||
7 | |||
8 | COMPATIBLE_MACHINE = "keystone|c66x|k3" | ||
9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
10 | |||
11 | SERDES_DIAG_GIT_URI = "git://git.ti.com/keystone-rtos/serdes_diag.git" | ||
12 | SERDES_DIAG_GIT_PROTOCOL = "git" | ||
13 | SERDES_DIAG_GIT_BRANCH = "master" | ||
14 | SERDES_DIAG_GIT_DESTSUFFIX = "git/ti/diag/serdes_diag" | ||
15 | |||
16 | # Below commit ID corresponds to "DEV.DIAG_SERDES_SB.01.00.00.13" | ||
17 | SERDES_DIAG_SRCREV = "6dd7cd2170efe3cb41cc424486ba55b8d5bba354" | ||
18 | |||
19 | BRANCH = "${SERDES_DIAG_GIT_BRANCH}" | ||
20 | SRC_URI = "${SERDES_DIAG_GIT_URI};destsuffix=${SERDES_DIAG_GIT_DESTSUFFIX};protocol=${SERDES_DIAG_GIT_PROTOCOL};branch=${BRANCH}" | ||
21 | |||
22 | SRCREV = "${SERDES_DIAG_SRCREV}" | ||
23 | PV = "01.00.00.13" | ||
24 | PR = "r0" | ||
25 | |||
26 | S = "${WORKDIR}/${SERDES_DIAG_GIT_DESTSUFFIX}" | ||
27 | |||
28 | |||
29 | # Build with make instead of XDC for k3 | ||
30 | TI_PDK_XDCMAKE:k3 = "0" | ||
31 | |||
32 | # HTML doc link params | ||
33 | PDK_COMP_LINK_TEXT = "SERDES Diagnostics" | ||
34 | |||
35 | INSANE_SKIP:${PN} = "arch" | ||
diff --git a/recipes-bsp/serdes-fw/serdes-fw_git.bb b/recipes-bsp/serdes-fw/serdes-fw_git.bb deleted file mode 100644 index 6f79c64d..00000000 --- a/recipes-bsp/serdes-fw/serdes-fw_git.bb +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | DESCRIPTION = "SerDes firmware for Keystone PCIe and 1/10GigE" | ||
2 | |||
3 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
4 | |||
5 | LICENSE = "TI-TFL" | ||
6 | LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c" | ||
7 | |||
8 | PV = "${SERDES_FW_VERSION}" | ||
9 | PR = "${INC_PR}.0" | ||
10 | |||
11 | CLEANBROKEN = "1" | ||
12 | |||
13 | COMPATIBLE_MACHINE = "keystone" | ||
14 | |||
15 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | TARGET = "ks2_pcie_serdes.bin ks2_gbe_serdes.bin ks2_xgbe_serdes.bin" | ||
19 | |||
20 | do_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 | |||
27 | FILES:${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 @@ | |||
1 | DESCRIPTION = "TI Smart Reflex temperature control application for KeyStone II" | ||
2 | HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/srss-tc.git" | ||
3 | LICENSE = "BSD & MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51" | ||
5 | COMPATIBLE_MACHINE = "keystone" | ||
6 | |||
7 | PV = "1.0.0.1" | ||
8 | |||
9 | BRANCH = "master" | ||
10 | # This commit corresponds to tag DEV.SRSS-TC-01.00.00.01A | ||
11 | SRCREV = "107cd1433ef5785e5647ef086a4cc77566506604" | ||
12 | |||
13 | SRC_URI = "git://git.ti.com/keystone-linux/srss-tc.git;protocol=git;branch=${BRANCH}" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | SRSS_BIN_NAME = "srss_tc.out" | ||
18 | INITSCRIPT_NAME = "run_srss_tc.sh" | ||
19 | INITSCRIPT_PARAMS = "defaults 10" | ||
20 | |||
21 | inherit update-rc.d | ||
22 | LDFLAGS += "-lrt" | ||
23 | CFLAGS += "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" | ||
24 | |||
25 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" | ||
26 | |||
27 | do_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 @@ | |||
1 | require starterware.inc | ||
2 | |||
3 | DEPENDS = "gcc-arm-baremetal-native ti-pdk-build-rtos ti-xdctools-native" | ||
4 | |||
5 | require recipes-ti/includes/ti-paths.inc | ||
6 | |||
7 | PR = "${INC_PR}.0" | ||
8 | |||
9 | PARTNO:ti33x = "am335x" | ||
10 | PARTNO:ti43x = "am437x" | ||
11 | |||
12 | export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}" | ||
13 | export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}" | ||
14 | export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages" | ||
15 | export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}" | ||
16 | |||
17 | do_compile() { | ||
18 | cd build | ||
19 | ./release_${PARTNO}.sh | ||
20 | } | ||
21 | |||
22 | do_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 | |||
27 | FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" | ||
28 | |||
29 | INHIBIT_PACKAGE_STRIP = "1" | ||
30 | INHIBIT_SYSROOT_STRIP = "1" | ||
31 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
32 | INSANE_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 @@ | |||
1 | LICENSE = "BSD-3-Clause" | ||
2 | LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3" | ||
3 | |||
4 | COMPATIBLE_MACHINE = "ti33x|ti43x" | ||
5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
6 | |||
7 | STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git" | ||
8 | STARTERWARE_GIT_PROTOCOL = "git" | ||
9 | STARTERWARE_GIT_BRANCH = "master" | ||
10 | |||
11 | # Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.12A" | ||
12 | STARTERWARE_SRCREV = "49a4d4cd4c72bacee738d44b8e72e7f59aa948cd" | ||
13 | |||
14 | BRANCH = "${STARTERWARE_GIT_BRANCH}" | ||
15 | SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}" | ||
16 | |||
17 | SRCREV = "${STARTERWARE_SRCREV}" | ||
18 | PV = "02.01.01.12A" | ||
19 | INC_PR = "r0" | ||
20 | |||
21 | S = "${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 @@ | |||
1 | require starterware.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | ALLOW_EMPTY:${PN} = "1" | ||
6 | |||
7 | CLEANBROKEN = "1" | ||
8 | |||
9 | do_compile() { | ||
10 | : | ||
11 | } | ||
12 | |||
13 | do_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 | |||
8 | deltask do_configure | ||
9 | deltask do_compile | ||
10 | deltask do_install | ||
11 | deltask do_populate_sysroot | ||
12 | deltask do_populate_lic | ||
13 | |||
14 | RM_WORK_EXCLUDE += "${PN}" | ||
15 | EXCLUDE_FROM_WORLD = "1" | ||
16 | |||
17 | inherit nopackages ti-pdk-fetch | ||
18 | |||
19 | LICENSE = "BSD-3-Clause" | ||
20 | |||
21 | PN = "${TI_PDK_SOURCE_PN}" | ||
22 | WORKDIR = "${TI_PDK_SOURCE_WORKDIR}" | ||
23 | SSTATE_SWSPEC = "sstate:ti-pdk::${PV}:${PR}::${SSTATE_VERSION}:" | ||
24 | |||
25 | STAMP = "${STAMPS_DIR}/work-shared/ti-pdk-${PV}" | ||
26 | STAMPCLEAN = "${STAMPS_DIR}/work-shared/ti-pdk-${PV}*" | ||
27 | |||
28 | INHIBIT_DEFAULT_DEPS = "1" | ||
29 | DEPENDS = "" | ||
30 | PACKAGES = "" | ||
31 | |||
32 | SRC_URI = "${TI_PDK_GIT_URI};branch=${TI_PDK_GIT_BRANCH};protocol=${TI_PDK_GIT_PROTOCOL}" | ||
33 | SRCREV = "${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 @@ | |||
1 | DESCRIPTION = "TI SCI firmware" | ||
2 | |||
3 | LICENSE = "TI-TFL" | ||
4 | LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c" | ||
5 | |||
6 | PV = "0.1.1.50" | ||
7 | PR = "r2" | ||
8 | |||
9 | CLEANBROKEN = "1" | ||
10 | |||
11 | COMPATIBLE_MACHINE = "k2g" | ||
12 | |||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
14 | |||
15 | SRCREV = "ab507546f0f3f217f4c782a20845856e14b38224" | ||
16 | BRANCH ?= "ti-linux-firmware" | ||
17 | |||
18 | SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" | ||
19 | |||
20 | S = "${WORKDIR}/git" | ||
21 | TARGET = "ti-sci-firmware-k2g.bin" | ||
22 | |||
23 | do_install() { | ||
24 | install -d ${D}/boot | ||
25 | install -m 0644 ${S}/ti-keystone/${TARGET} ${D}/boot/${TARGET} | ||
26 | } | ||
27 | |||
28 | FILES:${PN} = "/boot" | ||
29 | |||
30 | inherit deploy | ||
31 | |||
32 | do_deploy () { | ||
33 | install -d ${DEPLOYDIR} | ||
34 | install -m 0644 ${S}/ti-keystone/${TARGET} ${DEPLOYDIR}/${TARGET} | ||
35 | } | ||
36 | |||
37 | addtask deploy before do_build after do_compile | ||
diff --git a/recipes-bsp/traceframework/traceframework-rtos_git.bb b/recipes-bsp/traceframework/traceframework-rtos_git.bb deleted file mode 100644 index 55e41188..00000000 --- a/recipes-bsp/traceframework/traceframework-rtos_git.bb +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | inherit ti-pdk | ||
2 | |||
3 | require traceframework.inc | ||
4 | |||
5 | PR = "${INC_PR}.2" | ||
6 | |||
7 | XDCPATH:append = ";${UIA_INSTALL_DIR}/packages" | ||
8 | |||
9 | # HTML doc link params | ||
10 | PDK_COMP_LINK_TEXT = "Trace Framework" | ||
diff --git a/recipes-bsp/traceframework/traceframework.inc b/recipes-bsp/traceframework/traceframework.inc deleted file mode 100644 index 2312b020..00000000 --- a/recipes-bsp/traceframework/traceframework.inc +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | LICENSE = "BSD-3-Clause" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" | ||
3 | |||
4 | COMPATIBLE_MACHINE = "tci6614-evm|keystone" | ||
5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
6 | |||
7 | TRACEFRAMEWORK_GIT_URI = "git://git.ti.com/keystone-rtos/traceframework.git" | ||
8 | TRACEFRAMEWORK_GIT_PROTOCOL = "git" | ||
9 | TRACEFRAMEWORK_GIT_BRANCH = "master" | ||
10 | TRACEFRAMEWORK_GIT_DESTSUFFIX = "git/ti/instrumentation/traceframework" | ||
11 | |||
12 | # Below commit ID corresponds to "DEV.TFWK-01.01.01.09A" | ||
13 | TRACEFRAMEWORK_SRCREV = "b7aa8d91901d1aabe2e56fabc3233ed66bf08819" | ||
14 | |||
15 | BRANCH = "${TRACEFRAMEWORK_GIT_BRANCH}" | ||
16 | SRC_URI = "${TRACEFRAMEWORK_GIT_URI};destsuffix=${TRACEFRAMEWORK_GIT_DESTSUFFIX};protocol=${TRACEFRAMEWORK_GIT_PROTOCOL};branch=${BRANCH}" | ||
17 | |||
18 | SRCREV = "${TRACEFRAMEWORK_SRCREV}" | ||
19 | PV = "01.01.01.09A" | ||
20 | INC_PR = "r0" | ||
21 | |||
22 | DEVICELIST = "k2k k2h k2e k2l" | ||
23 | DEVICELIST:k2hk = "k2k k2h" | ||
24 | DEVICELIST:k2e = "k2e" | ||
25 | DEVICELIST:k2l = "k2l" | ||
26 | |||
27 | S = "${WORKDIR}/${TRACEFRAMEWORK_GIT_DESTSUFFIX}" | ||
diff --git a/recipes-bsp/traceframework/traceframework_git.bb b/recipes-bsp/traceframework/traceframework_git.bb deleted file mode 100644 index 4c11e652..00000000 --- a/recipes-bsp/traceframework/traceframework_git.bb +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | DESCRIPTION = "TI Trace Framework library" | ||
2 | |||
3 | DEPENDS = "cuia" | ||
4 | |||
5 | include traceframework.inc | ||
6 | |||
7 | PR = "${INC_PR}.0" | ||
8 | |||
9 | BASEDIR = "${WORKDIR}/git" | ||
10 | |||
11 | EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} \ | ||
12 | CUIA_INSTALL_DIR=${STAGING_INCDIR} CUIA_LIB_DIR=${STAGING_LIBDIR}" | ||
13 | |||
14 | do_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 | |||
27 | do_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 | |||
35 | PACKAGES =+ "${PN}-test" | ||
36 | |||
37 | FILES:${PN}-test = "${bindir}/tfw*.out \ | ||
38 | ${bindir}/*.txt" | ||
39 | |||
40 | INHIBIT_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 @@ | |||
1 | SUMMARY = "RTOS driver for BMET Ethernet" | ||
2 | |||
3 | inherit ti-pdk | ||
4 | require transport.inc | ||
5 | |||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://bmet_transport.h;beginline=12;endline=40;md5=6d209c698b273aef180b0c1d38469e8e" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "k2hk|k2e|k2l" | ||
11 | |||
12 | DEPENDS:append = " qmss-lld-rtos \ | ||
13 | cppi-lld-rtos \ | ||
14 | " | ||
15 | |||
16 | TI_PDK_COMP = "ti.transport.bmet_eth" | ||
17 | |||
18 | # HTML doc link params | ||
19 | PDK_COMP_LINK_TEXT = "Baremetal Ethernet Transport" | ||
diff --git a/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb b/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb deleted file mode 100644 index a4ecaa28..00000000 --- a/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | SUMMARY = "RTOS driver for NIMU ICSS" | ||
2 | |||
3 | inherit ti-pdk | ||
4 | require transport.inc | ||
5 | |||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://nimu_icssEth.h;beginline=1;endline=35;md5=3ea633a510be24d8a89d9d08b930994c" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|c66x|omapl1|k3" | ||
11 | |||
12 | DEPENDS:append = " ti-ndk \ | ||
13 | pruss-lld-rtos \ | ||
14 | icss-emac-lld-rtos \ | ||
15 | " | ||
16 | DEPENDS:append_c665x-evm = " emac-lld-rtos" | ||
17 | DEPENDS:append_c667x-evm = " pa-lld-rtos" | ||
18 | DEPENDS:append:omapl1 = " emac-lld-rtos" | ||
19 | |||
20 | TI_PDK_COMP = "ti.transport.ndk.nimu_icss" | ||
21 | |||
22 | # Build with make instead of XDC | ||
23 | TI_PDK_XDCMAKE = "0" | ||
24 | |||
25 | export PDK_NIMU_ICSS_ROOT_PATH ="${WORKDIR}/build" | ||
26 | export DEST_ROOT="${S}" | ||
27 | |||
28 | export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}" | ||
29 | XDCPATH:append = ";${NDK_INSTALL_DIR}/packages" | ||
diff --git a/recipes-bsp/transport-rtos/nimu-rtos_git.bb b/recipes-bsp/transport-rtos/nimu-rtos_git.bb deleted file mode 100644 index b726be2c..00000000 --- a/recipes-bsp/transport-rtos/nimu-rtos_git.bb +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | SUMMARY = "RTOS driver for Network Interface Management Unit (NIMU)" | ||
2 | |||
3 | inherit ti-pdk | ||
4 | require transport.inc | ||
5 | |||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://nimu_eth.h;beginline=1;endline=35;md5=ee9c662c39d4584fb2a8b66413d2866d" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1|k3" | ||
11 | |||
12 | TI_PDK_COMP = "ti.transport.ndk.nimu" | ||
13 | |||
14 | DEPENDS:append = " ti-ndk osal-rtos" | ||
15 | DEPENDS:append:ti33x = " starterware-rtos emac-lld-rtos" | ||
16 | DEPENDS:append:ti43x = " starterware-rtos emac-lld-rtos" | ||
17 | DEPENDS:append:omap-a15 = " emac-lld-rtos" | ||
18 | DEPENDS:append:keystone = " qmss-lld-rtos cppi-lld-rtos" | ||
19 | DEPENDS:append:k2hk = " pa-lld-rtos" | ||
20 | DEPENDS:append:k2e = " pa-lld-rtos" | ||
21 | DEPENDS:append:k2l = " pa-lld-rtos" | ||
22 | DEPENDS:append:k2g = " emac-lld-rtos" | ||
23 | DEPENDS:append_c665x-evm = " emac-lld-rtos" | ||
24 | DEPENDS:append_c667x-evm = " pa-lld-rtos cppi-lld-rtos" | ||
25 | DEPENDS:append:omapl1 = " emac-lld-rtos" | ||
26 | DEPENDS:append:k3 = " emac-lld-rtos pruss-lld-rtos" | ||
27 | |||
28 | # Build with make instead of XDC | ||
29 | TI_PDK_XDCMAKE = "0" | ||
30 | |||
31 | export PDK_NIMU_ROOT_PATH ="${WORKDIR}/build" | ||
32 | export DEST_ROOT="${S}" | ||
33 | |||
34 | export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}" | ||
35 | XDCPATH:append = ";${NDK_INSTALL_DIR}/packages" | ||
diff --git a/recipes-bsp/transport-rtos/timesync-rtos_git.bb b/recipes-bsp/transport-rtos/timesync-rtos_git.bb deleted file mode 100644 index 3913ecf4..00000000 --- a/recipes-bsp/transport-rtos/timesync-rtos_git.bb +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | SUMMARY = "RTOS driver for timesync driver" | ||
2 | |||
3 | inherit ti-pdk | ||
4 | require recipes-bsp/transport-rtos/transport.inc | ||
5 | |||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://timeSync_ver.h;beginline=23;endline=45;md5=4bd873035e47065aaa811e53622992e9" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g" | ||
11 | |||
12 | DEPENDS: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 | |||
20 | TI_PDK_COMP = "ti.transport.timeSync" | ||
21 | |||
22 | # Build with make instead of XDC | ||
23 | TI_PDK_XDCMAKE = "0" | ||
24 | |||
25 | export PDK_TIMESYNC_ROOT_PATH ="${WORKDIR}/build" | ||
26 | export DEST_ROOT="${S}" | ||
27 | |||
28 | export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}" | ||
29 | export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}" | ||
30 | |||
31 | XDCPATH:append = ";${NDK_INSTALL_DIR}/packages" | ||
diff --git a/recipes-bsp/transport-rtos/transport.inc b/recipes-bsp/transport-rtos/transport.inc deleted file mode 100644 index 866d7a34..00000000 --- a/recipes-bsp/transport-rtos/transport.inc +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | LICENSE = "BSD-3-Clause" | ||
2 | |||
3 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
4 | |||
5 | inherit ti-pdk-fetch | ||
6 | |||
7 | TI_PDK_COMP = "ti.transport" | ||
8 | |||
9 | PE = "1" | ||
10 | |||
11 | INC_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 @@ | |||
1 | SUMMARY = "TI RTOS profiling utilities" | ||
2 | |||
3 | inherit ti-pdk ti-pdk-fetch | ||
4 | |||
5 | TI_PDK_COMP = "ti.utils.profiling" | ||
6 | |||
7 | PE = "1" | ||
8 | |||
9 | LICENSE = "BSD-3-Clause" | ||
10 | LIC_FILES_CHKSUM = "file://profilingver.h;beginline=1;endline=46;md5=974494ad60f33cfc0340e421c5a5a7a0" | ||
11 | |||
12 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|k3" | ||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
14 | |||
15 | |||
16 | PR = "r0" | ||
17 | |||
18 | |||
19 | # Build with make instead of XDC | ||
20 | TI_PDK_XDCMAKE = "0" | ||
21 | |||
22 | export PDK_PROFILING_ROOT_PATH ="${WORKDIR}/build" | ||
23 | export DEST_ROOT="${S}" | ||
24 | |||
25 | # HTML doc link params | ||
26 | PDK_COMP_LINK_TEXT = "Profiling Utility Library" | ||
diff --git a/recipes-bsp/utils-rtos/trace-rtos_git.bb b/recipes-bsp/utils-rtos/trace-rtos_git.bb deleted file mode 100644 index 249ffc79..00000000 --- a/recipes-bsp/utils-rtos/trace-rtos_git.bb +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | SUMMARY = "TI RTOS Trace utility" | ||
2 | |||
3 | DESCRIPTION = "This utility allows for tracing support in PDK drivers" | ||
4 | |||
5 | inherit ti-pdk ti-pdk-fetch | ||
6 | |||
7 | TI_PDK_COMP = "ti.utils.trace" | ||
8 | |||
9 | PE = "1" | ||
10 | |||
11 | LICENSE = "BSD-3-Clause" | ||
12 | LIC_FILES_CHKSUM = "file://tracever.h;beginline=19;endline=47;md5=983f531ecfc9fc8c4bc3af9333ab6696" | ||
13 | |||
14 | COMPATIBLE_MACHINE = "k3" | ||
15 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
16 | |||
17 | |||
18 | PR = "r0" | ||
19 | |||
20 | |||
21 | # Build with make instead of XDC | ||
22 | TI_PDK_XDCMAKE = "0" | ||
23 | |||
24 | export PDK_TRACE_ROOT_PATH ="${WORKDIR}/build" | ||
25 | export DEST_ROOT="${S}" | ||
26 | |||
27 | # HTML doc link params | ||
28 | PDK_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 @@ | |||
1 | SUMMARY = "Watchdog Timer (wdtimer) test example" | ||
2 | |||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://WatchdogTimer.xdc;beginline=1;endline=31;md5=837fb1761f89c7671e79bd5992bcf9e4" | ||
5 | |||
6 | inherit ti-pdk | ||
7 | |||
8 | COMPATIBLE_MACHINE = "k2hk|k2e|k2l" | ||
9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
10 | |||
11 | WATCHDOG_TIMER_GIT_URI = "git://git.ti.com/keystone-rtos/wdtimer.git" | ||
12 | WATCHDOG_TIMER_GIT_PROTOCOL = "git" | ||
13 | WATCHDOG_TIMER_GIT_BRANCH = "master" | ||
14 | WATCHDOG_TIMER_GIT_DESTSUFFIX = "git/ti/instrumentation/wdtimer" | ||
15 | |||
16 | # Below commit ID corresponds to "DEV.WDTIMER.01.00.00.04A" | ||
17 | WATCHDOG_TIMER_SRCREV = "5c382014ed02fdf054beb1dd0263758eb17c34e2" | ||
18 | |||
19 | BRANCH = "${WATCHDOG_TIMER_GIT_BRANCH}" | ||
20 | SRC_URI = "${WATCHDOG_TIMER_GIT_URI};destsuffix=${WATCHDOG_TIMER_GIT_DESTSUFFIX};protocol=${WATCHDOG_TIMER_GIT_PROTOCOL};branch=${BRANCH}" | ||
21 | |||
22 | SRCREV = "${WATCHDOG_TIMER_SRCREV}" | ||
23 | PV = "01.00.00.04A" | ||
24 | PR = "r0" | ||
25 | |||
26 | S = "${WORKDIR}/git/ti/instrumentation/wdtimer" | ||
27 | |||
28 | # HTML doc link params | ||
29 | PDK_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" | |||
29 | export IPC_INSTALL_DIR_RECIPE = "${installdir}/ti-ipc-tree" | 29 | export IPC_INSTALL_DIR_RECIPE = "${installdir}/ti-ipc-tree" |
30 | export LINK_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplink-tree" | 30 | export LINK_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplink-tree" |
31 | export LPM_INSTALL_DIR_RECIPE = "${installdir}/ti-local-power-manager-tree" | 31 | export LPM_INSTALL_DIR_RECIPE = "${installdir}/ti-local-power-manager-tree" |
32 | export NDK_INSTALL_DIR_RECIPE = "${installdir}/ti-ndk-tree" | ||
33 | export NS_INSTALL_DIR_RECIPE = "${installdir}/ti-ns-tree" | ||
34 | export OMX_INSTALL_DIR_RECIPE = "${installdir}/ti-omx-tree" | 32 | export OMX_INSTALL_DIR_RECIPE = "${installdir}/ti-omx-tree" |
35 | export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree" | 33 | export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree" |
36 | export RTFS_INSTALL_DIR_RECIPE = "${installdir}/ti-rtfs-tree" | 34 | export RTFS_INSTALL_DIR_RECIPE = "${installdir}/ti-rtfs-tree" |
@@ -81,8 +79,6 @@ export IMGLIB_C64P_INSTALL_DIR= "${STAGING_DIR_TARGET}${IMGLIB_C64P_INSTALL_DIR_ | |||
81 | export IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}${IPC_INSTALL_DIR_RECIPE}" | 79 | export IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}${IPC_INSTALL_DIR_RECIPE}" |
82 | export LINK_INSTALL_DIR = "${STAGING_DIR_TARGET}${LINK_INSTALL_DIR_RECIPE}" | 80 | export LINK_INSTALL_DIR = "${STAGING_DIR_TARGET}${LINK_INSTALL_DIR_RECIPE}" |
83 | export LPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${LPM_INSTALL_DIR_RECIPE}" | 81 | export LPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${LPM_INSTALL_DIR_RECIPE}" |
84 | export NDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${NDK_INSTALL_DIR_RECIPE}" | ||
85 | export NS_INSTALL_DIR = "${STAGING_DIR_TARGET}${NS_INSTALL_DIR_RECIPE}" | ||
86 | export OMX_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMX_INSTALL_DIR_RECIPE}" | 82 | export OMX_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMX_INSTALL_DIR_RECIPE}" |
87 | export SYSBIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECIPE}" | 83 | export SYSBIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECIPE}" |
88 | export SYSLINK_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSLINK_INSTALL_DIR_RECIPE}" | 84 | export 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 @@ | |||
1 | require recipes-ti/includes/ti-paths.inc | ||
2 | require ipc-transport.inc | ||
3 | |||
4 | PR = "${INC_PR}.1" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://common_src/bench_common.h;beginline=1;endline=31;md5=a6ddfb26d2097041d513e3881f40e4e8" | ||
7 | |||
8 | COMPATIBLE_MACHINE = "k2hk|k2l|k2e" | ||
9 | |||
10 | IPC_TRANSPORT_COMMON_DESTSUFFIX = "git/c66/example" | ||
11 | |||
12 | S = "${WORKDIR}/${IPC_TRANSPORT_COMMON_DESTSUFFIX}" | ||
13 | |||
14 | do_compile() { | ||
15 | : | ||
16 | } | ||
17 | |||
18 | do_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 | |||
23 | FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/ti/transport/ipc/c66/example/*" | ||
diff --git a/recipes-ti/ipc/ipc-transport-qmss-rtos_git.bb b/recipes-ti/ipc/ipc-transport-qmss-rtos_git.bb deleted file mode 100644 index 2dffc11e..00000000 --- a/recipes-ti/ipc/ipc-transport-qmss-rtos_git.bb +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | inherit ti-pdk | ||
2 | require ipc-transport.inc | ||
3 | |||
4 | PR = "${INC_PR}.4" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://TransportQmss.xdc;beginline=1;endline=35;md5=ad783760d74a4cc5b8d4ad3d8a1f28a2" | ||
7 | |||
8 | COMPATIBLE_MACHINE = "k2hk|k2l|k2e" | ||
9 | |||
10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
11 | |||
12 | DEPENDS:append = " qmss-lld-rtos \ | ||
13 | cppi-lld-rtos \ | ||
14 | ti-ipc-rtos \ | ||
15 | ipc-transport-common-rtos \ | ||
16 | " | ||
17 | |||
18 | IPC_TRANSPORT_QMSS_DESTSUFFIX = "git/c66/qmss" | ||
19 | |||
20 | S = "${WORKDIR}/${IPC_TRANSPORT_QMSS_DESTSUFFIX}" | ||
21 | |||
22 | export IPC_INSTALL_PATH = "${IPC_INSTALL_DIR}" | ||
23 | XDCPATH:append = ";${IPC_INSTALL_DIR}/packages" | ||
diff --git a/recipes-ti/ipc/ipc-transport-qmss-test_git.bb b/recipes-ti/ipc/ipc-transport-qmss-test_git.bb deleted file mode 100644 index 158d1856..00000000 --- a/recipes-ti/ipc/ipc-transport-qmss-test_git.bb +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | include ipc-transport-qmss.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
6 | |||
7 | DEPENDS = "ipc-transport-qmss ti-ipc" | ||
8 | |||
9 | #FILES_${PN}-test = "${bindir}/multiProcessTest_*.out" | ||
10 | |||
11 | CHOICELIST = "yes no" | ||
12 | |||
13 | DEVICELIST:k2hk = "k2h k2k" | ||
14 | DEVICELIST:k2e = "k2e" | ||
15 | DEVICELIST:k2l = "k2l" | ||
16 | |||
17 | do_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 | |||
30 | do_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 @@ | |||
1 | DESCRIPTION = "TI QMSS-Based IPC MessageQ Transport" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | |||
4 | require ipc-transport.inc | ||
5 | |||
6 | INC_PR:append = ".1" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "keystone" | ||
11 | |||
12 | S = "${WORKDIR}/git/linux/qmss" | ||
13 | |||
14 | EXTRA_OEMAKE += "PDK_INSTALL_PATH=${STAGING_INCDIR} TRANS_QMSS_SRC_DIR=${S}" | ||
diff --git a/recipes-ti/ipc/ipc-transport-qmss_git.bb b/recipes-ti/ipc/ipc-transport-qmss_git.bb deleted file mode 100644 index 93136670..00000000 --- a/recipes-ti/ipc/ipc-transport-qmss_git.bb +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | include ipc-transport-qmss.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | DEPENDS = "ti-ipc mpm-transport" | ||
6 | |||
7 | do_compile () { | ||
8 | # Now build the transport | ||
9 | oe_runmake clean | ||
10 | oe_runmake lib | ||
11 | } | ||
12 | |||
13 | do_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 | |||
19 | INHIBIT_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 @@ | |||
1 | inherit ti-pdk | ||
2 | require ipc-transport.inc | ||
3 | |||
4 | PR = "${INC_PR}.2" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://TransportSrio.xdc;beginline=1;endline=35;md5=4d466471e4b933a0cc353a46bb546fe7" | ||
7 | |||
8 | COMPATIBLE_MACHINE = "k2hk" | ||
9 | |||
10 | DEPENDS:append = " qmss-lld-rtos \ | ||
11 | cppi-lld-rtos \ | ||
12 | srio-lld-rtos \ | ||
13 | ti-ipc-rtos \ | ||
14 | ipc-transport-common-rtos \ | ||
15 | " | ||
16 | |||
17 | IPC_TRANSPORT_SRIO_DESTSUFFIX = "git/c66/srio" | ||
18 | |||
19 | S = "${WORKDIR}/${IPC_TRANSPORT_SRIO_DESTSUFFIX}" | ||
20 | |||
21 | export IPC_INSTALL_PATH = "${IPC_INSTALL_DIR}" | ||
22 | XDCPATH:append = ";${IPC_INSTALL_DIR}/packages" | ||
diff --git a/recipes-ti/ipc/ipc-transport-srio-test_git.bb b/recipes-ti/ipc/ipc-transport-srio-test_git.bb deleted file mode 100644 index 4e23fb21..00000000 --- a/recipes-ti/ipc/ipc-transport-srio-test_git.bb +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | include ipc-transport-srio.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | DEPENDS = "ipc-transport-srio ipc-transport-qmss ti-ipc" | ||
6 | |||
7 | DEVICELIST = "k2h k2k" | ||
8 | |||
9 | CHOICELIST = "yes no" | ||
10 | |||
11 | do_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 | |||
24 | do_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 @@ | |||
1 | DESCRIPTION = "TI SRIO-Based IPC MessageQ Transport" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | |||
4 | require ipc-transport.inc | ||
5 | |||
6 | INC_PR:append = ".1" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "k2hk" | ||
11 | |||
12 | S = "${WORKDIR}/git/linux/srio" | ||
13 | |||
14 | EXTRA_OEMAKE += "PDK_INSTALL_PATH=${STAGING_INCDIR} TRANS_SRIO_SRC_DIR=${S}" | ||
diff --git a/recipes-ti/ipc/ipc-transport-srio_git.bb b/recipes-ti/ipc/ipc-transport-srio_git.bb deleted file mode 100644 index 6001585a..00000000 --- a/recipes-ti/ipc/ipc-transport-srio_git.bb +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | include ipc-transport-srio.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | DEPENDS = "ti-ipc mpm-transport" | ||
6 | |||
7 | do_compile () { | ||
8 | # Now build the transport | ||
9 | oe_runmake clean | ||
10 | oe_runmake lib | ||
11 | } | ||
12 | |||
13 | do_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 | |||
19 | INHIBIT_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 @@ | |||
1 | LICENSE = "BSD-3-Clause" | ||
2 | |||
3 | IPC_TRANSPORT_GIT_URI = "git://git.ti.com/keystone-linux/ipc-transport.git" | ||
4 | IPC_TRANSPORT_GIT_PROTOCOL = "git" | ||
5 | IPC_TRANSPORT_GIT_BRANCH = "master" | ||
6 | |||
7 | # Below commit ID corresponds to "DEV.IPC-TRANSPORT.02.00.00.02A" | ||
8 | IPC_TRANSPORT_SRCREV = "f75e2e29b9b1b63443a0c82493e41dd2f771c6f5" | ||
9 | |||
10 | BRANCH = "${IPC_TRANSPORT_GIT_BRANCH}" | ||
11 | SRC_URI = "${IPC_TRANSPORT_GIT_URI};protocol=${IPC_TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}" | ||
12 | |||
13 | SRCREV = "${IPC_TRANSPORT_SRCREV}" | ||
14 | PV = "02.00.00.02A" | ||
15 | INC_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 @@ | |||
1 | DESCRIPTION = "Multiproc transport layer for KeyStone devices: Provide basic transport layer for moving data between different processing nodes" | ||
2 | HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git" | ||
3 | LICENSE = "BSD-3-Clause & MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9" | ||
5 | COMPATIBLE_MACHINE = "keystone" | ||
6 | |||
7 | DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld qmss-lld cppi-lld uio-module-drv" | ||
8 | DEPENDS:append:k2hk = " hyplnk-lld srio-lld" | ||
9 | DEPENDS:append:k2e = " hyplnk-lld" | ||
10 | |||
11 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
12 | |||
13 | SRC_URI = "git://git.ti.com/keystone-linux/mpm-transport.git;protocol=git;branch=${BRANCH}" | ||
14 | |||
15 | BRANCH = "master" | ||
16 | # This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.04.00 | ||
17 | SRCREV = "e0e44fe55bef7ddf89f7ff3574f07fa906e72a37" | ||
18 | |||
19 | PV = "2.0.4.0" | ||
20 | PR = "r0" | ||
21 | |||
22 | CC += "-fcommon" | ||
23 | EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}" | ||
24 | EXTRA_OEMAKE:append:k2hk = " HYPLNK_TRANSPORT=true SRIO_TRANSPORT=true" | ||
25 | EXTRA_OEMAKE:append:k2e = " HYPLNK_TRANSPORT=true" | ||
26 | INSANE_SKIP:${PN} += "ldflags" | ||
27 | |||
28 | S = "${WORKDIR}/git" | ||
29 | |||
30 | PACKAGES =+ "${PN}-test" | ||
31 | FILES:${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 | |||
39 | do_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 @@ | |||
1 | SUMMARY = "TI Multiproc Manager (RTOS) for KeyStone II" | ||
2 | DESCRIPTION = "Provides download, debug and other utilities for other cores in the SOC like DSP" | ||
3 | |||
4 | require recipes-ti/includes/ti-paths.inc | ||
5 | require recipes-ti/multiprocmgr/multiprocmgr.inc | ||
6 | |||
7 | DEPENDS = "ti-cgt6x-native" | ||
8 | |||
9 | PR = "${INC_PR}.2" | ||
10 | |||
11 | PACKAGES =+ "${PN}-test" | ||
12 | FILES:${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 | |||
15 | EXTRA_OEMAKE = "LOCAL_SYSROOT="${STAGING_DIR_TARGET}" \ | ||
16 | C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ | ||
17 | " | ||
18 | |||
19 | do_compile() { | ||
20 | oe_runmake c66x | ||
21 | oe_runmake test_c66x | ||
22 | } | ||
23 | |||
24 | do_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 | |||
38 | FILES:${PN}-dev += "${MPM_INSTALL_DIR_RECIPE}" | ||
39 | INSANE_SKIP:${PN}-dev = "arch" | ||
40 | INSANE_SKIP:${PN}-test = "arch" | ||
41 | |||
42 | RDEPENDS:${PN}-dev = "bash" | ||
43 | |||
44 | ALLOW_EMPTY:${PN} = "1" | ||
diff --git a/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb b/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb deleted file mode 100644 index 3d1b3aee..00000000 --- a/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | SUMMARY = "TI Multiproc Manager test code" | ||
2 | |||
3 | include multiprocmgr.inc | ||
4 | |||
5 | PR = "${INC_PR}.2" | ||
6 | |||
7 | DEPENDS = "multiprocmgr cmem" | ||
8 | RDEPENDS:${PN} = "multiprocmgr mpm-transport cmem" | ||
9 | RDEPENDS:${PN} += "multiprocmgr-rtos-test bash" | ||
10 | |||
11 | FILES:${PN} += "\ | ||
12 | ${datadir}/ti/examples/mpm \ | ||
13 | " | ||
14 | |||
15 | FILES:${PN}-dbg += "\ | ||
16 | ${datadir}/ti/examples/mpm/*/.debug \ | ||
17 | " | ||
18 | |||
19 | do_compile() { | ||
20 | oe_runmake -C ${S} test | ||
21 | } | ||
22 | |||
23 | do_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 | |||
31 | INSANE_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 @@ | |||
1 | HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/multi-proc-manager.git" | ||
2 | LICENSE = "BSD-3-Clause & MIT" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce208c498eb9669223724dc9c1d8fe4" | ||
4 | SECTION = "console" | ||
5 | COMPATIBLE_MACHINE = "keystone" | ||
6 | |||
7 | MULTIPROCMGR_GIT_URI = "git://git.ti.com/keystone-linux/multi-proc-manager.git" | ||
8 | MULTIPROCMGR_GIT_PROTOCOL = "git" | ||
9 | MULTIPROCMGR_GIT_BRANCH = "master" | ||
10 | |||
11 | # The following commits correspond to DEV.MPM-3.00.05.00 | ||
12 | MULTIPROCMGR_SRCREV = "810d8a31c797d07abe808cb3fa89465fa934d4dd" | ||
13 | |||
14 | PV = "3.0.5.0" | ||
15 | INC_PR = "r1" | ||
16 | |||
17 | BRANCH = "${MULTIPROCMGR_GIT_BRANCH}" | ||
18 | SRC_URI = "${MULTIPROCMGR_GIT_URI};protocol=${MULTIPROCMGR_GIT_PROTOCOL};branch=${BRANCH}" | ||
19 | SRCREV = "${MULTIPROCMGR_SRCREV}" | ||
20 | |||
21 | S = "${WORKDIR}/git" | ||
diff --git a/recipes-ti/multiprocmgr/multiprocmgr/mpmsrv-daemon.service b/recipes-ti/multiprocmgr/multiprocmgr/mpmsrv-daemon.service deleted file mode 100644 index 40eb4650..00000000 --- a/recipes-ti/multiprocmgr/multiprocmgr/mpmsrv-daemon.service +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | [Unit] | ||
2 | Description=TI Multiproc Manager | ||
3 | |||
4 | [Service] | ||
5 | ExecStartPre=/sbin/modprobe keystone_remoteproc | ||
6 | ExecStartPre=/sbin/modprobe keystone_dsp_mem | ||
7 | ExecStartPre=/sbin/modprobe uio_module_drv | ||
8 | |||
9 | Type=forking | ||
10 | PIDFile=/var/run/mpm/pid | ||
11 | ExecStart=/usr/bin/mpmsrv | ||
12 | |||
13 | [Install] | ||
14 | WantedBy=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 @@ | |||
1 | SUMMARY = "TI Multiproc Manager for KeyStone II" | ||
2 | DESCRIPTION = "Provides download, debug and other utilities for other cores in the SOC like DSP" | ||
3 | |||
4 | include multiprocmgr.inc | ||
5 | |||
6 | SRC_URI += " \ | ||
7 | file://mpmsrv-daemon.service \ | ||
8 | " | ||
9 | |||
10 | PR = "${INC_PR}.2" | ||
11 | |||
12 | DEPENDS = "mpm-transport libdaemon virtual/kernel cmem" | ||
13 | |||
14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
15 | |||
16 | INITSCRIPT_NAME = "mpmsrv-daemon.sh" | ||
17 | INITSCRIPT_PARAMS = "defaults 10" | ||
18 | |||
19 | SYSTEMD_SERVICE:${PN} = "mpmsrv-daemon.service" | ||
20 | |||
21 | inherit update-rc.d systemd | ||
22 | |||
23 | do_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 | |||
44 | INSANE_SKIP:${PN} = "ldflags" | ||
diff --git a/recipes-ti/ndk/ti-ndk.inc b/recipes-ti/ndk/ti-ndk.inc deleted file mode 100644 index 89c1adf8..00000000 --- a/recipes-ti/ndk/ti-ndk.inc +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | SUMMARY = "TI RTOS_Networking" | ||
2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/index.html" | ||
3 | SECTION = "devel" | ||
4 | LICENSE = "BSD" | ||
5 | |||
6 | require recipes-ti/includes/ti-paths.inc | ||
7 | |||
8 | S = "${WORKDIR}/ndk_${PV}" | ||
9 | SRC_URI = "http://software-dl.ti.com/targetcontent/ndk/${PV}/exports/ndk_${PV}.zip;name=ndkzip" | ||
10 | |||
11 | do_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 | |||
17 | ALLOW_EMPTY:${PN} = "1" | ||
18 | FILES:${PN}-dev += "${NDK_INSTALL_DIR_RECIPE}" | ||
19 | |||
20 | INSANE_SKIP:${PN}-dev = "arch ldflags staticdev file-rdeps" | ||
diff --git a/recipes-ti/ndk/ti-ndk_3.61.01.01.bb b/recipes-ti/ndk/ti-ndk_3.61.01.01.bb deleted file mode 100644 index 41e8bc1e..00000000 --- a/recipes-ti/ndk/ti-ndk_3.61.01.01.bb +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | require ti-ndk.inc | ||
2 | |||
3 | PE = "1" | ||
4 | PV = "3_61_01_01" | ||
5 | PR = "r0" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://manifest_ndk_${PV}.html;md5=871c716abcf52bac5a7c23154eaba3b6" | ||
8 | |||
9 | SRC_URI[ndkzip.md5sum] = "87f0494c9faee344fe93ae68e71ca189" | ||
10 | SRC_URI[ndkzip.sha256sum] = "3bfca50367432603ebc1d53d9185302bb4fa4558ac766696f086dc7a5a2ccd29" | ||
11 | |||
12 | INHIBIT_PACKAGE_STRIP = "1" | ||
13 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
14 | INHIBIT_SYSROOT_STRIP = "1" | ||
15 | |||
16 | COMPATIBLE_HOST ?= "null" | ||
17 | COMPATIBLE_HOST:ti-soc = "(.*)" | ||
diff --git a/recipes-ti/ns/ti-ns.inc b/recipes-ti/ns/ti-ns.inc deleted file mode 100644 index a6b37c6b..00000000 --- a/recipes-ti/ns/ti-ns.inc +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | SUMMARY = "TI Network Services" | ||
2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ns/index.html" | ||
3 | SECTION = "devel" | ||
4 | LICENSE = "BSD" | ||
5 | |||
6 | require recipes-ti/includes/ti-paths.inc | ||
7 | |||
8 | S = "${WORKDIR}/ns_${PV}" | ||
9 | |||
10 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ns/${PV}/exports/ns_${PV}.zip;name=nszip" | ||
11 | |||
12 | do_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 | |||
18 | ALLOW_EMPTY:${PN} = "1" | ||
19 | FILES:${PN}-dev += "${NS_INSTALL_DIR_RECIPE}" | ||
20 | |||
21 | INSANE_SKIP:${PN}-dev = "arch ldflags staticdev file-rdeps" | ||
diff --git a/recipes-ti/ns/ti-ns_2.60.01.06.bb b/recipes-ti/ns/ti-ns_2.60.01.06.bb deleted file mode 100644 index 36a9003b..00000000 --- a/recipes-ti/ns/ti-ns_2.60.01.06.bb +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | require ti-ns.inc | ||
2 | |||
3 | PE = "1" | ||
4 | PV = "2_60_01_06" | ||
5 | PR = "r0" | ||
6 | SRC_URI = "http://software-dl.ti.com/targetcontent/ns/${PV}/exports/ns_${PV}.zip;name=nszip" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://manifest_ns_${PV}.html;md5=e15dc261b0ef14c6fbabba24abcde4f0" | ||
9 | |||
10 | SRC_URI[nszip.md5sum] = "b78d86423e9c4d148be5fba5903cc2c7" | ||
11 | SRC_URI[nszip.sha256sum] = "f66b2fda6ab02585020e67d84897305209f3e141847581a214ccf123c3f15f00" | ||
12 | |||
13 | INHIBIT_PACKAGE_STRIP = "1" | ||
14 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
15 | INHIBIT_SYSROOT_STRIP = "1" | ||
diff --git a/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb b/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb deleted file mode 100644 index 6b491dcc..00000000 --- a/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | DESCRIPTION = "Package containing PDK makefile infrastructure" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=1;endline=31;md5=92ab6f5e10f1502081c6080207e57ec1" | ||
4 | |||
5 | require recipes-ti/includes/ti-paths.inc | ||
6 | |||
7 | PR = "r0" | ||
8 | |||
9 | inherit ti-pdk-fetch | ||
10 | |||
11 | TI_PDK_COMP = "ti.build" | ||
12 | |||
13 | PE = "1" | ||
14 | |||
15 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3" | ||
16 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
17 | |||
18 | PARALLEL_MAKE = "" | ||
19 | CLEANBROKEN = "1" | ||
20 | |||
21 | do_compile() { | ||
22 | : | ||
23 | } | ||
24 | |||
25 | EXTRA_OEMAKE = "-f make_install LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" PDK_INSTALL_DIR="${D}${PDK_INSTALL_DIR_RECIPE}"" | ||
26 | |||
27 | do_install() { | ||
28 | oe_runmake | ||
29 | } | ||
30 | |||
31 | FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/*" | ||
32 | INSANE_SKIP:${PN} += " file-rdeps" | ||
diff --git a/recipes-ti/udma/udma_git.bb b/recipes-ti/udma/udma_git.bb deleted file mode 100644 index b6100a37..00000000 --- a/recipes-ti/udma/udma_git.bb +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | DESCRIPTION = "Provides zero copy access from user-space to packet dma channels via udma kernel driver" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | |||
4 | COMPATIBLE_MACHINE = "keystone" | ||
5 | LIC_FILES_CHKSUM = "file://include/udma.h;startline=1;endline=39;md5=ba3c7f91f970afe073b759ced61d0f27" | ||
6 | |||
7 | BRANCH = "master" | ||
8 | SRC_URI = "git://git.ti.com/keystone-linux/udma.git;protocol=git;branch=${BRANCH}" | ||
9 | S = "${WORKDIR}/git" | ||
10 | # Commit corresponds to UDMA.01.00.00.00 | ||
11 | SRCREV = "53d09fb0bc98c41c5eb43623097e363c497d6fd8" | ||
12 | |||
13 | PV = "01.00.00.00" | ||
14 | |||
15 | PACKAGES =+ "${PN}-test" | ||
16 | |||
17 | FILES:${PN}-test = "${bindir}/udma_test" | ||
18 | |||
19 | do_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 | |||
32 | INSANE_SKIP:${PN} += "textrel" | ||