diff options
-rw-r--r-- | conf/machine/am62axx-evm-k3r5.conf | 11 | ||||
-rw-r--r-- | conf/machine/am62axx-evm.conf | 11 | ||||
-rw-r--r-- | conf/machine/include/am62axx.inc | 16 | ||||
-rw-r--r-- | recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | 4 | ||||
-rw-r--r-- | recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 | ||||
-rw-r--r-- | recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb | 2 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-ti.inc | 1 | ||||
-rw-r--r-- | recipes-kernel/linux/kernel-rdepends.inc | 2 | ||||
-rw-r--r-- | recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 27 |
9 files changed, 72 insertions, 3 deletions
diff --git a/conf/machine/am62axx-evm-k3r5.conf b/conf/machine/am62axx-evm-k3r5.conf new file mode 100644 index 00000000..ca30537f --- /dev/null +++ b/conf/machine/am62axx-evm-k3r5.conf | |||
@@ -0,0 +1,11 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM62AXX EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM62Axx EVM (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "am62ax" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "gp" | ||
10 | |||
11 | UBOOT_MACHINE = "am62ax_evm_r5_defconfig" | ||
diff --git a/conf/machine/am62axx-evm.conf b/conf/machine/am62axx-evm.conf new file mode 100644 index 00000000..4eb179f3 --- /dev/null +++ b/conf/machine/am62axx-evm.conf | |||
@@ -0,0 +1,11 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM62AXX EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM62AXX EVM | ||
4 | |||
5 | require conf/machine/include/am62axx.inc | ||
6 | |||
7 | KERNEL_DEVICETREE = " \ | ||
8 | ti/k3-am62a7-sk.dtb \ | ||
9 | " | ||
10 | |||
11 | UBOOT_MACHINE = "am62ax_evm_a53_defconfig" | ||
diff --git a/conf/machine/include/am62axx.inc b/conf/machine/include/am62axx.inc new file mode 100644 index 00000000..383d1c3f --- /dev/null +++ b/conf/machine/include/am62axx.inc | |||
@@ -0,0 +1,16 @@ | |||
1 | require conf/machine/include/k3.inc | ||
2 | SOC_FAMILY_append = ":am62axx" | ||
3 | |||
4 | MACHINE_FEATURES += "screen touchscreen" | ||
5 | |||
6 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" | ||
7 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
8 | |||
9 | TFA_K3_SYSTEM_SUSPEND = "1" | ||
10 | |||
11 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | ||
12 | do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | ||
13 | |||
14 | TFA_BOARD = "lite" | ||
15 | OPTEEMACHINE = "k3-am62x" | ||
16 | OPTEEOUTPUTMACHINE = "k3" | ||
diff --git a/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb b/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb index c904ba62..fac7bb06 100644 --- a/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb +++ b/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | |||
@@ -13,7 +13,7 @@ PR = "${INC_PR}.1" | |||
13 | 13 | ||
14 | CLEANBROKEN = "1" | 14 | CLEANBROKEN = "1" |
15 | 15 | ||
16 | COMPATIBLE_MACHINE = "j721s2-evm|j721s2-hs-evm|j784s4-evm|j784s4-hs-evm" | 16 | COMPATIBLE_MACHINE = "j721s2-evm|j721s2-hs-evm|j784s4-evm|j784s4-hs-evm|am62axx" |
17 | 17 | ||
18 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 18 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
19 | 19 | ||
@@ -27,7 +27,7 @@ ALTERNATIVE_TARGET[wave521c_codec_fw.bin] = "${base_libdir}/firmware/cnm/${TARGE | |||
27 | ALTERNATIVE_PRIORITY = "10" | 27 | ALTERNATIVE_PRIORITY = "10" |
28 | 28 | ||
29 | # Set up names for the firmwares | 29 | # Set up names for the firmwares |
30 | ALTERNATIVE_${PN}_j7 = "\ | 30 | ALTERNATIVE_${PN} = "\ |
31 | wave521c_codec_fw.bin" | 31 | wave521c_codec_fw.bin" |
32 | 32 | ||
33 | do_install() { | 33 | do_install() { |
diff --git a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb index 79c39ee5..1b8530ec 100644 --- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | |||
@@ -39,6 +39,7 @@ SYSFW_PREFIX_j784s4-evm-k3r5 = "fs" | |||
39 | SYSFW_PREFIX_j784s4-hs-evm-k3r5 = "fs" | 39 | SYSFW_PREFIX_j784s4-hs-evm-k3r5 = "fs" |
40 | SYSFW_PREFIX_am62xx-evm-k3r5 = "fs" | 40 | SYSFW_PREFIX_am62xx-evm-k3r5 = "fs" |
41 | SYSFW_PREFIX_am62xx-lp-evm-k3r5 = "fs" | 41 | SYSFW_PREFIX_am62xx-lp-evm-k3r5 = "fs" |
42 | SYSFW_PREFIX_am62axx-evm-k3r5 = "fs" | ||
42 | 43 | ||
43 | SYSFW_TISCI = "${S}/ti-sysfw/ti-${SYSFW_PREFIX}-firmware-${SYSFW_SOC}-*.bin" | 44 | SYSFW_TISCI = "${S}/ti-sysfw/ti-${SYSFW_PREFIX}-firmware-${SYSFW_SOC}-*.bin" |
44 | 45 | ||
diff --git a/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb index 876036f2..30b2e315 100644 --- a/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb +++ b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb | |||
@@ -7,7 +7,7 @@ PR = "${INC_PR}.0" | |||
7 | 7 | ||
8 | CLEANBROKEN = "1" | 8 | CLEANBROKEN = "1" |
9 | 9 | ||
10 | COMPATIBLE_MACHINE = "am62xx-evm|am62xx-lp-evm" | 10 | COMPATIBLE_MACHINE = "am62xx|am62axx" |
11 | 11 | ||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 12 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
13 | 13 | ||
diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc index 97f9fa2b..90f60980 100644 --- a/recipes-bsp/u-boot/u-boot-ti.inc +++ b/recipes-bsp/u-boot/u-boot-ti.inc | |||
@@ -34,6 +34,7 @@ PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/pdk-i | |||
34 | PACKAGECONFIG_append_aarch64 = " atf optee" | 34 | PACKAGECONFIG_append_aarch64 = " atf optee" |
35 | PACKAGECONFIG_append_j7 = " dm" | 35 | PACKAGECONFIG_append_j7 = " dm" |
36 | PACKAGECONFIG_append_am62xx = " dm" | 36 | PACKAGECONFIG_append_am62xx = " dm" |
37 | PACKAGECONFIG_append_am62axx = " dm" | ||
37 | 38 | ||
38 | COMPATIBLE_MACHINE = "(ti-soc)" | 39 | COMPATIBLE_MACHINE = "(ti-soc)" |
39 | 40 | ||
diff --git a/recipes-kernel/linux/kernel-rdepends.inc b/recipes-kernel/linux/kernel-rdepends.inc index 08f3f462..86d678ee 100644 --- a/recipes-kernel/linux/kernel-rdepends.inc +++ b/recipes-kernel/linux/kernel-rdepends.inc | |||
@@ -53,8 +53,10 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2-evm = " cnm-wave-fw" | |||
53 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2-hs-evm = " cnm-wave-fw" | 53 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2-hs-evm = " cnm-wave-fw" |
54 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j784s4-evm = " cnm-wave-fw" | 54 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j784s4-evm = " cnm-wave-fw" |
55 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j784s4-hs-evm = " cnm-wave-fw" | 55 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j784s4-hs-evm = " cnm-wave-fw" |
56 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am62axx = " cnm-wave-fw" | ||
56 | 57 | ||
57 | # Add run-time dependency for TIFS Low Power Module stub | 58 | # Add run-time dependency for TIFS Low Power Module stub |
58 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am62xx-evm = " tifs-lpm-stub" | 59 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am62xx-evm = " tifs-lpm-stub" |
59 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am62xx-lp-evm = " tifs-lpm-stub" | 60 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am62xx-lp-evm = " tifs-lpm-stub" |
61 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am62axx = " tifs-lpm-stub" | ||
60 | 62 | ||
diff --git a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb index 31212aae..59145740 100644 --- a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb +++ b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | |||
@@ -24,6 +24,7 @@ PLAT_SFX_j784s4-hs-evm = "j784s4" | |||
24 | PLAT_SFX_am65xx = "am65xx" | 24 | PLAT_SFX_am65xx = "am65xx" |
25 | PLAT_SFX_am64xx = "am64xx" | 25 | PLAT_SFX_am64xx = "am64xx" |
26 | PLAT_SFX_am62xx = "am62xx" | 26 | PLAT_SFX_am62xx = "am62xx" |
27 | PLAT_SFX_am62axx = "am62axx" | ||
27 | 28 | ||
28 | FILESEXTRAPATHS_prepend := "${METATIBASE}/recipes-bsp/ti-sci-fw/files/:" | 29 | FILESEXTRAPATHS_prepend := "${METATIBASE}/recipes-bsp/ti-sci-fw/files/:" |
29 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 30 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc |
@@ -354,6 +355,13 @@ do_install_am62xx() { | |||
354 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR} | 355 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR} |
355 | } | 356 | } |
356 | 357 | ||
358 | do_install_am62axx() { | ||
359 | install -d ${LEGACY_IPC_FW_DIR} | ||
360 | # DM+IPC Firmware | ||
361 | install -m 0644 ${RTOS_IPC_FW_DIR}/am62a-mcu-r5f0_0-fw ${LEGACY_IPC_FW_DIR} | ||
362 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR} | ||
363 | install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_c7x_1_release_strip.xe71 ${LEGACY_IPC_FW_DIR} | ||
364 | } | ||
357 | 365 | ||
358 | do_deploy() { | 366 | do_deploy() { |
359 | install -d ${DEPLOYDIR} | 367 | install -d ${DEPLOYDIR} |
@@ -364,6 +372,11 @@ do_deploy_am62xx() { | |||
364 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR} | 372 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR} |
365 | } | 373 | } |
366 | 374 | ||
375 | do_deploy_am62axx() { | ||
376 | install -d ${DEPLOYDIR} | ||
377 | install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR} | ||
378 | } | ||
379 | |||
367 | # Set up names for the firmwares | 380 | # Set up names for the firmwares |
368 | ALTERNATIVE_${PN}_am65xx = "\ | 381 | ALTERNATIVE_${PN}_am65xx = "\ |
369 | am65x-mcu-r5f0_0-fw \ | 382 | am65x-mcu-r5f0_0-fw \ |
@@ -382,6 +395,11 @@ ALTERNATIVE_${PN}_am62xx = "\ | |||
382 | am62-main-r5f0_0-fw \ | 395 | am62-main-r5f0_0-fw \ |
383 | " | 396 | " |
384 | 397 | ||
398 | ALTERNATIVE_${PN}_am62axx = "\ | ||
399 | am62a-mcu-r5f0_0-fw \ | ||
400 | am62a-c71_0-fw \ | ||
401 | " | ||
402 | |||
385 | ALTERNATIVE_${PN}_j7-hs-evm = "\ | 403 | ALTERNATIVE_${PN}_j7-hs-evm = "\ |
386 | j7-mcu-r5f0_0-fw \ | 404 | j7-mcu-r5f0_0-fw \ |
387 | j7-mcu-r5f0_1-fw \ | 405 | j7-mcu-r5f0_1-fw \ |
@@ -514,6 +532,9 @@ TARGET_MCU_M4FSS0_0_am64xx = "am64-mcu-m4f0_0-fw" | |||
514 | TARGET_MAIN_R5FSS0_0_am62xx = "am62-main-r5f0_0-fw" | 532 | TARGET_MAIN_R5FSS0_0_am62xx = "am62-main-r5f0_0-fw" |
515 | TARGET_MCU_M4FSS0_0_am62xx = "am62-mcu-m4f0_0-fw" | 533 | TARGET_MCU_M4FSS0_0_am62xx = "am62-mcu-m4f0_0-fw" |
516 | 534 | ||
535 | TARGET_C7X_0_am62axx = "am62a-c71_0-fw" | ||
536 | TARGET_MCU_R5F0_0_am62axx = "am62a-mcu-r5f0_0-fw" | ||
537 | |||
517 | TARGET_MCU_R5FSS0_0_j7 = "j7-mcu-r5f0_0-fw" | 538 | TARGET_MCU_R5FSS0_0_j7 = "j7-mcu-r5f0_0-fw" |
518 | TARGET_MCU_R5FSS0_1_j7 = "j7-mcu-r5f0_1-fw" | 539 | TARGET_MCU_R5FSS0_1_j7 = "j7-mcu-r5f0_1-fw" |
519 | TARGET_MAIN_R5FSS0_0_j7 = "j7-main-r5f0_0-fw" | 540 | TARGET_MAIN_R5FSS0_0_j7 = "j7-main-r5f0_0-fw" |
@@ -619,6 +640,9 @@ ALTERNATIVE_LINK_NAME[am64-mcu-m4f0_0-fw] = "${base_libdir}/firmware/${TARGET_MC | |||
619 | ALTERNATIVE_LINK_NAME[am62-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}" | 640 | ALTERNATIVE_LINK_NAME[am62-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}" |
620 | ALTERNATIVE_LINK_NAME[am62-mcu-m4f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_M4FSS0_0}" | 641 | ALTERNATIVE_LINK_NAME[am62-mcu-m4f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_M4FSS0_0}" |
621 | 642 | ||
643 | ALTERNATIVE_LINK_NAME[am62a-c71_0-fw] = "${base_libdir}/firmware/${TARGET_C7X_0}" | ||
644 | ALTERNATIVE_LINK_NAME[am62a-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5F0_0}" | ||
645 | |||
622 | ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}" | 646 | ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}" |
623 | ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}" | 647 | ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}" |
624 | ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}" | 648 | ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}" |
@@ -699,6 +723,9 @@ ALTERNATIVE_TARGET[am64-mcu-m4f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_ec | |||
699 | ALTERNATIVE_TARGET[am62-main-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f" | 723 | ALTERNATIVE_TARGET[am62-main-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f" |
700 | ALTERNATIVE_TARGET[am62-mcu-m4f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f" | 724 | ALTERNATIVE_TARGET[am62-mcu-m4f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f" |
701 | 725 | ||
726 | ALTERNATIVE_TARGET[am62a-c71_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release_strip.xe71" | ||
727 | ALTERNATIVE_TARGET[am62a-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/am62a-mcu-r5f0_0-fw" | ||
728 | |||
702 | ALTERNATIVE_TARGET[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f" | 729 | ALTERNATIVE_TARGET[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f" |
703 | ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release_strip.xer5f" | 730 | ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release_strip.xer5f" |
704 | ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/ethfw/app_remoteswitchcfg_server_strip.xer5f" | 731 | ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/ethfw/app_remoteswitchcfg_server_strip.xer5f" |