summaryrefslogtreecommitdiffstats
path: root/templates/machine
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-05-07 15:55:04 -0400
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-05-12 23:34:44 +0000
commit4ee8c933aa9726f0493ead14b4e1c97a0844ec28 (patch)
tree59ce1ebb4080a4b0dc29b8e45023ce5b5ab44cf1 /templates/machine
parent8b1baf589ebad0862791c32c7a9b953071dec20a (diff)
Add i.MX8MQ EVK support
Add imx8mqevk-viv machine template for i.MX8MQ EVK which uses the default Vivante driver configuration in meta-freescale with the new community linux-fslc-imx kernel. The following additional changes have been made to support this: - A linux-fslc-imx bbappend has been added to pull in the AGL kernel configuration, and a imx8mq-evkb config fragment has been added to enable the required Wifi driver for the updated EVKB board. - Stale qtbase and weston-init bbappends/patches have been removed from meta-agl-bsp/meta-freescale-layer. - The meta-agl-profile-graphical Weston 8.0.0 bbappend has been renamed to 8.0.% so the wildcard will apply it to meta-freescale's weston_8.0.0.imx recipe. Known issues: - The required PipeWire configuration for the onboard audio needs further investigation. Bug-AGL: SPEC-3258 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4ea5437ef0ea8bedb9dd2157f2822ff25ee56cff
Diffstat (limited to 'templates/machine')
-rw-r--r--templates/machine/imx8mqevk-viv/40_bblayers.conf.inc5
-rw-r--r--templates/machine/imx8mqevk-viv/50_local.conf.inc3
-rw-r--r--templates/machine/imx8mqevk-viv/50_setup.sh2
-rw-r--r--templates/machine/imx8mqevk-viv/README_machine_imx8mqevk-viv.md9
4 files changed, 19 insertions, 0 deletions
diff --git a/templates/machine/imx8mqevk-viv/40_bblayers.conf.inc b/templates/machine/imx8mqevk-viv/40_bblayers.conf.inc
new file mode 100644
index 000000000..edcb6a3a2
--- /dev/null
+++ b/templates/machine/imx8mqevk-viv/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-viv/50_local.conf.inc b/templates/machine/imx8mqevk-viv/50_local.conf.inc
new file mode 100644
index 000000000..e9668c307
--- /dev/null
+++ b/templates/machine/imx8mqevk-viv/50_local.conf.inc
@@ -0,0 +1,3 @@
+MACHINE = "imx8mqevk"
+#see meta-agl/meta-agl-bsp/conf/include/agl_imx8mqevk-viv.inc
+require conf/include/agl_imx8mqevk-viv.inc
diff --git a/templates/machine/imx8mqevk-viv/50_setup.sh b/templates/machine/imx8mqevk-viv/50_setup.sh
new file mode 100644
index 000000000..eefd1eb7f
--- /dev/null
+++ b/templates/machine/imx8mqevk-viv/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-viv/README_machine_imx8mqevk-viv.md b/templates/machine/imx8mqevk-viv/README_machine_imx8mqevk-viv.md
new file mode 100644
index 000000000..a85140e6a
--- /dev/null
+++ b/templates/machine/imx8mqevk-viv/README_machine_imx8mqevk-viv.md
@@ -0,0 +1,9 @@
+---
+description: i.MX8 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.
+