diff options
author | Aniket Limaye <a-limaye@ti.com> | 2024-06-03 18:26:05 +0530 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2024-06-15 08:05:34 -0500 |
commit | 38ff381e1b6c15575f9cb373f5182f3534feb547 (patch) | |
tree | 89d34bbc945f5b94ee1f39bbaa1c237e4ac2fe77 /meta-ti-bsp/conf/machine | |
parent | 018da3e8fba307deec35db9d4433219db177c4d9 (diff) | |
download | meta-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.conf | 11 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/am68-sk.conf | 20 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am68.inc | 19 |
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 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "j721s2" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "hs-fs" | ||
10 | |||
11 | UBOOT_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 | |||
5 | require conf/machine/include/am68.inc | ||
6 | |||
7 | TFA_K3_USART = "0x8" | ||
8 | OPTEE_K3_USART = "0x8" | ||
9 | |||
10 | KERNEL_DEVICETREE_PREFIX = " \ | ||
11 | ti/k3-am68-sk \ | ||
12 | ti/k3-fpdlink \ | ||
13 | ti/k3-v3link \ | ||
14 | " | ||
15 | |||
16 | KERNEL_DEVICETREE = " \ | ||
17 | ti/k3-am68-sk-base-board.dtb \ | ||
18 | " | ||
19 | |||
20 | UBOOT_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 @@ | |||
1 | require conf/machine/include/k3.inc | ||
2 | SOC_FAMILY:append = ":j721s2" | ||
3 | |||
4 | MACHINE_FEATURES += "screen gpu" | ||
5 | |||
6 | require conf/machine/include/mesa-pvr.inc | ||
7 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" | ||
8 | |||
9 | # Default tiboot3.bin on AM68 is for SR1.0 HS-FS | ||
10 | IMAGE_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 | ||
13 | IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-evm.bin" | ||
14 | |||
15 | TFA_BOARD = "generic" | ||
16 | |||
17 | OPTEEMACHINE = "k3-j784s4" | ||
18 | |||
19 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw" | ||