summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-05-19 17:22:34 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-05-24 11:03:49 +0000
commit3235d0f84dafa0a99313a9fb83df8a16ebdb3195 (patch)
tree3f2df0f06f2dbb7b71b12c70d9919f2269a6a583 /templates
parent2e84e270a00afc440af68baeb99e7c13010893ec (diff)
Add AGL machine template for s32g274ardb2 aka goldbox
This adds the machine template and tweaks to build an image that matches the s32g274ardb2 aka 'goldbox' . Bug-AGL: SPEC-4387 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I90cb5d109d4327147025fa81a70ef0c9adb0c78f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27498 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
Diffstat (limited to 'templates')
-rw-r--r--templates/machine/s32g274ardb2/40_bblayers.conf.inc8
-rw-r--r--templates/machine/s32g274ardb2/50_local.conf.inc3
-rw-r--r--templates/machine/s32g274ardb2/50_setup.sh2
-rw-r--r--templates/machine/s32g274ardb2/README_machine_s32g274ardb2.md6
4 files changed, 19 insertions, 0 deletions
diff --git a/templates/machine/s32g274ardb2/40_bblayers.conf.inc b/templates/machine/s32g274ardb2/40_bblayers.conf.inc
new file mode 100644
index 000000000..c668d2792
--- /dev/null
+++ b/templates/machine/s32g274ardb2/40_bblayers.conf.inc
@@ -0,0 +1,8 @@
+# This must be parsed after qt5, etc. layers so that they are correctly
+# recognized by meta-freescale/dynamic-layers
+BBLAYERS =+ "\
+ ${METADIR}/bsp/meta-freescale \
+ ${METADIR}/bsp/meta-alb \
+ ${METADIR}/bsp/meta-linaro/meta-optee \
+ ${METADIR}/external/meta-python2 \
+ "
diff --git a/templates/machine/s32g274ardb2/50_local.conf.inc b/templates/machine/s32g274ardb2/50_local.conf.inc
new file mode 100644
index 000000000..3e15d4c99
--- /dev/null
+++ b/templates/machine/s32g274ardb2/50_local.conf.inc
@@ -0,0 +1,3 @@
+MACHINE = "s32g274ardb2"
+#see meta-agl/meta-agl-bsp/conf/include/agl_s32g233aevb.inc
+require conf/include/agl_s32g274ardb2.inc
diff --git a/templates/machine/s32g274ardb2/50_setup.sh b/templates/machine/s32g274ardb2/50_setup.sh
new file mode 100644
index 000000000..eefd1eb7f
--- /dev/null
+++ b/templates/machine/s32g274ardb2/50_setup.sh
@@ -0,0 +1,2 @@
+find_and_ack_eula $METADIR/bsp/meta-freescale EULA
+export EULA_FLAG_NAME="ACCEPT_FSL_EULA"
diff --git a/templates/machine/s32g274ardb2/README_machine_s32g274ardb2.md b/templates/machine/s32g274ardb2/README_machine_s32g274ardb2.md
new file mode 100644
index 000000000..59d80627b
--- /dev/null
+++ b/templates/machine/s32g274ardb2/README_machine_s32g274ardb2.md
@@ -0,0 +1,6 @@
+---
+description: S32G
+authors: Scott Murray <scott.murray@konsulko.com>
+---
+
+### Machine s32g274ardb2