From 5367184c0335eded285c6da17e87b82392afd40f Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 30 Jul 2020 14:27:51 -0400 Subject: 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 Change-Id: If5b84c6021994cce0f30410985b1ec4678e718ef Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25058 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Walter Lozano Reviewed-by: Jan-Simon Moeller --- .../machine/imx8mqevk-viv/README_machine_imx8mqevk-viv.md | 4 ++-- templates/machine/imx8mqevk/40_bblayers.conf.inc | 5 +++++ templates/machine/imx8mqevk/50_local.conf.inc | 3 +++ templates/machine/imx8mqevk/50_setup.sh | 2 ++ templates/machine/imx8mqevk/README_machine_imx8mqevk.md | 13 +++++++++++++ 5 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 templates/machine/imx8mqevk/40_bblayers.conf.inc create mode 100644 templates/machine/imx8mqevk/50_local.conf.inc create mode 100644 templates/machine/imx8mqevk/50_setup.sh create mode 100644 templates/machine/imx8mqevk/README_machine_imx8mqevk.md (limited to 'templates') 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 --- ### 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 +--- + +### 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. + -- cgit 1.2.3-korg