summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-agl-bsp/conf/include/agl_j7-evm.inc15
-rw-r--r--templates/machine/j7-evm/50_bblayers.conf.inc5
-rw-r--r--templates/machine/j7-evm/50_local.conf.inc3
-rw-r--r--templates/machine/j7-evm/README_machine_j7-evm.md9
4 files changed, 32 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_j7-evm.inc b/meta-agl-bsp/conf/include/agl_j7-evm.inc
new file mode 100644
index 000000000..d6f3c6d31
--- /dev/null
+++ b/meta-agl-bsp/conf/include/agl_j7-evm.inc
@@ -0,0 +1,15 @@
+# j7-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 = "armv7athf"
+
+# Force using a separate TMPDIR for the multiconfig to avoid
+# issues (e.g. using the rm_work class currently fails with the
+# single shared TMPDIR).
+TMPDIR_k3r5 = "${TOPDIR}/tmp-${BB_CURRENT_MC}"
+# But we then also need to redefine DEPLOY_DIR for it to match
+# the existing expectations (pointing into the default config)
+DEPLOY_DIR_k3r5 = "${TOPDIR}/tmp/deploy"
+
+# Workaround for recipe assumption of poky location
+LIC_FILES_CHKSUM_pn-ti-rtos-firmware = "file://${THISDIR}/../../licenses/TI-TFL;md5=a1b59cb7ba626b9dbbcbf00f3fbc438a"
diff --git a/templates/machine/j7-evm/50_bblayers.conf.inc b/templates/machine/j7-evm/50_bblayers.conf.inc
new file mode 100644
index 000000000..6152217d3
--- /dev/null
+++ b/templates/machine/j7-evm/50_bblayers.conf.inc
@@ -0,0 +1,5 @@
+BBLAYERS =+ "\
+ ${METADIR}/bsp/meta-arm/meta-arm \
+ ${METADIR}/bsp/meta-arm/meta-arm-toolchain \
+ ${METADIR}/bsp/meta-ti \
+ "
diff --git a/templates/machine/j7-evm/50_local.conf.inc b/templates/machine/j7-evm/50_local.conf.inc
new file mode 100644
index 000000000..1a81cb7ed
--- /dev/null
+++ b/templates/machine/j7-evm/50_local.conf.inc
@@ -0,0 +1,3 @@
+MACHINE = "j7-evm"
+#see meta-agl/meta-agl-bsp/conf/include/agl_j7-evm.inc
+require conf/include/agl_j7-evm.inc
diff --git a/templates/machine/j7-evm/README_machine_j7-evm.md b/templates/machine/j7-evm/README_machine_j7-evm.md
new file mode 100644
index 000000000..f1441a301
--- /dev/null
+++ b/templates/machine/j7-evm/README_machine_j7-evm.md
@@ -0,0 +1,9 @@
+---
+description: Machine j7-evm
+authors: Scott Murray <scott.murray@konsulko.com>
+---
+
+### Machine j7-evm
+
+*Description is missing - please complete file meta-agl/templates/machine/dra7xx-evm/README_machine_j7-evm.md*
+