diff options
author | Andrew Davis <afd@ti.com> | 2023-01-20 01:40:46 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-01-24 12:51:24 -0600 |
commit | f5653ce0ae0675449315a3350859f8fc2c93f530 (patch) | |
tree | 62ab1d6cd6070d51da60257866b14ae32399e406 /meta-ti-bsp/recipes-ti | |
parent | 7cd8114bb0f646225fd4cafc3c699a73caa6dc0e (diff) | |
download | meta-ti-f5653ce0ae0675449315a3350859f8fc2c93f530.tar.gz |
conf: machine: Use new J7 SoC names over specific board names
Now that we have SoC names, we can avoid adding features based on the
board name. We expect folks to create their own boards based on these
SoCs, and so using the TI made EVM board name everywhere adds extra churn
when adding a new board. Plus it is more correct for most of these
features as they depend on the SoC, not on the EVM board.
One other thing we do here is to not use the generic "j7" name,
the current and future J7 devices are far to feature diverse
to group at this level. Grouping like that will lead to the wrong
things getting enabled as new J7 SoCs are added.
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-ti')
-rw-r--r-- | meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 39 | ||||
-rw-r--r-- | meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb | 6 |
2 files changed, 21 insertions, 24 deletions
diff --git a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb index 0447bafe..9a6da088 100644 --- a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb +++ b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | |||
@@ -13,13 +13,10 @@ inherit deploy | |||
13 | inherit update-alternatives | 13 | inherit update-alternatives |
14 | 14 | ||
15 | PLAT_SFX = "" | 15 | PLAT_SFX = "" |
16 | PLAT_SFX:j7 = "j721e" | 16 | PLAT_SFX:j721e = "j721e" |
17 | PLAT_SFX:j721e-hs-evm = "j721e" | 17 | PLAT_SFX:j7200 = "j7200" |
18 | PLAT_SFX:j7200-evm = "j7200" | 18 | PLAT_SFX:j721s2 = "j721s2" |
19 | PLAT_SFX:j7200-hs-evm = "j7200" | 19 | PLAT_SFX:j784s4 = "j784s4" |
20 | PLAT_SFX:j721s2-evm = "j721s2" | ||
21 | PLAT_SFX:j721s2-hs-evm = "j721s2" | ||
22 | PLAT_SFX:j784s4-evm = "j784s4" | ||
23 | PLAT_SFX:am65xx = "am65xx" | 20 | PLAT_SFX:am65xx = "am65xx" |
24 | PLAT_SFX:am64xx = "am64xx" | 21 | PLAT_SFX:am64xx = "am64xx" |
25 | PLAT_SFX:am62xx = "am62xx" | 22 | PLAT_SFX:am62xx = "am62xx" |
@@ -50,7 +47,7 @@ LEGACY_DM_FW_DIR = "${D}${nonarch_base_libdir}/firmware/pdk-ipc/" | |||
50 | 47 | ||
51 | DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f" | 48 | DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f" |
52 | 49 | ||
53 | # J7 HS support | 50 | # J721e HS support |
54 | do_install:prepend:j721e-hs-evm() { | 51 | do_install:prepend:j721e-hs-evm() { |
55 | export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} | 52 | export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} |
56 | ( cd ${RTOS_DM_FW_DIR}; \ | 53 | ( cd ${RTOS_DM_FW_DIR}; \ |
@@ -81,7 +78,7 @@ do_install:prepend:j721e-hs-evm() { | |||
81 | ) | 78 | ) |
82 | } | 79 | } |
83 | 80 | ||
84 | # J7 HS support | 81 | # J7200 HS support |
85 | do_install:prepend:j7200-hs-evm() { | 82 | do_install:prepend:j7200-hs-evm() { |
86 | export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} | 83 | export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} |
87 | ( cd ${RTOS_DM_FW_DIR}; \ | 84 | ( cd ${RTOS_DM_FW_DIR}; \ |
@@ -102,7 +99,7 @@ do_install:prepend:j7200-hs-evm() { | |||
102 | ) | 99 | ) |
103 | } | 100 | } |
104 | 101 | ||
105 | # J7 HS support | 102 | # J721s2 HS support |
106 | do_install:prepend:j721s2-hs-evm() { | 103 | do_install:prepend:j721s2-hs-evm() { |
107 | export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} | 104 | export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} |
108 | ( cd ${RTOS_DM_FW_DIR}; \ | 105 | ( cd ${RTOS_DM_FW_DIR}; \ |
@@ -149,7 +146,7 @@ do_install() { | |||
149 | : | 146 | : |
150 | } | 147 | } |
151 | 148 | ||
152 | do_install:j7() { | 149 | do_install:j721e() { |
153 | install -d ${LEGACY_IPC_FW_DIR} | 150 | install -d ${LEGACY_IPC_FW_DIR} |
154 | install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu1_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR} | 151 | install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu1_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR} |
155 | install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR} | 152 | install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR} |
@@ -335,7 +332,7 @@ ALTERNATIVE:${PN}:j721e-hs-evm = "\ | |||
335 | j7-c71_0-fw-sec \ | 332 | j7-c71_0-fw-sec \ |
336 | " | 333 | " |
337 | 334 | ||
338 | ALTERNATIVE:${PN}:j7 = "\ | 335 | ALTERNATIVE:${PN}:j721e-evm = "\ |
339 | j7-mcu-r5f0_0-fw \ | 336 | j7-mcu-r5f0_0-fw \ |
340 | j7-mcu-r5f0_1-fw \ | 337 | j7-mcu-r5f0_1-fw \ |
341 | j7-main-r5f0_0-fw \ | 338 | j7-main-r5f0_0-fw \ |
@@ -420,15 +417,15 @@ TARGET_MCU_M4FSS0_0:am64xx = "am64-mcu-m4f0_0-fw" | |||
420 | TARGET_MAIN_R5FSS0_0:am62xx = "am62-main-r5f0_0-fw" | 417 | TARGET_MAIN_R5FSS0_0:am62xx = "am62-main-r5f0_0-fw" |
421 | TARGET_MCU_M4FSS0_0:am62xx = "am62-mcu-m4f0_0-fw" | 418 | TARGET_MCU_M4FSS0_0:am62xx = "am62-mcu-m4f0_0-fw" |
422 | 419 | ||
423 | TARGET_MCU_R5FSS0_0:j7 = "j7-mcu-r5f0_0-fw" | 420 | TARGET_MCU_R5FSS0_0:j721e = "j7-mcu-r5f0_0-fw" |
424 | TARGET_MCU_R5FSS0_1:j7 = "j7-mcu-r5f0_1-fw" | 421 | TARGET_MCU_R5FSS0_1:j721e = "j7-mcu-r5f0_1-fw" |
425 | TARGET_MAIN_R5FSS0_0:j7 = "j7-main-r5f0_0-fw" | 422 | TARGET_MAIN_R5FSS0_0:j721e = "j7-main-r5f0_0-fw" |
426 | TARGET_MAIN_R5FSS0_1:j7 = "j7-main-r5f0_1-fw" | 423 | TARGET_MAIN_R5FSS0_1:j721e = "j7-main-r5f0_1-fw" |
427 | TARGET_MAIN_R5FSS1_0:j7 = "j7-main-r5f1_0-fw" | 424 | TARGET_MAIN_R5FSS1_0:j721e = "j7-main-r5f1_0-fw" |
428 | TARGET_MAIN_R5FSS1_1:j7 = "j7-main-r5f1_1-fw" | 425 | TARGET_MAIN_R5FSS1_1:j721e = "j7-main-r5f1_1-fw" |
429 | TARGET_C66_0:j7 = "j7-c66_0-fw" | 426 | TARGET_C66_0:j721e = "j7-c66_0-fw" |
430 | TARGET_C66_1:j7 = "j7-c66_1-fw" | 427 | TARGET_C66_1:j721e = "j7-c66_1-fw" |
431 | TARGET_C7X_0:j7 = "j7-c71_0-fw" | 428 | TARGET_C7X_0:j721e = "j7-c71_0-fw" |
432 | 429 | ||
433 | TARGET_MAIN_R5FSS0_0_SIGNED:j721e-hs-evm = "j7-main-r5f0_0-fw-sec" | 430 | TARGET_MAIN_R5FSS0_0_SIGNED:j721e-hs-evm = "j7-main-r5f0_0-fw-sec" |
434 | TARGET_MAIN_R5FSS0_1_SIGNED:j721e-hs-evm = "j7-main-r5f0_1-fw-sec" | 431 | TARGET_MAIN_R5FSS0_1_SIGNED:j721e-hs-evm = "j7-main-r5f0_1-fw-sec" |
diff --git a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb index be1ff013..ff715ce0 100644 --- a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb +++ b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | LICENSE = "BSD-3-Clause" | 1 | LICENSE = "BSD-3-Clause" |
2 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" | 2 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" |
3 | 3 | ||
4 | COMPATIBLE_MACHINE = "ti-soc" | 4 | COMPATIBLE_MACHINE = "j721e|j7200|am65xx|am64xx" |
5 | 5 | ||
6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
7 | 7 | ||
@@ -10,8 +10,8 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
10 | inherit nopackages deploy | 10 | inherit nopackages deploy |
11 | 11 | ||
12 | PLAT_SFX = "" | 12 | PLAT_SFX = "" |
13 | PLAT_SFX:j7 = "/j721e" | 13 | PLAT_SFX:j721e = "/j721e" |
14 | PLAT_SFX:j7200-evm = "/j7200" | 14 | PLAT_SFX:j7200 = "/j7200" |
15 | PLAT_SFX:am65xx = "/am65xx" | 15 | PLAT_SFX:am65xx = "/am65xx" |
16 | PLAT_SFX:am64xx = "/am64x" | 16 | PLAT_SFX:am64xx = "/am64x" |
17 | 17 | ||