Skip to contentSkip to conversation

machine: am64xx-sk.conf: Add machine definition for AM64xx SK

PATCH In review Lokesh Vutla 2 participants 2 messages Feb 5, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 machine: am64xx-sk.conf: Add machine definition for AM64xx SK

AM642 StarterKit (SK) board is a low cost, small form factor board designed for TI’s AM642 SoC. Add machine definition for SK board.

---
- To be merged only after U-Boot and Kernel gets updated with AM64xx sk platform.

 conf/machine/am64xx-sk-k3r5.conf | 14 ++++++++++++++
 conf/machine/am64xx-sk.conf      | 19 +++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 conf/machine/am64xx-sk-k3r5.conf
 create mode 100644 conf/machine/am64xx-sk.conf
conf/machine/am64xx-sk-k3r5.conf new file +14 -0
new file mode 100644
index 00000000..1256db72
@@ -0,0 +1,14 @@
+#@TYPE: Machine
+#@NAME: AM64xx SK (R5F)
+#@DESCRIPTION: Machine configuration for the TI AM64xx SK (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+SYSFW_SOC = "am64x"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+
+UBOOT_MACHINE = "am64x_sk_r5_defconfig"
+UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
+UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
conf/machine/am64xx-sk.conf new file +19 -0
new file mode 100644
index 00000000..4cad8adc
@@ -0,0 +1,19 @@
+#@TYPE: Machine
+#@NAME: AM64xx SK
+#@DESCRIPTION: Machine configuration for the TI AM64xx SK board
+
+require conf/machine/include/am64xx.inc
+
+IMAGE_BOOT_FILES = "tispl.bin u-boot.img"
+
+UBOOT_MACHINE = "am64x_sk_a53_defconfig"
+
+do_image_wic[depends] += "trusted-firmware-a:do_deploy"
+do_image_tar[depends] += "trusted-firmware-a:do_deploy"
+
+do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
+do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
+
+KERNEL_DEVICETREE = " \
+    ti/k3-am642-sk.dtb \
+"
Signature · 1 line
2.30.0
Reviewed-by on v1 1/1
#1 lore raw

Hello

Quoted 4 lines · Lokesh Vutla

AM642 StarterKit (SK) board is a low cost, small form factor board designed for TI’s AM642 SoC. Add machine definition for SK board.

Quoted 3 lines

---
- To be merged only after U-Boot and Kernel gets updated with AM64xx sk platform.

Not really true but up to Praneeth.  The am64xx-sk build will just fail until the kernel and uBoot are updated

Dan