aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machine
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-07-30 14:27:51 -0400
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-08-19 09:06:25 +0000
commit5367184c0335eded285c6da17e87b82392afd40f (patch)
treee46490e52d6fbcc39dc705cc4a770c4fd41f1805 /templates/machine
parentd5dc7e418460131234f7e5ba3308e4cde9f5b9bc (diff)
Add imx8mqevk machine that uses etnaviv
To enable debugging/development of the etnaviv driver against the GC7000L GPU in the i.MX8MQ, add a "imx8mqevk" template that uses etnaviv instead of Vivante. Since there seem to be some issues with respect to GPU hangs and resulting graphical corruption, the existing "imx8mqevk-viv" template that uses Vivante has been retained for now. Bug-AGL: SPEC-3520 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If5b84c6021994cce0f30410985b1ec4678e718ef Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25058 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: Walter Lozano <walter.lozano@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'templates/machine')
-rw-r--r--templates/machine/imx8mqevk-viv/README_machine_imx8mqevk-viv.md4
-rw-r--r--templates/machine/imx8mqevk/40_bblayers.conf.inc5
-rw-r--r--templates/machine/imx8mqevk/50_local.conf.inc3
-rw-r--r--templates/machine/imx8mqevk/50_setup.sh2
-rw-r--r--templates/machine/imx8mqevk/README_machine_imx8mqevk.md13
5 files changed, 25 insertions, 2 deletions
diff --git a/templates/machine/imx8mqevk-viv/README_machine_imx8mqevk-viv.md b/templates/machine/imx8mqevk-viv/README_machine_imx8mqevk-viv.md
index a85140e6a..be30e00fe 100644
--- a/templates/machine/imx8mqevk-viv/README_machine_imx8mqevk-viv.md
+++ b/templates/machine/imx8mqevk-viv/README_machine_imx8mqevk-viv.md
@@ -1,9 +1,9 @@
---
-description: i.MX8 EVK with Vivante GPU driver
+description: i.MX8MQ EVK with Vivante GPU driver
authors: Scott Murray <scott.murray@konsulko.com>
---
### Machine imx8mqevk-viv
-i.MX8 EVK and EVKB boards with Vivante GPU driver support.
+i.MX8MQ EVK and EVKB boards with Vivante GPU driver support.
diff --git a/templates/machine/imx8mqevk/40_bblayers.conf.inc b/templates/machine/imx8mqevk/40_bblayers.conf.inc
new file mode 100644
index 000000000..edcb6a3a2
--- /dev/null
+++ b/templates/machine/imx8mqevk/40_bblayers.conf.inc
@@ -0,0 +1,5 @@
+# This must be parsed after qt5, etc. layers so that they are correctly
+# recognized by meta-freescale/dynamic-layers
+BBLAYERS =+ "\
+ ${METADIR}/bsp/meta-freescale \
+ "
diff --git a/templates/machine/imx8mqevk/50_local.conf.inc b/templates/machine/imx8mqevk/50_local.conf.inc
new file mode 100644
index 000000000..5f9b95943
--- /dev/null
+++ b/templates/machine/imx8mqevk/50_local.conf.inc
@@ -0,0 +1,3 @@
+MACHINE = "imx8mqevk"
+#see meta-agl/meta-agl-bsp/conf/include/agl_imx8mqevk.inc
+require conf/include/agl_imx8mqevk.inc
diff --git a/templates/machine/imx8mqevk/50_setup.sh b/templates/machine/imx8mqevk/50_setup.sh
new file mode 100644
index 000000000..eefd1eb7f
--- /dev/null
+++ b/templates/machine/imx8mqevk/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/imx8mqevk/README_machine_imx8mqevk.md b/templates/machine/imx8mqevk/README_machine_imx8mqevk.md
new file mode 100644
index 000000000..5d2bcbd37
--- /dev/null
+++ b/templates/machine/imx8mqevk/README_machine_imx8mqevk.md
@@ -0,0 +1,13 @@
+---
+description: i.MX8MQ EVK with etnaviv GPU driver
+authors: Scott Murray <scott.murray@konsulko.com>
+---
+
+### Machine imx8mqevk
+
+i.MX8MQ EVK and EVKB boards with etnaviv GPU driver support.
+Note that etnaviv on the GC7000L GPU in the i.MX8MQ is currently still
+a work in progress, the imx8mqevk-viv template using the NXP Vivante
+driver may be a better choice for those not interested in etnaviv
+debugging and development.
+