This needs to be a series with linux, u-boot, firmware and k3-image-gen recipes updated with the platform support. Unless the support is already present.

On 1/24/2022 5:47 PM, Nishanth Menon wrote:
On 12:24-20220124, Denys Dmytriyenko wrote:
On Mon, Jan 24, 2022 at 09:14:13AM -0600, Ryan Eatmon via 
lists.yoctoproject.org wrote:
From: Nishanth Menon <[email protected]>


Needs a commit message please.

Signed-off-by: Nishanth Menon <[email protected]>
Signed-off-by: Ryan Eatmon <[email protected]>
---
  conf/machine/j721s2-evm-k3r5.conf      | 11 +++++++++++
  conf/machine/j721s2-evm.conf           | 22 ++++++++++++++++++++++
  recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 23 +++++++++++++++++++++--
  recipes-bsp/u-boot/u-boot-ti.inc       |  6 ++++++
  4 files changed, 60 insertions(+), 2 deletions(-)
  create mode 100644 conf/machine/j721s2-evm-k3r5.conf
  create mode 100644 conf/machine/j721s2-evm.conf

diff --git a/conf/machine/j721s2-evm-k3r5.conf 
b/conf/machine/j721s2-evm-k3r5.conf
new file mode 100644
index 00000000..508e96e5
--- /dev/null
+++ b/conf/machine/j721s2-evm-k3r5.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: J721S2 EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI J721S2 EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "j721s2"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+
+UBOOT_MACHINE = "j721s2_evm_r5_defconfig"
diff --git a/conf/machine/j721s2-evm.conf b/conf/machine/j721s2-evm.conf
new file mode 100644
index 00000000..82fd33da
--- /dev/null
+++ b/conf/machine/j721s2-evm.conf
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: J721S2 EVM
+#@DESCRIPTION: Machine configuration for the TI J721S2 EVM
+
+require conf/machine/include/j7.inc
+
+SERIAL_CONSOLES = "115200;ttyS10"


See https://lore.kernel.org/all/[email protected]/

The intent is to go with ttyS2 using aliases, however, will use
main_usart8 (traditionally ttyS10).


+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"


+TFA_K3_USART = "0x8"
+OPTEE_K3_USART = "0x8"

Are these new variables? Where are they coming from?

Correct, there are patches before this that needs to be included as well.

A single patch does'nt suffice the needs to j721s2.

https://gist.github.com/nmenon/5e0d1125bb71f1575123ec9869f8693c are
probably the preceding  patches - they need to be reviewed to make sure
this is the correct way to do things.

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

Reply via email to