| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* meson:
* New sysroot option in case the external sysroot property is unusable
Normally, this option should not be needed. However, with some BSPs
whose sysroot properties are broken, having this option is useful.
* Reduce minimum required Meson version from 0.54.0 to 0.53.2
This is mainly introduced for Yocto Dunfell support.
(Meson <0.54 requires the new sysroot property though.)
* Cleanup deprecated code
* imx2d: UYVY and YUYV formats are supported by G2D if it is emulated on
top of the DPU (found in i.MX8 QuadMax and i.MX8 QuadXPlus SocS).
* vpu:
* Correctly handle case when a stream buffer is not needed
* Disable frame reordering if it is not needed
* imxvpudec_h264 needs au alignment to guarantee complete frames
* Unlock decoder_context on fatal error while decoding
* v4l2video:
* v4l2videosrc: Skip allocation pools with NULL buffer pool
Prevents assertions like:
gst_buffer_pool_has_option: assertion 'GST_IS_BUFFER_POOL (pool)' failed
See: https://github.com/Freescale/gstreamer-imx/issues/304
* v4l2videosrc: Skip allocation params with NULL allocator
Prevents assertions like:
gst_object_unref: assertion 'object != NULL' failed
See: https://github.com/Freescale/gstreamer-imx/issues/304
* v4l2videosrc: Use correct ioctl for frame intervals
* Minor logging fixes
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The 7ULP build is broken:
```
../git/plugins/compositor/gstimxcompositor.c:124:10: fatal error: libdrm/drm_fourcc.h: No such file or directory
124 | #include <libdrm/drm_fourcc.h>
| ^~~~~~~~~~~~~~~~~~~~~
```
Replace the imxvpu condition for the libdrm dependency to all fbdev
devices with GPU. For i.MX 6 and 7, the new condition simply extends
what the old condition provided. For i.MX 8, the new condition removes
the explicit dependency. It seems the dependency is still needed, but it
is satisfied implicitly.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
Also separate the base recipe copy from the overrides for ease of
maintenance.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
Also separate the base recipe copy from the overrides for ease of
maintenance.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
Also separate the base recipe copy from the overrides for ease of
maintenance.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
Also separate the base recipe copy from the overrides for ease of
maintenance.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The imx8dx-mek machine is similar to imx8qxp-mek and so the mx8qxp override
was included in the MACHINEOVERRIDES hierarchy. This is non-standard, and
the rework of the SOC overrides didn't handle it properly, leading to a
build break:
```
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: 8QX boot binary build
| cp: failed to access '/home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin': Not a directory
| WARNING: /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636:179 exit 1 from 'cp /home/aquino/src/ossystems/oel-platform/build/tmp/deploy/images/imx8dx-mek/imx-boot$
tools/scfw_tcm.bin /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin'
| WARNING: Backtrace (BB generated script):
| #1: compile_mx8x, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 179
| #2: do_compile, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 151
| #3: main, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 189
ERROR: Task (/home/aquino/src/ossystems/oel-platform/sources/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1'
```
Fix the problem by removing mx8qxp from the mx8dx hierarchy and adapting
existing mx8qxp overrides appropriately.
Fixes: #1027
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since OE-Core commit 9379f80f48 ("license/insane: Show warning for
obsolete license usage"), LICENSE field not containing SPDX identifiers
are treated with WARNING.
An automated conversion using scripts/contrib/convert-spdx-licenses.py to
convert to use the standard SPDX license identifiers has been done on
the entire layer.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This rework the recipes making use of new imx-nxp-bsp override; it
has been applied to:
- gstreamer1.0
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- imx-alsa-plugins
- imx-codec
- imx-gst1.0-plugin
- imx-parser
- libdrm
- libimxdmabuffer
- linux-fslc-imx
- linux-imx
- optee-client
- optee-test
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and
mainline-bsp.
So, for example, the mx8mq override is split into:
- imx-generic-bsp: compatible with every i.MX SoC and both BSP variants
- imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP
- imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP
- mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants
- mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP
- mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP
- mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants
- mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP
- mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP
- mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants
- mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP
- mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP
The extender mechanism is responsible for extending the override list to
include the generic overrides. We can then use the three different
variants to handle the metadata correctly.
Generically speaking, the conversion mainly was automated (with a lot of
back and forth until getting it right).
To convert an existing layer, the following script can be used:
```sh
git ls-files classes recipes-* \
| xargs sed -i \
-e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \
-e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \
-e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \
-e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \
\
-e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \
-e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \
-e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \
\
-e 's,:\(vf\w*\),:\1-generic-bsp,g' \
-e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \
-e 's,\(vf\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(vf\w*\)),|\1-generic-bsp),g' \
-e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \
\
-e 's,:\(imx\) ,:\1-nxp-bsp ,g' \
-e 's,(\(imx\)),(\1-nxp-bsp),g' \
-e 's,\(imx\)|,\1-nxp-bsp|,g' \
-e 's,|\(imx\)),|\1-nxp-bsp),g'
for d in $(find -type d | egrep '/mx[6-8]w*'); do
git mv $d $d-nxp-bsp
done
for d in $(find -type d | egrep '/imx$'); do
git mv $d $d-nxp-bsp
done
for d in $(find -type d | egrep '/mx[5s]w*'); do
git mv $d $d-generic-bsp
done
```
Fixes: #791.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
| |
Having open recipes in a high priority layer means they will override
always even when its not building for machines not coming from this
layer
Pin them to imx
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Integrate NXP DSP Codec for i.MX 8QM/8QXP/8MP/8ULP
As per: https://source.codeaurora.org/external/imx/meta-imx/commit/meta-bsp/recipes-multimedia/gstreamer?h=hardknott-5.10.72-2.2.0&id=eb72f6dc37079f001106711cdeecdb00f2d8e6cf
Signed-off-by: Nate Drude <nate.d@variscite.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
it is required to use https protocol for github repo accessing.
Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0])
Fixes:
WARNING: /work/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2021.07.bb: URL: git://github.com/Freescale/u-boot-fslc.git;branch=2021.07+fslc uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url.
[0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py
Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
|
|
|
|
|
|
| |
Includes switch to meson.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
The bbappend overrides a non-existent variable PACKAGECONFIG_GL. The values
set by the override do not exist either, so just drop the bbappend.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
The layer uses 1.18.0.imx locally and 1.18.4 upstream, so align the
bbappend.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
| |
Adds fixes for _imx, _imxdpu, _imxdrm, _imxgpu, _imxgpu3d,
virtual PREFERRED_PROVIDER versions
Fix other places for imx/imxdpu/imxdrm overrides
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise gnome-desktop-testing-runner starts testing everything
unrelated as well (e.g. glib).
(From OE-Core rev: 8eee101a63880dc5286bb9043da1427592828c4e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gstreamer1.0-plugins-common.inc
The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
Common code for meson based PTest support; autogenerates the run-ptest
file and is designed to use the gnome-desktop-testing suite runner
(which is why the .inc files inherits from ptest-gnome)
(From OE-Core rev: 075aa7a617d38d6a698cee97dcb7550e72741eb5)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a rewrite, based on the new libimxdmabuffer library, the new
libimxvpuapi library version 2, and GStreamer 1.14 (1.16 required for
full functionality). In addition to the i.MX6 and i.MX7, the i.MX8 is now
supported as well.
The code was reorganized into gst-libs/ and ext/ subdirectories to match
the GStreamer directory structure.
Also, meson is now the build system in use to ease integration with
GStreamer build setups such as Cerbero.
See the ChangeLog for a full list of changes and additions.
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
In case we are building for a GPU-less machine (e.g: i.MX6UL) using a
distro without OpenGL support, was triggering a wrong build dependency
chain.
Now, we enable gles2 backend only if the distro has OpenGL support.
Fixes: #684.
Fixes: 61fac596 ("gstreamer1.0-plugins-bad: Let processors with pxp chose the correct Opengl API")
Change-Id: I275299d20065309d753ebc7774ab1fcc5bea7113
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The gstreamer1.0 recipes for the i.MX forks were updated to a newer version, but
the file versions were not updated accordingly. For the NXP 5.4.47 release, the
gstreamer version is 1.16.2.imx. For NXP 5.4.70, the gstreamer version is
1.16.3.imx.
Note that the original version 1.16.imx was not appropriate either, and this
fix can also be viewed from that perspective, that the third digit of the version
should be included in the recipe version.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
| |
NXP release imx_5.4.70_2.3.0.
0001-fsl_parser.h-fix-compiler-error-with-fcommon.patch dropped,
fixed upstream in commit 0d6c21be9a44720c43ac5ac1fb0c0684b3673248.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
| |
NXP release imx_5.4.70_2.3.0.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
| |
NXP release imx_5.4.70_2.3.0.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
| |
The processors without gpu (imx6ul/imx6ull) support only opengl-es.The system must be able to chose the correct API instead of forcing it for all processors.
Signed-off-by: ZIDOUH Zakaria <zakaria.zidouh@gmail.com>
|
|
|
|
|
|
|
| |
Update imx-gst1.0-plugin package to use the MM_04.05.06_2008_L5.4.47
branch. Version also increases to 4.5.6.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
|
|
|
|
|
|
|
|
| |
Update gstreamer1.0-plugins-bad package to use the
MM_04.05.06_2008_L5.4.47 branch. This branch is based on the upstream
1.16.2 release.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
|
|
|
|
|
|
|
|
| |
Update gstreamer1.0-plugins-good package to use the
MM_04.05.06_2008_L5.4.47 branch. This branch is based on the upstream
1.16.2 release.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
|
|
|
|
|
|
|
|
|
| |
Update gstreamer1.0-plugins-base package to use the
MM_04.05.06_2008_L5.4.47 branch. This branch is based on the upstream
1.16.2 release which also includes one patch we until now maintained in
this recipe.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
|
|
|
|
|
|
|
| |
Update gstreamer1.0 package to use the MM_04.05.06_2008_L5.4.47 branch.
This branch is based on the upstream 1.16.2 release.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a pair of patches that's to be applied over the iMX flavor of the
gstreamer1.0-plugins-base codebase.
First patch comes from upstream, and it fixes glupload behavior by avoiding
mapping the GL buffers into CPU memory. It's only applicable to the current
MM_04.05.05_2005_L5.4.24 branch that is based on the upstream 1.16.1 release,
since the patch itself is already present in 1.16.2.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/444
Second patch is a fix for Meson builds that enable the viv-fb GL winsys. The
change is only applicable to the NXP gst-plugins-base repository. When enabled,
the GL plugins library should also link against libg2d since the viv-fb code
is using g2d allocators.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
|
|
|
|
|
|
|
|
| |
Add the viv-fb PACKAGECONFIG flag through which the corresponding GL winsys
support can be enabled in the GStreamer base plugins configuration. When
enabled, dependencies on the virtual libgles2 and libg2d targets are required.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
VK_RESULT_BEGIN_RANGE has been removed in Vulkan headers, and
corresponding patch has been introduced in GStreamer.
Backport patch from upstream GStreamer to NXP fork to address
compilation error for Vulkan.
Cc: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
|
|
|
|
|
| |
The update of imx-gst1.0-plugin for the 5.4.3_2.1.0 BSP version bumped
the version of the plugins to 4.5.5. Follow that in PV.
https://source.codeaurora.org/external/imx/imx-gst1.0-plugin/tree/configure.ac?h=MM_04.05.05_2005_L5.4.24&id=4d2e5c1547c5f8a5e4e26a034ab87c809b34fb54
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
| |
OpenCV is no longer required, so remove it from PACKAGECONFIG.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|