summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-05-30 17:01:47 -0400
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-06-01 08:38:04 +0000
commit371a90a2e6c463467e0e90d5112910ebb3502be2 (patch)
treed6509b9476da5a50861af529e2dee582dcd4d514 /meta-agl-bsp
parent280f9ba9438c9d6fbcec5aa698f95a03f4846181 (diff)
Add initial j7-evm machine support
Add template and inc file for requested j7-evm machine. Notes: - The various images have been test built, including the agl-demo-platform image. No runtime testing has been done due to lack of hardware. - The proprietary SGX graphics support has not been enabled. This is due to both being unable to test, and it being unclear if it is required given the telematics usecases mentioned with respect to the hardware. - The shared TMPDIR for the non-optional multiconfig for building the bootloader has been shifted to a split one, as failures were reproducibly being seen when using the rm_work bbclass, and in general the community recommendation is to not share them. This does mean that cleaning up a build tree requires removing the tmp-k3r5 directory in addition to tmp. Bug-AGL: SPEC-3928 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5c4e325b0b709b6571946475bf128bc25b171f6e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26379 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/conf/include/agl_j7-evm.inc15
1 files changed, 15 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"