Initial support for TI AM62XX EVM 82/29782/3
authorSaalim Quadri <danascape@gmail.com>
Mon, 25 Mar 2024 22:36:53 +0000 (04:06 +0530)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 26 Mar 2024 20:49:28 +0000 (20:49 +0000)
This adds templates to build for the TI AM62XX platform.

Bug-AGL: SPEC-5103

Change-Id: Ica467a7ca464da87c5a50a54b6cd1f1f86c50d98
Signed-off-by: Saalim Quadri <danascape@gmail.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29782
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
meta-agl-bsp/conf/include/agl_am62xx-evm.inc [new file with mode: 0644]
templates/machine/am62xx-evm/50_bblayers.conf.inc [new file with mode: 0644]
templates/machine/am62xx-evm/50_local.conf.inc [new file with mode: 0644]

diff --git a/meta-agl-bsp/conf/include/agl_am62xx-evm.inc b/meta-agl-bsp/conf/include/agl_am62xx-evm.inc
new file mode 100644 (file)
index 0000000..24fd951
--- /dev/null
@@ -0,0 +1,8 @@
+# am62xx-evm has a k3r5 BBMULTICONFIG to build its bootloader
+# firmware, need to use an override to set DEFAULTTUNE back to
+# what that machine configuration needs.
+DEFAULTTUNE:k3r5:forcedefaulttune = "armv7athf"
+
+# meta-ti-bsp layer conf does break expectations wrt common folders
+# meta-ti-bsp/conf/layer.conf:TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti"
+TI_COMMON_DEPLOY := "${TMPDIR}/deploy"
diff --git a/templates/machine/am62xx-evm/50_bblayers.conf.inc b/templates/machine/am62xx-evm/50_bblayers.conf.inc
new file mode 100644 (file)
index 0000000..6ef08c4
--- /dev/null
@@ -0,0 +1,5 @@
+BBLAYERS =+ "\
+    ${METADIR}/bsp/meta-arm/meta-arm \
+    ${METADIR}/bsp/meta-arm/meta-arm-toolchain \
+    ${METADIR}/bsp/meta-ti/meta-ti-bsp \
+    "
diff --git a/templates/machine/am62xx-evm/50_local.conf.inc b/templates/machine/am62xx-evm/50_local.conf.inc
new file mode 100644 (file)
index 0000000..782d11a
--- /dev/null
@@ -0,0 +1,3 @@
+MACHINE = "am62xx-evm"
+#see meta-agl/meta-agl-bsp/conf/include/agl_am62xx-evm.inc
+require conf/include/agl_am62xx-evm.inc