diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-11-19 10:23:52 -0500 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2020-11-25 16:27:14 +0000 |
commit | e67848f22b25fcb01b472007edf57b40227b18e7 (patch) | |
tree | e92ddad375cf5bd40041457a0825be6588208f7e | |
parent | 6007c75b09ae81ca35e0f3ce97091818142d87dd (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>
4 files changed, 23 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" diff --git a/templates/feature/agl-refhw-h3/50_bblayers.conf.inc b/templates/feature/agl-refhw-h3/50_bblayers.conf.inc new file mode 100644 index 000000000..7aee6eac5 --- /dev/null +++ b/templates/feature/agl-refhw-h3/50_bblayers.conf.inc @@ -0,0 +1,3 @@ +BBLAYERS =+ "\ + ${METADIR}/bsp/meta-agl-refhw/meta-agl-refhw-gen3 \ + " diff --git a/templates/feature/agl-refhw-h3/50_local.conf.inc b/templates/feature/agl-refhw-h3/50_local.conf.inc new file mode 100644 index 000000000..dc39dd52a --- /dev/null +++ b/templates/feature/agl-refhw-h3/50_local.conf.inc @@ -0,0 +1,2 @@ +#see meta-agl/meta-agl-bsp/conf/include/agl_refhw-h3.inc +require conf/include/agl_refhw-h3.inc diff --git a/templates/feature/agl-refhw-h3/README_feature_agl-refhw-h3.md b/templates/feature/agl-refhw-h3/README_feature_agl-refhw-h3.md new file mode 100644 index 000000000..57720bef1 --- /dev/null +++ b/templates/feature/agl-refhw-h3/README_feature_agl-refhw-h3.md @@ -0,0 +1,8 @@ +--- +description: AGL H3-based reference hardware support +authors: Scott Murray <scott.murray@konsulko.com> +--- + +### Feature agl-refhw-h3 + +Enable support for AGL H3-based reference hardware. Should only be used with "h3ulcb" or "h3ulcb-nogfx" machine types. |