diff options
author | Valentin Jec <valentin.jec@nxp.com> | 2024-10-25 13:58:50 +0300 |
---|---|---|
committer | Valentin Jec <valentin.jec@nxp.com> | 2024-10-25 13:58:50 +0300 |
commit | 01ce79a25c068652a07738d48a2895ead6147b3d (patch) | |
tree | 937d3ae280de9fc97f242d3f482cb7b74d6852c6 | |
parent | 640880536da477a2c38e6522f4678a7b4b3819fb (diff) | |
download | meta-freescale-01ce79a25c068652a07738d48a2895ead6147b3d.tar.gz |
Upgrade NXP BSP to LF6.6.36_2.1.0
imx-gpu*: Upgrade 6.4.11.p2.6 -> 6.4.11.p2.8
Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
6 files changed, 70 insertions, 20 deletions
diff --git a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p2.8.bb b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p2.8.bb new file mode 100644 index 000000000..7ce542d0a --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p2.8.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | # Copyright (C) 2016 Freescale Semiconductor | ||
2 | # Copyright 2017-2024 NXP | ||
3 | # Copyright 2018 (C) O.S. Systems Software LTDA. | ||
4 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
5 | |||
6 | DESCRIPTION = "G2D library using i.MX GPU" | ||
7 | LICENSE = "Proprietary" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" | ||
9 | DEPENDS = "libgal-imx" | ||
10 | PROVIDES = "virtual/libg2d" | ||
11 | |||
12 | SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true" | ||
13 | IMX_BIN_NAME = "${BP}-${TARGET_ARCH}-${IMX_SRCREV_ABBREV}" | ||
14 | IMX_SRCREV_ABBREV = "95408a4" | ||
15 | SRC_URI[aarch64.sha256sum] = "48327fe6315aa739d5665004289412ff2e3a4e0084d1664f837276f09d35b032" | ||
16 | SRC_URI[arm.sha256sum] = "f28b2cd7b29302cd654fc845a0695d6fe935e383b56556e36933488dfa014830" | ||
17 | |||
18 | S = "${WORKDIR}/${IMX_BIN_NAME}" | ||
19 | |||
20 | inherit fsl-eula-unpack | ||
21 | |||
22 | SOC_INSTALL_DIR = "SOC_INSTALL_DIR_NOT_SET" | ||
23 | SOC_INSTALL_DIR:mx8mm-nxp-bsp = "mx8mm" | ||
24 | |||
25 | do_install () { | ||
26 | install -d ${D}${libdir} | ||
27 | install -d ${D}${includedir} | ||
28 | cp -d ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
29 | if [ -d ${S}/g2d/usr/lib/${SOC_INSTALL_DIR} ]; then | ||
30 | cp -d ${S}/g2d/usr/lib/${SOC_INSTALL_DIR}/*.so* ${D}${libdir} | ||
31 | fi | ||
32 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
33 | } | ||
34 | |||
35 | # The packaged binaries have been stripped of debug info, so disable | ||
36 | # operations accordingly. | ||
37 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
38 | INHIBIT_PACKAGE_STRIP = "1" | ||
39 | INHIBIT_SYSROOT_STRIP = "1" | ||
40 | |||
41 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
42 | COMPATIBLE_MACHINE = "(imxgpu2d)" | ||
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc index 2d02d7abb..52d878331 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
@@ -22,6 +22,10 @@ DEPENDS:append:mx8-nxp-bsp = " patchelf-native" | |||
22 | 22 | ||
23 | DEPENDS:append:libc-musl = " gcompat" | 23 | DEPENDS:append:libc-musl = " gcompat" |
24 | 24 | ||
25 | DEPENDS:remove:imx-nxp-bsp = "mesa" | ||
26 | PACKAGES:remove:imx-nxp-bsp = "libgl-imx libgl-imx-dev" | ||
27 | PROVIDES:remove:imx-nxp-bsp = "virtual/libgl" | ||
28 | |||
25 | PROVIDES += " \ | 29 | PROVIDES += " \ |
26 | imx-gpu-viv \ | 30 | imx-gpu-viv \ |
27 | libgal-imx \ | 31 | libgal-imx \ |
@@ -63,6 +67,12 @@ PROVIDES_OPENVX:mx8mm-nxp-bsp = "" | |||
63 | 67 | ||
64 | RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv" | 68 | RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv" |
65 | 69 | ||
70 | RPROVIDES_OPENCL = "opencl-icd-loader-dev" | ||
71 | RPROVIDES_OPENCL:mx7-nxp-bsp = "" | ||
72 | RPROVIDES_OPENCL:mx8mm-nxp-bsp = "" | ||
73 | |||
74 | RPROVIDES:${PN}:append:imx-nxp-bsp = " ${RPROVIDES_OPENCL}" | ||
75 | |||
66 | PE = "1" | 76 | PE = "1" |
67 | 77 | ||
68 | inherit fsl-eula-unpack | 78 | inherit fsl-eula-unpack |
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.6-aarch32.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.6-aarch32.bb deleted file mode 100644 index db99b1c71..000000000 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.6-aarch32.bb +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | require imx-gpu-viv-6.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
4 | |||
5 | IMX_SRCREV_ABBREV = "bc7b6a2" | ||
6 | |||
7 | SRC_URI[md5sum] = "d921b6daf89eba252b0b5b59abe0d690" | ||
8 | SRC_URI[sha256sum] = "cf6e42c9c9a903cd933b767d411131390d237a4b92ecad579db57d54538707f3" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp|mx6sx-nxp-bsp|mx6sl-nxp-bsp|mx7ulp-nxp-bsp)" | ||
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.6-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.6-aarch64.bb deleted file mode 100644 index fb73322ae..000000000 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.6-aarch64.bb +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | require imx-gpu-viv-6.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
4 | |||
5 | IMX_SRCREV_ABBREV = "bc7b6a2" | ||
6 | |||
7 | SRC_URI[md5sum] = "e6ac75617944d9a9dbba90f863f07e0f" | ||
8 | SRC_URI[sha256sum] = "5fe828113b9b2801b3fd60cd15eadfd0ac747e5897ef7db7fa22f80e7dd8a8e1" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" | ||
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.8-aarch32.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.8-aarch32.bb new file mode 100644 index 000000000..4cdc1d6af --- /dev/null +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.8-aarch32.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | require imx-gpu-viv-6.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" | ||
4 | |||
5 | IMX_SRCREV_ABBREV = "95408a4" | ||
6 | |||
7 | SRC_URI[sha256sum] = "c479c98e83866a7e95e5a6ae29b21ae41f9599326298d9a1debf009cac6e9406" | ||
8 | |||
9 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp|mx6sx-nxp-bsp|mx6sl-nxp-bsp|mx7ulp-nxp-bsp)" | ||
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.8-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.8-aarch64.bb new file mode 100644 index 000000000..c5208b554 --- /dev/null +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.8-aarch64.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | require imx-gpu-viv-6.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" | ||
4 | |||
5 | IMX_SRCREV_ABBREV = "95408a4" | ||
6 | |||
7 | SRC_URI[sha256sum] = "aadfcf558d07da253a57acfd5aa4ca41d4c8195f04324d0c2f6746f6f18c5a46" | ||
8 | |||
9 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" | ||