summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2023-02-17 11:18:40 -0300
committerGitHub <noreply@github.com>2023-02-17 11:18:40 -0300
commit28ab22c5826a42df6bc094ff3f67fd63e3ceb713 (patch)
tree493a3ca5b8165c0636156bc2b403060d89185273
parent755e501fa61efb90907edcb6322a8b497badb40c (diff)
parent8c881e12793cbde96670a7878ca41da10e6347d1 (diff)
downloadmeta-freescale-28ab22c5826a42df6bc094ff3f67fd63e3ceb713.tar.gz
Merge pull request #1430 from thochstein/imx93
Updates for i.MX 8ULP and i.MX 93
-rw-r--r--conf/machine/imx8ulp-lpddr4-evk.conf2
-rw-r--r--conf/machine/imx93-11x11-lpddr4x-evk.conf36
-rw-r--r--conf/machine/imx93-9x9-lpddr4-qsb.conf24
-rw-r--r--conf/machine/include/imx-base.inc3
-rw-r--r--recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb28
5 files changed, 61 insertions, 32 deletions
diff --git a/conf/machine/imx8ulp-lpddr4-evk.conf b/conf/machine/imx8ulp-lpddr4-evk.conf
index 707597d2..273e1569 100644
--- a/conf/machine/imx8ulp-lpddr4-evk.conf
+++ b/conf/machine/imx8ulp-lpddr4-evk.conf
@@ -8,7 +8,7 @@ require include/imx8ulp-evk.inc
8 8
9KERNEL_DEVICETREE_BASENAME = "imx8ulp-evk" 9KERNEL_DEVICETREE_BASENAME = "imx8ulp-evk"
10 10
11KERNEL_DEVICETREE += " \ 11KERNEL_DEVICETREE:append:use-nxp-bsp = " \
12 freescale/${KERNEL_DEVICETREE_BASENAME}-epdc.dtb \ 12 freescale/${KERNEL_DEVICETREE_BASENAME}-epdc.dtb \
13 freescale/${KERNEL_DEVICETREE_BASENAME}-flexio-i2c.dtb \ 13 freescale/${KERNEL_DEVICETREE_BASENAME}-flexio-i2c.dtb \
14 freescale/${KERNEL_DEVICETREE_BASENAME}-i3c.dtb \ 14 freescale/${KERNEL_DEVICETREE_BASENAME}-i3c.dtb \
diff --git a/conf/machine/imx93-11x11-lpddr4x-evk.conf b/conf/machine/imx93-11x11-lpddr4x-evk.conf
index d5db4bde..a56b18ec 100644
--- a/conf/machine/imx93-11x11-lpddr4x-evk.conf
+++ b/conf/machine/imx93-11x11-lpddr4x-evk.conf
@@ -10,27 +10,27 @@ require include/imx93-evk.inc
10 10
11KERNEL_DEVICETREE_BASENAME = "imx93-11x11-evk" 11KERNEL_DEVICETREE_BASENAME = "imx93-11x11-evk"
12 12
13KERNEL_DEVICETREE += " \ 13KERNEL_DEVICETREE:append:use-nxp-bsp = " \
14 freescale/${KERNEL_DEVICETREE_BASENAME}-aud-hat.dtb \ 14 freescale/${KERNEL_DEVICETREE_BASENAME}-aud-hat.dtb \
15 freescale/${KERNEL_DEVICETREE_BASENAME}-boe-wxga-lvds-panel.dtb \ 15 freescale/${KERNEL_DEVICETREE_BASENAME}-boe-wxga-lvds-panel.dtb \
16 freescale/${KERNEL_DEVICETREE_BASENAME}-flexio-i2c.dtb \ 16 freescale/${KERNEL_DEVICETREE_BASENAME}-flexio-i2c.dtb \
17 freescale/${KERNEL_DEVICETREE_BASENAME}-flexspi-m2.dtb \ 17 freescale/${KERNEL_DEVICETREE_BASENAME}-flexspi-m2.dtb \
18 freescale/${KERNEL_DEVICETREE_BASENAME}-i3c.dtb \ 18 freescale/${KERNEL_DEVICETREE_BASENAME}-i3c.dtb \
19 freescale/${KERNEL_DEVICETREE_BASENAME}-inmate.dtb \ 19 freescale/${KERNEL_DEVICETREE_BASENAME}-inmate.dtb \
20 freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi-slave.dtb \ 20 freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi-slave.dtb \
21 freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi.dtb \ 21 freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi.dtb \
22 freescale/${KERNEL_DEVICETREE_BASENAME}-lpuart.dtb \ 22 freescale/${KERNEL_DEVICETREE_BASENAME}-lpuart.dtb \
23 freescale/${KERNEL_DEVICETREE_BASENAME}-mqs.dtb \ 23 freescale/${KERNEL_DEVICETREE_BASENAME}-mqs.dtb \
24 freescale/${KERNEL_DEVICETREE_BASENAME}-mt9m114.dtb \ 24 freescale/${KERNEL_DEVICETREE_BASENAME}-mt9m114.dtb \
25 freescale/${KERNEL_DEVICETREE_BASENAME}-rm67199.dtb \ 25 freescale/${KERNEL_DEVICETREE_BASENAME}-rm67199.dtb \
26 freescale/${KERNEL_DEVICETREE_BASENAME}-root.dtb \ 26 freescale/${KERNEL_DEVICETREE_BASENAME}-root.dtb \
27 " 27 "
28 28
29UBOOT_CONFIG_BASENAME = "imx93_11x11_evk" 29UBOOT_CONFIG_BASENAME = "imx93_11x11_evk"
30 30
31DDR_FIRMWARE_NAME = " \ 31DDR_FIRMWARE_NAME = " \
32 lpddr4_dmem_1d_v202201.bin \ 32 lpddr4_dmem_1d_v202201.bin \
33 lpddr4_dmem_2d_v202201.bin \ 33 lpddr4_dmem_2d_v202201.bin \
34 lpddr4_imem_1d_v202201.bin \ 34 lpddr4_imem_1d_v202201.bin \
35 lpddr4_imem_2d_v202201.bin \ 35 lpddr4_imem_2d_v202201.bin \
36" 36"
diff --git a/conf/machine/imx93-9x9-lpddr4-qsb.conf b/conf/machine/imx93-9x9-lpddr4-qsb.conf
index bdecab65..01843aca 100644
--- a/conf/machine/imx93-9x9-lpddr4-qsb.conf
+++ b/conf/machine/imx93-9x9-lpddr4-qsb.conf
@@ -10,21 +10,21 @@ require include/imx93-evk.inc
10 10
11KERNEL_DEVICETREE_BASENAME = "imx93-9x9-qsb" 11KERNEL_DEVICETREE_BASENAME = "imx93-9x9-qsb"
12 12
13KERNEL_DEVICETREE += " \ 13KERNEL_DEVICETREE:append:use-nxp-bsp = " \
14 freescale/${KERNEL_DEVICETREE_BASENAME}-qsb-can1.dtb \ 14 freescale/${KERNEL_DEVICETREE_BASENAME}-can1.dtb \
15 freescale/${KERNEL_DEVICETREE_BASENAME}-qsb-flexspi-m2.dtb \ 15 freescale/${KERNEL_DEVICETREE_BASENAME}-flexspi-m2.dtb \
16 freescale/${KERNEL_DEVICETREE_BASENAME}-qsb-i3c.dtb \ 16 freescale/${KERNEL_DEVICETREE_BASENAME}-i3c.dtb \
17 freescale/${KERNEL_DEVICETREE_BASENAME}-qsb-lpspi-slave.dtb \ 17 freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi-slave.dtb \
18 freescale/${KERNEL_DEVICETREE_BASENAME}-qsb-lpspi.dtb \ 18 freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi.dtb \
19 freescale/${KERNEL_DEVICETREE_BASENAME}-qsb-mt9m114.dtb \ 19 freescale/${KERNEL_DEVICETREE_BASENAME}-mt9m114.dtb \
20 freescale/${KERNEL_DEVICETREE_BASENAME}-qsb-ontat-wvga-panel.dtb \ 20 freescale/${KERNEL_DEVICETREE_BASENAME}-ontat-wvga-panel.dtb \
21" 21"
22 22
23UBOOT_CONFIG_BASENAME = "imx93_9x9_qsb" 23UBOOT_CONFIG_BASENAME = "imx93_9x9_qsb"
24 24
25DDR_FIRMWARE_NAME = " \ 25DDR_FIRMWARE_NAME = " \
26 lpddr4_dmem_1d_v202201.bin \ 26 lpddr4_dmem_1d_v202201.bin \
27 lpddr4_dmem_2d_v202201.bin \ 27 lpddr4_dmem_2d_v202201.bin \
28 lpddr4_imem_1d_v202201.bin \ 28 lpddr4_imem_1d_v202201.bin \
29 lpddr4_imem_2d_v202201.bin \ 29 lpddr4_imem_2d_v202201.bin \
30" 30"
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index b2ca0ef8..e59c5bee 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -200,7 +200,7 @@ MACHINEOVERRIDES_EXTENDER:mx8qxp:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxd
200MACHINEOVERRIDES_EXTENDER:mx8dx:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d:imxvulkan:mx8-generic-bsp:mx8-nxp-bsp:mx8x-generic-bsp:mx8x-nxp-bsp:mx8dx-generic-bsp:mx8dx-nxp-bsp" 200MACHINEOVERRIDES_EXTENDER:mx8dx:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d:imxvulkan:mx8-generic-bsp:mx8-nxp-bsp:mx8x-generic-bsp:mx8x-nxp-bsp:mx8dx-generic-bsp:mx8dx-nxp-bsp"
201MACHINEOVERRIDES_EXTENDER:mx8dxl:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxfbdev:mx8dxl-generic-bsp:mx8-generic-bsp:mx8-nxp-bsp:mx8x-generic-bsp:mx8x-nxp-bsp:mx8dxl-nxp-bsp" 201MACHINEOVERRIDES_EXTENDER:mx8dxl:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxfbdev:mx8dxl-generic-bsp:mx8-generic-bsp:mx8-nxp-bsp:mx8x-generic-bsp:mx8x-nxp-bsp:mx8dxl-nxp-bsp"
202 202
203MACHINEOVERRIDES_EXTENDER:mx8ulp:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx8-generic-bsp:mx8-nxp-bsp:mx8ulp-generic-bsp:mx8ulp-nxp-bsp" 203MACHINEOVERRIDES_EXTENDER:mx8ulp:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:imxgpu:imxgpu2d:imxgpu3d:imxvulkan:mx8-generic-bsp:mx8-nxp-bsp:mx8ulp-generic-bsp:mx8ulp-nxp-bsp"
204 204
205MACHINEOVERRIDES_EXTENDER:mx93:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:imxpxp:mx9-generic-bsp:mx9-nxp-bsp:mx93-generic-bsp:mx93-nxp-bsp" 205MACHINEOVERRIDES_EXTENDER:mx93:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:imxpxp:mx9-generic-bsp:mx9-nxp-bsp:mx93-generic-bsp:mx93-nxp-bsp"
206 206
@@ -495,6 +495,7 @@ PREFERRED_PROVIDER_virtual/libgles2:imxgpu3d ?= "imx-gpu-viv"
495PREFERRED_PROVIDER_virtual/libgles3:imxgpu3d ?= "imx-gpu-viv" 495PREFERRED_PROVIDER_virtual/libgles3:imxgpu3d ?= "imx-gpu-viv"
496PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d" 496PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d"
497PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-dpu-g2d" 497PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-dpu-g2d"
498PREFERRED_PROVIDER_virtual/libg2d:mx93-nxp-bsp ?= "imx-pxp-g2d"
498PREFERRED_PROVIDER_opencl-clhpp:imxgpu ?= "imx-gpu-viv" 499PREFERRED_PROVIDER_opencl-clhpp:imxgpu ?= "imx-gpu-viv"
499PREFERRED_PROVIDER_opencl-headers:imxgpu ?= "imx-gpu-viv" 500PREFERRED_PROVIDER_opencl-headers:imxgpu ?= "imx-gpu-viv"
500PREFERRED_PROVIDER_opencl-icd-loader:imxgpu ?= "imx-gpu-viv" 501PREFERRED_PROVIDER_opencl-icd-loader:imxgpu ?= "imx-gpu-viv"
diff --git a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb
new file mode 100644
index 00000000..fbf56e0c
--- /dev/null
+++ b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb
@@ -0,0 +1,28 @@
1# Copyright (C) 2016 Freescale Semiconductor
2# Copyright 2017-2022 NXP
3# Released under the MIT license (see COPYING.MIT for the terms)
4
5DESCRIPTION = "G2D library using i.MX PXP"
6LICENSE = "Proprietary"
7LIC_FILES_CHKSUM = "file://EULA.txt;md5=d3c315c6eaa43e07d8c130dc3a04a011"
8
9PROVIDES += "virtual/libg2d"
10
11PV = "2.1.0+git${SRCPV}"
12
13SRC_URI = "${IMX_PXP_G2D_SRC};branch=${SRCBRANCH}"
14IMX_PXP_G2D_SRC ?= "git://github.com/nxp-imx/imx-g2d-pxp.git;protocol=https"
15SRCBRANCH ?= "imx_2.1"
16SRCREV = "178970dc7cdba69b94c2219b5bade46d67adb640"
17
18S = "${WORKDIR}/git"
19
20inherit use-imx-headers
21
22EXTRA_OEMAKE = "PLATFORM=IMX93 INCLUDE='-I${STAGING_INCDIR_IMX}' DEST_DIR=${D}"
23
24do_install() {
25 oe_runmake install
26}
27
28COMPATIBLE_MACHINE = "(mx93-nxp-bsp)"