summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/ipc-lld
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2021-08-11 14:39:05 -0400
committerYogesh Siraswar <yogeshs@ti.com>2021-08-17 11:21:54 +0000
commite21c11b4a44417f67c78503bc3f954c175ac20e2 (patch)
treee1d5252c9a4cc979e67e154abeb8dd7ad0b545a7 /recipes-bsp/ipc-lld
parentf56051c9a8cf09f54c43b81301073eed71bbda97 (diff)
downloadmeta-ti-e21c11b4a44417f67c78503bc3f954c175ac20e2.tar.gz
meta-ti: convert to new override syntax in honister
Upcoming "honister" release changes the override syntax to improve usability, speed and memory footprint. Update recipes with the new syntax and set layer compatibility to honister. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Tested-by: Paul Barker <paul.barker@sancloud.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Diffstat (limited to 'recipes-bsp/ipc-lld')
-rw-r--r--recipes-bsp/ipc-lld/ipc-lld-examples-rtos_git.bb48
-rw-r--r--recipes-bsp/ipc-lld/ipc-lld-fw_git.bb42
-rw-r--r--recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb6
-rw-r--r--recipes-bsp/ipc-lld/ipc-lld.inc2
4 files changed, 49 insertions, 49 deletions
diff --git a/recipes-bsp/ipc-lld/ipc-lld-examples-rtos_git.bb b/recipes-bsp/ipc-lld/ipc-lld-examples-rtos_git.bb
index 79e5bdb9..3fb6884f 100644
--- a/recipes-bsp/ipc-lld/ipc-lld-examples-rtos_git.bb
+++ b/recipes-bsp/ipc-lld/ipc-lld-examples-rtos_git.bb
@@ -16,7 +16,7 @@ LINUX_2_CORES_BAREMETAL_BIN_DIR = "${REMOTE_FW_DIR}/ex04_linux_baremetal_2core_e
16 16
17DST_BIN_PATH = "${base_libdir}/firmware/pdk-ipc" 17DST_BIN_PATH = "${base_libdir}/firmware/pdk-ipc"
18 18
19TI_PDK_LIMIT_BOARDS_j7 = "j721e_evm" 19TI_PDK_LIMIT_BOARDS:j7 = "j721e_evm"
20 20
21do_configure[noexec] = "1" 21do_configure[noexec] = "1"
22 22
@@ -62,7 +62,7 @@ do_install() {
62 done 62 done
63} 63}
64 64
65do_install_append_j7() { 65do_install:append:j7() {
66 #copy ipc_echo_testb binaries for J721 66 #copy ipc_echo_testb binaries for J721
67 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu1_0_release.xer5f ${D}${DST_BIN_PATH} 67 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu1_0_release.xer5f ${D}${DST_BIN_PATH}
68 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu1_1_release.xer5f ${D}${DST_BIN_PATH} 68 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu1_1_release.xer5f ${D}${DST_BIN_PATH}
@@ -79,16 +79,16 @@ do_install_append_j7() {
79 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu3_1_release_strip.xer5f ${D}${DST_BIN_PATH} 79 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu3_1_release_strip.xer5f ${D}${DST_BIN_PATH}
80} 80}
81 81
82do_install_append_am65xx() { 82do_install:append:am65xx() {
83 cp ${CP_ARGS} ${REMOTE_FW_DIR}/ex04_linux_baremetal_2core_echo_test/bin -d ${D}/ex04_linux_baremetal_2core_echo_test 83 cp ${CP_ARGS} ${REMOTE_FW_DIR}/ex04_linux_baremetal_2core_echo_test/bin -d ${D}/ex04_linux_baremetal_2core_echo_test
84} 84}
85 85
86# Set up names for the firmwares 86# Set up names for the firmwares
87ALTERNATIVE_${PN}_am65xx = "\ 87ALTERNATIVE:${PN}:am65xx = "\
88 am65x-mcu-r5f0_0-fw \ 88 am65x-mcu-r5f0_0-fw \
89 am65x-mcu-r5f0_1-fw \ 89 am65x-mcu-r5f0_1-fw \
90 " 90 "
91ALTERNATIVE_${PN}_j7 = "\ 91ALTERNATIVE:${PN}:j7 = "\
92 j7-mcu-r5f0_0-fw \ 92 j7-mcu-r5f0_0-fw \
93 j7-mcu-r5f0_1-fw \ 93 j7-mcu-r5f0_1-fw \
94 j7-main-r5f0_0-fw \ 94 j7-main-r5f0_0-fw \
@@ -102,18 +102,18 @@ ALTERNATIVE_${PN}_j7 = "\
102 102
103# Set up link names for the firmwares 103# Set up link names for the firmwares
104 104
105TARGET_MCU_R5FSS0_0_am65xx = "am65x-mcu-r5f0_0-fw" 105TARGET_MCU_R5FSS0_0:am65xx = "am65x-mcu-r5f0_0-fw"
106TARGET_MCU_R5FSS0_1_am65xx = "am65x-mcu-r5f0_1-fw" 106TARGET_MCU_R5FSS0_1:am65xx = "am65x-mcu-r5f0_1-fw"
107 107
108TARGET_MCU_R5FSS0_0_j7 = "j7-mcu-r5f0_0-fw" 108TARGET_MCU_R5FSS0_0:j7 = "j7-mcu-r5f0_0-fw"
109TARGET_MCU_R5FSS0_1_j7 = "j7-mcu-r5f0_1-fw" 109TARGET_MCU_R5FSS0_1:j7 = "j7-mcu-r5f0_1-fw"
110TARGET_MAIN_R5FSS0_0_j7 = "j7-main-r5f0_0-fw" 110TARGET_MAIN_R5FSS0_0:j7 = "j7-main-r5f0_0-fw"
111TARGET_MAIN_R5FSS0_1_j7 = "j7-main-r5f0_1-fw" 111TARGET_MAIN_R5FSS0_1:j7 = "j7-main-r5f0_1-fw"
112TARGET_MAIN_R5FSS1_0_j7 = "j7-main-r5f1_0-fw" 112TARGET_MAIN_R5FSS1_0:j7 = "j7-main-r5f1_0-fw"
113TARGET_MAIN_R5FSS1_1_j7 = "j7-main-r5f1_1-fw" 113TARGET_MAIN_R5FSS1_1:j7 = "j7-main-r5f1_1-fw"
114TARGET_C66_0_j7 = "j7-c66_0-fw" 114TARGET_C66_0:j7 = "j7-c66_0-fw"
115TARGET_C66_1_j7 = "j7-c66_1-fw" 115TARGET_C66_1:j7 = "j7-c66_1-fw"
116TARGET_C7X_j7 = "j7-c71_0-fw" 116TARGET_C7X:j7 = "j7-c71_0-fw"
117 117
118ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}" 118ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
119ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}" 119ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
@@ -149,14 +149,14 @@ ALTERNATIVE_PRIORITY = "10"
149PACKAGES =+ "${PN}-rtos" 149PACKAGES =+ "${PN}-rtos"
150 150
151# make sure that lib/firmware, and all its contents are part of the package 151# make sure that lib/firmware, and all its contents are part of the package
152FILES_${PN} += "${base_libdir}/firmware" 152FILES:${PN} += "${base_libdir}/firmware"
153 153
154FILES_${PN}-rtos += "ex02_bios_multicore_echo_test" 154FILES:${PN}-rtos += "ex02_bios_multicore_echo_test"
155FILES_${PN}-rtos += "ex01_bios_2core_echo_test" 155FILES:${PN}-rtos += "ex01_bios_2core_echo_test"
156FILES_${PN}-rtos += "ex03_linux_bios_2core_echo_test" 156FILES:${PN}-rtos += "ex03_linux_bios_2core_echo_test"
157FILES_${PN}-rtos += "ex04_linux_baremetal_2core_echo_test" 157FILES:${PN}-rtos += "ex04_linux_baremetal_2core_echo_test"
158 158
159INSANE_SKIP_${PN} = "arch ldflags file-rdeps" 159INSANE_SKIP:${PN} = "arch ldflags file-rdeps"
160INSANE_SKIP_${PN}-rtos = "arch ldflags file-rdeps" 160INSANE_SKIP:${PN}-rtos = "arch ldflags file-rdeps"
161 161
162INSANE_SKIP_${PN}-dbg = "arch" 162INSANE_SKIP:${PN}-dbg = "arch"
diff --git a/recipes-bsp/ipc-lld/ipc-lld-fw_git.bb b/recipes-bsp/ipc-lld/ipc-lld-fw_git.bb
index 1be28365..efc56562 100644
--- a/recipes-bsp/ipc-lld/ipc-lld-fw_git.bb
+++ b/recipes-bsp/ipc-lld/ipc-lld-fw_git.bb
@@ -22,25 +22,25 @@ S = "${WORKDIR}/git"
22AM65X_R5_FW_DIR = "${S}/examples/echo_test/binaries/am65xx" 22AM65X_R5_FW_DIR = "${S}/examples/echo_test/binaries/am65xx"
23J721E_R5_DSP_FW_DIR = "${S}/examples/echo_test/binaries/j721e" 23J721E_R5_DSP_FW_DIR = "${S}/examples/echo_test/binaries/j721e"
24 24
25PLATFORM_am65xx = "am65xx" 25PLATFORM:am65xx = "am65xx"
26PLATFORM_j7 = "j7-evm" 26PLATFORM:j7 = "j7-evm"
27 27
28# make sure that lib/firmware, and all its contents are part of the package 28# make sure that lib/firmware, and all its contents are part of the package
29FILES_${PN} += "${base_libdir}/firmware" 29FILES:${PN} += "${base_libdir}/firmware"
30 30
31# install all R5 & DSP ipc echo test binaries in lib/firmware/pdk-ipc, with softlinks up a level 31# install all R5 & DSP ipc echo test binaries in lib/firmware/pdk-ipc, with softlinks up a level
32do_install() { 32do_install() {
33 install -d ${D}${base_libdir}/firmware/pdk-ipc 33 install -d ${D}${base_libdir}/firmware/pdk-ipc
34} 34}
35 35
36do_install_append_am65xx() { 36do_install:append:am65xx() {
37 install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/ 37 install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
38 install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/ 38 install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
39 install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/ 39 install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
40 install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/ 40 install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
41} 41}
42 42
43do_install_append_j7() { 43do_install:append:j7() {
44 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/ 44 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
45 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/ 45 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
46 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/ 46 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
@@ -74,11 +74,11 @@ do_install_append_j7() {
74} 74}
75 75
76# Set up names for the firmwares 76# Set up names for the firmwares
77ALTERNATIVE_${PN}_am65xx = "\ 77ALTERNATIVE:${PN}:am65xx = "\
78 am65x-mcu-r5f0_0-fw \ 78 am65x-mcu-r5f0_0-fw \
79 am65x-mcu-r5f0_1-fw \ 79 am65x-mcu-r5f0_1-fw \
80 " 80 "
81ALTERNATIVE_${PN}_j7 = "\ 81ALTERNATIVE:${PN}:j7 = "\
82 j7-mcu-r5f0_0-fw \ 82 j7-mcu-r5f0_0-fw \
83 j7-mcu-r5f0_1-fw \ 83 j7-mcu-r5f0_1-fw \
84 j7-main-r5f0_0-fw \ 84 j7-main-r5f0_0-fw \
@@ -92,18 +92,18 @@ ALTERNATIVE_${PN}_j7 = "\
92 92
93# Set up link names for the firmwares 93# Set up link names for the firmwares
94 94
95TARGET_MCU_R5FSS0_0_am65xx = "am65x-mcu-r5f0_0-fw" 95TARGET_MCU_R5FSS0_0:am65xx = "am65x-mcu-r5f0_0-fw"
96TARGET_MCU_R5FSS0_1_am65xx = "am65x-mcu-r5f0_1-fw" 96TARGET_MCU_R5FSS0_1:am65xx = "am65x-mcu-r5f0_1-fw"
97 97
98TARGET_MCU_R5FSS0_0_j7 = "j7-mcu-r5f0_0-fw" 98TARGET_MCU_R5FSS0_0:j7 = "j7-mcu-r5f0_0-fw"
99TARGET_MCU_R5FSS0_1_j7 = "j7-mcu-r5f0_1-fw" 99TARGET_MCU_R5FSS0_1:j7 = "j7-mcu-r5f0_1-fw"
100TARGET_MAIN_R5FSS0_0_j7 = "j7-main-r5f0_0-fw" 100TARGET_MAIN_R5FSS0_0:j7 = "j7-main-r5f0_0-fw"
101TARGET_MAIN_R5FSS0_1_j7 = "j7-main-r5f0_1-fw" 101TARGET_MAIN_R5FSS0_1:j7 = "j7-main-r5f0_1-fw"
102TARGET_MAIN_R5FSS1_0_j7 = "j7-main-r5f1_0-fw" 102TARGET_MAIN_R5FSS1_0:j7 = "j7-main-r5f1_0-fw"
103TARGET_MAIN_R5FSS1_1_j7 = "j7-main-r5f1_1-fw" 103TARGET_MAIN_R5FSS1_1:j7 = "j7-main-r5f1_1-fw"
104TARGET_C66_0_j7 = "j7-c66_0-fw" 104TARGET_C66_0:j7 = "j7-c66_0-fw"
105TARGET_C66_1_j7 = "j7-c66_1-fw" 105TARGET_C66_1:j7 = "j7-c66_1-fw"
106TARGET_C7X_j7 = "j7-c71_0-fw" 106TARGET_C7X:j7 = "j7-c71_0-fw"
107 107
108ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}" 108ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
109ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}" 109ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
@@ -141,14 +141,14 @@ do_deploy() {
141 : 141 :
142} 142}
143 143
144do_deploy_am65xx() { 144do_deploy:am65xx() {
145 install ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${DEPLOYDIR}/ 145 install ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${DEPLOYDIR}/
146 install ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${DEPLOYDIR}/ 146 install ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${DEPLOYDIR}/
147 install ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.xer5f ${DEPLOYDIR}/ 147 install ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.xer5f ${DEPLOYDIR}/
148 install ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${DEPLOYDIR}/ 148 install ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${DEPLOYDIR}/
149} 149}
150 150
151do_deploy_j7() { 151do_deploy:j7() {
152 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${DEPLOYDIR}/ 152 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${DEPLOYDIR}/
153 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${DEPLOYDIR}/ 153 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${DEPLOYDIR}/
154 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.xer5f ${DEPLOYDIR}/ 154 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.xer5f ${DEPLOYDIR}/
@@ -189,7 +189,7 @@ INHIBIT_SYSROOT_STRIP = "1"
189# This is used to prevent the build system to split the debug info in a separate file 189# This is used to prevent the build system to split the debug info in a separate file
190INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 190INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
191# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP 191# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP
192INSANE_SKIP_${PN} += "arch" 192INSANE_SKIP:${PN} += "arch"
193 193
194# we don't want to configure and build the source code 194# we don't want to configure and build the source code
195do_compile[noexec] = "1" 195do_compile[noexec] = "1"
diff --git a/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb b/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb
index e005ea70..34f1f035 100644
--- a/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb
+++ b/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb
@@ -38,8 +38,8 @@ do_install() {
38 find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/ipc \; 38 find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/ipc \;
39} 39}
40 40
41FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" 41FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
42 42
43INSANE_SKIP_${PN} = "arch ldflags file-rdeps" 43INSANE_SKIP:${PN} = "arch ldflags file-rdeps"
44 44
45INSANE_SKIP_${PN}-dbg = "arch" 45INSANE_SKIP:${PN}-dbg = "arch"
diff --git a/recipes-bsp/ipc-lld/ipc-lld.inc b/recipes-bsp/ipc-lld/ipc-lld.inc
index 2aea055f..6537f520 100644
--- a/recipes-bsp/ipc-lld/ipc-lld.inc
+++ b/recipes-bsp/ipc-lld/ipc-lld.inc
@@ -26,4 +26,4 @@ PDK_COMP_LINK_TEXT = "IPCLLD"
26 26
27EXTRA_OEMAKE = "PDK_INSTALL_PATH=${PDK_INSTALL_PATH} " 27EXTRA_OEMAKE = "PDK_INSTALL_PATH=${PDK_INSTALL_PATH} "
28 28
29TI_PDK_LIMIT_CORES_append_am65xx-evm = " mcu1_1 " 29TI_PDK_LIMIT_CORES:append:am65xx-evm = " mcu1_1 "