All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-ti][dunfell][PATCH v4 0/6] J784S4 HS Support
@ 2022-11-07  9:20 Manorit Chawdhry
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 1/6] conf: machine: Add J784S4 hs platform Manorit Chawdhry
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Manorit Chawdhry @ 2022-11-07  9:20 UTC (permalink / raw)
  To: meta-ti; +Cc: Andrew Davis, Ryan Eatmon, Manorit Chawdhry

This series adds support for J784S4 HS EVM support.

Depends on uboot series [0]

[0]: https://serenity.dal.design.ti.com/patchwork/project/linux-patch-review/list/?series=3121

v4:
Removed RFC tag

v3:
split ahp HS firmware list into two

v2:
remove the unnecessary variables for UBOOT init

Manorit Chawdhry (6):
  conf: machine: Add J784S4 hs platform
  ti-rtos-firmware: Add J784S4 High Security support
  j784s4-hs: changes to support new hs platform
  ti-graphics: Add j784s4-hs-evm as a compatible machine
  cnm-wave-fw: add compatible for j784s4-hs-evm
  cadence-mhdp-fw: add compatible for j784s4-hs-evm

 conf/machine/j784s4-hs-evm-k3r5.conf          |  11 ++
 conf/machine/j784s4-hs-evm.conf               |  11 ++
 .../cadence-mhdp-fw/cadence-mhdp-fw_git.bb    |   2 +-
 recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb    |   2 +-
 .../ti-img-rogue-driver_1.15.6133109.bb       |   3 +-
 recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb        |   1 +
 .../trusted-firmware-a_%.bbappend             |   4 +
 .../ti-img-rogue-umlibs_1.15.6133109.bb       |   3 +-
 recipes-kernel/linux/kernel-rdepends.inc      |   2 +
 recipes-security/optee/optee-os_%.bbappend    |   4 +
 recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb    | 138 ++++++++++++++++++
 11 files changed, 177 insertions(+), 4 deletions(-)
 create mode 100644 conf/machine/j784s4-hs-evm-k3r5.conf
 create mode 100644 conf/machine/j784s4-hs-evm.conf

-- 
2.34.1



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [meta-ti][dunfell][PATCH v4 1/6] conf: machine: Add J784S4 hs platform
  2022-11-07  9:20 [meta-ti][dunfell][PATCH v4 0/6] J784S4 HS Support Manorit Chawdhry
@ 2022-11-07  9:20 ` Manorit Chawdhry
  2022-11-08  2:02   ` Ryan Eatmon
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 2/6] ti-rtos-firmware: Add J784S4 High Security support Manorit Chawdhry
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 11+ messages in thread
From: Manorit Chawdhry @ 2022-11-07  9:20 UTC (permalink / raw)
  To: meta-ti; +Cc: Andrew Davis, Ryan Eatmon, Manorit Chawdhry

Machine conf for J784S4 HS platform.
Used J721S2 hs as reference.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
---
 conf/machine/j784s4-hs-evm-k3r5.conf | 11 +++++++++++
 conf/machine/j784s4-hs-evm.conf      | 11 +++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 conf/machine/j784s4-hs-evm-k3r5.conf
 create mode 100644 conf/machine/j784s4-hs-evm.conf

diff --git a/conf/machine/j784s4-hs-evm-k3r5.conf b/conf/machine/j784s4-hs-evm-k3r5.conf
new file mode 100644
index 00000000..80a228a0
--- /dev/null
+++ b/conf/machine/j784s4-hs-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J784S4 HS EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j784s4"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs"
+
+UBOOT_MACHINE = "j784s4_evm_r5_defconfig"
diff --git a/conf/machine/j784s4-hs-evm.conf b/conf/machine/j784s4-hs-evm.conf
new file mode 100644
index 00000000..62357d62
--- /dev/null
+++ b/conf/machine/j784s4-hs-evm.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J784S4 HS EVM
+#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM
+
+require conf/machine/j784s4-evm.conf
+
+UBOOT_MACHINE = "j784s4_evm_a72_defconfig"
+
+SPL_BINARY = "tispl.bin_HS"
+UBOOT_BINARY = "u-boot.img_HS"
+UBOOT_SYMLINK = "u-boot.img"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [meta-ti][dunfell][PATCH v4 2/6] ti-rtos-firmware: Add J784S4 High Security support
  2022-11-07  9:20 [meta-ti][dunfell][PATCH v4 0/6] J784S4 HS Support Manorit Chawdhry
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 1/6] conf: machine: Add J784S4 hs platform Manorit Chawdhry
@ 2022-11-07  9:20 ` Manorit Chawdhry
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 3/6] j784s4-hs: changes to support new hs platform Manorit Chawdhry
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Manorit Chawdhry @ 2022-11-07  9:20 UTC (permalink / raw)
  To: meta-ti; +Cc: Andrew Davis, Ryan Eatmon, Manorit Chawdhry

Sign the firmwares for j784s4 similar to j721s2 hs.
Duplicate all j784s4 entries for j784s4-hs as we cannot use same
keyword for match between j784s4-evm and j784s4-hs-evm.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
---
 recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 138 +++++++++++++++++++++
 1 file changed, 138 insertions(+)

diff --git a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
index 68c93ae7..31212aae 100644
--- a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
+++ b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
@@ -20,6 +20,7 @@ PLAT_SFX_j7200-hs-evm = "j7200"
 PLAT_SFX_j721s2-evm = "j721s2"
 PLAT_SFX_j721s2-hs-evm = "j721s2"
 PLAT_SFX_j784s4-evm = "j784s4"
+PLAT_SFX_j784s4-hs-evm = "j784s4"
 PLAT_SFX_am65xx = "am65xx"
 PLAT_SFX_am64xx = "am64xx"
 PLAT_SFX_am62xx = "am62xx"
@@ -128,6 +129,38 @@ do_install_prepend_j721s2-hs-evm() {
         )
 }
 
+# J784S4 support
+do_install_prepend_j784s4-hs-evm() {
+        export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
+        ( cd ${RTOS_DM_FW_DIR}; \
+                mv ${DM_FIRMWARE} ${DM_FIRMWARE}.unsigned; \
+                ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${DM_FIRMWARE}.unsigned ${DM_FIRMWARE}; \
+        )
+        (
+          cd ${RTOS_IPC_FW_DIR}; \
+            ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_mcu2_0_release_strip.xer5f \
+                ipc_echo_test_mcu2_0_release_strip.xer5f.signed; \
+            ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_mcu2_1_release_strip.xer5f \
+                ipc_echo_test_mcu2_1_release_strip.xer5f.signed; \
+            ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_mcu3_0_release_strip.xer5f \
+                ipc_echo_test_mcu3_0_release_strip.xer5f.signed; \
+            ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_mcu3_1_release_strip.xer5f \
+                ipc_echo_test_mcu3_1_release_strip.xer5f.signed; \
+            ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_mcu4_0_release_strip.xer5f \
+                ipc_echo_test_mcu4_0_release_strip.xer5f.signed; \
+            ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_mcu4_1_release_strip.xer5f \
+                ipc_echo_test_mcu4_1_release_strip.xer5f.signed; \
+            ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_c7x_1_release_strip.xe71 \
+                ipc_echo_test_c7x_1_release_strip.xe71.signed; \
+            ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_c7x_2_release_strip.xe71 \
+                ipc_echo_test_c7x_2_release_strip.xe71.signed; \
+            ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_c7x_3_release_strip.xe71 \
+                ipc_echo_test_c7x_3_release_strip.xe71.signed; \
+            ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ipc_echo_test_c7x_4_release_strip.xe71 \
+                ipc_echo_test_c7x_4_release_strip.xe71.signed; \
+        )
+}
+
 # Update the am64xx ipc binaries to be consistent with other platforms
 do_install_prepend_am64xx() {
         ( cd ${RTOS_IPC_FW_DIR}; \
@@ -248,6 +281,37 @@ do_install_j721s2-hs-evm() {
     # install -m 0644 ${RTOS_ETH_FW_DIR}/app_remoteswitchcfg_server_strip.xer5f ${LEGACY_ETH_FW_DIR}
 }
 
+do_install_j784s4-hs-evm() {
+    install -d ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu1_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu3_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu3_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu4_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu4_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_c7x_1_release_strip.xe71 ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_c7x_2_release_strip.xe71 ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_c7x_3_release_strip.xe71 ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_c7x_4_release_strip.xe71 ${LEGACY_IPC_FW_DIR}
+    # Signed firmware
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_0_release_strip.xer5f.signed ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_1_release_strip.xer5f.signed ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu3_0_release_strip.xer5f.signed ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu3_1_release_strip.xer5f.signed ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu4_0_release_strip.xer5f.signed ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu4_1_release_strip.xer5f.signed ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_c7x_1_release_strip.xe71.signed ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_c7x_2_release_strip.xe71.signed ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_c7x_3_release_strip.xe71.signed ${LEGACY_IPC_FW_DIR}
+    install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_c7x_4_release_strip.xe71.signed ${LEGACY_IPC_FW_DIR}
+    # DM Firmware
+    install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR}
+    # ETH firmware
+    install -d ${LEGACY_ETH_FW_DIR}
+    install -m 0644 ${RTOS_ETH_FW_DIR}/app_remoteswitchcfg_server_strip.xer5f ${LEGACY_ETH_FW_DIR}
+}
+
 do_install_j784s4-evm() {
     install -d ${LEGACY_IPC_FW_DIR}
     install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu1_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
@@ -408,6 +472,34 @@ ALTERNATIVE_${PN}_j784s4-evm = "\
                     j784s4-c71_3-fw \
                     "
 
+ALTERNATIVE_${PN}_j784s4-hs-evm = "\
+                    j784s4-mcu-r5f0_0-fw \
+                    j784s4-mcu-r5f0_1-fw \
+                    j784s4-main-r5f0_0-fw \
+                    j784s4-main-r5f0_1-fw \
+                    j784s4-main-r5f1_0-fw \
+                    j784s4-main-r5f1_1-fw \
+                    j784s4-main-r5f2_0-fw \
+                    j784s4-main-r5f2_1-fw \
+                    j784s4-c71_0-fw \
+                    j784s4-c71_1-fw \
+                    j784s4-c71_2-fw \
+                    j784s4-c71_3-fw \
+                    "
+
+ALTERNATIVE_${PN}_j784s4-hs-evm += "\
+                    j784s4-main-r5f0_0-fw-sec \
+                    j784s4-main-r5f0_1-fw-sec \
+                    j784s4-main-r5f1_0-fw-sec \
+                    j784s4-main-r5f1_1-fw-sec \
+                    j784s4-main-r5f2_0-fw-sec \
+                    j784s4-main-r5f2_1-fw-sec \
+                    j784s4-c71_0-fw-sec \
+                    j784s4-c71_1-fw-sec \
+                    j784s4-c71_2-fw-sec \
+                    j784s4-c71_3-fw-sec \
+                    "
+
 # Set up link names for the firmwares
 
 TARGET_MCU_R5FSS0_0_am65xx = "am65x-mcu-r5f0_0-fw"
@@ -491,6 +583,30 @@ TARGET_C7X_1_j784s4-evm = "j784s4-c71_1-fw"
 TARGET_C7X_2_j784s4-evm = "j784s4-c71_2-fw"
 TARGET_C7X_3_j784s4-evm = "j784s4-c71_3-fw"
 
+TARGET_MCU_R5FSS0_0_j784s4-hs-evm = "j784s4-mcu-r5f0_0-fw"
+TARGET_MCU_R5FSS0_1_j784s4-hs-evm = "j784s4-mcu-r5f0_1-fw"
+TARGET_MAIN_R5FSS0_0_j784s4-hs-evm = "j784s4-main-r5f0_0-fw"
+TARGET_MAIN_R5FSS0_1_j784s4-hs-evm = "j784s4-main-r5f0_1-fw"
+TARGET_MAIN_R5FSS1_0_j784s4-hs-evm = "j784s4-main-r5f1_0-fw"
+TARGET_MAIN_R5FSS1_1_j784s4-hs-evm = "j784s4-main-r5f1_1-fw"
+TARGET_MAIN_R5FSS2_0_j784s4-hs-evm = "j784s4-main-r5f2_0-fw"
+TARGET_MAIN_R5FSS2_1_j784s4-hs-evm = "j784s4-main-r5f2_1-fw"
+TARGET_C7X_0_j784s4-hs-evm = "j784s4-c71_0-fw"
+TARGET_C7X_1_j784s4-hs-evm = "j784s4-c71_1-fw"
+TARGET_C7X_2_j784s4-hs-evm = "j784s4-c71_2-fw"
+TARGET_C7X_3_j784s4-hs-evm = "j784s4-c71_3-fw"
+
+TARGET_MAIN_R5FSS0_0_SIGNED_j784s4-hs-evm = "j784s4-main-r5f0_0-fw-sec"
+TARGET_MAIN_R5FSS0_1_SIGNED_j784s4-hs-evm = "j784s4-main-r5f0_1-fw-sec"
+TARGET_MAIN_R5FSS1_0_SIGNED_j784s4-hs-evm = "j784s4-main-r5f1_0-fw-sec"
+TARGET_MAIN_R5FSS1_1_SIGNED_j784s4-hs-evm = "j784s4-main-r5f1_1-fw-sec"
+TARGET_MAIN_R5FSS2_0_SIGNED_j784s4-hs-evm = "j784s4-main-r5f2_0-fw-sec"
+TARGET_MAIN_R5FSS2_1_SIGNED_j784s4-hs-evm = "j784s4-main-r5f2_1-fw-sec"
+TARGET_C7X_0_SIGNED_j784s4-hs-evm = "j784s4-c71_0-fw-sec"
+TARGET_C7X_1_SIGNED_j784s4-hs-evm = "j784s4-c71_1-fw-sec"
+TARGET_C7X_2_SIGNED_j784s4-hs-evm = "j784s4-c71_2-fw-sec"
+TARGET_C7X_3_SIGNED_j784s4-hs-evm = "j784s4-c71_3-fw-sec"
+
 ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
 ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
 
@@ -558,6 +674,17 @@ ALTERNATIVE_LINK_NAME[j784s4-c71_1-fw] = "${base_libdir}/firmware/${TARGET_C7X_1
 ALTERNATIVE_LINK_NAME[j784s4-c71_2-fw] = "${base_libdir}/firmware/${TARGET_C7X_2}"
 ALTERNATIVE_LINK_NAME[j784s4-c71_3-fw] = "${base_libdir}/firmware/${TARGET_C7X_3}"
 
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_0-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0_SIGNED}"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_1-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1_SIGNED}"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f1_0-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_0_SIGNED}"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f1_1-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_1_SIGNED}"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f2_0-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS2_0_SIGNED}"
+ALTERNATIVE_LINK_NAME[j784s4-main-r5f2_1-fw-sec] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS2_1_SIGNED}"
+ALTERNATIVE_LINK_NAME[j784s4-c71_0-fw-sec] = "${base_libdir}/firmware/${TARGET_C7X_0_SIGNED}"
+ALTERNATIVE_LINK_NAME[j784s4-c71_1-fw-sec] = "${base_libdir}/firmware/${TARGET_C7X_1_SIGNED}"
+ALTERNATIVE_LINK_NAME[j784s4-c71_2-fw-sec] = "${base_libdir}/firmware/${TARGET_C7X_2_SIGNED}"
+ALTERNATIVE_LINK_NAME[j784s4-c71_3-fw-sec] = "${base_libdir}/firmware/${TARGET_C7X_3_SIGNED}"
+
 # Create the firmware alternatives
 
 ALTERNATIVE_TARGET[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_0_release_strip.xer5f"
@@ -627,6 +754,17 @@ ALTERNATIVE_TARGET[j784s4-c71_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_
 ALTERNATIVE_TARGET[j784s4-c71_2-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_3_release_strip.xe71"
 ALTERNATIVE_TARGET[j784s4-c71_3-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_4_release_strip.xe71"
 
+ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_0_release_strip.xer5f.signed"
+ALTERNATIVE_TARGET[j784s4-main-r5f0_1-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_1_release_strip.xer5f.signed"
+ALTERNATIVE_TARGET[j784s4-main-r5f1_0-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_0_release_strip.xer5f.signed"
+ALTERNATIVE_TARGET[j784s4-main-r5f1_1-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_1_release_strip.xer5f.signed"
+ALTERNATIVE_TARGET[j784s4-main-r5f2_0-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu4_0_release_strip.xer5f.signed"
+ALTERNATIVE_TARGET[j784s4-main-r5f2_1-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu4_1_release_strip.xer5f.signed"
+ALTERNATIVE_TARGET[j784s4-c71_0-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release_strip.xe71.signed"
+ALTERNATIVE_TARGET[j784s4-c71_1-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_2_release_strip.xe71.signed"
+ALTERNATIVE_TARGET[j784s4-c71_2-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_3_release_strip.xe71.signed"
+ALTERNATIVE_TARGET[j784s4-c71_3-fw-sec] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_4_release_strip.xe71.signed"
+
 ALTERNATIVE_PRIORITY = "10"
 
 # make sure that lib/firmware, and all its contents are part of the package
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [meta-ti][dunfell][PATCH v4 3/6] j784s4-hs: changes to support new hs platform
  2022-11-07  9:20 [meta-ti][dunfell][PATCH v4 0/6] J784S4 HS Support Manorit Chawdhry
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 1/6] conf: machine: Add J784S4 hs platform Manorit Chawdhry
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 2/6] ti-rtos-firmware: Add J784S4 High Security support Manorit Chawdhry
@ 2022-11-07  9:20 ` Manorit Chawdhry
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 4/6] ti-graphics: Add j784s4-hs-evm as a compatible machine Manorit Chawdhry
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Manorit Chawdhry @ 2022-11-07  9:20 UTC (permalink / raw)
  To: meta-ti; +Cc: Andrew Davis, Ryan Eatmon, Manorit Chawdhry

Changes to support new j784s4-hs platform in:

    1) ti-sci-fw_git: Update firmware prefix for j784s4-hs
    2) atf: sign the image
    4) optee: sign the image

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
---
 recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb                       | 1 +
 recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 4 ++++
 recipes-security/optee/optee-os_%.bbappend                   | 4 ++++
 3 files changed, 9 insertions(+)

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 866cd7b2..1510e41c 100644
--- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -36,6 +36,7 @@ SYSFW_PREFIX_j7200-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX_j721s2-evm-k3r5 = "fs"
 SYSFW_PREFIX_j721s2-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX_j784s4-evm-k3r5 = "fs"
+SYSFW_PREFIX_j784s4-hs-evm-k3r5 = "fs"
 SYSFW_PREFIX_am62xx-evm-k3r5 = "fs"
 SYSFW_PREFIX_am62xx-lp-evm-k3r5 = "fs"
 
diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index 53e88d7e..e3c171dc 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -42,3 +42,7 @@ do_compile_append_j7200-hs-evm() {
 do_compile_append_j721s2-hs-evm() {
 	tfa_sign_k3hs
 }
+
+do_compile_append_j784s4-hs-evm() {
+	tfa_sign_k3hs
+}
diff --git a/recipes-security/optee/optee-os_%.bbappend b/recipes-security/optee/optee-os_%.bbappend
index 4a4ebfd7..2b591d58 100644
--- a/recipes-security/optee/optee-os_%.bbappend
+++ b/recipes-security/optee/optee-os_%.bbappend
@@ -81,6 +81,10 @@ do_compile_append_j721s2-hs-evm() {
     optee_sign_k3hs
 }
 
+do_compile_append_j784s4-hs-evm() {
+    optee_sign_k3hs
+}
+
 do_install_append_ti-soc() {
     install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true
     install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [meta-ti][dunfell][PATCH v4 4/6] ti-graphics: Add j784s4-hs-evm as a compatible machine
  2022-11-07  9:20 [meta-ti][dunfell][PATCH v4 0/6] J784S4 HS Support Manorit Chawdhry
                   ` (2 preceding siblings ...)
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 3/6] j784s4-hs: changes to support new hs platform Manorit Chawdhry
@ 2022-11-07  9:20 ` Manorit Chawdhry
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 5/6] cnm-wave-fw: add compatible for j784s4-hs-evm Manorit Chawdhry
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 6/6] cadence-mhdp-fw: " Manorit Chawdhry
  5 siblings, 0 replies; 11+ messages in thread
From: Manorit Chawdhry @ 2022-11-07  9:20 UTC (permalink / raw)
  To: meta-ti; +Cc: Andrew Davis, Ryan Eatmon, Manorit Chawdhry

Add HS platform to the list of compatible machines.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
---
 .../powervr-drivers/ti-img-rogue-driver_1.15.6133109.bb        | 3 ++-
 recipes-graphics/libgles/ti-img-rogue-umlibs_1.15.6133109.bb   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.15.6133109.bb b/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.15.6133109.bb
index c8a118cd..94a7f220 100644
--- a/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.15.6133109.bb
+++ b/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.15.6133109.bb
@@ -11,7 +11,7 @@ MACHINE_KERNEL_PR_append = "b"
 PR = "${MACHINE_KERNEL_PR}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "j7-evm|j7-hs-evm|j721s2-evm|j721s2-hs-evm|j784s4-evm|am62xx"
+COMPATIBLE_MACHINE = "j7-evm|j7-hs-evm|j721s2-evm|j721s2-hs-evm|j784s4-evm|j784s4-hs-evm|am62xx"
 
 DEPENDS = "virtual/kernel"
 
@@ -33,6 +33,7 @@ TARGET_PRODUCT_j7-hs-evm = "j721e_linux"
 TARGET_PRODUCT_j721s2-evm = "j721s2_linux"
 TARGET_PRODUCT_j721s2-hs-evm = "j721s2_linux"
 TARGET_PRODUCT_j784s4-evm = "j784s4_linux"
+TARGET_PRODUCT_j784s4-hs-evm = "j784s4_linux"
 TARGET_PRODUCT_am62xx = "am62_linux"
 PVR_BUILD = "release"
 PVR_WS = "wayland"
diff --git a/recipes-graphics/libgles/ti-img-rogue-umlibs_1.15.6133109.bb b/recipes-graphics/libgles/ti-img-rogue-umlibs_1.15.6133109.bb
index de979be0..a0a10acd 100644
--- a/recipes-graphics/libgles/ti-img-rogue-umlibs_1.15.6133109.bb
+++ b/recipes-graphics/libgles/ti-img-rogue-umlibs_1.15.6133109.bb
@@ -8,7 +8,7 @@ inherit features_check
 REQUIRED_MACHINE_FEATURES = "gpu"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "j7-evm|j7-hs-evm|j721s2-evm|j721s2-hs-evm|j784s4-evm|am62xx"
+COMPATIBLE_MACHINE = "j7-evm|j7-hs-evm|j721s2-evm|j721s2-hs-evm|j784s4-evm|j784s4-hs-evm|am62xx"
 
 PR = "r2"
 
@@ -22,6 +22,7 @@ TARGET_PRODUCT_j7-hs-evm = "j721e_linux"
 TARGET_PRODUCT_j721s2-evm = "j721s2_linux"
 TARGET_PRODUCT_j721s2-hs-evm = "j721s2_linux"
 TARGET_PRODUCT_j784s4-evm = "j784s4_linux"
+TARGET_PRODUCT_j784s4-hs-evm = "j784s4_linux"
 TARGET_PRODUCT_am62xx = "am62_linux"
 PVR_BUILD ?= "release"
 PVR_WS = "wayland"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [meta-ti][dunfell][PATCH v4 5/6] cnm-wave-fw: add compatible for j784s4-hs-evm
  2022-11-07  9:20 [meta-ti][dunfell][PATCH v4 0/6] J784S4 HS Support Manorit Chawdhry
                   ` (3 preceding siblings ...)
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 4/6] ti-graphics: Add j784s4-hs-evm as a compatible machine Manorit Chawdhry
@ 2022-11-07  9:20 ` Manorit Chawdhry
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 6/6] cadence-mhdp-fw: " Manorit Chawdhry
  5 siblings, 0 replies; 11+ messages in thread
From: Manorit Chawdhry @ 2022-11-07  9:20 UTC (permalink / raw)
  To: meta-ti; +Cc: Andrew Davis, Ryan Eatmon, Manorit Chawdhry

Add the HS platform to the compatible list in the recipe.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
---
 recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | 2 +-
 recipes-kernel/linux/kernel-rdepends.inc   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

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 4c9c8d31..c904ba62 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"
 
 CLEANBROKEN = "1"
 
-COMPATIBLE_MACHINE = "j721s2-evm|j721s2-hs-evm|j784s4-evm"
+COMPATIBLE_MACHINE = "j721s2-evm|j721s2-hs-evm|j784s4-evm|j784s4-hs-evm"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
diff --git a/recipes-kernel/linux/kernel-rdepends.inc b/recipes-kernel/linux/kernel-rdepends.inc
index 8225a5af..0a61c408 100644
--- a/recipes-kernel/linux/kernel-rdepends.inc
+++ b/recipes-kernel/linux/kernel-rdepends.inc
@@ -51,6 +51,7 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " vxd-dec-fw"
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2-evm = " cnm-wave-fw"
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2-hs-evm = " cnm-wave-fw"
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j784s4-evm = " cnm-wave-fw"
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j784s4-hs-evm = " cnm-wave-fw"
 
 # Add run-time dependency for TIFS Low Power Module stub
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am62xx-evm = " tifs-lpm-stub"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [meta-ti][dunfell][PATCH v4 6/6] cadence-mhdp-fw: add compatible for j784s4-hs-evm
  2022-11-07  9:20 [meta-ti][dunfell][PATCH v4 0/6] J784S4 HS Support Manorit Chawdhry
                   ` (4 preceding siblings ...)
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 5/6] cnm-wave-fw: add compatible for j784s4-hs-evm Manorit Chawdhry
@ 2022-11-07  9:20 ` Manorit Chawdhry
  5 siblings, 0 replies; 11+ messages in thread
From: Manorit Chawdhry @ 2022-11-07  9:20 UTC (permalink / raw)
  To: meta-ti; +Cc: Andrew Davis, Ryan Eatmon, Manorit Chawdhry

Add the HS platform to the compatible list in the recipe.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
---
 recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb | 2 +-
 recipes-kernel/linux/kernel-rdepends.inc           | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb b/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
index 57780cb2..ce1add35 100644
--- a/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
+++ b/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
@@ -10,7 +10,7 @@ PR = "${INC_PR}.0"
 
 CLEANBROKEN = "1"
 
-COMPATIBLE_MACHINE = "j7-evm|j7-hs-evm|j721s2-evm|j721s2-hs-evm|j784s4-evm"
+COMPATIBLE_MACHINE = "j7-evm|j7-hs-evm|j721s2-evm|j721s2-hs-evm|j784s4-evm|j784s4-hs-evm"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
diff --git a/recipes-kernel/linux/kernel-rdepends.inc b/recipes-kernel/linux/kernel-rdepends.inc
index 0a61c408..08f3f462 100644
--- a/recipes-kernel/linux/kernel-rdepends.inc
+++ b/recipes-kernel/linux/kernel-rdepends.inc
@@ -43,6 +43,7 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7-hs-evm = " cadence-mhdp-fw"
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2-evm = " cadence-mhdp-fw"
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2-hs-evm = " cadence-mhdp-fw"
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j784s4-evm = " cadence-mhdp-fw"
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j784s4-hs-evm = " cadence-mhdp-fw"
 
 # Add run-time dependency for Video Decoding firmware to the rootfs
 RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " vxd-dec-fw"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [meta-ti][dunfell][PATCH v4 1/6] conf: machine: Add J784S4 hs platform
  2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 1/6] conf: machine: Add J784S4 hs platform Manorit Chawdhry
@ 2022-11-08  2:02   ` Ryan Eatmon
  2022-11-08  5:13     ` Manorit Chawdhry
  0 siblings, 1 reply; 11+ messages in thread
From: Ryan Eatmon @ 2022-11-08  2:02 UTC (permalink / raw)
  To: Manorit Chawdhry, meta-ti; +Cc: Andrew Davis



On 11/7/2022 3:20, Manorit Chawdhry wrote:
> Machine conf for J784S4 HS platform.
> Used J721S2 hs as reference.
> 
> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
> ---
>   conf/machine/j784s4-hs-evm-k3r5.conf | 11 +++++++++++
>   conf/machine/j784s4-hs-evm.conf      | 11 +++++++++++
>   2 files changed, 22 insertions(+)
>   create mode 100644 conf/machine/j784s4-hs-evm-k3r5.conf
>   create mode 100644 conf/machine/j784s4-hs-evm.conf
> 
> diff --git a/conf/machine/j784s4-hs-evm-k3r5.conf b/conf/machine/j784s4-hs-evm-k3r5.conf
> new file mode 100644
> index 00000000..80a228a0
> --- /dev/null
> +++ b/conf/machine/j784s4-hs-evm-k3r5.conf
> @@ -0,0 +1,11 @@
> +#@TYPE: Machine
> +#@NAME: J784S4 HS EVM (R5F)
> +#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM (R5F core)
> +
> +require conf/machine/include/k3r5.inc
> +
> +SYSFW_SOC = "j784s4"
> +SYSFW_CONFIG = "evm"
> +SYSFW_SUFFIX = "hs"
> +
> +UBOOT_MACHINE = "j784s4_evm_r5_defconfig"

All of the previous RFC versions had the string 
"j784s4_hs_evm_r5_defconfig", but here it is changed...  And all of the 
other HS platforms include the _hs_ in the string.  Was this intentional?


> diff --git a/conf/machine/j784s4-hs-evm.conf b/conf/machine/j784s4-hs-evm.conf
> new file mode 100644
> index 00000000..62357d62
> --- /dev/null
> +++ b/conf/machine/j784s4-hs-evm.conf
> @@ -0,0 +1,11 @@
> +#@TYPE: Machine
> +#@NAME: J784S4 HS EVM
> +#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM
> +
> +require conf/machine/j784s4-evm.conf
> +
> +UBOOT_MACHINE = "j784s4_evm_a72_defconfig"

Same comment.


> +SPL_BINARY = "tispl.bin_HS"
> +UBOOT_BINARY = "u-boot.img_HS"
> +UBOOT_SYMLINK = "u-boot.img"

-- 
Ryan Eatmon                reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-ti][dunfell][PATCH v4 1/6] conf: machine: Add J784S4 hs platform
  2022-11-08  2:02   ` Ryan Eatmon
@ 2022-11-08  5:13     ` Manorit Chawdhry
  2022-11-08 18:34       ` Denys Dmytriyenko
  0 siblings, 1 reply; 11+ messages in thread
From: Manorit Chawdhry @ 2022-11-08  5:13 UTC (permalink / raw)
  To: Ryan Eatmon; +Cc: meta-ti, Andrew Davis

On 20:02-20221107, Ryan Eatmon wrote:
> 
> 
> On 11/7/2022 3:20, Manorit Chawdhry wrote:
> > Machine conf for J784S4 HS platform.
> > Used J721S2 hs as reference.
> > 
> > Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
> > ---
> >   conf/machine/j784s4-hs-evm-k3r5.conf | 11 +++++++++++
> >   conf/machine/j784s4-hs-evm.conf      | 11 +++++++++++
> >   2 files changed, 22 insertions(+)
> >   create mode 100644 conf/machine/j784s4-hs-evm-k3r5.conf
> >   create mode 100644 conf/machine/j784s4-hs-evm.conf
> > 
> > diff --git a/conf/machine/j784s4-hs-evm-k3r5.conf b/conf/machine/j784s4-hs-evm-k3r5.conf
> > new file mode 100644
> > index 00000000..80a228a0
> > --- /dev/null
> > +++ b/conf/machine/j784s4-hs-evm-k3r5.conf
> > @@ -0,0 +1,11 @@
> > +#@TYPE: Machine
> > +#@NAME: J784S4 HS EVM (R5F)
> > +#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM (R5F core)
> > +
> > +require conf/machine/include/k3r5.inc
> > +
> > +SYSFW_SOC = "j784s4"
> > +SYSFW_CONFIG = "evm"
> > +SYSFW_SUFFIX = "hs"
> > +
> > +UBOOT_MACHINE = "j784s4_evm_r5_defconfig"
> 
> All of the previous RFC versions had the string
> "j784s4_hs_evm_r5_defconfig", but here it is changed...  And all of the
> other HS platforms include the _hs_ in the string.  Was this intentional?
> 

Ah yes, sorry for not putting it in the changelog. The yocto patches had
dependency on the uboot patches that's why this also had to changed
based on the reviews there. This is intentional as we are trying to
combine the hs and gp builds for evms using a single defconfig.

Manorit

> 
> > diff --git a/conf/machine/j784s4-hs-evm.conf b/conf/machine/j784s4-hs-evm.conf
> > new file mode 100644
> > index 00000000..62357d62
> > --- /dev/null
> > +++ b/conf/machine/j784s4-hs-evm.conf
> > @@ -0,0 +1,11 @@
> > +#@TYPE: Machine
> > +#@NAME: J784S4 HS EVM
> > +#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM
> > +
> > +require conf/machine/j784s4-evm.conf
> > +
> > +UBOOT_MACHINE = "j784s4_evm_a72_defconfig"
> 
> Same comment.
> 
> 
> > +SPL_BINARY = "tispl.bin_HS"
> > +UBOOT_BINARY = "u-boot.img_HS"
> > +UBOOT_SYMLINK = "u-boot.img"
> 
> -- 
> Ryan Eatmon                reatmon@ti.com
> -----------------------------------------
> Texas Instruments, Inc.  -  LCPD  -  MGTS


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-ti][dunfell][PATCH v4 1/6] conf: machine: Add J784S4 hs platform
  2022-11-08  5:13     ` Manorit Chawdhry
@ 2022-11-08 18:34       ` Denys Dmytriyenko
  2022-11-09  7:30         ` Manorit Chawdhry
  0 siblings, 1 reply; 11+ messages in thread
From: Denys Dmytriyenko @ 2022-11-08 18:34 UTC (permalink / raw)
  To: m-chawdhry; +Cc: Ryan Eatmon, meta-ti, Andrew Davis

On Tue, Nov 08, 2022 at 10:43:44AM +0530, Manorit Chawdhry via lists.yoctoproject.org wrote:
> On 20:02-20221107, Ryan Eatmon wrote:
> > 
> > 
> > On 11/7/2022 3:20, Manorit Chawdhry wrote:
> > > Machine conf for J784S4 HS platform.
> > > Used J721S2 hs as reference.
> > > 
> > > Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
> > > ---
> > >   conf/machine/j784s4-hs-evm-k3r5.conf | 11 +++++++++++
> > >   conf/machine/j784s4-hs-evm.conf      | 11 +++++++++++
> > >   2 files changed, 22 insertions(+)
> > >   create mode 100644 conf/machine/j784s4-hs-evm-k3r5.conf
> > >   create mode 100644 conf/machine/j784s4-hs-evm.conf
> > > 
> > > diff --git a/conf/machine/j784s4-hs-evm-k3r5.conf b/conf/machine/j784s4-hs-evm-k3r5.conf
> > > new file mode 100644
> > > index 00000000..80a228a0
> > > --- /dev/null
> > > +++ b/conf/machine/j784s4-hs-evm-k3r5.conf
> > > @@ -0,0 +1,11 @@
> > > +#@TYPE: Machine
> > > +#@NAME: J784S4 HS EVM (R5F)
> > > +#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM (R5F core)
> > > +
> > > +require conf/machine/include/k3r5.inc
> > > +
> > > +SYSFW_SOC = "j784s4"
> > > +SYSFW_CONFIG = "evm"
> > > +SYSFW_SUFFIX = "hs"
> > > +
> > > +UBOOT_MACHINE = "j784s4_evm_r5_defconfig"
> > 
> > All of the previous RFC versions had the string
> > "j784s4_hs_evm_r5_defconfig", but here it is changed...  And all of the
> > other HS platforms include the _hs_ in the string.  Was this intentional?
> > 
> 
> Ah yes, sorry for not putting it in the changelog. The yocto patches had
> dependency on the uboot patches that's why this also had to changed
> based on the reviews there. This is intentional as we are trying to
> combine the hs and gp builds for evms using a single defconfig.

Should this be done through multiconfig then? Like am64xx-evm that supports 
GP, HS-FS and HS-SE.

-- 
Denys


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-ti][dunfell][PATCH v4 1/6] conf: machine: Add J784S4 hs platform
  2022-11-08 18:34       ` Denys Dmytriyenko
@ 2022-11-09  7:30         ` Manorit Chawdhry
  0 siblings, 0 replies; 11+ messages in thread
From: Manorit Chawdhry @ 2022-11-09  7:30 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: Ryan Eatmon, meta-ti, Andrew Davis

On 13:34-20221108, Denys Dmytriyenko wrote:
> On Tue, Nov 08, 2022 at 10:43:44AM +0530, Manorit Chawdhry via lists.yoctoproject.org wrote:
> > On 20:02-20221107, Ryan Eatmon wrote:
> > > 
> > > 
> > > On 11/7/2022 3:20, Manorit Chawdhry wrote:
> > > > Machine conf for J784S4 HS platform.
> > > > Used J721S2 hs as reference.
> > > > 
> > > > Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
> > > > ---
> > > >   conf/machine/j784s4-hs-evm-k3r5.conf | 11 +++++++++++
> > > >   conf/machine/j784s4-hs-evm.conf      | 11 +++++++++++
> > > >   2 files changed, 22 insertions(+)
> > > >   create mode 100644 conf/machine/j784s4-hs-evm-k3r5.conf
> > > >   create mode 100644 conf/machine/j784s4-hs-evm.conf
> > > > 
> > > > diff --git a/conf/machine/j784s4-hs-evm-k3r5.conf b/conf/machine/j784s4-hs-evm-k3r5.conf
> > > > new file mode 100644
> > > > index 00000000..80a228a0
> > > > --- /dev/null
> > > > +++ b/conf/machine/j784s4-hs-evm-k3r5.conf
> > > > @@ -0,0 +1,11 @@
> > > > +#@TYPE: Machine
> > > > +#@NAME: J784S4 HS EVM (R5F)
> > > > +#@DESCRIPTION: Machine configuration for the TI J784S4 HS EVM (R5F core)
> > > > +
> > > > +require conf/machine/include/k3r5.inc
> > > > +
> > > > +SYSFW_SOC = "j784s4"
> > > > +SYSFW_CONFIG = "evm"
> > > > +SYSFW_SUFFIX = "hs"
> > > > +
> > > > +UBOOT_MACHINE = "j784s4_evm_r5_defconfig"
> > > 
> > > All of the previous RFC versions had the string
> > > "j784s4_hs_evm_r5_defconfig", but here it is changed...  And all of the
> > > other HS platforms include the _hs_ in the string.  Was this intentional?
> > > 
> > 
> > Ah yes, sorry for not putting it in the changelog. The yocto patches had
> > dependency on the uboot patches that's why this also had to changed
> > based on the reviews there. This is intentional as we are trying to
> > combine the hs and gp builds for evms using a single defconfig.
> 
> Should this be done through multiconfig then? Like am64xx-evm that supports 
> GP, HS-FS and HS-SE.
> 

AHP supports only HS-SE and GP uptil now so I don't think it should be required at
this point, we can still continue with j784s4-hs-evm and j784s4-evm for
the builds respectively. I have tested both ( with my local uboot ) and they seem to
be booting fine after flashing the wics.

Manorit

> -- 
> Denys


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-11-09  7:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-07  9:20 [meta-ti][dunfell][PATCH v4 0/6] J784S4 HS Support Manorit Chawdhry
2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 1/6] conf: machine: Add J784S4 hs platform Manorit Chawdhry
2022-11-08  2:02   ` Ryan Eatmon
2022-11-08  5:13     ` Manorit Chawdhry
2022-11-08 18:34       ` Denys Dmytriyenko
2022-11-09  7:30         ` Manorit Chawdhry
2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 2/6] ti-rtos-firmware: Add J784S4 High Security support Manorit Chawdhry
2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 3/6] j784s4-hs: changes to support new hs platform Manorit Chawdhry
2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 4/6] ti-graphics: Add j784s4-hs-evm as a compatible machine Manorit Chawdhry
2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 5/6] cnm-wave-fw: add compatible for j784s4-hs-evm Manorit Chawdhry
2022-11-07  9:20 ` [meta-ti][dunfell][PATCH v4 6/6] cadence-mhdp-fw: " Manorit Chawdhry

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.