summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/ipc-lld
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2022-02-22 04:13:07 +0000
committerRyan Eatmon <reatmon@ti.com>2022-02-22 12:01:30 -0600
commitdd558151806beb2ac95356a7a8275498ccddf125 (patch)
treeaebcb3192f0e813db6048c82fb965ee607af5147 /recipes-bsp/ipc-lld
parentedf5e8ca6cc0728abbc47834bcd74837621c28ec (diff)
downloadmeta-ti-dd558151806beb2ac95356a7a8275498ccddf125.tar.gz
recipes-bsp: remove Keystone1/2 LLDs
Low Level Drivers (LLDs) were used by Keystone1/2 to access peripherals by RTOS and Linux. Remove due to deprecation. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'recipes-bsp/ipc-lld')
-rw-r--r--recipes-bsp/ipc-lld/ipc-lld-examples-rtos_git.bb162
-rw-r--r--recipes-bsp/ipc-lld/ipc-lld-fw_git.bb196
-rw-r--r--recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb45
-rw-r--r--recipes-bsp/ipc-lld/ipc-lld.inc29
4 files changed, 0 insertions, 432 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
deleted file mode 100644
index 3fb6884f..00000000
--- a/recipes-bsp/ipc-lld/ipc-lld-examples-rtos_git.bb
+++ /dev/null
@@ -1,162 +0,0 @@
1SUMMARY = "echo_test for IPC-LLD"
2
3require ipc-lld.inc
4
5inherit update-alternatives
6
7DEPENDS += " ipc-lld-rtos common-csl-ip-rtos sciclient-rtos board-rtos"
8
9REMOTE_FW_DIR = "${S}/examples/yocto_bin"
10REMOTE_FW_BIN_DIR = "${REMOTE_FW_DIR}/ipc_echo_test/bin"
11REMOTE_FWB_BIN_DIR = "${REMOTE_FW_DIR}/ipc_echo_testb/bin"
12RTOS_ALL_CORES_BIN_DIR = "${REMOTE_FW_DIR}/ex02_bios_multicore_echo_test/bin"
13RTOS_2_CORES_BIN_DIR = "${REMOTE_FW_DIR}/ex01_bios_2core_echo_test/bin"
14LINUX_2_CORES_BIN_DIR = "${REMOTE_FW_DIR}/ex03_linux_bios_2core_echo_test/bin"
15LINUX_2_CORES_BAREMETAL_BIN_DIR = "${REMOTE_FW_DIR}/ex04_linux_baremetal_2core_echo_test/bin"
16
17DST_BIN_PATH = "${base_libdir}/firmware/pdk-ipc"
18
19TI_PDK_LIMIT_BOARDS:j7 = "j721e_evm"
20
21do_configure[noexec] = "1"
22
23do_compile() {
24 cd "${PDK_INSTALL_PATH}/ti/build"
25
26 for board in ${TI_PDK_LIMIT_BOARDS}
27 do
28 for core in ${TI_PDK_LIMIT_CORES}
29 do
30 oe_runmake ipc_echo_test BOARD="$board" CORE="$core" DEST_ROOT=${REMOTE_FW_DIR}
31 oe_runmake ex02_bios_multicore_echo_test BOARD="$board" CORE="$core" DEST_ROOT=${REMOTE_FW_DIR}
32 oe_runmake ex01_bios_2core_echo_test BOARD="$board" CORE="$core" DEST_ROOT=${REMOTE_FW_DIR}
33 oe_runmake ex03_linux_bios_2core_echo_test BOARD="$board" CORE="$core" DEST_ROOT=${REMOTE_FW_DIR}
34 oe_runmake ex04_linux_baremetal_2core_echo_test BOARD="$board" CORE="$core" DEST_ROOT=${REMOTE_FW_DIR}
35 oe_runmake ipc_echo_testb BOARD="$board" CORE="$core" DEST_ROOT=${REMOTE_FW_DIR}
36 done
37
38 done
39}
40
41do_install() {
42 CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
43 install -d ${D}${DST_BIN_PATH}
44
45 cp ${CP_ARGS} ${REMOTE_FW_DIR}/ex02_bios_multicore_echo_test/bin -d ${D}/ex02_bios_multicore_echo_test
46 cp ${CP_ARGS} ${REMOTE_FW_DIR}/ex01_bios_2core_echo_test/bin -d ${D}/ex01_bios_2core_echo_test
47 cp ${CP_ARGS} ${REMOTE_FW_DIR}/ex03_linux_bios_2core_echo_test/bin -d ${D}/ex03_linux_bios_2core_echo_test
48
49 for board in ${TI_PDK_LIMIT_BOARDS}
50 do
51 for core in ${TI_PDK_LIMIT_CORES}
52 do
53 install -m 0644 ${REMOTE_FW_BIN_DIR}/$board/ipc_echo_test_${core}_release* ${D}${DST_BIN_PATH}
54
55 #removing map files copied in previous line
56 rm ${D}${DST_BIN_PATH}/*.map
57 done
58
59 #remove mpu binarires
60 rm ${D}${DST_BIN_PATH}/ipc_echo_test_mpu1_0_release.xa*
61
62 done
63}
64
65do_install:append:j7() {
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}
68 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu1_1_release.xer5f ${D}${DST_BIN_PATH}
69 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu2_0_release.xer5f ${D}${DST_BIN_PATH}
70 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu2_1_release.xer5f ${D}${DST_BIN_PATH}
71 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu3_0_release.xer5f ${D}${DST_BIN_PATH}
72 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu3_1_release.xer5f ${D}${DST_BIN_PATH}
73
74 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu1_0_release_strip.xer5f ${D}${DST_BIN_PATH}
75 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu1_1_release_strip.xer5f ${D}${DST_BIN_PATH}
76 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu2_0_release_strip.xer5f ${D}${DST_BIN_PATH}
77 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu2_1_release_strip.xer5f ${D}${DST_BIN_PATH}
78 install -m 0644 ${REMOTE_FWB_BIN_DIR}/$board/ipc_echo_testb_mcu3_0_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}
81
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
84}
85
86# Set up names for the firmwares
87ALTERNATIVE:${PN}:am65xx = "\
88 am65x-mcu-r5f0_0-fw \
89 am65x-mcu-r5f0_1-fw \
90 "
91ALTERNATIVE:${PN}:j7 = "\
92 j7-mcu-r5f0_0-fw \
93 j7-mcu-r5f0_1-fw \
94 j7-main-r5f0_0-fw \
95 j7-main-r5f0_1-fw \
96 j7-main-r5f1_0-fw \
97 j7-main-r5f1_1-fw \
98 j7-c66_0-fw \
99 j7-c66_1-fw \
100 j7-c71_0-fw\
101 "
102
103# Set up link names for the firmwares
104
105TARGET_MCU_R5FSS0_0:am65xx = "am65x-mcu-r5f0_0-fw"
106TARGET_MCU_R5FSS0_1:am65xx = "am65x-mcu-r5f0_1-fw"
107
108TARGET_MCU_R5FSS0_0:j7 = "j7-mcu-r5f0_0-fw"
109TARGET_MCU_R5FSS0_1:j7 = "j7-mcu-r5f0_1-fw"
110TARGET_MAIN_R5FSS0_0:j7 = "j7-main-r5f0_0-fw"
111TARGET_MAIN_R5FSS0_1:j7 = "j7-main-r5f0_1-fw"
112TARGET_MAIN_R5FSS1_0:j7 = "j7-main-r5f1_0-fw"
113TARGET_MAIN_R5FSS1_1:j7 = "j7-main-r5f1_1-fw"
114TARGET_C66_0:j7 = "j7-c66_0-fw"
115TARGET_C66_1:j7 = "j7-c66_1-fw"
116TARGET_C7X:j7 = "j7-c71_0-fw"
117
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}"
120
121ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
122ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
123ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}"
124ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1}"
125ALTERNATIVE_LINK_NAME[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_0}"
126ALTERNATIVE_LINK_NAME[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_1}"
127ALTERNATIVE_LINK_NAME[j7-c66_0-fw] = "${base_libdir}/firmware/${TARGET_C66_0}"
128ALTERNATIVE_LINK_NAME[j7-c66_1-fw] = "${base_libdir}/firmware/${TARGET_C66_1}"
129ALTERNATIVE_LINK_NAME[j7-c71_0-fw] = "${base_libdir}/firmware/${TARGET_C7X}"
130
131# Create the firmware alternatives
132
133ALTERNATIVE_TARGET[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_0_release_strip.xer5f"
134ALTERNATIVE_TARGET[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release_strip.xer5f"
135
136ALTERNATIVE_TARGET[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f"
137ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release_strip.xer5f"
138ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_0_release_strip.xer5f"
139ALTERNATIVE_TARGET[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_1_release_strip.xer5f"
140ALTERNATIVE_TARGET[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_0_release_strip.xer5f"
141ALTERNATIVE_TARGET[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_1_release_strip.xer5f"
142ALTERNATIVE_TARGET[j7-c66_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_1_release_strip.xe66"
143ALTERNATIVE_TARGET[j7-c66_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release_strip.xe66"
144ALTERNATIVE_TARGET[j7-c71_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release_strip.xe71"
145
146ALTERNATIVE_PRIORITY = "10"
147
148#add source and all rtos binaries package
149PACKAGES =+ "${PN}-rtos"
150
151# make sure that lib/firmware, and all its contents are part of the package
152FILES:${PN} += "${base_libdir}/firmware"
153
154FILES:${PN}-rtos += "ex02_bios_multicore_echo_test"
155FILES:${PN}-rtos += "ex01_bios_2core_echo_test"
156FILES:${PN}-rtos += "ex03_linux_bios_2core_echo_test"
157FILES:${PN}-rtos += "ex04_linux_baremetal_2core_echo_test"
158
159INSANE_SKIP:${PN} = "arch ldflags file-rdeps"
160INSANE_SKIP:${PN}-rtos = "arch ldflags file-rdeps"
161
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
deleted file mode 100644
index efc56562..00000000
--- a/recipes-bsp/ipc-lld/ipc-lld-fw_git.bb
+++ /dev/null
@@ -1,196 +0,0 @@
1SUMMARY = "R5 and DSP IPC Echo Test Firmware Binaries"
2
3LICENSE = "TI-TFL"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=7eae093f2b09fd39307f30028a068b91"
5
6inherit deploy
7inherit update-alternatives
8
9COMPATIBLE_MACHINE = "k3"
10
11PV = "1.0-git${SRCPV}"
12PACKAGE_ARCH = "${MACHINE_ARCH}"
13
14PROTOCOL = "git"
15BRANCH = "master"
16SRCREV = "c9f7cfe61b67998a053fe145344ce0c9b5bb22aa"
17
18SRC_URI = "git://git.ti.com/keystone-rtos/ipc-lld.git;protocol=${PROTOCOL};branch=${BRANCH}"
19
20S = "${WORKDIR}/git"
21
22AM65X_R5_FW_DIR = "${S}/examples/echo_test/binaries/am65xx"
23J721E_R5_DSP_FW_DIR = "${S}/examples/echo_test/binaries/j721e"
24
25PLATFORM:am65xx = "am65xx"
26PLATFORM:j7 = "j7-evm"
27
28# make sure that lib/firmware, and all its contents are part of the package
29FILES:${PN} += "${base_libdir}/firmware"
30
31# install all R5 & DSP ipc echo test binaries in lib/firmware/pdk-ipc, with softlinks up a level
32do_install() {
33 install -d ${D}${base_libdir}/firmware/pdk-ipc
34}
35
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/
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/
40 install -m 0644 ${AM65X_R5_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
41}
42
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/
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/
47 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
48 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
49 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
50 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
51 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
52 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
53 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
54 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
55 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
56 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
57 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
58 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
59 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
60 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
61 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
62 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
63 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
64 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
65 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
66 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
67 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
68 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_1_release.xe66 ${D}${base_libdir}/firmware/pdk-ipc/
69 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_1_release.strip.xe66 ${D}${base_libdir}/firmware/pdk-ipc/
70 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_2_release.xe66 ${D}${base_libdir}/firmware/pdk-ipc/
71 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_2_release.strip.xe66 ${D}${base_libdir}/firmware/pdk-ipc/
72 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c7x_1_release.xe71 ${D}${base_libdir}/firmware/pdk-ipc/
73 install -m 0644 ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c7x_1_release.strip.xe71 ${D}${base_libdir}/firmware/pdk-ipc/
74}
75
76# Set up names for the firmwares
77ALTERNATIVE:${PN}:am65xx = "\
78 am65x-mcu-r5f0_0-fw \
79 am65x-mcu-r5f0_1-fw \
80 "
81ALTERNATIVE:${PN}:j7 = "\
82 j7-mcu-r5f0_0-fw \
83 j7-mcu-r5f0_1-fw \
84 j7-main-r5f0_0-fw \
85 j7-main-r5f0_1-fw \
86 j7-main-r5f1_0-fw \
87 j7-main-r5f1_1-fw \
88 j7-c66_0-fw \
89 j7-c66_1-fw \
90 j7-c71_0-fw\
91 "
92
93# Set up link names for the firmwares
94
95TARGET_MCU_R5FSS0_0:am65xx = "am65x-mcu-r5f0_0-fw"
96TARGET_MCU_R5FSS0_1:am65xx = "am65x-mcu-r5f0_1-fw"
97
98TARGET_MCU_R5FSS0_0:j7 = "j7-mcu-r5f0_0-fw"
99TARGET_MCU_R5FSS0_1:j7 = "j7-mcu-r5f0_1-fw"
100TARGET_MAIN_R5FSS0_0:j7 = "j7-main-r5f0_0-fw"
101TARGET_MAIN_R5FSS0_1:j7 = "j7-main-r5f0_1-fw"
102TARGET_MAIN_R5FSS1_0:j7 = "j7-main-r5f1_0-fw"
103TARGET_MAIN_R5FSS1_1:j7 = "j7-main-r5f1_1-fw"
104TARGET_C66_0:j7 = "j7-c66_0-fw"
105TARGET_C66_1:j7 = "j7-c66_1-fw"
106TARGET_C7X:j7 = "j7-c71_0-fw"
107
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}"
110
111ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
112ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
113ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}"
114ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1}"
115ALTERNATIVE_LINK_NAME[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_0}"
116ALTERNATIVE_LINK_NAME[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_1}"
117ALTERNATIVE_LINK_NAME[j7-c66_0-fw] = "${base_libdir}/firmware/${TARGET_C66_0}"
118ALTERNATIVE_LINK_NAME[j7-c66_1-fw] = "${base_libdir}/firmware/${TARGET_C66_1}"
119ALTERNATIVE_LINK_NAME[j7-c71_0-fw] = "${base_libdir}/firmware/${TARGET_C7X}"
120
121# Create the firmware alternatives
122
123ALTERNATIVE_TARGET[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_0_release.strip.xer5f"
124ALTERNATIVE_TARGET[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release.strip.xer5f"
125
126ALTERNATIVE_TARGET[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release.strip.xer5f"
127ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release.strip.xer5f"
128ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_0_release.strip.xer5f"
129ALTERNATIVE_TARGET[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_1_release.strip.xer5f"
130ALTERNATIVE_TARGET[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_0_release.strip.xer5f"
131ALTERNATIVE_TARGET[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_1_release.strip.xer5f"
132ALTERNATIVE_TARGET[j7-c66_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_1_release.strip.xe66"
133ALTERNATIVE_TARGET[j7-c66_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release.strip.xe66"
134ALTERNATIVE_TARGET[j7-c71_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release.strip.xe71"
135
136ALTERNATIVE_PRIORITY = "10"
137
138# copy the executables into the deploy directory
139
140do_deploy() {
141 :
142}
143
144do_deploy:am65xx() {
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}/
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}/
149}
150
151do_deploy:j7() {
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}/
154 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.xer5f ${DEPLOYDIR}/
155 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.strip.xer5f ${DEPLOYDIR}/
156 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_1_release.xer5f ${DEPLOYDIR}/
157 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${DEPLOYDIR}/
158 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_1_release.xer5f ${DEPLOYDIR}/
159 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_1_release.strip.xer5f ${DEPLOYDIR}/
160 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_0_release.xer5f ${DEPLOYDIR}/
161 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_0_release.strip.xer5f ${DEPLOYDIR}/
162 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_0_release.xer5f ${DEPLOYDIR}/
163 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_0_release.strip.xer5f ${DEPLOYDIR}/
164 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_1_release.xer5f ${DEPLOYDIR}/
165 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu2_1_release.strip.xer5f ${DEPLOYDIR}/
166 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_1_release.xer5f ${DEPLOYDIR}/
167 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_1_release.strip.xer5f ${DEPLOYDIR}/
168 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_0_release.xer5f ${DEPLOYDIR}/
169 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_0_release.strip.xer5f ${DEPLOYDIR}/
170 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_0_release.xer5f ${DEPLOYDIR}/
171 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_0_release.strip.xer5f ${DEPLOYDIR}/
172 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_1_release.xer5f ${DEPLOYDIR}/
173 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_mcu3_1_release.strip.xer5f ${DEPLOYDIR}/
174 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_1_release.xer5f ${DEPLOYDIR}/
175 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_1_release.strip.xer5f ${DEPLOYDIR}/
176 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_1_release.xe66 ${DEPLOYDIR}/
177 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_1_release.strip.xe66 ${DEPLOYDIR}/
178 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_2_release.xe66 ${DEPLOYDIR}/
179 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_2_release.strip.xe66 ${DEPLOYDIR}/
180 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c7x_1_release.xe71 ${DEPLOYDIR}/
181 install ${J721E_R5_DSP_FW_DIR}/ipc_echo_test_c7x_1_release.strip.xe71 ${DEPLOYDIR}/
182}
183
184addtask deploy after do_install before do_build
185
186# This is used to prevent the build system to strip the executables
187INHIBIT_PACKAGE_STRIP = "1"
188INHIBIT_SYSROOT_STRIP = "1"
189# This is used to prevent the build system to split the debug info in a separate file
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
192INSANE_SKIP:${PN} += "arch"
193
194# we don't want to configure and build the source code
195do_compile[noexec] = "1"
196do_configure[noexec] = "1"
diff --git a/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb b/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb
deleted file mode 100644
index 34f1f035..00000000
--- a/recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb
+++ /dev/null
@@ -1,45 +0,0 @@
1SUMMARY = "TI RTOS low level driver for IPC"
2
3require ipc-lld.inc
4
5DEPENDS += " osal-rtos common-csl-ip-rtos sciclient-rtos"
6
7do_configure() {
8 # remove any previous package
9 rm -rf ${IPCLLD_PACKAGE_BASE}
10 cd ${S}
11
12 mkdir -p ${IPCLLD_ROOTPATH}
13
14 for board in ${TI_PDK_LIMIT_BOARDS}
15 do
16 # make the release package before building it
17 oe_runmake package BOARD=$board DEST_ROOT=${IPCLLD_PACKAGE_BASE} PDK_IPC_COMP_PATH=${S}
18 done
19
20}
21
22do_compile() {
23 cd ${IPCLLD_ROOTPATH}
24
25 oe_runmake lib LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" PDK_IPC_COMP_PATH=${IPCLLD_ROOTPATH}
26}
27
28do_install() {
29 cd ${IPCLLD_ROOTPATH}
30
31 #remove prebuilt binaries
32 rm -rf examples/echo_test/binaries
33
34 #archive
35 tar -cf ipc-lld.tar --exclude='*.tar' ./*
36
37 install -d ${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}
40
41FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
42
43INSANE_SKIP:${PN} = "arch ldflags file-rdeps"
44
45INSANE_SKIP:${PN}-dbg = "arch"
diff --git a/recipes-bsp/ipc-lld/ipc-lld.inc b/recipes-bsp/ipc-lld/ipc-lld.inc
deleted file mode 100644
index 6537f520..00000000
--- a/recipes-bsp/ipc-lld/ipc-lld.inc
+++ /dev/null
@@ -1,29 +0,0 @@
1inherit ti-pdk ti-pdk-fetch
2
3TI_PDK_COMP = "ti.drv.ipc"
4
5PE = "1"
6
7LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=7eae093f2b09fd39307f30028a068b91"
9
10COMPATIBLE_MACHINE = "k3"
11PACKAGE_ARCH = "${MACHINE_ARCH}"
12
13PR = "r4"
14
15# Build with make instead of XDC
16TI_PDK_XDCMAKE = "0"
17
18IPCLLD_PACKAGE_BASE = "${WORKDIR}/ipclld_base"
19IPCLLD_ROOTPATH = "${IPCLLD_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/ipc"
20
21export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
22export PDK_IPC_ROOT_PATH = "${IPCLLD_PACKAGE_BASE}/package/all/pdk_/packages"
23
24# HTML doc link params
25PDK_COMP_LINK_TEXT = "IPCLLD"
26
27EXTRA_OEMAKE = "PDK_INSTALL_PATH=${PDK_INSTALL_PATH} "
28
29TI_PDK_LIMIT_CORES:append:am65xx-evm = " mcu1_1 "