Re: [PATCH 1/4] machine: am64xx-evm.conf: Add machine definition for AM64xx platform


Suman Anna
 

Hi Dan,

On 12/11/20 7:31 AM, Dan Murphy via lists.yoctoproject.org wrote:
The AM64 is a follow on device of the AM65xx K3 multicore SoC architecture.

Signed-off-by: Dan Murphy <dmurphy@...>
---
conf/machine/am64xx-evm-k3r5.conf | 13 +++++++++++++
conf/machine/am64xx-evm.conf | 7 +++++++
conf/machine/include/am64xx.inc | 21 +++++++++++++++++++++
3 files changed, 41 insertions(+)
create mode 100644 conf/machine/am64xx-evm-k3r5.conf
create mode 100644 conf/machine/am64xx-evm.conf
create mode 100644 conf/machine/include/am64xx.inc

diff --git a/conf/machine/am64xx-evm-k3r5.conf b/conf/machine/am64xx-evm-k3r5.conf
new file mode 100644
index 000000000000..26230da499af
--- /dev/null
+++ b/conf/machine/am64xx-evm-k3r5.conf
@@ -0,0 +1,13 @@
+#@TYPE: Machine
+#@NAME: AM64xx EVM (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM64xx EVM (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+# UPdate for am64
+SYSFW_SOC = "am65x"
Guess you are going to wait until ti-sci-fw recipe is updated. Alternatively,
name this correctly, and do not include the ti-sci-fw recipe for now for AM64xx.
This should be ready the next business day.

+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+SYSFW_SYMLINK = "sysfw.itb"
+
+UBOOT_MACHINE = "am64x_evm_r5_defconfig"
diff --git a/conf/machine/am64xx-evm.conf b/conf/machine/am64xx-evm.conf
new file mode 100644
index 000000000000..c6ba2a8735f3
--- /dev/null
+++ b/conf/machine/am64xx-evm.conf
@@ -0,0 +1,7 @@
+#@TYPE: Machine
+#@NAME: AM64xx EVM
+#@DESCRIPTION: Machine configuration for the TI AM64xx EVM
+
+require conf/machine/include/am64xx.inc
+
+UBOOT_MACHINE = "am64x_evm_a53_defconfig"
diff --git a/conf/machine/include/am64xx.inc b/conf/machine/include/am64xx.inc
new file mode 100644
index 000000000000..a96bda1c71e7
--- /dev/null
+++ b/conf/machine/include/am64xx.inc
@@ -0,0 +1,21 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY_append = ":am64xx"
+
+MACHINE_FEATURES += "screen touchscreen gpu"
Hmm, is this list accurate actually? AFAIK, there's no GPU or does this signify
something else?

+
+SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+
+KERNEL_DEVICETREE = " \
+ ti/k3-am642-evm.dtb \
+"
+
+#IMAGE_BOOT_FILES += "sysfw-am64x-evm.itb"
Get rid of this line..

+
+OPTEEMACHINE = "k3-am65x"
+OPTEEOUTPUTMACHINE = "k3"
+
+# Set the list of device targets for ti-pdk class recipes
+TI_PDK_LIMIT_SOCS = "am64xx"
+TI_PDK_LIMIT_BOARDS = "am64xx_evm"
The PDK SoC and board defined are am64x and am64x_evm as per the PDK sources.

+TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0"
You need to add additional cores, mcu1_1 mcu2_0 and mcu2_1

regards
Suman





Join meta-ti@lists.yoctoproject.org to automatically receive all group messages.