xf86-video-imx-vivante: fix compile by updating to 6.4.0
Using the current HEAD fixes the following compile error:
| vivante_gal/vivante_gal_surface.c:493:38: error: 'gcvPOOL_CONTIGUOUS' undeclared (first use in this function); did you mean 'gcvSURF_CONTIGUOUS'?
| 493 | surf->mVideoNode.mPool = gcvPOOL_CONTIGUOUS;
| | ^~~~~~~~~~~~~~~~~~
meta-fsl-bsp-release sets version to 6.4.0.p0.0 for this git hash,
follow that here.
Changelog:
MGS-4783 [#ccc] Integrate EXA patches for 6.4.0 beta
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Fixes:
| ERROR: gstreamer1.0-plugins-imx-0.13.0+gitAUTOINC+963aea60b1-r0 do_configure: Execution of '/build/krm/oe-core_master/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/gstreamer1.0-plugins-imx/0.13.0+gitAUTOINC+963aea60b1-r0/temp/run.do_configure.44421' failed with exit code 127:
| /usr/bin/env: ‘python’: No such file or directory
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Fixes:
| ERROR: libimxvpuapi-0.10.3+AUTOINC+4afb52f97e-r0 do_configure: Execution of '/build/krm/oe-core_master/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/libimxvpuapi/0.10.3+AUTOINC+4afb52f97e-r0/temp/run.do_configure.51207' failed with exit code 127:
| /usr/bin/env: ‘python’: No such file or directory
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Andrey Zhizhikin [Sun, 22 Dec 2019 15:29:54 +0000 (15:29 +0000)]
gstreamer1.0-*: resolve absolute paths usage for patch search
Since all pathes required by those recipes are collcted in this layer,
there is no need to use an absolute path to oe-core when searching for
patch files. This also breaks build when build system initialization is
different from NXP bootstrap script.
Andrey Zhizhikin [Sun, 22 Dec 2019 15:22:37 +0000 (15:22 +0000)]
gstreamer1.0-plugins-bad: fix recipe and add patches from oe-core
Fix absolute search paths in the recipe, which attemped to use patches
directly from oe-core and keep those patches in this layer.
This would allow ease of tracking (patches could be dropped once version
is upgraded) and resolves the dependency from oe-core layer (no direct
inclusion necessary via env variables which is not present at every
build system setup).
Andrey Zhizhikin [Sun, 22 Dec 2019 15:06:17 +0000 (15:06 +0000)]
gstreamer1.0-plugins-base_1.16.imx: rebase patches and fix recipe
Current implemetation of recipe has absolute path to patches from
oe-core, which breaks the build if initialization script from Freescale
is not used to bootstrap the environment. Moreover, several patches from
oe-core does not apply cleanly to the NXP tree and should be rebased.
This commit eliminates the hardcoded paths from recipes and collects
patches from oe-core in this layer. Two patches are also rebased to be
cleany applied to NXP source tree.
Cristinel Panfir [Wed, 18 Dec 2019 08:28:16 +0000 (10:28 +0200)]
imx-parser: Upgrade to 4.5.1
- MP3 PARSER: Fix Google Play Music can't seek mp3
- FLAC PARSER: Check meta header lenght to avoid a null header
- ASF PARSER: Add protection when need to allocate large size memory
- Some other fixes for: AVI/MPEG2/MP4 PARSER
ERROR: linux-qoriq-4.19-r0 do_preconfigure: Execution of 'mp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614' failed with exit code 2:
tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614: 119: tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614: cannot open tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/defconfig: No such file
WARNING: exit code 2 from a shell command.
ERROR: Logfile of failure stored in: tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/log.do_preconfigure.13614
Log data follows:
| DEBUG: Executing shell function do_preconfigure
| tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614: 119: tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614: cannot open tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/defconfig: No such file
| WARNING: exit code 2 from a shell command.
| ERROR: Execution of 'tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614' failed with exit code 2:
| tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614: 119: tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614: cannot open tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/defconfig: No such file
| WARNING: exit code 2 from a shell command.
|
ERROR: Task (/build/sno/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.19.bb:do_preconfigure) failed with exit code '1'
This is caused by do_preconfigure() from classes/fsl-kernel-localversion.bbclass
expects a ${WORKDIR}/defconfig which was earlier created by merge_delta_config.
Ricardo Salveti [Mon, 16 Dec 2019 14:37:29 +0000 (11:37 -0300)]
imx-base.inc: add uboot entrypoint for mx8mm
Default u-boot load address is set to 0x40480000 but fitImage
support requires the UBOOT_ENTRYPOINT to be defined as well, so
just extend imx-base.inc to also include a default uboot entrypoint
for mx8mm.
Cristinel Panfir [Wed, 11 Dec 2019 09:54:09 +0000 (11:54 +0200)]
firmware-imx: Upgrade to version 8.5
- Exclude "easrc" as this IP is only applicable for Nano Soc
- Remove SECO implementation from firmware-imx recipe and use imx-seco
to deploy the SECO firmware for i.MX 8QM/8QXP
- Always use ipv6 address to mount rootfs
- support normal ip:nfsroot format to work with connman
- Fix upload problem
- return EPIPE status when pipe close before all data transferred
Cristinel Panfir [Mon, 16 Dec 2019 13:50:08 +0000 (15:50 +0200)]
imx-vpu-hantro: Upgrade version from 1.11.0 to 1.15.0
- [H1]: code refine for error handling to avoid blocking
- [H1]: Driver enhancement for suspend/resume
- [ION]: Enhance for 32bit compatibility for decoder and encoder
- [H264] Handle interlace video correctly
- [VC1Dec] Return error to avoid segmentation fault
- [H264]: decoder enhancment in h264bsdGetBits() for corrupted clips
- [Common]: support for security mode
I've tried build linux-variscite where the maintainers seem to have
copied the 'merge_delta_config' task from the linux-qoriq recipe from
meta-freescale.
When i tried to use that task to add some linux kernel config flags it
did not work. It seems like the 'do_preconfigure' task inherited by the
'fsl-kernel-localversion' class deletes all content of the '.config'
file AFTER it has been merged by the 'merge_delta_config' task.
I reordered the tasks so that merge_delta_config is run after
preconfigure:
addtask merge_delta_config before do_configure after do_patch
do_preconfigure
which solved the problem for me. The flags were then added and compiled
into the kernel.
With the change to linux-imx-headers 4.19.35 the build of imx-alsa-plugins
fails. Likely "linux/mxc_asrc.h" would require an include.
In the latest sources this is done in the source file which includes it.
| /workdir/oe/tmp/work/aarch64-mx8-tdx-linux/imx-alsa-plugins/1.0.26-r0/recipe-sysroot/usr/include/imx/linux/mxc_asrc.h:125:2: error: unknown type name 'snd_pcm_format_t'
| 125 | snd_pcm_format_t input_format;
ff.
From the imx-alsa-plugins commit:
Include latest asrc_pair change for k4.14 build [YOCIMX-3558]
asrc_pair: update according to latest mxc_asrc.h
The mxc_asrc.h is updated for supporting new module on 815.
The main change is the xxx_word_width is replaced by xxx_format.
As we've switched to use git fork build, change recipe PV to 'git'.
Will upstream this recipe to community later.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
linux-imx: Update kernel recipe to version 4.19.35
- Update kernel recipe to latest revision of 4.19.35
- Sync arm architecture defconfig file with imx_v7_defconfig
- Sync arm64 architecture defconfig file with defconfig
Andrey Zhizhikin [Tue, 19 Nov 2019 22:07:53 +0000 (22:07 +0000)]
linux-fslc-imx_4.9: resolve version for cve scans
CVE scanner is unable to parse the version of linux kernel recipe, which
caused warnings to be produced during the scan task since kernel version
was not properly identified.
This was caused by the fact that CVE_VERSION is set per default to PV,
and PV of this receipe does nto resolve in a proper (and actual) kernel
version provided.
By setting CVE_VERSION to explicitly point to KERNEL_VERSION, this recipe
effectively provides a proper kernel version to CVE scanner.
Andrey Zhizhikin [Tue, 19 Nov 2019 20:02:51 +0000 (20:02 +0000)]
linux-fslc-imx_4.9-1.0.x: replace patchset to the one from stable
Replace the patchset, which resolves kernel compilation issues when gcc9
is used. Original patchset introduced here was the initial commit that
solved the issue, while this patchset is cherry-picked from stable tree
branch linux-4.9.y and included included in v4.9.188 upwards.
Once linux-fslc-imx would get updated past v4.9.188 - this patchset
should be removed from the layer.