diff options
-rw-r--r-- | recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.1.0.bb | 19 | ||||
-rw-r--r-- | recipes-bsp/libimxdmabuffer/files/0001-g2d-Fix-typo.patch | 28 | ||||
-rw-r--r-- | recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb (renamed from recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.2.bb) | 3 | ||||
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb (renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.1.0.bb) | 18 | ||||
-rw-r--r-- | recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.0.bb (renamed from recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb) | 7 |
5 files changed, 39 insertions, 36 deletions
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.1.0.bb b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.1.0.bb index a44c9027..286f3c87 100644 --- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.1.0.bb +++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.1.0.bb | |||
@@ -13,4 +13,23 @@ S = "${WORKDIR}/${BPN}-${PV}" | |||
13 | SRC_URI[md5sum] = "5c254523ae4c44491ea838e84e9aee49" | 13 | SRC_URI[md5sum] = "5c254523ae4c44491ea838e84e9aee49" |
14 | SRC_URI[sha256sum] = "c5dd1fbf8c9776d7a2844a225e0aa2e489aa24eaab8f55cb48a6e3184def235d" | 14 | SRC_URI[sha256sum] = "c5dd1fbf8c9776d7a2844a225e0aa2e489aa24eaab8f55cb48a6e3184def235d" |
15 | 15 | ||
16 | # SCR is the location and name of the Software Content Register file | ||
17 | # relative to ${D}${D_SUBDIR}. | ||
18 | SCR = "SCR.txt" | ||
19 | |||
20 | do_install () { | ||
21 | install -d ${D}${D_SUBDIR} | ||
22 | cp -r ${S}/* ${D}${D_SUBDIR} | ||
23 | if [ -d "${D}/usr/lib" ] && [ "${D}/usr/lib" != "${D}${libdir}" ]; then | ||
24 | mv ${D}/usr/lib ${D}${libdir} | ||
25 | fi | ||
26 | rm ${D}${D_SUBDIR}/COPYING | ||
27 | if [ ! -f ${D}${D_SUBDIR}/${SCR} ]; then | ||
28 | bbfatal "Missing Software Content Register \"${D}${D_SUBDIR}/${SCR}\"" | ||
29 | fi | ||
30 | rm ${D}${D_SUBDIR}/${SCR} | ||
31 | } | ||
32 | |||
33 | FILES_${PN} = "/" | ||
34 | |||
16 | COMPATIBLE_MACHINE = "(mx8mp)" | 35 | COMPATIBLE_MACHINE = "(mx8mp)" |
diff --git a/recipes-bsp/libimxdmabuffer/files/0001-g2d-Fix-typo.patch b/recipes-bsp/libimxdmabuffer/files/0001-g2d-Fix-typo.patch deleted file mode 100644 index 490d3a2f..00000000 --- a/recipes-bsp/libimxdmabuffer/files/0001-g2d-Fix-typo.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 41825b11289be251fed64470893d18b89b0dd38b Mon Sep 17 00:00:00 2001 | ||
2 | From: Carlos Rafael Giani <crg7475@mailbox.org> | ||
3 | Date: Sun, 8 May 2022 16:25:44 +0200 | ||
4 | Subject: [PATCH] g2d: Fix typo | ||
5 | |||
6 | Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> | ||
7 | |||
8 | Upstream-Status: Backport [41825b11289be251fed64470893d18b89b0dd38b] | ||
9 | --- | ||
10 | imxdmabuffer/imxdmabuffer_g2d_allocator.c | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/imxdmabuffer/imxdmabuffer_g2d_allocator.c b/imxdmabuffer/imxdmabuffer_g2d_allocator.c | ||
14 | index f10a909..497dcea 100644 | ||
15 | --- a/imxdmabuffer/imxdmabuffer_g2d_allocator.c | ||
16 | +++ b/imxdmabuffer/imxdmabuffer_g2d_allocator.c | ||
17 | @@ -139,7 +139,7 @@ static uint8_t* imx_dma_buffer_g2d_allocator_map(ImxDmaBufferAllocator *allocato | ||
18 | * (Other allocators perform more steps than this.) */ | ||
19 | if (imx_g2d_buffer->mapping_refcount > 0) | ||
20 | { | ||
21 | - assert((imx_dwl_buffer->map_flags & flags & IMX_DMA_BUFFER_MAPPING_READWRITE_FLAG_MASK) == (flags & IMX_DMA_BUFFER_MAPPING_READWRITE_FLAG_MASK)); | ||
22 | + assert((imx_g2d_buffer->map_flags & flags & IMX_DMA_BUFFER_MAPPING_READWRITE_FLAG_MASK) == (flags & IMX_DMA_BUFFER_MAPPING_READWRITE_FLAG_MASK)); | ||
23 | imx_g2d_buffer->mapping_refcount++; | ||
24 | } | ||
25 | else | ||
26 | -- | ||
27 | 2.32.0 | ||
28 | |||
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.2.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb index dd3b65da..bc40a1cf 100644 --- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.2.bb +++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb | |||
@@ -8,9 +8,8 @@ SECTION = "base" | |||
8 | PV .= "+git${SRCPV}" | 8 | PV .= "+git${SRCPV}" |
9 | 9 | ||
10 | SRCBRANCH ?= "master" | 10 | SRCBRANCH ?= "master" |
11 | SRCREV = "5410b44fb0c5bbd9fb1f3ba0681e65068d8cde57" | 11 | SRCREV = "faf547cc2345bfbf95507ab7e86530f85289bb5b" |
12 | SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};protocol=https \ | 12 | SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};protocol=https \ |
13 | file://0001-g2d-Fix-typo.patch \ | ||
14 | file://run-ptest \ | 13 | file://run-ptest \ |
15 | " | 14 | " |
16 | 15 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.1.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb index 9b3bc9b7..7e2f2573 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.1.0.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb | |||
@@ -15,7 +15,7 @@ RDEPENDS_gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparser | |||
15 | PV .= "+git${SRCPV}" | 15 | PV .= "+git${SRCPV}" |
16 | 16 | ||
17 | SRCBRANCH ?= "master" | 17 | SRCBRANCH ?= "master" |
18 | SRCREV = "b1e5cca1a6df9d2c0dc505ae222775798108d340" | 18 | SRCREV = "cb3cd45676e808b222ac573e8a118f44fd70c288" |
19 | SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH};protocol=https" | 19 | SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH};protocol=https" |
20 | 20 | ||
21 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
@@ -46,19 +46,29 @@ PACKAGECONFIG_append_imxgpu2d = " g2d" | |||
46 | PACKAGECONFIG_append_imxvpu = " vpu" | 46 | PACKAGECONFIG_append_imxvpu = " vpu" |
47 | PACKAGECONFIG_append_imxipu = " ipu" | 47 | PACKAGECONFIG_append_imxipu = " ipu" |
48 | PACKAGECONFIG_append_imxpxp = " pxp" | 48 | PACKAGECONFIG_append_imxpxp = " pxp" |
49 | # The custom imxv4l2 elements are only available on the i.MX6. | 49 | # The custom imxv4l2 source and sink elements are only |
50 | # available on the i.MX6. | ||
50 | # The 2D blitter sinks require an MXC framebuffer, which | 51 | # The 2D blitter sinks require an MXC framebuffer, which |
51 | # is not available anymore on the i.MX8 (since these SoCs | 52 | # is not available anymore on the i.MX8 (since these SoCs |
52 | # now use KMS instead of the old Linux framebuffer). | 53 | # now use KMS instead of the old Linux framebuffer). |
53 | PACKAGECONFIG_append_mx6 = " imx2dvideosink v4l2" | 54 | PACKAGECONFIG_append_mx6 = " imx2dvideosink v4l2-mxc-source-sink" |
54 | PACKAGECONFIG_append_mx7 = " imx2dvideosink" | 55 | PACKAGECONFIG_append_mx7 = " imx2dvideosink" |
56 | # The custom Amphion V4L2 mem-2-mem elements are meant for | ||
57 | # the QuadMax and QuadXPlus SoCs. | ||
58 | PACKAGECONFIG_append_mx8qm = " v4l2-amphion" | ||
59 | PACKAGECONFIG_append_mx8qxp = " v4l2-amphion" | ||
55 | 60 | ||
56 | PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}" | 61 | PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}" |
57 | PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled," | 62 | PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled," |
58 | PACKAGECONFIG[ipu] = "-Dipu=enabled,-Dipu=disabled," | 63 | PACKAGECONFIG[ipu] = "-Dipu=enabled,-Dipu=disabled," |
59 | PACKAGECONFIG[vpu] = "-Dvpu=enabled,-Dvpu=disabled,libimxvpuapi2" | 64 | PACKAGECONFIG[vpu] = "-Dvpu=enabled,-Dvpu=disabled,libimxvpuapi2" |
60 | PACKAGECONFIG[imx2dvideosink] = "-Dimx2d-videosink=true,-Dimx2d-videosink=false," | 65 | PACKAGECONFIG[imx2dvideosink] = "-Dimx2d-videosink=true,-Dimx2d-videosink=false," |
61 | PACKAGECONFIG[v4l2] = "-Dv4l2=true,-Dv4l2=false," | 66 | PACKAGECONFIG[v4l2-mxc-source-sink] = "-Dv4l2-mxc-source-sink=true,-Dv4l2-mxc-source-sink=false," |
67 | # v4l2-isi is not enabled by default because the ISI devices | ||
68 | # need to be turned on in the devicetree. See the readme on | ||
69 | # the gstreamer-imx github site for details. | ||
70 | PACKAGECONFIG[v4l2-isi] = "-Dv4l2-isi=true,-Dv4l2-isi=false," | ||
71 | PACKAGECONFIG[v4l2-amphion] = "-Dv4l2-amphion=enabled,-Dv4l2-amphion=disabled," | ||
62 | PACKAGECONFIG[uniaudiodec] = "-Duniaudiodec=enabled,-Duniaudiodec=disabled,imx-codec" | 72 | PACKAGECONFIG[uniaudiodec] = "-Duniaudiodec=enabled,-Duniaudiodec=disabled,imx-codec" |
63 | PACKAGECONFIG[mp3encoder] = "-Dmp3encoder=enabled,-Dmp3encoder=disabled,imx-codec" | 73 | PACKAGECONFIG[mp3encoder] = "-Dmp3encoder=enabled,-Dmp3encoder=disabled,imx-codec" |
64 | 74 | ||
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.0.bb index c0ee358a..51e6b554 100644 --- a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.0.bb | |||
@@ -4,11 +4,14 @@ LICENSE = "LGPLv2.1" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" |
5 | SECTION = "multimedia" | 5 | SECTION = "multimedia" |
6 | DEPENDS = "virtual/imxvpu libimxdmabuffer" | 6 | DEPENDS = "virtual/imxvpu libimxdmabuffer" |
7 | # Add imx-vpu-hantro-vc as dependency for being | ||
8 | # able to encode video using the VC8000E encoder | ||
9 | DEPENDS_append_mx8mp = " imx-vpu-hantro-vc" | ||
7 | 10 | ||
8 | PV .= "+git${SRCPV}" | 11 | PV .= "+git${SRCPV}" |
9 | 12 | ||
10 | SRCBRANCH ?= "master" | 13 | SRCBRANCH ?= "master" |
11 | SRCREV = "b6486118d47937cd717c4881158dda6e72cf2855" | 14 | SRCREV = "6f803f46d6b53a08cf02fc3d440072e01e2f3a09" |
12 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" | 15 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" |
13 | 16 | ||
14 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
@@ -18,7 +21,7 @@ inherit waf pkgconfig use-imx-headers | |||
18 | IMX_PLATFORM_mx6 = "imx6" | 21 | IMX_PLATFORM_mx6 = "imx6" |
19 | IMX_PLATFORM_mx8mq = "imx8m" | 22 | IMX_PLATFORM_mx8mq = "imx8m" |
20 | IMX_PLATFORM_mx8mm = "imx8mm" | 23 | IMX_PLATFORM_mx8mm = "imx8mm" |
21 | IMX_PLATFORM_mx8mp = "imx8mm" | 24 | IMX_PLATFORM_mx8mp = "imx8mp" |
22 | 25 | ||
23 | EXTRA_OECONF = "--imx-platform=${IMX_PLATFORM} --libdir=${libdir} --imx-headers=${STAGING_INCDIR_IMX} --sysroot-path=${RECIPE_SYSROOT}" | 26 | EXTRA_OECONF = "--imx-platform=${IMX_PLATFORM} --libdir=${libdir} --imx-headers=${STAGING_INCDIR_IMX} --sysroot-path=${RECIPE_SYSROOT}" |
24 | 27 | ||