diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2022-02-22 04:13:07 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-02-22 12:01:30 -0600 |
commit | dd558151806beb2ac95356a7a8275498ccddf125 (patch) | |
tree | aebcb3192f0e813db6048c82fb965ee607af5147 /recipes-bsp/ipc-lld | |
parent | edf5e8ca6cc0728abbc47834bcd74837621c28ec (diff) | |
download | meta-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.bb | 162 | ||||
-rw-r--r-- | recipes-bsp/ipc-lld/ipc-lld-fw_git.bb | 196 | ||||
-rw-r--r-- | recipes-bsp/ipc-lld/ipc-lld-rtos_git.bb | 45 | ||||
-rw-r--r-- | recipes-bsp/ipc-lld/ipc-lld.inc | 29 |
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 @@ | |||
1 | SUMMARY = "echo_test for IPC-LLD" | ||
2 | |||
3 | require ipc-lld.inc | ||
4 | |||
5 | inherit update-alternatives | ||
6 | |||
7 | DEPENDS += " ipc-lld-rtos common-csl-ip-rtos sciclient-rtos board-rtos" | ||
8 | |||
9 | REMOTE_FW_DIR = "${S}/examples/yocto_bin" | ||
10 | REMOTE_FW_BIN_DIR = "${REMOTE_FW_DIR}/ipc_echo_test/bin" | ||
11 | REMOTE_FWB_BIN_DIR = "${REMOTE_FW_DIR}/ipc_echo_testb/bin" | ||
12 | RTOS_ALL_CORES_BIN_DIR = "${REMOTE_FW_DIR}/ex02_bios_multicore_echo_test/bin" | ||
13 | RTOS_2_CORES_BIN_DIR = "${REMOTE_FW_DIR}/ex01_bios_2core_echo_test/bin" | ||
14 | LINUX_2_CORES_BIN_DIR = "${REMOTE_FW_DIR}/ex03_linux_bios_2core_echo_test/bin" | ||
15 | LINUX_2_CORES_BAREMETAL_BIN_DIR = "${REMOTE_FW_DIR}/ex04_linux_baremetal_2core_echo_test/bin" | ||
16 | |||
17 | DST_BIN_PATH = "${base_libdir}/firmware/pdk-ipc" | ||
18 | |||
19 | TI_PDK_LIMIT_BOARDS:j7 = "j721e_evm" | ||
20 | |||
21 | do_configure[noexec] = "1" | ||
22 | |||
23 | do_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 | |||
41 | do_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 | |||
65 | do_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 | |||
82 | do_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 | ||
87 | ALTERNATIVE:${PN}:am65xx = "\ | ||
88 | am65x-mcu-r5f0_0-fw \ | ||
89 | am65x-mcu-r5f0_1-fw \ | ||
90 | " | ||
91 | ALTERNATIVE:${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 | |||
105 | TARGET_MCU_R5FSS0_0:am65xx = "am65x-mcu-r5f0_0-fw" | ||
106 | TARGET_MCU_R5FSS0_1:am65xx = "am65x-mcu-r5f0_1-fw" | ||
107 | |||
108 | TARGET_MCU_R5FSS0_0:j7 = "j7-mcu-r5f0_0-fw" | ||
109 | TARGET_MCU_R5FSS0_1:j7 = "j7-mcu-r5f0_1-fw" | ||
110 | TARGET_MAIN_R5FSS0_0:j7 = "j7-main-r5f0_0-fw" | ||
111 | TARGET_MAIN_R5FSS0_1:j7 = "j7-main-r5f0_1-fw" | ||
112 | TARGET_MAIN_R5FSS1_0:j7 = "j7-main-r5f1_0-fw" | ||
113 | TARGET_MAIN_R5FSS1_1:j7 = "j7-main-r5f1_1-fw" | ||
114 | TARGET_C66_0:j7 = "j7-c66_0-fw" | ||
115 | TARGET_C66_1:j7 = "j7-c66_1-fw" | ||
116 | TARGET_C7X:j7 = "j7-c71_0-fw" | ||
117 | |||
118 | ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}" | ||
119 | ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}" | ||
120 | |||
121 | ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}" | ||
122 | ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}" | ||
123 | ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}" | ||
124 | ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1}" | ||
125 | ALTERNATIVE_LINK_NAME[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_0}" | ||
126 | ALTERNATIVE_LINK_NAME[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_1}" | ||
127 | ALTERNATIVE_LINK_NAME[j7-c66_0-fw] = "${base_libdir}/firmware/${TARGET_C66_0}" | ||
128 | ALTERNATIVE_LINK_NAME[j7-c66_1-fw] = "${base_libdir}/firmware/${TARGET_C66_1}" | ||
129 | ALTERNATIVE_LINK_NAME[j7-c71_0-fw] = "${base_libdir}/firmware/${TARGET_C7X}" | ||
130 | |||
131 | # Create the firmware alternatives | ||
132 | |||
133 | ALTERNATIVE_TARGET[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_0_release_strip.xer5f" | ||
134 | ALTERNATIVE_TARGET[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release_strip.xer5f" | ||
135 | |||
136 | ALTERNATIVE_TARGET[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f" | ||
137 | ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release_strip.xer5f" | ||
138 | ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_0_release_strip.xer5f" | ||
139 | ALTERNATIVE_TARGET[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_1_release_strip.xer5f" | ||
140 | ALTERNATIVE_TARGET[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_0_release_strip.xer5f" | ||
141 | ALTERNATIVE_TARGET[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_1_release_strip.xer5f" | ||
142 | ALTERNATIVE_TARGET[j7-c66_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_1_release_strip.xe66" | ||
143 | ALTERNATIVE_TARGET[j7-c66_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release_strip.xe66" | ||
144 | ALTERNATIVE_TARGET[j7-c71_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release_strip.xe71" | ||
145 | |||
146 | ALTERNATIVE_PRIORITY = "10" | ||
147 | |||
148 | #add source and all rtos binaries package | ||
149 | PACKAGES =+ "${PN}-rtos" | ||
150 | |||
151 | # make sure that lib/firmware, and all its contents are part of the package | ||
152 | FILES:${PN} += "${base_libdir}/firmware" | ||
153 | |||
154 | FILES:${PN}-rtos += "ex02_bios_multicore_echo_test" | ||
155 | FILES:${PN}-rtos += "ex01_bios_2core_echo_test" | ||
156 | FILES:${PN}-rtos += "ex03_linux_bios_2core_echo_test" | ||
157 | FILES:${PN}-rtos += "ex04_linux_baremetal_2core_echo_test" | ||
158 | |||
159 | INSANE_SKIP:${PN} = "arch ldflags file-rdeps" | ||
160 | INSANE_SKIP:${PN}-rtos = "arch ldflags file-rdeps" | ||
161 | |||
162 | INSANE_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 @@ | |||
1 | SUMMARY = "R5 and DSP IPC Echo Test Firmware Binaries" | ||
2 | |||
3 | LICENSE = "TI-TFL" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7eae093f2b09fd39307f30028a068b91" | ||
5 | |||
6 | inherit deploy | ||
7 | inherit update-alternatives | ||
8 | |||
9 | COMPATIBLE_MACHINE = "k3" | ||
10 | |||
11 | PV = "1.0-git${SRCPV}" | ||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | PROTOCOL = "git" | ||
15 | BRANCH = "master" | ||
16 | SRCREV = "c9f7cfe61b67998a053fe145344ce0c9b5bb22aa" | ||
17 | |||
18 | SRC_URI = "git://git.ti.com/keystone-rtos/ipc-lld.git;protocol=${PROTOCOL};branch=${BRANCH}" | ||
19 | |||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | AM65X_R5_FW_DIR = "${S}/examples/echo_test/binaries/am65xx" | ||
23 | J721E_R5_DSP_FW_DIR = "${S}/examples/echo_test/binaries/j721e" | ||
24 | |||
25 | PLATFORM:am65xx = "am65xx" | ||
26 | PLATFORM:j7 = "j7-evm" | ||
27 | |||
28 | # make sure that lib/firmware, and all its contents are part of the package | ||
29 | FILES:${PN} += "${base_libdir}/firmware" | ||
30 | |||
31 | # install all R5 & DSP ipc echo test binaries in lib/firmware/pdk-ipc, with softlinks up a level | ||
32 | do_install() { | ||
33 | install -d ${D}${base_libdir}/firmware/pdk-ipc | ||
34 | } | ||
35 | |||
36 | do_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 | |||
43 | do_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 | ||
77 | ALTERNATIVE:${PN}:am65xx = "\ | ||
78 | am65x-mcu-r5f0_0-fw \ | ||
79 | am65x-mcu-r5f0_1-fw \ | ||
80 | " | ||
81 | ALTERNATIVE:${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 | |||
95 | TARGET_MCU_R5FSS0_0:am65xx = "am65x-mcu-r5f0_0-fw" | ||
96 | TARGET_MCU_R5FSS0_1:am65xx = "am65x-mcu-r5f0_1-fw" | ||
97 | |||
98 | TARGET_MCU_R5FSS0_0:j7 = "j7-mcu-r5f0_0-fw" | ||
99 | TARGET_MCU_R5FSS0_1:j7 = "j7-mcu-r5f0_1-fw" | ||
100 | TARGET_MAIN_R5FSS0_0:j7 = "j7-main-r5f0_0-fw" | ||
101 | TARGET_MAIN_R5FSS0_1:j7 = "j7-main-r5f0_1-fw" | ||
102 | TARGET_MAIN_R5FSS1_0:j7 = "j7-main-r5f1_0-fw" | ||
103 | TARGET_MAIN_R5FSS1_1:j7 = "j7-main-r5f1_1-fw" | ||
104 | TARGET_C66_0:j7 = "j7-c66_0-fw" | ||
105 | TARGET_C66_1:j7 = "j7-c66_1-fw" | ||
106 | TARGET_C7X:j7 = "j7-c71_0-fw" | ||
107 | |||
108 | ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}" | ||
109 | ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}" | ||
110 | |||
111 | ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}" | ||
112 | ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}" | ||
113 | ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}" | ||
114 | ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1}" | ||
115 | ALTERNATIVE_LINK_NAME[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_0}" | ||
116 | ALTERNATIVE_LINK_NAME[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_1}" | ||
117 | ALTERNATIVE_LINK_NAME[j7-c66_0-fw] = "${base_libdir}/firmware/${TARGET_C66_0}" | ||
118 | ALTERNATIVE_LINK_NAME[j7-c66_1-fw] = "${base_libdir}/firmware/${TARGET_C66_1}" | ||
119 | ALTERNATIVE_LINK_NAME[j7-c71_0-fw] = "${base_libdir}/firmware/${TARGET_C7X}" | ||
120 | |||
121 | # Create the firmware alternatives | ||
122 | |||
123 | ALTERNATIVE_TARGET[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_0_release.strip.xer5f" | ||
124 | ALTERNATIVE_TARGET[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release.strip.xer5f" | ||
125 | |||
126 | ALTERNATIVE_TARGET[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release.strip.xer5f" | ||
127 | ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release.strip.xer5f" | ||
128 | ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_0_release.strip.xer5f" | ||
129 | ALTERNATIVE_TARGET[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_1_release.strip.xer5f" | ||
130 | ALTERNATIVE_TARGET[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_0_release.strip.xer5f" | ||
131 | ALTERNATIVE_TARGET[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_1_release.strip.xer5f" | ||
132 | ALTERNATIVE_TARGET[j7-c66_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_1_release.strip.xe66" | ||
133 | ALTERNATIVE_TARGET[j7-c66_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release.strip.xe66" | ||
134 | ALTERNATIVE_TARGET[j7-c71_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release.strip.xe71" | ||
135 | |||
136 | ALTERNATIVE_PRIORITY = "10" | ||
137 | |||
138 | # copy the executables into the deploy directory | ||
139 | |||
140 | do_deploy() { | ||
141 | : | ||
142 | } | ||
143 | |||
144 | do_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 | |||
151 | do_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 | |||
184 | addtask deploy after do_install before do_build | ||
185 | |||
186 | # This is used to prevent the build system to strip the executables | ||
187 | INHIBIT_PACKAGE_STRIP = "1" | ||
188 | INHIBIT_SYSROOT_STRIP = "1" | ||
189 | # This is used to prevent the build system to split the debug info in a separate file | ||
190 | INHIBIT_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 | ||
192 | INSANE_SKIP:${PN} += "arch" | ||
193 | |||
194 | # we don't want to configure and build the source code | ||
195 | do_compile[noexec] = "1" | ||
196 | do_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 @@ | |||
1 | SUMMARY = "TI RTOS low level driver for IPC" | ||
2 | |||
3 | require ipc-lld.inc | ||
4 | |||
5 | DEPENDS += " osal-rtos common-csl-ip-rtos sciclient-rtos" | ||
6 | |||
7 | do_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 | |||
22 | do_compile() { | ||
23 | cd ${IPCLLD_ROOTPATH} | ||
24 | |||
25 | oe_runmake lib LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" PDK_IPC_COMP_PATH=${IPCLLD_ROOTPATH} | ||
26 | } | ||
27 | |||
28 | do_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 | |||
41 | FILES:${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" | ||
42 | |||
43 | INSANE_SKIP:${PN} = "arch ldflags file-rdeps" | ||
44 | |||
45 | INSANE_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 @@ | |||
1 | inherit ti-pdk ti-pdk-fetch | ||
2 | |||
3 | TI_PDK_COMP = "ti.drv.ipc" | ||
4 | |||
5 | PE = "1" | ||
6 | |||
7 | LICENSE = "BSD-3-Clause" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7eae093f2b09fd39307f30028a068b91" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "k3" | ||
11 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
12 | |||
13 | PR = "r4" | ||
14 | |||
15 | # Build with make instead of XDC | ||
16 | TI_PDK_XDCMAKE = "0" | ||
17 | |||
18 | IPCLLD_PACKAGE_BASE = "${WORKDIR}/ipclld_base" | ||
19 | IPCLLD_ROOTPATH = "${IPCLLD_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/ipc" | ||
20 | |||
21 | export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages" | ||
22 | export PDK_IPC_ROOT_PATH = "${IPCLLD_PACKAGE_BASE}/package/all/pdk_/packages" | ||
23 | |||
24 | # HTML doc link params | ||
25 | PDK_COMP_LINK_TEXT = "IPCLLD" | ||
26 | |||
27 | EXTRA_OEMAKE = "PDK_INSTALL_PATH=${PDK_INSTALL_PATH} " | ||
28 | |||
29 | TI_PDK_LIMIT_CORES:append:am65xx-evm = " mcu1_1 " | ||