Commit Graph

480 Commits

Author SHA1 Message Date
Otavio Salvador
2805e245f6
Merge pull request #1584 from Vexatuspl/master
Update libimxvpuapi2_2.2.2.bb: "hanto" missing files fix (imx8mp)
2023-06-22 08:22:08 -03:00
Vexatuspl
f01d8834fa
Update libimxvpuapi2_2.2.2.bb
This fixes the compilation issue on imx8mp, where "hanto" files are missing.
2023-06-22 08:28:22 +02:00
Khem Raj
f724cfced0 recipes: Add missing patch tag Upstream-Status
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 18:33:11 -07:00
Khem Raj
ef66b6988c recipes: Correct Upstream-Status
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 07:33:09 -07:00
Khem Raj
a4a73ad3fd gstreamer1.0-plugins-good: Fix build with clang-16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-08 07:48:47 -07:00
Khem Raj
07bcb51205 gstreamer1.0-python: package the internal libraries explicitly
setuptools3-base FILES assignments have been simplified, therefore the
internal libraries should be now packaged explicitly.

Fixes
ERROR: QA Issue: gstreamer1.0-python: Files/directories were installed but not shipped in any package:
  /usr/lib/gstreamer-1.0/libgstpython.so

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-08 07:48:37 -07:00
Otavio Salvador
8995442f54
Merge pull request #1559 from thochstein/multimedia
gstreamer LF6.1.1-1.0.0 update
2023-06-02 17:08:05 -03:00
Tom Hochstein
8766f086d5 imx-alsa-plugins: Update MM_04.07.01_2208_L5.15.y -> MM_04.07.03_2301_L6.1.y
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-06-02 05:16:00 -07:00
Chris Dimich
902cd37f11 imx-vpuwrap: Upgrade to 6.1.1-1.0.0
As per NXP langdale-6.1.1-1.0.0 release.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-06-01 23:46:48 -07:00
Tom Hochstein
81f28fda3f gstreamer1.0-plugins-good: Fix libsoup runtime dependency
Backport a fix for libsoup:
56c4559788

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-06-01 08:35:23 -07:00
Tom Hochstein
0ed3242eb0 gstreamer1.0*: Update MM_04.07.02_2210_L5.15.y -> MM_04.07.03_2301_L6.1.y
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-06-01 08:26:07 -07:00
Tom Hochstein
c915284175 gstreamer1.0-plugins-good: Move i.MX overrides to overrides section
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-05-31 15:59:38 -07:00
Tom Hochstein
833ed5c609 gstreamer1.0-plugins-base: Move i.MX overrides to overrides section
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-05-31 15:59:38 -07:00
Khem Raj
7e36025b11 imx-gst1.0-plugin: Fix build with clang
These warnings are already there, gcc just does not error on them yet
but clang does. Therefore clean them up a bit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-13 20:42:10 -07:00
Khem Raj
2a9cad5187 gstreamer1.0-plugins-base: Provide gstreamer1.0-plugins-base-videoconvertscale
This builds a bridge for packagegroups from oe-core master which are
upgraded to use gstreamer 1.22 and some packages are merged together
e.g. videoconvertscale is unified version of videoconvert and videoscale
packages

Fixes
ERROR: gstreamer1.0-meta-base-1.0-r0 do_package_qa: QA Issue: gstreamer1.0-meta-base rdepends on gstreamer1.0-plugins-base-videoconvertscale, but it isn't a build dependen
cy? [build-deps]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-13 12:25:11 -07:00
Khem Raj
e7b24f8aef gstreamer1.0-plugins-good: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-12 19:45:04 -07:00
Khem Raj
7fd2ea865f gst-devtools: Add recipe for 1.20.3.imx
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-11 17:48:48 -08:00
Khem Raj
b9939c5bfb gstreamer1.0-vaapi: Do not use glx backend on imx
vivante does not implement glx

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-11 17:48:48 -08:00
Khem Raj
f0ca145c90 gstreamer1.0-omx: Add 1.20.3.imx recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-11 17:48:48 -08:00
Khem Raj
d486bbf75e gstreamer1.0-vaapi: Add 1.20.3.imx recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-11 17:48:48 -08:00
Khem Raj
3cb3199451 gstreamer1.0-python: Add 1.20.3.imx version to match imx set
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-11 10:08:35 -08:00
Khem Raj
33a4bdd8a7 gstreamer1.0-libav,gstreamer1.0-plugins-ugly,gstreamer1.0-rtsp-server: Drop .imx when needing gstreamer version
Fixes fetching errors otherwise, since it can not file source tarballs
on gstreamer download servers with 1.20.3.imx suffix

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jose Quaresma <jose.quaresma@foundries.io>
2023-03-11 09:57:34 -08:00
Jose Quaresma
db5b46f714 gstreamer: rename the version to be imx specific
These recipes are copies of oe-core 1.20.3 that are not available
anymore upstream on the master branch.
The requirement to have them is because they are dependencies of
the other ones imx specific gstreamer forks on the layer.
So make their names maching the exisng ones will make it more safe.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2023-03-10 11:17:50 +00:00
Samuli Piippo
b708905339 gstreamer: add recipes for upstream 1.20.3 versions
oe-core has moved to gstreamer 1.22.0 and recipes which don't have
an imx version can no longer be built. Add older version of those
components to be used with the gstreamer 1.20.3.imx.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2023-03-08 06:12:33 +00:00
Khem Raj
75bbd649c7 gstreamer1.0-plugins-base: Fix build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-03 10:48:10 -08:00
Khem Raj
3b11097707 gstreamer1.0-omx: Disable tests and examples on imx SOCs
Fails to build, lets disable them for now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-11 11:37:22 -08:00
Tom Hochstein
62dd56d474 imx-vpuwrap: Upgrade to 5.15.71-2.2.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-01-10 16:51:41 -07:00
Tom Hochstein
724670a663 imx-parser: Upgrade 4.7.1 -> 4.7.2
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-01-10 14:57:01 -07:00
Tom Hochstein
9b4d488ec8 imx-dsp*: Upgrade 2.0.1 -> 2.0.2
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-01-10 14:42:23 -07:00
Tom Hochstein
3fa33abfa7 imx-codec: Upgrade 4.7.1 -> 4.7.2
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-01-10 14:37:16 -07:00
Tom Hochstein
29f156cc8c gstreamer: Upgrade 1.20.0.imx -> 1.20.3.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-01-09 19:43:54 -07:00
Tom Hochstein
99f7f2663e gstreamer1.0-plugins-base: Cleanup copy section
The local patch 0001-gstallocatorphymem.c-Typecast-result-of-gst_phymem_g.patch
should be added in the bottom section.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-01-09 19:39:46 -07:00
Khem Raj
5ccd939849 gstreamer1.0-plugins-bad: Force gcc compiler always
This ensures that clang based distributions can compile this recipe,
since it uses nested functions ( bad bad ) which is not supported by
clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-04 22:09:08 -08:00
Carlos Rafael Giani
b30dde7a1a libimxvpuapi2: Upgrade to version 2.2.2
* imx6-coda: Skip incomplete frames instead of just reporting them
* imx6-coda: Only flush bit buffer when framebuffers were registered
  This prevents misleading error-level log lines from occurring
* imx6-coda: Prefer semi planar modes over fully planar ones
* imx8m-hantro: Reset decoder write_offset to fill_level when moving
  read_offset
* Add imx_vpu_api_is_color_format_tiled() function
* update waf to 2.0.24
* Add closed_gop_interval field to ImxVpuApiEncOpenParams
  This allows for enforcing regularly occurring IDR
  boundaries when encoding to h.264
* imx8m-hantro: Fix supported decoder color formats and include
  tiled formats
* Fix and improve h.264 max level estimation for encoding
* imx6-coda: Use 2-row alignment in encoder
* imx6-coda: Fix JPEG encoding quantization parameter handling in encoder

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-29 15:03:26 +01:00
Max Krummenacher
867abd832e imx-gst1.0-plugin: upgrade from 4.7.0 to 4.7.1
Update to the version used in lf5.15.52_2.1.0.

Commit history:
* f4410b7 LF-6531 imxcompositor: add video information handling by title format for upstream amphion vpu driver
* befcd74 MKL-25625 imx2ddevice_pxp: add support to pxp new api and new formats
* 2a26823 MMFMWK-9106 vpuenc: add QpMin and QpMax property for 8mm/8mp
* d630a98 MMFMWK-9073 add support for imx93
* 6e9b88f [configurea.ac] Update version to 4.7.1 for next release

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-25 11:59:26 +01:00
Max Krummenacher
3ad656c09f gstreamer1.0-plugins-bad: upgrade from MM_04.07.00_2205_L5.15.y to MM_04.07.01_2208_L5.15.y
Update to the version used in lf5.15.52_2.1.0.

Commit history:
* a9c9d17bb wlwindow: fix 8qxp and 8qm video playback performance issue
* 8ecf6a59f MMFMWK-9073 waylandsink: set as default videosink for mx93

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-25 11:59:26 +01:00
Max Krummenacher
7b324fb978 gstreamer1.0-plugins-good: upgrade from MM_04.07.00_2205_L5.15.y to MM_04.07.01_2208_L5.15.y
Update to the version used in lf5.15.52_2.1.0.

Commit history:
* b83d1e4a3 LF-6577 v4l2: add capture buffer check and resize to avoid deadlock issue when seek
* b9319a38b LF-6531 v4l2: revert "v4l2videodec: workaround for v4l2 driver multi-plane"
* 5459be91d LF-6531 v4l2: fix the critical log when unreference the buffer which memory type is multi-plane and contain no valid data
* 059ed0874 LF-6531 v4l2: support stream with V4L2_FIELD_SEQ_TB field
* ba9d457b0 LF-6531 v4l2: add function to detect upstream amphion vpu driver
* 1cf76472c MMFMWK-9092 v4l2: Fix race condition between orphaning and stopping allocator
* f5566b038 LF-6195 v4l2: Reset transfer in gst_v4l2_object_acquire_format()
* dd7ae2aee v4l2: set default resolution if caps has no such information
* fa45cf501 MMFMWK-9116 v4l2videodec: Fix output state memory leak

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-25 11:59:26 +01:00
Max Krummenacher
c8a9a04c5d gstreamer1.0-plugins-base: upgrade from MM_04.07.00_2205_L5.15.y to MM_04.07.01_2208_L5.15.y
Update to the version used in lf5.15.52_2.1.0.

Commit history:
* db100facd MMFMWK-9073 gstimxcommon.h: add support for mx93

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-25 11:59:26 +01:00
Max Krummenacher
7defe6a974 gstreamer1.0: upgrade from MM_04.07.00_2205_L5.15.y to MM_04.07.01_2208_L5.15.y
Update to the version used in lf5.15.52_2.1.0.

No code changes, but the git repo was moved to github and a new branch
used. Pull those changes in to be consistent with the plugin recipes.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-25 11:59:26 +01:00
Max Krummenacher
34077f9884 imx-alsa-plugins: upgrade from MM_04.07.00_2205_L5.15.y to MM_04.07.01_2208_L5.15.y
Update to the version used in lf5.15.52_2.1.0.

Commit history:
* a9643b8 LF-6596 swpdm: refine the gain setting
* 6fc1604 LF-6274-2: swpdm: Support channel 1/2/3
* 61215bc LF-6274-1: swpdm: fix swpdm document

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-25 11:59:26 +01:00
Max Krummenacher
e55609e8f1 imx-vpuwrap: upgrade from MM_04.07.00_2205_L5.15.y to MM_04.07.01_2208_L5.15.y
Update to the version used in lf5.15.52_2.1.0.

License was updated to NXP EULA v39 August 2022.

Commit history:
* bb1a5f3 Update EULA.txt to v39 according to imx-release-info
* 0d28bf2 Update EULA.txt to v38 according to imx-release-info
* b12ca6a Update EULA.txt to v37 according to imx-release-info
* c6d52a5 Update EULA.txt to v36 according to imx-release-info
* 7fbaf32 MMFMWK-9106 Add QpMin and QpMax property for 8mm/8mp
* 06e3543 [configurea.ac] Update version to 4.7.1 for next release

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-25 11:59:26 +01:00
Max Krummenacher
cedda4fdd6 imx-dsp-codec-ext: upgrade from 2.0.0 to 2.0.1
Update to the version used in lf5.15.52_2.1.0.

License was updated to NXP EULA v39 August 2022.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-25 11:59:26 +01:00
Max Krummenacher
89f45daf84 imx-dsp: upgrade from 2.0.0 to 2.0.1
Update to the version used in lf5.15.52_2.1.0.

License was updated to NXP EULA v39 August 2022.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-25 11:59:26 +01:00
Max Krummenacher
7019ddda98 imx-parser: upgrade from 4.7.0 to 4.7.1
Update to the version used in lf5.15.52_2.1.0.

License was updated to NXP EULA v39 August 2022.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-25 11:59:26 +01:00
Max Krummenacher
42b95e850e imx-codec: upgrade from 4.7.0 to 4.7.1
Update to the version used in lf5.15.52_2.1.0.

License was updated to NXP EULA v39 August 2022.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-25 11:59:26 +01:00
Khem Raj
5eb46c6670 gstreamer1.0-plugins-base: Allow undefined symbols with musl
These are glibc specific symbols which gcompat should be able to handle
at runtime

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-19 14:10:13 -07:00
Khem Raj
61718793a4 imx-dpu-g2d,imx-gpu-viv,imx-sw-pdm: Use gcompat with musl
These recipes contain pre-built binaries and libraries which are built
against glibc, we have a way to run such binaries on musl systems via
gcompat stubs, however, we have to fool the system to ignore the missing
rdeps on libc.so.6, since we know they will be available via gcompat
being in rdep.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-17 16:18:11 -07:00
Khem Raj
8324178f01 gstreamer1.0-plugins-base: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-12 20:41:23 -07:00
Tom Hochstein
791b2cd871 pulseaudio: Fix gstreamer pause mutex issue
Add a patch to fix a mutex issue when pausing a gstreamer stream.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-02 16:51:06 -05:00
Tom Hochstein
996ec05b40 pulseaudio: Fix HFP with headset=auto
For HFP to work as expected, use module-bluetooth-discover option
headset=auto.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-02 16:51:06 -05:00
Tom Hochstein
b32f2319bb pulseaudio: Fix WM8960 codec by disabling alternate sample rate
The WM8960 codec doesn't support 44k and 48k simultaneously, so set
alternate-sample-rate the same as default-sample-rate.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-02 16:51:06 -05:00
Tom Hochstein
2e4a605585 imx-vpuwrap: Upgrade to 5.15.32-2.0.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-02 16:51:06 -05:00
Tom Hochstein
e333a68f1d imx-sw-pdm: Upgrade 1.0.1 -> 1.0.2
Fixes:
738ca90 MMFMWK-9001-5: build: configure: bump version 1.0.2
9e2e282 MMFMWK-9001-4: release: imx-sw-pdm: rebuild using latest lib
2979b5c MMFMWK-9001-3: test: output sample rate and samples per channel
128e3cc MMFMWK-9001-2: release: libimxswpdm: rebuild with clang 12.0.0
a9eb48f MMFMWK-9001-1: pdmToPcm_simd: module.mk: use clang++ compiler

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-02 16:52:50 -05:00
Tom Hochstein
2f97a100d7 imx-parser: Upgrade 4.6.2 -> 4.7.0
Fixes:
b479f651 MA-20253 mp4 dash streaming video hang when playing an hevc stream
2f381602 MA-20234: check if mkv parser has cluster.
3d736c7c [configurea.ac] Update version to 4.7.0 for next release
af0b43d8 MA-20193 [Android 12] cts.MediaPlayerTest#testCallback fail
7398507f MKVPARSER_01.08.16 add FlushTrack function
6ca57f2d MKVPARSER_01.08.15 support dash playback.
88203eb8 MMFMWK-9067-1: refine mkv parser and remove compile warnings
aa7f343f MA-20134 coverity issues in mp4 parser
6956469f MA-20105 [Android 12] cts MediaMetadataRetrieverTest#testGetFrameAtTimeClosestSyncEmptyNormalEditList fail
d2098571 MA-20085 [Android 12] cts MediaMetadataRetrieverTest#testGetFrameAtTimeClosestEditList fail with nxp mp4 parser
12a5e4ef LF-5172 enable MP4 and webm dash streaming in 2022 Q2
c834ded7 MMFMWK-9048 MPG2 PARSER 06.01.02
3b6b3b22 FMMFMWK-9047 MPEG2 PARSER 06.01.01
621c504d add version information in libspdif_parser.mk modify install-data-hook for spdif parser in Makefile.am to fix installation error
e971965d MMFMWK-9010 SPDIF PARSER 00.00.01 modify Makefile file format in spdif parser add newline character in Makefile.am to fix missing separator issue add soft link file and modify Makefile.am to realize file packaging
55c67aae MMFMWK-9042 MPEG2 PARSER 06.00.04
46f9e346 MMFMWK-9010 SPDIF PARSER 00.00.01
73af1c6a MA-19906 cts android.media.cts.MediaExtractorTest fail and get crash
e874f58f [configurea.ac] Update version to 4.6.5 for next release
3089c7e8 MMFMWK-9026: fix dash playback issue for webm streams.
07c6df92 MKV PARSER 01.08.12 support seek without cue list
84f963be MMFMWK-9007 [i.MX8MM/Sony] Error on gst-discoverer-1.0 with ALAC file
5b736228 MA-19618 [Android 12] ctsv2 ExtractorTest$FunctionalityTest#testExtract[17(audio/ac4)] fail
36718bf0 MA-19734-2 [Android 12] cts android.mediav2.cts.MuxerTest$TestSimpleAppend#testSimpleAppendNative[0(mp4)] and related fa
a0842c57 MA-19781: fix cts android.mediav2.cts.ExtractorTest$ValidateKeyValuePairs#validateKeyValuePairs
14816f41 MA-19730 [Android 12] refine mp4 parser seek for MediaMuxerTest#testSimulateAudioBVideoFramesDropIssues
ba94b741 MMFMWK-9007 [i.MX8MM/Sony] Error on gst-discoverer-1.0 with ALAC file
2908ec52 MA-19734 [Android 12] cts android.mediav2.cts.MuxerTest$TestSimpleAppend#testSimpleAppendNative[0(mp4)] and related failures
0aa9acf3 ASF PARSER 01.01.08
6a402d61 MA-19619 [Android 12] cts MediaExtractorTest#testMpegh3dAudioMediaExtractorMha1 fail
5f34631a MA-19595 [Android12 8qm/8qxp]cts mediaprovidertranscode.cts.TranscodeTest#testTranscoded_FilePath
e6808758 [configurea.ac] Update version to 4.6.4 for next release
d81e3def MA-19589 [Android 12] cts mediav2.cts.DecoderColorAspectsTest#testColorAspects fail on 8mp
f12cd7d5 MMFMWK-8999 Fix process crash in ID3 PARSER
65e58b12 MMFMWK-8997 MP3 PARSER 03.03.11
4510a2a1 MA-19560: change timecode from uint to uint64
83af99c8 MMFMWK-8995 MP3 PARSER 03.03.10
5d5c21ba MMFMWK-8994 MPG2 PARSER 06.00.03
7874f734 MKV PARSER 01.08.09
4b70b7a7 MA-19211 Failed to output sound when playing recording file from USB Camera
99b778df ASF PARSER 01.01.07
e4b74edf [configurea.ac] Update version to 4.6.3 for next release

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-02 16:52:23 -05:00
Tom Hochstein
6cda674acd imx-dspc-asrc: Simplify SRC_URI with BP
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-02 16:51:06 -05:00
Tom Hochstein
bf4f46c934 imx-dsp-codec-ext: Upgrade 1.2.0 -> 2.0.0
Fixes:
d690e91f MMFMWK-9102-3 release/lib/dsp: Update lib_aacd_wrap_dsp
ab775415 MMFMWK-9102-2 aacd_wrap: Add return success after copy codec data
93076c58 MMFMWK-9102-1 aacd_wrap: Remove free codec data buf when reset
b3ea821c [configurea.ac] Update version to 4.7.0 for next release
fdedb900 [configurea.ac] Update dsp version to 2.0.0 for next release
3e12abf4 MMFMWK-9090-3 release/lib: Update vorbis/wma dsp wrapper library
07d2d122 MMFMWK-9090-2 wma10d_wrapper: Change to use good way to get decode info
a6fd6062 MMFMWK-9090-1 ua_wrapper: remove free codec buf in reset func
9c071602 MMFMWK-9089 vorbisd_wrapper: fix copy codec data error
a4ce4242 [configurea.ac] Update dsp version to 1.2.2 for next release
ce41e27a [configurea.ac] Update version to 4.6.5 for next release
267d74fc [configurea.ac] Update dsp version to 1.2.1 for next release
ee983061 [configurea.ac] Update version to 4.6.4 for next release

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-02 16:51:53 -05:00
Tom Hochstein
186780dbcf imx-dsp: Add TensorFlow Lite Micro for 8ULP
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-02 16:51:06 -05:00
Tom Hochstein
be58b76e47 imx-dsp: Rework the install logic [LF-5799]
Replace the firmware name variable with a simpler firmware platform
variable. This allows the logic that removes firmware that is not
for this platform to handle any firmware, not just the main binary.

Also, make the default value of the variable UNDEFINED. Then, if
a new SOC is not properly added to the variable list, the mv will
fail.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-02 16:51:06 -05:00
Tom Hochstein
1109c61e9e imx-dsp: Upgrade 1.2.0 -> 2.0.0
Fixes:
1afdb74 MMFMWK-9126 dsp_wrapper: Switch to sw aac/aacp decoder with multi chan
89f44f8 MMFMWK-9123-7 unit_test: fsl-rend: Add pcm gain
d5ff750 MMFMWK-9123-6 unit_test: fsl-dec: Add pcm gain
024ec32 MMFMWK-9123-5 unit_test:src: Add source file for parser pcm info
f073481 MMFMWK-9123-4 dsp_framework: Makefile: Add pcm gain to build
d44697e MMFMWK-9123-3 Change CODEC_PCM_DEC to CODEC_PCM_GAIN
fcdcded MMFMWK-9123-2 common: library_load: Add check lib type
98e594d MMFMWK-9123-1 dsp_framework: main: Enlarge worker_thread_scratch_size
78029ab MMFMWK-9122: fix warning with yocto toolchain
2c5f489 MMFMWK-9122: switch to use yocto toolchain
cb76f5e MMFMWK-9121 libxa_af_hostless: sysdeps:linux: Add check for exit thread
a5c2f24 MMFMWK-9119: dsp_framework: Use production configuration for 8QM and 8QXP
f941878 MMFMWK-9117-2 dsp_framework: fsl-render: Remove checking rate for render
8ffdbbb MMFMWK-9117-1 unit_test: fsl-render: Add to get real dec format
3eae49a MMFMWK-9114-4: dsp_framework: render: fix noise issue after suspend
eeb9918 MMFMWK-9114-3: dsp_framework: hifi-dpf: add dead wait after suspend
cc43096 MMFMWK-9114-2: dsp_framework: render: free memory to avoid memory leak
e130ea1 MMFMWK-9114-1: dsp_framework: render: fix render can't work
67aa852 MMFMWK-9115 dsp_wrapper: Go to send output buffer when received init done
7cda1fc MMFMWK-9109 dsp_framework: unia-codec: Set codec id when load codec wrap
91ad2c9 MMFMWK-9113 dsp_framework: Add consumed len for getpara
3d2167c MMFMWK-9112 common: xaf-fsl-api: Fix no output if do reset before decoding
195faaf MMFMWK-9111-3 dsp_wrapper: fix android build issue
2aff770 MMFMWK-9111-2 common: fix android build issue
04ccf6d MMFMWK-9111-1 libxa_af_hostless: fix android build issue
5dba863 MMFMWK-9110 dsp_wrapper: fix get wrong value from dsp
0ddf545 MMFMWK-9107-2 dsp_wrapper: fix build warning
82685ed MMFMWK-9107-1 dsp_framework: render: fix build warning
1c60ffe MMFMWK-9104 dsp_framework: unia-codec: Ignore some codec decoding errors
9d63a74 MMFMWK-9108 build_dsp: Fix unit test name is not correct when install
11b653e MMFMWK-9105-2 dsp_wrapper: Add check codec library installed or not
464ae43 MMFMWK-9105-1 common: Move macro CORE_LIB_PATH to header
b9c186f MMFMWK-9103 dsp_wrapper: Fix decoding timeout after received eos
db0ac54 MMFMWK-9099 dsp_wrapper: Add channel num check for aac codec
956832e MMFMWK-9100 common: library_load: Add check lib_info section pool
159f7cf MMFMWK-9098 dsp_framework: unia-codec: Clear codec struct when init
f193eca dsp_framework: unia-codec: fixed memory size for chan_map_table
3ce22f9 Makefile: don't remove the tflm_imx8ulp.bin
25ccff0 Add TFLM DSP firmware binary
2803042 Remove TFLM dependency from test
0e3ba22 MMFMWK-9093-2 dsp_wrapper: Process fatal error from event
6dbba43 MMFMWK-9093-1 dsp_framework: unia-codec: Add fatal error for decoding
3fac033 Integrate TFLM
5681b5b common: xf-fsl-ipc: fix addr issue on munmap
b2907c8 dsp_framework: Enlarge dsp local mem
ceb3574 dsp_wrapper: fix seek error when comp status is XAF_EXEC_DONE
61a0b00 dsp_wrapper: Adjust msg flow
d145008 Revert "hifi-dpf: xa-class-audio-codec: Only purse input port if msg from proxy"
fac3a35 dsp_framework: enlarge mem
fa0697c dsp_framework: memory: Add success check for xf_uniacodec_malloc
ec02b01 dsp_wrapper: fix codec data
c01e084 dsp_wrapper: do not set codec data again if already set
f7fc455 dsp_wrapper: fix decoding error when end of stream
c3cd468 dsp_framework: unia-codec: init input_over, clear out_size
27f6a7a dsp_wrapper: Add wma channel layouts
271e820 common: xaf-fsl-api: Add error process
0c5da67 Revert "common: xf-fsl-ipc: fix reference counter issue"
b6f8ad7 dsp_wrapper: fix some wma streams seek error
b268d78 hifi-dpf: xa-class-audio-codec: Only purse input port if msg from proxy
edee928 dsp_wrapper: set wma alway is framed
ccb49dc dsp_wrapper: Remove offset_copy
b6d2e50 release:build_dsp: Generate software link
3e4057a Makefile.am Add dsp_rend_test.out
6398123 release: Add build_dsp
88f9736 Add SCR
731e9e7 Add README
3dde879 EULA: Add EULA.txt V32
56d7b47 dsp_wrapper: Add DEBUG macro to print info
3a4cbc5 dsp_wrapper: remove printf
dd1ef59 common: xf-fsl-ipc: fix reference counter issue
c9253c9 libxa_af_hostless:hifi-dpf: Remove check frame_size * sample_size
3f62eb2 dsp_wrapper: bugfix: Move mem_exit to xaf-fsl-api
805a7df dsp_framework: fix not enough buffer when loading
a796d8b dsp_wrapper: Add aac channel map in local
d58d51f dsp_wrapper: fix some ogg streams can't play
ed8ef02 Makefile: build DSP_WRAPPER
b6213bf testxa_af_hostless: xaf-mem-test: move mem_obj_t to xaf_adev_config_t
6b3f824 dsp_wrapper: fix outputformat error
4cf6f0b host-apf: Change xf_g_ap to local var
56fe689 dsp_wrapper: process decode err
b3c00e0 dsp_wrapper: remove printf
71002fe dsp_wrapper: Remove returned val process
408ae00 common: xaf-fsl-api: Add process XF_EVENT msg
c9af2d0 dsp_wrapper: Add support event msg
245f4ea dsp_framework: unia-codec: fix outbuf size is not correct
7476b62 dsp_framework: Move rpmsg_response to xf-core
197befd dsp_framework:plugins:unia-codec: Avoid to report narmal returned val
3ddf693 unit_test: Makefile: Remove XA_DISABLE_EVENT
40a10d3 dsp_wrapper: Makefile: Remove XA_DISABLE_EVENT
149187f dsp_framework: Makefile: Remove XA_DISABLE_EVENT
42c8b42 common: xaf-fsl-api: fix wrong val convert
c482b5e host-apf: xf-proxy: fix wrong buffer address
bc618a7 dsp_framework: plugins: unia-codec: Add reset buf cmd
c781b46 dsp_wrapper: Add reset dsp cmd in reset func
5d2145e common: fsl_unia: Add cmd UNIA_RESET_BUF
037ae78 dsp_framework: fix end of stream error in bypass mode
1cd2cc0 dsp_framework: unia-codec: Add set decoding fatal error
a127078 unit_test: rend: Add set cmd line param
05239b0 unit_test: rend: Support all codecs in rend
bb987cf dsp_framework: fix multi instances issue
cf07fed dsp_framework: set framework in bypass mode
0302efe dsp_wrapper: set chan map
71824c1 dsp_framework: set chan map
d2d3b09 dsp_framework: enlarge the local buffer size
128097d dsp_wrapper: Add dsp_wrapper
35d6abb xf-proxy: Add xf_flush function
1c7b002 unit_test: Add to support more codecs
ca3aabe unit_test: Add support to build dsp_rend_test
3430046 unit_test: initial xaf-fsl-mp3-dec-rend-test.c
18f9aea dsp_framework: Add renderer and peripherals driver
8b9e95a dsp_framework: initial xa-fsl-renderer.c
f1afdb0 unit_test: Add support MP3 decoder
6182802 unit_test: initial xaf-fsl-dec-test.c
5a19ec6 unit_test: initial xaf-fsl-api.c
0430abf dsp_framework: integrated unified audio codec plugin
8db1736 dsp_framework: Enable the basic rpmsg communication
9747302 rpmsg-lite: Add rpmsg-lite
2a2ab7b XAF: xa_hifi_af_hostless_lib_2_6_api_2_0_src.xws

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-02 16:51:06 -05:00
Tom Hochstein
294d56ac5a imx-gst1.0-plugin: Upgrade 4.6.4 -> 4.7.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-01 15:52:32 -05:00
Tom Hochstein
178bcddd87 gstreamer1.0*: Upgrade 1.18.5.imx -> 1.20.0.imx
Includes:
- gstreamer1.0
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad

Drops downgraded recipe copies for 1.18.5:
- gstreamer1.0-libav
- gstreamer1.0-plugins-ugly
- gstreamer1.0-rtsp-server

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-01 15:52:32 -05:00
Tom Hochstein
f612e4214d imx-codec: Upgrade 4.6.2 -> 4.7.0
- VPU support is limited to Chips&Media
- Let package arch be more generic SOC-specfic
- Fixes:
d690e91f MMFMWK-9102-3 release/lib/dsp: Update lib_aacd_wrap_dsp
ab775415 MMFMWK-9102-2 aacd_wrap: Add return success after copy codec data
93076c58 MMFMWK-9102-1 aacd_wrap: Remove free codec data buf when reset
b3ea821c [configurea.ac] Update version to 4.7.0 for next release
fdedb900 [configurea.ac] Update dsp version to 2.0.0 for next release
3e12abf4 MMFMWK-9090-3 release/lib: Update vorbis/wma dsp wrapper library
07d2d122 MMFMWK-9090-2 wma10d_wrapper: Change to use good way to get decode info
a6fd6062 MMFMWK-9090-1 ua_wrapper: remove free codec buf in reset func
9c071602 MMFMWK-9089 vorbisd_wrapper: fix copy codec data error
a4ce4242 [configurea.ac] Update dsp version to 1.2.2 for next release
ce41e27a [configurea.ac] Update version to 4.6.5 for next release
267d74fc [configurea.ac] Update dsp version to 1.2.1 for next release
ee983061 [configurea.ac] Update version to 4.6.4 for next release
e17ab6f7 [configurea.ac] Update dsp version to 1.2.0 for next release
c704facf [configurea.ac] Update dsp version to 1.2.00 for next release
ec99ab25 [configurea.ac] Update version to 4.6.3 for next release

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-01 12:32:40 -05:00
Tom Hochstein
744301e15a imx-alsa-plugins: Upgrade to NXP 5.15.32-2.0.0
Includes SWPDM support for i.MX 8.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-01 12:32:40 -05:00
Carlos Rafael Giani
6e2f9b843d libimxvpuapi2: Upgrade to version 2.2.1
* Add option to not compile examples
* imx8m-hantro: Allow for reusing decoder after drain mode finishes
* imx6-coda: Reset drain mode after EOS processed
* imx6-coda: Reset drain mode flags when flushing
* Use libimxdmabuffer 1.1.2 sync access functions to ensure
  cache coherence
* Add imx_vpu_api_is_color_format_10bit() function
* Documentation fixes

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-06-16 17:02:40 -03:00
Carlos Rafael Giani
90a162ed22 gstreamer1.0-plugins-imx: Upgrade to version 2.1.0
* 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>
2022-06-16 17:01:16 -03:00
Max Krummenacher
2a61493097 alsa-lib: drop not applying patch
With the update from v1.2.6.1 to v1.2.7 the patch no longer applies.
The patched code sections have been refactored to be provided from
a common helper functions [1] and the code has been reworked to better
cope with suspend e.g. [2].

As it is unclear how to reproduce what the patch tries to fix
just drop the patch for now to keep the recipe building.
At least aplay and arecord still work, if aplay is interrupted
with a suspend/resume cycle playing restarts on resume.
(This on a Apalis iMX6, SGTL5000 codec).

[1] 3577a7a26b
[2] b3ce9cb839

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-06-06 12:59:03 +02:00
Tom Hochstein
1c6c0f6523 ffmpeg: Downgrade ffmpeg 5.0.0 -> 4.4.1 for NXP BSP
The i.MX 1.18.5 version of gstreamer1.0-libav is not compatible with
upstream ffmpeg 5.5.0 and results in the follow build errors:

```
/opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: ext/libav/libgstlibav.so.p/gstavaudenc.c.o: in function `gst_ffmpegaudenc_set_format':
/usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:246: undefined reference to `avcodec_get_context_defaults3'
/opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:292: undefined reference to `avcodec_get_context_defaults3'
/opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:336: undefined reference to `avcodec_get_context_defaults3'
/opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:317: undefined reference to `avcodec_get_context_defaults3'
/opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: ext/libav/libgstlibav.so.p/gstavaudenc.c.o: in function `gst_ffmpegaudenc_start':
/usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:197: undefined reference to `avcodec_get_context_defaults3'
/opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: ext/libav/libgstlibav.so.p/gstavvidenc.c.o:/usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavvidenc.c:252: more undefined references to `avcodec_get_context_defaults3' follow
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 16:57:41 -05:00
Tom Hochstein
904c6c8865 imx-gst1.0-plugin: Adjust libdrm dependency
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>
2022-04-04 16:57:41 -05:00
Tom Hochstein
ebb5250221 imx-gst1.0-plugin: Upgrade 4.6.1 -> 4.6.4
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 16:57:41 -05:00
Tom Hochstein
51c5f02d40 gstreamer1.0-rtsp-server: Upgrade 1.18.0 -> 1.18.5
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 16:57:41 -05:00
Tom Hochstein
2131036897 gstreamer1.0-rtsp-server: Remove unused patch file
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 16:57:41 -05:00
Tom Hochstein
3c35771c24 gstreamer1.0-libav: Upgrade 1.18.0 -> 1.18.5
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 16:57:41 -05:00
Tom Hochstein
729790a581 gstreamer1.0-libav: Remove unused patch files
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 16:57:41 -05:00
Tom Hochstein
5e56a3a191 gstreamer1.0-plugins-ugly: Upgrade 1.18.0 -> 1.18.5
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 16:57:41 -05:00
Tom Hochstein
b43b7a038e gstreamer1.0-plugins-bad: Upgrade 1.18.0.imx -> 1.18.5.imx
Also separate the base recipe copy from the overrides for ease of
maintenance.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 16:57:41 -05:00
Tom Hochstein
01ad835b7d gstreamer1.0-plugins-good: Upgrade 1.18.0.imx -> 1.18.5.imx
Also separate the base recipe copy from the overrides for ease of
maintenance.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 16:57:41 -05:00
Tom Hochstein
782a476b45 gstreamer1.0-plugins-base: Upgrade 1.18.0.imx -> 1.18.5.imx
Also separate the base recipe copy from the overrides for ease of
maintenance.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 16:57:41 -05:00
Tom Hochstein
200e8ad052 gstreamer1.0: Upgrade 1.18.0.imx -> 1.18.5.imx
Also separate the base recipe copy from the overrides for ease of
maintenance.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 16:57:41 -05:00
Tom Hochstein
d93b387a87 mx8dx: Normalize MACHINEOVERRIDES implementation
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>
2022-03-31 19:37:58 -05:00
Tom Hochstein
8e4ed3a82a imx-alsa-plugins: Set recipe name and PV properly
The recipe allows SRCREV to change while the version stays at 1.0.26,
so change the recipe version to git and set PV based on the SRCREV.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-03-15 14:12:24 -05:00
Andrey Zhizhikin
832da37d74 layer: Update LICENSE variable to use SPDX license identifiers
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>
2022-03-03 15:34:00 +00:00
Otavio Salvador
7357b1100b Rework recipes to use imx-nxp-bsp more extensively
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>
2022-02-21 20:06:28 -03:00
Otavio Salvador
30f5ce1d21 Generalize overrides subsystem for NXP and Mainline support
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>
2022-02-21 20:06:28 -03:00
Khem Raj
7b3d2a3bb2 gstreamer: Lockin the versions for imx machines
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>
2022-01-20 12:44:15 -08:00
Nate Drude
065a6e3b7e imx-gst1.0-plugin: Enable to support i.MX Audio DSP Codec
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>
2022-01-17 11:50:33 -06:00
Nate Drude
f9dae0a470 imx-dsp-codec-ext: add recipe
As per NXP BSP: https://source.codeaurora.org/external/imx/meta-imx/tree/meta-bsp/recipes-multimedia/imx-dsp?h=hardknott-5.10.72-2.2.0

Signed-off-by: Nate Drude <nate.d@variscite.com>
2022-01-17 11:50:33 -06:00
Nate Drude
b720c96e40 imx-dsp: add recipe
As per NXP BSP: https://source.codeaurora.org/external/imx/meta-imx/tree/meta-bsp/recipes-multimedia/imx-dsp?h=hardknott-5.10.72-2.2.0

Signed-off-by: Nate Drude <nate.d@variscite.com>
2022-01-17 11:50:33 -06:00
Pierre-Jean Texier
bef00d6e4f recipes: use https protocol and add explicit branch parameter
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>
2021-11-03 22:27:01 +01:00
Andrey Zhizhikin
c81ddb2dc1 imx-vpuwrap: upgrade to 4.6.2
Following commits are included in this update:
----
f09ceba ("Update EULA.txt to v27 according to imx-release-info")
60b5950 ("Update EULA.txt to v25 according to imx-release-info")
8dce1b6 ("Update EULA.txt to v24 according to imx-release-info")
c278d0d ("Update EULA.txt to v23 according to imx-release-info")
42da611 ("[configurea.ac] Update version to 4.6.2 for next release")
761c323 ("MMFMWK-8940 Force inserted I frame to be IDR frame.")
bf01b8f ("Update EULA.txt to v19 according to imx-release-info")
9d05c1d ("Update EULA.txt to v18 according to imx-release-info")
f84384e ("MA-18641 Fix vp8 encoder bitrate incorrect")
0594603 ("LF-3164 Fix segmentation fault when seeking one RV clip")
fb11efe ("MMFMWK-8922 [8mp]Force one frame to be key frame with parameter nForceIPicture")
735d02d ("MMFMWK-8926 [hantro] disable adaptive mode")
7e94957 ("[configurea.ac] Update version to 4.6.1 for next release")
806fe7e ("Revert "MMFMWK-8922 [8mp]Force one frame to be key frame with parameter nForceIPicture"")
eb4b209 ("MMFMWK-8922 [8mp]Force one frame to be key frame with parameter nForceIPicture")
13e9e78 ("MMFMWK-8816 vpuenc: add VBR mode for 8mm/8mp")
b931875 ("[configurea.ac] Update version to 4.6.0 for next release")
----

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-10-22 19:15:38 +00:00
Andrey Zhizhikin
bc4f69855a imx-parser: upgrade to 4.6.2
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-10-22 19:15:38 +00:00
Andrey Zhizhikin
bb72687592 imx-codec: upgrade to 4.6.2
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-10-22 19:15:38 +00:00
Khem Raj
864d08d748 tinycompress: Fix build with musl
Fixes a build error discovered by musl, we need to include sys/types.h
for u_charr and its friends.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-11 00:40:49 -07:00
Tom Hochstein
7879b28eb0 tinycompress: Add recipe
Add tinycompress, a library to handle compressed formats like MP3.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-01 13:21:24 -05:00
Tom Hochstein
9c85c8770f imx-gst1.0-plugin: Upgrade to 4.6.1
Includes switch to meson.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-01 12:30:54 -05:00
Tom Hochstein
445ca1a817 gstreamer1.0-rtsp-server: Upgrade to 1.18.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-01 11:46:29 -05:00
Tom Hochstein
207ec57897 gstreamer1.0-libav: Upgrade to 1.18.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-01 11:39:35 -05:00
Tom Hochstein
7529ef1e97 gstreamer1.0-plugins-ugly: Upgrade to 1.18.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-01 11:26:58 -05:00
Tom Hochstein
9a873db105 gstreamer1.0-plugins-bad: Upgrade to 1.18.0.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-01 11:20:59 -05:00
Tom Hochstein
81ae33ca60 gstreamer1.0-plugins-good: Drop non-functional overrides
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>
2021-08-31 12:27:09 -05:00
Tom Hochstein
32f5ea5425 gstreamer1.0-plugins-good: Upgrade to 1.18.0.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-31 12:10:21 -05:00
Tom Hochstein
bd77a79c32 gstreamer1.0-plugins-base: Align bbappend with 1.18.%
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>
2021-08-31 11:16:49 -05:00
Tom Hochstein
f09aae9e3d gstreamer1.0-plugins-base: Upgrade to 1.18.0.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-31 11:16:28 -05:00
Tom Hochstein
0b35cb1640 gstreamer1.0: Upgrade to 1.18.0.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-30 15:35:29 -05:00
Tom Hochstein
7377f6c87e layer: More override fixes
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>
2021-08-12 10:08:24 -07:00
Khem Raj
59d36c9832 layer: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-12 10:08:24 -07:00
Tom Hochstein
658d2152ba alsa-lib: Fix imx-cs42888 model name, fix fuzz
The model name for the i.MX CS42888 sound card is imx-cs42888.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-06 15:54:21 -05:00
Otavio Salvador
25f3bbf740
Merge pull request #763 from thochstein/imx-test
imx-test, imx-sw-pdm
2021-07-08 19:36:50 -03:00
Carlos Rafael Giani
53a7fa1136 libimxvpuapi2: Update to version 2.2.0
* Add IMX_VPU_API_DEC_OUTPUT_CODE_VIDEO_PARAMETERS_CHANGED output code
* Deprecate encoder drain mode, better document decoder drain mode
* Various documentation fixes and new overviews about en- and
  decoding to help with the basic concepts
* Add note about the current state of i.MX8m plus support
* New functions:
  imx_vpu_api_is_color_format_rgb()
  imx_vpu_api_vp8_profile_number()
  imx_vpu_api_vp8_partition_count_number()
  imx_vpu_api_vp9_profile_number()
  imx_vpu_api_enc_set_frame_rate()
* imx6-coda: Fix decoded frame fb_context
  This was causing crashes when callers relied on said fb_context

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2021-06-15 09:19:41 -03:00
Alexander Kanavin
7989c1c382 gstreamer1.0: set the name of the test suite for ptests
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>
2021-05-04 20:08:21 -03:00
Carlos Rafael Giani
0b31683398 gstreamer: Add common .inc files for meson based recipes
* 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>
2021-05-04 20:08:21 -03:00
Tom Hochstein
f5c0c19e89 imx-sw-pdm: Add PDM to PCM software decimation library
NXP PDM to PCM software decimation SIMD library.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-30 13:37:21 -05:00
Carlos Rafael Giani
df845df213 gstreamer1.0-plugins-imx: Update to version 2.0.0
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>
2021-04-25 13:40:14 -03:00
Carlos Rafael Giani
355c3729d5 libimxvpuapi2: Update to version 2.1.2
* imx6 coda: fix bug in IPU based detiling related to frame width/height
* imx6 coda: use the frame width/height from open params if available
* imx6 coda: fix duplicate VPU firmware unloading
* imx6-coda: Fix skipped frame reporting
* imx8 hantro encoder: fix mid-stream bitrate changes and bitrate logging
* imx8m-hantro: Handle CODEC_ERROR_FRAME codec state
* imx8m-hantro: Limit supported formats and profiles if building for m8xmm

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2021-04-25 13:40:14 -03:00
Otavio Salvador
ff7dbbb6ab gstreamer1.0-plugins-bad: Fix build for GPU-less machines
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
2021-04-10 11:44:51 -03:00
Max Krummenacher
6adee1c656 pulseaudio: mx7: refresh patch against pulseaudio 14.2
Prevents
| Applying patch pulseaudio-remove-the-control-for-speaker-headphone-widge.patch
| patching file src/modules/alsa/mixer/paths/analog-output-headphones.conf
| Hunk #1 succeeded at 88 (offset 7 lines).
| Hunk #2 succeeded at 119 (offset 14 lines).
| patching file src/modules/alsa/mixer/paths/analog-output-speaker.conf
| Hunk #1 succeeded at 91 with fuzz 2 (offset 18 lines).
| Hunk #2 succeeded at 115 (offset 22 lines).

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-02-25 15:29:29 -03:00
Tom Hochstein
156064f4b7 gstreamer1.0*: Fix versions for i.MX fork recipes
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>
2021-02-01 21:14:21 -03:00
Max Krummenacher
4c3640d0bc imx-gst1.0-plugin: update to 4.5.7
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>
2021-02-01 11:24:43 -03:00
Max Krummenacher
04f9cfd2ce gstreamer1.0-plugins-bad: update to 5.4.70_2.3.0
NXP release imx_5.4.70_2.3.0.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-02-01 11:24:43 -03:00
Max Krummenacher
a4d83889e7 gstreamer1.0-plugins-good: update to 5.4.70_2.3.0
NXP release imx_5.4.70_2.3.0.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-02-01 11:24:43 -03:00
Max Krummenacher
8f6c781a01 imx-codec: update to 4.5.7
NXP release imx_5.4.70_2.3.0.

This package uses EULA v17 October 2020.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-02-01 11:24:43 -03:00
Max Krummenacher
ca546d96fd imx-parser: update to 4.5.7
NXP release imx_5.4.70_2.3.0.

This package uses EULA v17 October 2020.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-02-01 11:24:43 -03:00
Max Krummenacher
07f1817ce3 imx-vpuwrap: update to 4.5.7
NXP release imx_5.4.70_2.3.0.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-02-01 11:24:43 -03:00
zakariazh
61fac5961b gstreamer1.0-plugins-bad: Let processors with pxp chose the correct Opengl API
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>
2021-01-26 19:52:42 -03:00
Zan Dobersek
c2c739a93b imx-gst1.0-plugin: update to NXP's MM_04.05.06_2008_L5.4.47 branch
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>
2020-12-11 17:43:58 -03:00
Zan Dobersek
43f863e104 gstreamer1.0-plugins-bad: update to NXP's MM_04.05.06_2008_L5.4.47 branch
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>
2020-12-11 17:43:58 -03:00
Zan Dobersek
2a4d84248f gstreamer1.0-plugins-good: update to NXP's MM_04.05.06_2008_L5.4.47 branch
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>
2020-12-11 17:43:58 -03:00
Zan Dobersek
d2f7d17d56 gstreamer1.0-plugins-base: update to NXP's MM_04.05.06_2008_L5.4.47 branch
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>
2020-12-11 17:43:58 -03:00
Zan Dobersek
4371c3f165 gstreamer1.0: update to NXP's MM_04.05.06_2008_L5.4.47 branch
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>
2020-12-11 17:43:58 -03:00
Zan Dobersek
705102c901 imx-vpuwrap: update to NXP's MM_04.05.06_2008_L5.4.47 branch
Update imx-vpuwrap 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>
2020-12-11 17:43:58 -03:00
Zan Dobersek
447032d809 gstreamer1.0-plugins-base: add additional patches
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>
2020-11-10 16:25:41 -03:00
Zan Dobersek
f28829ec90 gstreamer1.0-plugins-base: allow enabling viv-fb as a supported GL winsys
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>
2020-11-05 22:01:02 -03:00
Andrey Zhizhikin
5c0fd24a5d gstreamer1.0-plugins-bad: fix vulkan compilation error
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>
2020-11-04 09:39:30 -03:00
Max Krummenacher
9e35371f25 imx-gst1.0-plugin: correct pv
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>
2020-10-23 13:39:51 -03:00
Carlos Rafael Giani
aa3189ea5c libimxvpuapi2: Update to version 2.1.0
* introduce RGB and packed YUV formats since the Hantro encoder
  supports those
* remove hardware specific public headers since they only added
  tiled pixel formats; instead, migrate these tiled formats into
  ImxVpuApiColorFormat
* imx8 hantro decoder: reorder list of supported decoder color
  formats to favor 10 bit output
* imx8 hantro decoder: clear new framebuffer fields to zero
* imx8 hantro encoder: fix segfault caused by trying to unmap
  non existing staged raw frame

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2020-10-18 13:29:23 -03:00
Andrey Zhizhikin
9232106eb6 libimxvpuapi2: add imx8mp to supported platforms
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2020-09-29 16:56:20 -03:00
Tom Hochstein
91a3a45f14 alsa-lib: Add conf for i.MX XCVR sound card
For EARC iec958 plugin running on 8M Plus, we need to deploy
IMX-XCVR.conf in Yocto rootfs.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-09-23 23:42:37 -03:00
Tom Hochstein
8786908fcf imx-parser: Set package architecture correctly to tune-specific
The tune-specific package architecture is sufficient, no need to
use the more specific SOC or MACHINE package architecture.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-09-23 23:42:37 -03:00
Tom Hochstein
84cb357397 gstreamer1.0-plugins-bad: Remove un-necessary opencv dependency
OpenCV is no longer required, so remove it from PACKAGECONFIG.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-09-23 23:42:37 -03:00
Andrey Zhizhikin
eee0beb7da gstreamer1.0: update to NXP release MM_04.05.05_2005_L5.4.24
Align recipes to match NXP release 5.4.24-2.1.0 by updating the branch to
MM_04.05.05_2005_L5.4.24.

Following notes are additions to the regular bump of recipes:
--------------------------
gstreamer1.0-plugins-bad:
Drop patches applied upstream and refresh all patches in layer with
devtool to clean-up fuzz during apply.

Backport patch to be able to compile with OpenCV 4.4.0 provided in
upstream OE-Core.

imx-gst1.0-plugin:
Introduce the patch to solve compiler error reported when -fcommon is
used in GCC10 configuration.
--------------------------

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-09-23 23:42:37 -03:00
Andrey Zhizhikin
10f3833c3c imx-parser: upgrade to 4.5.5
NOTE: This version uses v11 EULA from NXP

Following commits are added in this release (including command):
$ git log --oneline --no-decorate eff47177..72395663
72395663 MA-17095: MP4 PARSER 06.16.07
6abeb330 MA-16391-2: MP4 PARSER 06.16.06
7a8c66d5 MA-16391: MP4 PARSER 06.16.05 support ENCRYPTED_BYTE_BLOCK, SKIP_BYTE_BLOCK, CRYPTO_IV
6f7d785f MA-17070 MP3 PARSER 03.03.03
8fb0fc1a MA-17026 AAC PARSER 03.01.04
8d04d6cd MA-16982: fix cts android.media.cts.DecoderTest#testDecodeMonoOggMkv
1bc9b758 MA-16969 [Android] Q10_2.0.0 cts MediaMuxerTest#testAllTimestampsBVideoOnly fail
efa3c12f MMFMWK-8754 MPEG2 PARSER 05.01.02
fbab3462 MA-16828: fix cts android.media.cts.DecoderTest#testTrackSelectionMkv
2e2ca2ad MA-16684: suppoert av1 video format in mkv parser
e9cf3560 [configurea.ac] Update version to 4.5.5 for next release
138ef113 MA-16403 Fix ID3 parser return wrong artwork size
782e91e1 MA-16375 MPEG2 PARSER 05.01.01
57207e77 MMFMWK-8725 MP3 PARSER 03.03.01
48581949 MMFMWK-8650 MPG2 PARSER 04.06.03
2f3da775 [configurea.ac] Update version to 4.5.4 for next release

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Cc: Tom Hochstein <tom.hochstein@nxp.com>
2020-09-05 19:44:05 -03:00
Andrey Zhizhikin
31f04e4b16 imx-codec: update to 4.5.5
NOTE: This update uses new EULA v11 from NXP.

Following commits are added in this release (including command):
$ git log --oneline --no-decorate 4ebbb1bc..16dba069
16dba069 MMFMWK-8757 release/build_std: Fix yocto automation issue
b912378e MMFMWK-8755 release/build_std: Add flac unit test to pkg
5871d696 MLK-23360-2: release/lib: Update mp3 codec lib
3573ebeb MLK-23360-1: mp3_dec: MP3 codec doesn't detect sample rate change in the stream
edb24319 [configurea.ac] Update dsp version to 1.0.14 for next release
980baaad [configurea.ac] Update version to 4.5.5 for next release
4fddfbd5 [configurea.ac] Update dsp version to 1.0.13 for next release
e3b603f8 [configurea.ac] Update version to 4.5.4 for next release

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Cc: Tom Hochstein <tom.hochstein@nxp.com>
2020-09-05 19:44:05 -03:00
Andrey Zhizhikin
443f182f25 imx-vpuwrap: upgrade to 4.5.5
Starting from this version, imx-vpuwrap is provided in a separate GIT
repository and no longer in archive.

Following commits are added in this release (including command):
$ git log --oneline --no-decorate 8a3f1b0..b683295
b683295 MA-17072 [VC8000E] Set AVC default profile/level
ae24b72 MA-16984 update Android.bp to remove "imx_defaults"
1349ea2 MA-16873-4 Update vpu_wrapper path
c1235d2 MA-16830-2 Fix memleak when free memory in wrapper
f680b3c MMFMWK-8745 hantro: enable reorder config for hantro vpu
3685f06 MA-16717-3 add VPU_DEC_SKIP for CODEC_PIC_SKIPPED
35b43ea MA-16717-2 Add Config to reset codecdata flag
8c92057 MMFMWK-8742 Map decoders to timestamps
ad0bc7f MMFMWK-8739 [8mp]Grecorder: Only one recorded ts file play well when set '-n 3'
6c306bc MMFMWK-8738 [8mp] Set right input buffer's Y,U,V physical address
1524207 MMFMWK-8736 Fix hantro decoder can't get fullrange flag of files encoded with vc8000e
19fe757 MA-16593 [evk_8mm] Fix video hang due to error frame
13459f7 MMFMWK-8733 Update EULA.txt for vpu_wrapper according to imx-release-info
35ea5e6 [configurea.ac] Update version to 4.5.5 for next release
94c38de MA-16435-1 Modify Android makefile
96e189f MMFMWK-8720 Replace docs/EULA.txt and add SRC file SCR-imx-vpuwrap.txt
341dc9b MMFMWK-8720 Simplify vpu wrapper
bf6680e MMFMWK-8720 Sync vpu wrapper code with Android and change copyright
1e6bc61 MMFMWK-8720 fix vc8000e encoder can't work
a61d115 MMFMWK-8722 Fix color abnormal issue of streaming feature
f68972d MMFMWK-8722 [8mp] Fix bitrate getting smaller issue of VC8000E encoder
e7b3992 MMFMWK-8718 Enable cropping for hantro encoder at preprocess stage
017ecf7 MMFMWK-8714 [8mp] Adjust parameters to get correct filesize with given bit rate.
95acceb MMFMWK-8595 seperate 845 and 865 rootfs
180d19f MMFMWK-8595 Enable VC8000E encoder for 865
6fb749b [configurea.ac] Update version to 4.5.4 for next release

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Cc: Tom Hochstein <tom.hochstein@nxp.com>
2020-09-05 19:44:05 -03:00
Andrey Zhizhikin
08491c8661 gstreamer1.0-plugins-bad: update opencv patch to 4.3.0
OpenCV has been upgraded upstream to 4.3.0 and current build of
gstreamer1.0-plugins-bad is broken as the previous patch required
version to be < 4.2.0

Backport the patch from upsteam to allow compilation with OpenCV 4.3.0
and replace the patch in the layer.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2020-05-09 18:00:05 -03:00
Carlos Rafael Giani
c3bdc60872 gstreamer1.0-plugins-imx: Update to version 0.13.1
* Last planned release in the 0.x series. Development now focuses on 2.x.
  The 2.x series will support i.MX6, i.MX7, and i.MX8.

* OE recipe fix to use the correct G2D dependency (imxg2d, not imx-gpu-viv)

* waf: Update to version 2.0.12 and switch to Python 3

* misc:
  * gst_buffer_pool_config_set_allocator() and get_allocator() are
    transfer-none. Changes to the code address that, fixing various refcount
    related problems.
  * Update GstPhysMemoryAllocator support for GStreamer 1.14+

* v4l2video:
  * v4l2src: Set interlace flags in GstBuffer
  * v4l2sink: Define V4L2_COLORSPACE_DEFAULT if it doesn't exist
  * v4l2: Add phys mem meta only if the driver/card is known to support this
    This makes USB video cameras work with imxv4l2videosrc, because they do
    not provide any physical address.
  * v4l2_buffer_pool: First reset the buffer storage in the pool, then queue
    the buffer. Otherwise it might happen that we dequeue the same buffer in
    a different thread already *before* we have it reset in the buffer storage,
    and then run into an assertion because it contains NULL.

* vpu:
  * decoder: Fix for an endless loop at gst_imx_vpu_decoder_finish() when in
    no_wait mode
  * decoder: Clear the GST_VIDEO_BUFFER_FLAG_TFF flag in case of
    IMX_VPU_INTERLACING_MODE_BOTTOM_FIELD_FIRST
  * decoder: Honour num-additional-framebuffers setting
  * decoder: Fix leak when input video formats change due to a missing
    gst_imx_vpu_decoder_close() call

* ipu: Reintroduce interlace methods

* audio:
  * Save pointer to codec_data GstBuffer to fix memory leak
  * Only allocate reordered_channel_positions if needed. If we don't need to
    reorder the audio channels, we the unnecessary allocation otherwise.

* g2dpango:
  * Add missing header and cleanup a few warnings
  * Unref video_frame memory after phys_memory check

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2020-04-24 08:13:12 -03:00
Yuqing Zhu
07352f3670 imx-vpuwrap: Upgrade to v4.5.3
-Update EULA to v10
-Add vpu wrapper unit test for i.MX8
 Enable 8mm/8mq to support H264/HEVC byte-stream format decoding
 Enable 8mm to support H264 encoding

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
2020-04-20 16:17:28 -03:00
Yuqing Zhu
1fad60c166 imx-parser: Upgrade to v4.5.3
-Update EULA to v10
-Fix unexpected EOS reported by Aiurdemux while playing fragmented mp4 video
-Add Mpeg2ResetOuputBuffer when track is disabled
-Upgrade mp 3parser's getNextSamle, don't read 16KB
 because this mode can't calculate right timestamp
-Add Parser API to get ac4 presentation info
-Fix ID3 parser return wrong artwork size

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
2020-04-20 16:17:28 -03:00
Yuqing Zhu
e17104581a imx-codec: Upgrade to v4.5.3
-Update EULA to v10
-Update version to align with other Multimedia components

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
2020-04-20 16:17:28 -03:00
Carlos Rafael Giani
4d6359b6fe libimxvpuapi2: Update to version 2.0.1
* imx6: replace mxcfb.h check with i.MX6 specific imx header check
  the mcxfb.h check only makes sense with i.MX6 devices, so requiring
  those for others like i.MX8 led to build errors
* update waf to 2.0.12 and switch wscript to use Python 3
* imx6: fix encoder pointer usage in vpu_EncGiveCommand() call

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2020-04-20 16:17:28 -03:00
Andrey Zhizhikin
41ff756246 gstreamer: upgrade to MM_04.05.03_1911_L5.4.0 branch
Upgrade imx fork of gstreamer components to version taken from
MM_04.05.03_1911_L5.4.0 branch. This branch is aligned with the new
kernel update from NXP.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-16 10:32:45 -03:00
Otavio Salvador
4034db01ae gstreamer1.0-plugins-base: Add gbm window system for mainline BSP
When using mainline BSP we need to enable the gbm window system.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-12 18:42:57 -03:00