summaryrefslogtreecommitdiffstats
path: root/recipes-ti
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2019-05-09 10:14:54 +0000
committerDenys Dmytriyenko <denys@ti.com>2019-05-09 12:49:55 +0000
commitb98c7daf0b3e000e7b99594e303a752573ffa108 (patch)
tree2111a7b38ad8602be252a615e40bcfe8068411bf /recipes-ti
parent344792b5182c27cac7fbb07843acf1120c541b8b (diff)
downloadmeta-ti-b98c7daf0b3e000e7b99594e303a752573ffa108.tar.gz
recipes: convert existing uses of am65xx-evm to am65xx SOC family
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-ti')
-rw-r--r--recipes-ti/ipc/ti-ipc-common.inc2
-rw-r--r--recipes-ti/ipc/ti-ipc-examples_git.bb2
-rw-r--r--recipes-ti/ipc/ti-ipc-rtos.inc6
-rw-r--r--recipes-ti/ipc/ti-ipc-rtos_git.bb8
4 files changed, 9 insertions, 9 deletions
diff --git a/recipes-ti/ipc/ti-ipc-common.inc b/recipes-ti/ipc/ti-ipc-common.inc
index 8401ea62..036e46d8 100644
--- a/recipes-ti/ipc/ti-ipc-common.inc
+++ b/recipes-ti/ipc/ti-ipc-common.inc
@@ -15,7 +15,7 @@ PLATFORM_k2g = "66AK2G"
15PLATFORM_omapl138 = "OMAPL138" 15PLATFORM_omapl138 = "OMAPL138"
16PLATFORM_c667x-evm = "C6678" 16PLATFORM_c667x-evm = "C6678"
17PLATFORM_c665x-evm = "C6678" 17PLATFORM_c665x-evm = "C6678"
18PLATFORM_am65xx-evm = "AM65XX" 18PLATFORM_am65xx = "AM65XX"
19 19
20ALT_PLATFORM_k2hk = "TCI6636" 20ALT_PLATFORM_k2hk = "TCI6636"
21ALT_PLATFORM_am57xx-evm = "AM572X AM571X" 21ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
diff --git a/recipes-ti/ipc/ti-ipc-examples_git.bb b/recipes-ti/ipc/ti-ipc-examples_git.bb
index d8733aeb..43e45e64 100644
--- a/recipes-ti/ipc/ti-ipc-examples_git.bb
+++ b/recipes-ti/ipc/ti-ipc-examples_git.bb
@@ -3,7 +3,7 @@ require ti-ipc-examples.inc
3 3
4DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native" 4DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native"
5 5
6DEPENDS_append_am65xx-evm = " sciclient-rtos" 6DEPENDS_append_am65xx = " sciclient-rtos"
7 7
8do_compile_append() { 8do_compile_append() {
9 9
diff --git a/recipes-ti/ipc/ti-ipc-rtos.inc b/recipes-ti/ipc/ti-ipc-rtos.inc
index 9b7bccf3..dcd6309f 100644
--- a/recipes-ti/ipc/ti-ipc-rtos.inc
+++ b/recipes-ti/ipc/ti-ipc-rtos.inc
@@ -53,7 +53,7 @@ DEPENDS_append_omapl138 = " ti-cgt6x-native \
53DEPENDS_append_c66x = " ti-cgt6x-native \ 53DEPENDS_append_c66x = " ti-cgt6x-native \
54" 54"
55 55
56DEPENDS_append_am65xx-evm = " ti-cgt-arm-native \ 56DEPENDS_append_am65xx = " ti-cgt-arm-native \
57 gcc-linaro-baremetal-aarch64-native" 57 gcc-linaro-baremetal-aarch64-native"
58 58
59IPC_TARGETS = "" 59IPC_TARGETS = ""
@@ -79,7 +79,7 @@ IPC_TARGETS_c66x = " \
79 ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ 79 ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
80" 80"
81 81
82IPC_TARGETS_am65xx-evm = "\ 82IPC_TARGETS_am65xx = "\
83 gnu.targets.arm.A53F="${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}" \ 83 gnu.targets.arm.A53F="${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}" \
84 ti.targets.arm.elf.R5F="${M4_TOOLCHAIN_INSTALL_DIR}" \ 84 ti.targets.arm.elf.R5F="${M4_TOOLCHAIN_INSTALL_DIR}" \
85" 85"
@@ -92,5 +92,5 @@ EXTRA_OEMAKE = "\
92 JOBS="--jobs=${BB_NUMBER_THREADS}" \ 92 JOBS="--jobs=${BB_NUMBER_THREADS}" \
93 JAVA_TOOL_OPTIONS=-Xss2560k \ 93 JAVA_TOOL_OPTIONS=-Xss2560k \
94" 94"
95EXTRA_OEMAKE_append_am65xx-evm = " PDK_INSTALL_DIR=${PDK_INSTALL_DIR}" 95EXTRA_OEMAKE_append_am65xx = " PDK_INSTALL_DIR=${PDK_INSTALL_DIR}"
96 96
diff --git a/recipes-ti/ipc/ti-ipc-rtos_git.bb b/recipes-ti/ipc/ti-ipc-rtos_git.bb
index 7f1cae0f..4c0e71e6 100644
--- a/recipes-ti/ipc/ti-ipc-rtos_git.bb
+++ b/recipes-ti/ipc/ti-ipc-rtos_git.bb
@@ -3,7 +3,7 @@ require ti-ipc-common.inc
3require ti-ipc-rtos.inc 3require ti-ipc-rtos.inc
4 4
5DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native" 5DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native"
6DEPENDS_append_am65xx-evm = " sciclient-rtos" 6DEPENDS_append_am65xx = " sciclient-rtos"
7 7
8PACKAGES =+ "${PN}-fw" 8PACKAGES =+ "${PN}-fw"
9FILES_${PN}-fw = "${base_libdir}/firmware/*" 9FILES_${PN}-fw = "${base_libdir}/firmware/*"
@@ -62,7 +62,7 @@ do_compile() {
62 fi 62 fi
63} 63}
64 64
65do_install_prepend_am65xx-evm () { 65do_install_prepend_am65xx () {
66 # Trim directory name 66 # Trim directory name
67 mv ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_false_R5F0 ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_R5F0 67 mv ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_false_R5F0 ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_R5F0
68 mv ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_false_R5F1 ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_R5F1 68 mv ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_false_R5F1 ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_R5F1
@@ -130,12 +130,12 @@ pkg_postrm_${PN}-fw_omapl138 () {
130 update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674 130 update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674
131} 131}
132 132
133pkg_postinst_${PN}-fw_am65xx-evm () { 133pkg_postinst_${PN}-fw_am65xx () {
134 update-alternatives --install /lib/firmware/am65x-mcu-r5f0_0-fw am65x-mcu-r5f0_0-fw ipc/ti_platforms_cortexR_AM65X_R5F0/messageq_single.xer5f ${ALTERNATIVE_PRIORITY} 134 update-alternatives --install /lib/firmware/am65x-mcu-r5f0_0-fw am65x-mcu-r5f0_0-fw ipc/ti_platforms_cortexR_AM65X_R5F0/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}
135 update-alternatives --install /lib/firmware/am65x-mcu-r5f0_1-fw am65x-mcu-r5f0_1-fw ipc/ti_platforms_cortexR_AM65X_R5F1/messageq_single.xer5f ${ALTERNATIVE_PRIORITY} 135 update-alternatives --install /lib/firmware/am65x-mcu-r5f0_1-fw am65x-mcu-r5f0_1-fw ipc/ti_platforms_cortexR_AM65X_R5F1/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}
136} 136}
137 137
138pkg_postrm_${PN}-fw_am65xx-evm () { 138pkg_postrm_${PN}-fw_am65xx () {
139 update-alternatives --remove am65x-mcu-r5f0_0-fw ipc/ti_platforms_cortexR_AM65X_R5F0/messageq_single.xer5f 139 update-alternatives --remove am65x-mcu-r5f0_0-fw ipc/ti_platforms_cortexR_AM65X_R5F0/messageq_single.xer5f
140 update-alternatives --remove am65x-mcu-r5f0_1-fw ipc/ti_platforms_cortexR_AM65X_R5F1/messageq_single.xer5f 140 update-alternatives --remove am65x-mcu-r5f0_1-fw ipc/ti_platforms_cortexR_AM65X_R5F1/messageq_single.xer5f
141} 141}