summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf/machine
diff options
context:
space:
mode:
authorAniket Limaye <a-limaye@ti.com>2024-06-03 18:26:05 +0530
committerRyan Eatmon <reatmon@ti.com>2024-06-15 08:05:34 -0500
commit38ff381e1b6c15575f9cb373f5182f3534feb547 (patch)
tree89d34bbc945f5b94ee1f39bbaa1c237e4ac2fe77 /meta-ti-bsp/conf/machine
parent018da3e8fba307deec35db9d4433219db177c4d9 (diff)
downloadmeta-ti-38ff381e1b6c15575f9cb373f5182f3534feb547.tar.gz
conf: machine: add AM68-SK machine configuration
As of commit [1] there will be a separate defconfig to build u-boot for j721s2-evm and am68-sk. Hence, introduce new yocto machine configs for am68-sk. This is done through a new am68.inc file as the am68-sk platform does not support GP. So j721s2-evm.inc is copied to am68.inc and updated accordingly. [1]: https://source.denx.de/u-boot/u-boot/-/commit/a96be9b8c05ea835d27f7c9bae03279b8bd5dcf2 Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf/machine')
-rw-r--r--meta-ti-bsp/conf/machine/am68-sk-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/am68-sk.conf20
-rw-r--r--meta-ti-bsp/conf/machine/include/am68.inc19
3 files changed, 50 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/am68-sk-k3r5.conf b/meta-ti-bsp/conf/machine/am68-sk-k3r5.conf
new file mode 100644
index 00000000..f8ce3688
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am68-sk-k3r5.conf
@@ -0,0 +1,11 @@
1#@TYPE: Machine
2#@NAME: AM68 SK (R5F)
3#@DESCRIPTION: Machine configuration for the TI AM68 SK (R5F core)
4
5require conf/machine/include/k3r5.inc
6
7SYSFW_SOC = "j721s2"
8SYSFW_CONFIG = "evm"
9SYSFW_SUFFIX = "hs-fs"
10
11UBOOT_MACHINE = "am68_sk_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am68-sk.conf b/meta-ti-bsp/conf/machine/am68-sk.conf
new file mode 100644
index 00000000..00b81b77
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am68-sk.conf
@@ -0,0 +1,20 @@
1#@TYPE: Machine
2#@NAME: AM68 SK
3#@DESCRIPTION: Machine configuration for the TI AM68 SK
4
5require conf/machine/include/am68.inc
6
7TFA_K3_USART = "0x8"
8OPTEE_K3_USART = "0x8"
9
10KERNEL_DEVICETREE_PREFIX = " \
11 ti/k3-am68-sk \
12 ti/k3-fpdlink \
13 ti/k3-v3link \
14"
15
16KERNEL_DEVICETREE = " \
17 ti/k3-am68-sk-base-board.dtb \
18"
19
20UBOOT_MACHINE = "am68_sk_a72_defconfig"
diff --git a/meta-ti-bsp/conf/machine/include/am68.inc b/meta-ti-bsp/conf/machine/include/am68.inc
new file mode 100644
index 00000000..cb3d1026
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/am68.inc
@@ -0,0 +1,19 @@
1require conf/machine/include/k3.inc
2SOC_FAMILY:append = ":j721s2"
3
4MACHINE_FEATURES += "screen gpu"
5
6require conf/machine/include/mesa-pvr.inc
7PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
8
9# Default tiboot3.bin on AM68 is for SR1.0 HS-FS
10IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-fs-evm.bin"
11
12# Since default tiboot3.bin on AM68 is for HS-FS, add a version for SR1.0 HS-SE
13IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-evm.bin"
14
15TFA_BOARD = "generic"
16
17OPTEEMACHINE = "k3-j784s4"
18
19MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw"