Otavio Salvador [Thu, 28 Jun 2018 14:01:26 +0000 (11:01 -0300)]
Merge remote-tracking branch 'yocto/rocko' into rocko+ossystems
* yocto/rocko:
gstreamer1.0: Set DEFAULT_PREFERENCE as -1 to imx version
gstreamer1.0-plugins-good: Set DEFAULT_PREFERENCE as -1 to imx version
gstreamer1.0-plugins-base: Set DEFAULT_PREFERENCE as -1 to imx version
gstreamer1.0-plugins-bad: Set DEFAULT_PREFERENCE as -1 to imx version
gstreamer1.0-plugins-bad: Change PACKAGECONFIG_GL for imxgpu2d and imxgpu3d
imx-codec/imx-parser: Update License checksum to v20 EULA
imx-gst1.0-plugin: Upgrade to v4.3.4
imx-vpuwrap: Upgrade to v4.3.4
imx-parser: Upgrade to v4.3.4
imx-codec: Upgrade to v4.3.4
gstreamer1.0-plugins-bad: Use i.MX fork of GST for customizations
gstreamer1.0-plugins-good: Use i.MX fork of GST for customizations
gstreamer1.0-plugins-base: Use i.MX fork of GST for customizations
gstreamer1.0: Use i.MX fork of GST for customizations
ls2-phy: update SRC_URL
machine-overrides-extender.bbclass: Fix multilib parsing
Revert "machine-overrides-extender.bbclass: Postpone until 'RecipeParsed' event"
Yuqing Zhu [Wed, 6 Jun 2018 03:44:22 +0000 (11:44 +0800)]
imx-codec: Upgrade to v4.3.4
Add INSANE_SKIP for file-rdeps to fix QA Issue
Update mp3_enc version to 02.03.01
Fix crash in lib_mp3_enc_arm12_elinux.so
This crash error is caused by division by zero
in noOfElements_mp3e() function When encoding 0
size file by using unit test
so before performing a division operation, need to
check whether divisor is zero or not to fix it.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit dfc4d95ae217e440083bcc990428b4a12868ea84)
The 'ConfigParsed' event was too early and when we mangled the
MACHINEOVERRIDES using the extender, we ended overriding some values
when using together with multilib.
This fixes the multilib use-case and keep current ones working.
Reported-by: Cristinel Panfir <cristinel.panfir@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit a59a2059850c493772da39d2fd9ee71494326d12)
Otavio Salvador [Mon, 21 May 2018 19:24:29 +0000 (16:24 -0300)]
machine-overrides-extender.bbclass: Postpone until 'RecipeParsed' event
The 'ConfigParsed' event was too early and when we mangled the
MACHINEOVERRIDES using the extender, we ended overriding some values
when using together with multilib.
This fixes the multilib use-case and keep current ones working.
Change-Id: I6f1d952dfe2d04fa10229a86763af4ca6b1e601f Reported-by: Cristinel Panfir <cristinel.panfir@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 65144beb63673d215221d800e1905eedb9f2f8ed)
Andreas Müller [Wed, 28 Feb 2018 10:47:52 +0000 (11:47 +0100)]
remove efl dynamic layer support
meta-efl was removed completely in August 2017
Change-Id: Ic734ec38d6dc4d248367186eb51077e04a453b6d Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 66e6349b72de37d20c3ad423afcb4211c84a26df)
Otavio Salvador [Wed, 7 Feb 2018 12:55:12 +0000 (10:55 -0200)]
Merge remote-tracking branch 'yocto/rocko' into rocko+ossystems
* yocto/rocko:
qtbase: set default EGLFS_DEVICE_INTEGRATION before oe-device-extra.pri
weston: Append EGL_CFLAGS to CFLAGS for imxgpu2d
weston: Do not force MACHINE_SOCARCH for PACKAGE_ARCH
weston: Remove 2.0.0 recipe as rocko has it
imx-gpu-viv: egl: Add alias for EGL_PLATFORM_GBM_KHR
weston: Switch to 2.0 with i.MX fork
imx-gpu-viv: egl: Add alias for EGL_PLATFORM_X11_KHR
Ming Liu [Mon, 8 Jan 2018 12:22:07 +0000 (13:22 +0100)]
qtbase: set default EGLFS_DEVICE_INTEGRATION before oe-device-extra.pri
This allows the users to be able to override it in oe-device-extra.pri.
Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 192def2732d8b548f4b4cc03eb9b45639af8b1fd)
Otavio Salvador [Tue, 16 Jan 2018 15:31:32 +0000 (13:31 -0200)]
weston: Remove 2.0.0 recipe as rocko has it
When moving to weston 2.0.0 fork, it also included a copy of weston
recipe and it is not needed for rocko as this is the version available
in the branch.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 15 Dec 2017 13:08:59 +0000 (11:08 -0200)]
imx-gpu-viv: egl: Add alias for EGL_PLATFORM_GBM_KHR
New EGL code uses EGL_PLATFORM_GBM_KHR (for example weston) and the
value is the same, so we can provide an alias for it instead of
patching every code using it.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 13 Dec 2017 13:03:39 +0000 (11:03 -0200)]
imx-gpu-viv: egl: Add alias for EGL_PLATFORM_X11_KHR
New EGL code uses EGL_PLATFORM_X11_KHR (for example glmark2) and the
value is the same, so we can provide an alias for it instead of
patching every code using it.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Environment variable enabling the workaround FBO readback bug
On some ARM devices the font glyph generation is broken
Add an environment variable to enable workaround_brokenFBOReadBack
in QOpenGLContext, to fix font rendering on such devices as
Mali and Adreno
These fixes enable qmlglsink support with Qt5 EGLFS, and also fix a
flickering issue in qmlglsink caused by a data race (frames are drawn
while the decoder writes new frame data into their DMABUFs).
Remove 0002-gl-viv-fb-Fix-user-choice-string-comparisons.patch file
that was already applied on upstream.
Change-Id: I51dc3efee26ebb441ea0ea8f601043f6a0024a5a Signed-off-by: Carlos Rafael Giani <dv7777@gmail.com> Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
(cherry picked from commit c708c6a74c68fe102160ceb1ecbeed4a94394094)
mesa: Add patch to enable MESA_ycbcr support and WIP-st-dri-Allow-YUYV-import
Patch 15 is an experimental patch to enable MESA_ycbcr support. Might not
be needed later on.
WIP-st-dri-Allow-YUYV-import is an experimental patch to make use of the
Vivante GPU's hardwired YUV->RGB converter. A clean implementation of this
feature might require MESA_ycbcr or a derivative of that, but for now, this
patch works.
Signed-off-by: Carlos Rafael Giani <dv7777@gmail.com>
(cherry picked from commit a5d0f53fa7ef0b6bbc98e752c16a39776829f5d5) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Change-Id: I15dad1389f0f20f350a10c45971fcf2031a07900
Otavio Salvador [Thu, 30 Nov 2017 13:24:38 +0000 (11:24 -0200)]
u-boot-fslc-fw-utils: Fix build
There was a wrong include of u-boot.inc on this recipe which were
causing build errors, also it was using the old target to build the
environment tools.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 28 Nov 2017 18:38:00 +0000 (16:38 -0200)]
u-boot-fslc: Upgrade to 2017.11-based fork
This includes following changes on top of 2017.11 tag:
ca0c3f3fac configs: icore-rqs: Enable falcon mode c39e5ad9ad engicam: imx6q: Return mmc dev 0 for icore 7953884755 i.MX6: engicam: Add imx6q/imx6ul boards for existing boards 924ac4a9ac board: icore-rqs: Fix mmc get env device 1caace2d74 i.MX6UL: icore: Add SPL_OF_CONTROL support 655f153b7c pinctrl: imx6ul: Fix pinctrl data overlapped with DT area 735b8429cf i.MX6Q: icore: Add SPL_OF_CONTROL support e2aee01772 i.MX6Q: icorem6: Move spl load fit to common/spl 7265424b4b i.MX6: engicam: Move set_fdt_file to common 676484d0f5 mx6sxsabresd: Use PARTUUID to specify the rootfs location c685436fb6 imx: Remove boolean parameter from wdog powerdown function dfd399d4b2 imx: Also clear powerdown enable bit for WDOG3 on i.MX6ULL 21e5b103ee mx6ull: Fix WDOG3 base address 28a06c12ca envtools: make sure version/timestamp header file are available 5a3afcb579 mx6sabreauto: Remove unneeded SPL selection a80c8e3c7a mx6: Select MX6QDL option via Kconfig 7c9d795887 mx53: Add Board support for GE PPD a7dbf3c3a4 board: ge: make VPD code common fd7ab796b5 rtc: add support for s35392a efc51f73e3 bootcount: add support for bootcounter on EXT filesystem 8b0c1c4d23 arm: mx5: Add more register definitions 29e5e9df46 pwm: imx: Enable PWM support on i.MX53 02cc3e8037 ext4: recover from filesystem corruption when reading 4c530ec27c imx: mxc_i2c: tweak the i2c transfer method 87d4563bbd Revert "wandboard: Remove unnecessary delay" 913c93d432 pico-imx6ul: Use FS_GENERIC load command bd7c72d0e2 pico-imx6ul: Add function to create gpt partitions 1bd87551eb pico-imx6ul: Define partition layout in the environment 6d2499a223 pico-imx6ul: Add boot and rootfs dfu_alt_info 114501165b pico-imx6ul: Use PARTUUID to specify the rootfs location 9a6f8019f6 pico-imx6ul: Move dfu_alt_info to CONFIG_DFU_ENV_SETTINGS variable 0b20df36bc mx25pdk: Change root to use a single partition layout 2dcd3eeeff pico-imx7d: Enable booting from single partition d6008b2e1a pico-imx7d: Replace fatload command 7fe81082a3 pico-imx7d: Add support for secure boot f960fe77df mx6sabre_common: Place video related settings in common code f4998c99d4 mx6sabre_common: Dynamically change the video output c3e252e8ca mx6sabresd: Enable video interfaces in bootargs c94a211847 mx6sabresd: Use LDO dtb file until LDO bypass support is added 3abd094faf mx6slevk: Use LDO dtb file until LDO bypass support is added
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
gstreamer1.0-plugins-imx: Update to version 0.13.0
Changes:
* New imxv4l2videosink element
Currently only supports input physically contiguous memory blocks
as input (so, for example, no videotestsrc)
* New Pango-based overlay elements using G2D for rendering
* gstimxcommon library is now public
Necessary when implementing external sinks to retrieve the mapped
physical memory address from gstreamer buffers
(NOTE: ABI may change in the next few releases until this is stabilized)
* New optional ability to use GstPhysMemory from gst-plugins-bad
* imxv4l2videosrc:
* Add checks for V4L XRGB555X and GStreamer NV61 pixel formats
* Add UYVY support and make it the new default
UYVY works better with IPU-based deinterlacing, since with I420,
deinterlaced frames may exhibit a green band at the bottom, which
is apparently an IPU bug related to the plane offsets.
* Fix compile prior to Gstreamer 1.3.1
* v4l2_buffer_pool: Add special case for tw6869 driver
The tw6869 driver requires a different physical address to allow
DMA'able buffers for decreasing latency between chip and display
* v4l2src: add fractional "fps" property
(obsoletes the "fps-n" property)
* Add GstImxV4l2Meta init function
This avoids the g_assert() that was caused by the missing init
function
* Add num-additional-buffers property
This can be useful if capturing video isn't smooth; it sets the
number of internal additional buffers, so if downstream consumes
too many buffers, imxv4l2videosrc might end up doing a blocking
wait until buffers are returned
* imxv4l2src plugin is now called imxv4l2video, because it also
contains imxv4l2videosink
Also, the v4l2 elements can be enabled/disabled in the build
configuration individually now
* compositor:
* Clear output also if the input format has an alpha channel
* Only copy compositor input buffers to DMA memory once
If a single input frame is used for multiple output frames, we would
otherwise copy multiple times which can easily go to the limit of the
memory bandwidth
* vpu:
* Fix leak causd by missing GstVideoCodecState unref
* Release decoder context GCond during flush to fix potential deadlock
* Add memory tag to VPU framebuffer meta to avoid meta related crashes
* Add support for GRAY8 frames as a "fake grayscale mode"
Grayscale is actually encoded as I420, with the U and V planes
filled with 0x80 bytes. This feature also makes libimxvpuapi 0.10.3
the new minimum requirement.
* Remove 8-pixel alignment from width & height sinkcaps
* Framebuffer array: fix memory leak if we got out of memory
* Handle releasing of buffers without assigned framebuffer
This can happen if the buffer is released before it was actually
used, e.g. when renegotiating at the very beginning; prevents
a crash that would otherwise occur
* Add parameter check to avoid encoder crash on flush
* g2d:
* Always enable blending if the input frames have an alpha channel
G2D automatically makes use not only of global alpha, but also of
per-pixel alpha. Therefore, it makes sense to enable blending even
if global alpha is set to 255, as long as the input frames have an
alpha channel. Such blending is useful for composing a video frame
with some partially-transparent overlays for example (not to be
confused with hardware overlays though).
* Add build configuration switches to explicitely specify G2D include
and library paths
* Disable cacheable memory allocation
Several issues were reported with cacheable DMA memory, so it is
turned off, at least for now
* blitter:
* Add property to clear screen to black in blitter sinks
* Add output-rotation property to videotransform base class
* audio:
* Fix SIGFPE when restarting mp3 encoder
* Fix reference counting for caps
* Mark static codec caps as may be leaked
This gets rid of the false positive in the leak tracer
* misc:
* Update waf to 1.9.3 to fix compilation with Python 3.4+
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 20 Nov 2017 15:53:05 +0000 (13:53 -0200)]
Revert "xf86-video-imxfb-vivante: Change SRC_URI to point to git"
This reverts commit fb66d5010363083ea8d84160b74c62dad67f9a13. The
commit does an upgrade to the driver without upgrading the other
components. We are reverting this as it must be part of the GPU
upgrade patchset.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>