On 10/26/23 5:39 PM, Ryan Eatmon via lists.yoctoproject.org wrote:
From: Chirag Shilwant <[email protected]>

- Add A53 and R5 machine configurations for am62pxx-evm.
- Add firmware overrides.
- Add u-boot overrides.
- Add cnm-wave support.

Signed-off-by: Chirag Shilwant <[email protected]>
Signed-off-by: Ryan Eatmon <[email protected]>
Signed-off-by: Brandon Brnich <[email protected]>
---
  .../conf/machine/am62pxx-evm-k3r5.conf        | 11 +++++++++++
  meta-ti-bsp/conf/machine/am62pxx-evm.conf     | 13 +++++++++++++
  meta-ti-bsp/conf/machine/include/am62pxx.inc  | 19 +++++++++++++++++++
  .../cnm-wave-fw/cnm-wave-fw_git.bb            |  2 +-
  meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb  |  5 +++++
  .../recipes-bsp/ti-eth-fw/ti-eth-fw.bb        |  2 ++
  meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc  |  2 ++
  .../recipes-security/optee/optee-os-ti.inc    |  1 +
  .../ti-rtos-bin/ti-rtos-firmware.bb           | 19 +++++++++++++++++++
  9 files changed, 73 insertions(+), 1 deletion(-)
  create mode 100644 meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
  create mode 100644 meta-ti-bsp/conf/machine/am62pxx-evm.conf
  create mode 100644 meta-ti-bsp/conf/machine/include/am62pxx.inc

diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf 
b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
new file mode 100644
index 00000000..33254bf2
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: AM62PX EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM62Px EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "am62px"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "hs-fs"
+
+UBOOT_MACHINE = "am62px_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm.conf 
b/meta-ti-bsp/conf/machine/am62pxx-evm.conf
new file mode 100644
index 00000000..c0c62592
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62pxx-evm.conf
@@ -0,0 +1,13 @@
+#@TYPE: Machine
+#@NAME: AM62PX EVM
+#@DESCRIPTION: Machine configuration for the TI AM62PX EVM
+
+require conf/machine/include/am62pxx.inc
+
+KERNEL_DEVICETREE_PREFIX = "ti/k3-am62p5"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am62p5-sk.dtb \
+"
+
+UBOOT_MACHINE = "am62px_evm_a53_defconfig"
diff --git a/meta-ti-bsp/conf/machine/include/am62pxx.inc 
b/meta-ti-bsp/conf/machine/include/am62pxx.inc
new file mode 100644
index 00000000..d61ad62b
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/am62pxx.inc
@@ -0,0 +1,19 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":am62pxx"
+
+MACHINE_FEATURES += "screen gpu"
+
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
+
+# Default tiboot3.bin on AM62Px is for HS-FS
+IMAGE_BOOT_FILES += "tiboot3-am62px-hs-fs-evm.bin"
+
+TFA_BOARD = "lite"
+TFA_K3_SYSTEM_SUSPEND = "1"
+
+OPTEEMACHINE = "k3-am62px"

Not a valid machine, did you mean "k3-am62x"?

[...]

  FILESEXTRAPATHS:prepend := "${METATIBASE}/recipes-bsp/ti-sci-fw/files/:"
  require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
@@ -56,6 +57,7 @@ IPC_FW_LIST = ""
  IPC_FW_LIST:am65xx =  "${MCU_1_0_FW} ${MCU_1_1_FW}"
  IPC_FW_LIST:am64xx =  "${MCU_1_0_FW} ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} 
${MCU_3_0_FW}"
  IPC_FW_LIST:am62xx =  "                            ${MCU_2_0_FW}"
 +IPC_FW_LIST:am62pxx =  "                            ${MCU_2_0_FW}"

Alignment seems wrong here and in some other spots, remove a space if you copied
the line from the shorter am62xx.

Andrew
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17211): 
https://lists.yoctoproject.org/g/meta-ti/message/17211
Mute This Topic: https://lists.yoctoproject.org/mt/102210628/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to