summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-11-19 10:23:52 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-11-25 16:27:14 +0000
commite67848f22b25fcb01b472007edf57b40227b18e7 (patch)
treee92ddad375cf5bd40041457a0825be6588208f7e /meta-agl-bsp/conf
parent6007c75b09ae81ca35e0f3ce97091818142d87dd (diff)
Add AGL reference hardware feature
Add a feature template to enable AGL H3-based reference hardware support. A feature is used as opposed to a new machine in order to meet the requirements that: * the reference hardware be bootable with a h3ulcb machine image to avoid expanding the CI test matrix * the reference hardware support be optional to not hinder Renesas BSP maintenance for the h3ulcb / h3ulcb-kf base machines If the required kernel changes for the reference hardware get upstreamed and eventually become available via the Renesas BSP this can be revisited, as the reference hardware support could then likely be reduced to just building the extra devicetree file(s). Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idcf0b8cfe8eb3c5485663ee25519a9c445362829 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25619 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-bsp/conf')
-rw-r--r--meta-agl-bsp/conf/include/agl_refhw-h3.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_refhw-h3.inc b/meta-agl-bsp/conf/include/agl_refhw-h3.inc
new file mode 100644
index 000000000..ec7c112e0
--- /dev/null
+++ b/meta-agl-bsp/conf/include/agl_refhw-h3.inc
@@ -0,0 +1,10 @@
+MACHINEOVERRIDES_append = ":agl-refhw-h3"
+
+# Reference hardware has USB3
+MACHINE_FEATURES_append = " usb3"
+
+KERNEL_DEVICETREE_append = " renesas/r8a7795-agl-refhw.dtb"
+
+# Disable the meta-agl-refhw-gen3 arm-trusted-firmware bbappend as
+# it makes the firmware reference hardware specific.
+BBMASK = "meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware"