Daiane Angolini [Thu, 10 Jan 2019 16:21:20 +0000 (14:21 -0200)]
wic:mx8: Create wks file for imx8 family using imx-boot
imx8 family boards use u-boot as boot loader in addition to some other
binaries. The final bootloader binary is gathered by mkimage into a file
called imx-boot.
Add the wks file to create the wic image tailored for imx8 family.
Set the wks file as default for all imx8.
Daiane Angolini [Thu, 10 Jan 2019 16:24:24 +0000 (14:24 -0200)]
imx-boot: Fix the symbolic link filename to imx-boot
Fix the error:
| File "/media/daiane/TRIFORCE/yocto/master/sources/poky/scripts/lib/wic/filemap.py", line 132, in _open_image_file
| % (self._image_path, err))
| wic.filemap.Error: cannot open image file '/media/daiane/TRIFORCE/yocto/master/build/tmp/deploy/images/imx8mmevk/u-boot.imx': [Errno 2] No such file or directory: '/media/daiane/TRIFORCE/yocto/master/build/tmp/deploy/images/imx8mmevk/u-boot.imx'
Max Krummenacher [Fri, 28 Dec 2018 10:37:17 +0000 (11:37 +0100)]
ptpd-qoriq: Limit BSP specific recipe on relevant SOCs
Prevents the following when building for non qoriq machines:
| NOTE: Multiple providers are available for runtime ptpd (ptpd, ptpd-qoriq)
| Consider defining a PREFERRED_RPROVIDER entry to match ptpd
| NOTE: Multiple providers are available for runtime ptpd-dev (ptpd, ptpd-qoriq)
| Consider defining a PREFERRED_RPROVIDER entry to match ptpd-dev
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Dima Zavin [Wed, 19 Dec 2018 08:40:13 +0000 (00:40 -0800)]
license: clarify the licensing for the project's metadata
Presently, the recipe files in meta-freescale are under an ambiguous
license. There is a EULA file at the root, but it's clearly not meant
to apply as the default license as it is only explicitly called out in
a few recipes and mirrors the language of the LSDK. The yocto upstream
projects are meant to be distributed under a more liberal license than
the LSDK.
There are several licenses listed is custom-licenses/, but those again
only apply to specific recipes (e.g. NXP-Binary-EULA).
The license for the recipes themselves (and for the layer metadata, etc.)
is not clear and is problematic when attempting to host a mirror of this
code. So, add a LICENSE file that describes this situation, and provide
a reference copy of the MIT license (taken from poky/meta/).
Signed-off-by: Dima Zavin <dmitriyz@waymo.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Marc Ferland [Thu, 13 Dec 2018 19:27:29 +0000 (19:27 +0000)]
imx-uuc: bump to latest revision
* Includes the following changes:
e3fbdfe ufb: fix printf warning about argument type 48043c0 sdimage: fix printf warnings about expected argument types 79e9798 sdimage: rework verbose/debug messages ceec934 sdimage: reorder writes to reduce risk in case of power loss during update 59ff3e3 sdimage: refactor debug messages 3eeebda sdimage: introduce alignment support for second bootstream 8f7ec52 sdimage: restore compatibility to i.MX23 3136bbf sdimage: major refactoring 32644ae sdimage: use EXIT_FAILURE and EXIT_SUCCESS for return values 3633e94 sdimage: minor refactoring, renames etc. 7640d2f sdimage: handle endianess correctly 4100d09 sdimage: drop global variables 2fff78e sdimage: refactor boot control block structure 702747e sdimage: drop Windows line termination on success message b195bdc sdimage: drop unneeded initialization 61ca818 sdimage: use platform independed variable types and rename members slightly 014ddad sdimage: minor whitespace style fixes
Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
linux-imx_4.9.123: fix kernel module deploymenmt for ipk
Change the LOCALVERSION to '-imx'. While only linux-imx_4.9.123.bb fails,
change the the same pattern in linux-imx-headers_4.9.123.bb for consistency.
At least the ipk packager doesn't like the '_' characters and errors out
with the following for each kernel module:
| ERROR: Fatal errors occurred in subprocesses:
| Command 'PATH="..." opkg-build -Z xz kernel-module-snd-usbmidi-lib-4.9.123-imx_4.9.123_imx8mm_ga+g6a71cbc08975 \
| .../deploy-ipks/imx8qmmek' returned non-zero exit status 1.: Traceback (most recent call last):
| File "/build/krm/oe-core_master/build/../layers/openembedded-core/meta/lib/oe/utils.py", line 272, in run
| ret = self._target(*self._args, **self._kwargs)
| File "/build/krm/oe-core_master/build/../layers/openembedded-core/meta/classes/package_ipk.bbclass", line 230, \
| in ipk_write_pkg
| shell=True)
| File "/usr/lib64/python3.6/subprocess.py", line 336, in check_output
| **kwargs).stdout
| File "/usr/lib64/python3.6/subprocess.py", line 418, in run
| output=stdout, stderr=stderr)
| subprocess.CalledProcessError: Command '...' returned non-zero exit status 1.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Fixes:
| ERROR: Nothing PROVIDES 'virtual/kernel'
| linux-fslc-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx8qmmek (not in COMPATIBLE_MACHINE)
| ERROR: Nothing PROVIDES 'virtual/bootloader'
| u-boot-fslc PROVIDES virtual/bootloader but was skipped: incompatible with machine imx8qmmek (not in COMPATIBLE_MACHINE)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
The kernel class now sets RDEPENDS_${KERNEL_PACKAGE_NAME}-base so this include
needs to do the same, otherwise bitbake emits a warning and the kernel isn't
removed.
The codeaurora repository doesn't provide a remote HEAD, which cause an
issue when bitbake try to verify the SHA1 of the commit id.
The nobranch option allow to bypass this behaviour and correctly
checkout the commit id.
Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Khem Raj [Thu, 29 Nov 2018 03:00:43 +0000 (19:00 -0800)]
u-boot-fslc-mxsboot: When building target recipe, limit it to fsl machines
The latest updates observed that the target recipe is building for qemu
machines as well, which is not useful. see
http://errors.yoctoproject.org/Errors/Details/202502/
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 27 Nov 2018 16:24:23 +0000 (14:24 -0200)]
u-boot-fslc: Upgrade to 2018.11-based fork
This upgrade our fork to the current stable release. It got most of
our patches merged and now it has a very small set which are basically
Yocto Project specific stuff.
Still applied patches are:
1f39b911b7 mx25pdk: Change root to use a single partition layout a0f8bec9d3 mx6sabre_common: Dynamically change the video output 7847536319 mx6sabresd: Enable video interfaces in bootargs 994d8e0733 mx6sabresd: Use LDO dtb file until LDO bypass support is added c6c87fb39b mx6slevk: Use LDO dtb file until LDO bypass support is added
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Andreas Müller [Wed, 21 Nov 2018 08:30:43 +0000 (09:30 +0100)]
qtbase: Do not modify QT_CONFIG_FLAGS
* For distros enabling x11 and wayland it breaks X11 images (xfce/lxqt) for ALL
machines
* It is a setting which can be done at runtime. E.g KDE plasma does so.
* Settings like these do NOT belong into BSP layers
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Otavio Salvador [Thu, 8 Nov 2018 18:28:51 +0000 (16:28 -0200)]
weston: Avoid parsing for non-i.MX machines
Fixes:
,----
| meta-freescale/recipes-graphics/wayland/weston_4.0.0.imx.bb: Unable to
| get checksum for weston SRC_URI entry weston.ini: file could not be
| found
`----
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Tue, 23 Oct 2018 15:55:46 +0000 (10:55 -0500)]
xserver-xorg: Disable glamor for i.MX 8
Like i.MX 6 and 7, need to disable glamor for i.MX 8 to avoid a build break:
In file included from /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:179,
from /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/epoxy/egl_generated.h:11,
from /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/epoxy/egl.h:46,
from ../../xorg-server-1.20.1/glamor/glamor_priv.h:43,
from ../../xorg-server-1.20.1/glamor/glamor_composite_glyphs.c:25:
/home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/EGL/eglvivante.h:267:1: error: conflicting types for 'fbCreateWindow'
fbCreateWindow(
^~~~~~~~~~~~~~
In file included from ../../xorg-server-1.20.1/glamor/glamor.h:36,
from ../../xorg-server-1.20.1/glamor/glamor_priv.h:32,
from ../../xorg-server-1.20.1/glamor/glamor_composite_glyphs.c:25:
../../xorg-server-1.20.1/fb/fb.h:1115:2: note: previous declaration of 'fbCreateWindow' was here
fbCreateWindow(WindowPtr pWin);
^~~~~~~~~~~~~~
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Tom Hochstein [Wed, 10 Oct 2018 14:33:03 +0000 (09:33 -0500)]
imx-gpu-viv: Upgrade to 6.2.4.p1.8
Key Features of the Vivante 6.x Driver Series
- Full support for Khronos OpenGL ES 3.2 API. The new OpenGL ES 3.2 and OpenGL ES Shading Language 3.20 specifications bring AEP,
plus additional functionality, into core OpenGL ES. Vivante OpenGL ES 3.2 implementation has passed Khronos OpenGL ES 3.2 Conformance Test.
And Vivante GC7000XS* GPU core has been certified by Khronos as an OpenGL ES 3.2 compliant product.
- Backward Compatible with 5.x and 4.x Drivers. Existing OpenGL ES 3.x/2.0 applications can run on these drivers without any changes.
Key Features
============
- OpenCL improvements
- Wayland-weston DRM Support
- Wayland-weston with 2D accelerated renderer
- Wayland-Weston EGL DRM Modifier support
- Wayland-Weston EGL Framebuffer compression
- Wayland-Weston DMABUF support
- OpenCV tests with OpenCL
- Add GPU DRM support
- GLES CTS version 3.2.4
6.2.4p1-4.9.123- Improvements
=============================
OCL: MGS-3255-41 fix opencl test_buffer failures
OCL: MGS-3255-39 fix opencl cache issue
OCL: MGS-3891 [QNX] - OpenCL CTS bruteforce fails with commitworker
OCL: MA-11932 Enable openCL flag CL_MEM_USE_UNCACHED_HOST_MEMORY_VIV
OCL: MGS-3827 OpenCL C, even and odd operator of vector have wrong behavior.
OCL: MGS-3976 clblast_sample_cache_c, segmentation fault. crash in CL compiler
G2D: MGS-4135 Weston crash when run two videos with g2d compositor
G2D: MGS-4128 Fix g2d_multiblit_test case segmentation fault.
G2D: MGS-4091-2 fix g2d YUY2 scaling issue
G2D: MGS-4091 fix g2d YUY2 output issue
G2D : MGS-3943-3 add global alpha test
G2D : MGS-3814-2 fix g2d API back compatibility
G2D : MGS-3847 [QNX][Blitter] Remove redundant g2d open and close in QNX blitter
G2D : MGS-3940 webgl basemark test met segmentation fault using g2d compositor
G2D : MGS-4048 Display change to be blank when use g2d compositor
EGL: MGS-4285 gl compositor stress test failed with out of memory
EGL: MA-12481 Enable direct renderintile status on android 845s
EGL: MGS-4104 Enable direct rendering on wayland
EGL: MGS-4080 HelloworldX stress test met segmentation fault and core dump
EGL: MGS-3399-8 fix imx6 weston crash with ESCTS 3.2.4.0
EGL: MGS-3901 Wayland Client deadlock in libGAL when dispatching swap_queue
EGL: MGS-3901-1 Wayland Client deadlock in libGAL when dispatching swap_queue
EGL: MGS-3868 Align the struct wl_egl_window with wayland-egl
EGL: MGS-4049 FPS wrong when weston-simple-egl run in full screen mode
EGL: MGS-4058 weston will be closed after executing weston-info
EGL: MGS-3906 galcore cannot be unload after stop weston service
EGL: MGS-4058 weston will be closed after executing weston-info
GLES: MGS-3953 ES11 segmentation fault on 8MM board
GLES: MGS-3255-40 fix es31 cts crash with multiple thread test
GLES: MGS-3473 ES31 random fail on Mscale. Related to BETA RC2 DDR setting.
Android: MA-12227 Add framebuffer compression support on android. Refine dma-buf metadata setting
Android: MA-11974-5 Fix video playback crash issue
Android: MA-11974-4 Support FSL YUV format in gralloc helper
Android: MA-11974-6 Fix gralloc helper build back compatible issue
OpenVX: MGS-3630 openvx api return failure error if VXCreateContext() is called after eglInitialize() in GLES2 and GLES3 application
General: MGS-3995 Can't remove galcore when VIVANTE_ENABLE_DRM was enabled
General: MGS-3969 Fix reading HW counters values using old profiling method for GC7000
General: MGS-3956 Fix build break for libgpuperfcnt
General: MGS-3485 QNX - OVG conformance test crashes on QXP
General: MA-11957 Rename fence to dma_fence
General: MA-12411 Enable in-fence function for DRM driver on IMX8 platform.
General: MGS-3730 [QNX] - add gcoOS_MemoryBarrier to QNX HAL
General: MGS-3856-3 skip disable openvg2d on android build
General: MGS-3856 Avoid build openvg2d for MX8
General: MGS-3255 flush commit worker to fix QM cts crash
General: MGS-4197 fix suspend failure with ctrl-C
General: MGS-4162 fix suspend stuck with false negative
General: MGS-4125 fix 6sx suspend/resume stuck issue
General: MGS-4103 fix gpu axi bus error on 6sx
General: MGS-4095 fix m845s system hang with suspend/resume
General: MGS-4130 Cannot pass the stress test of low bus suspend/resume.
6.2.4P1 Improvements
==================
OCL: MGS-3255-34 add opencl memory optimzation
OCL: MGS-3255-33 fix opencl test buffer copy failure
OCL: MGS-3640 fix opencl corruption for arm_compute_library
OCL: MGS-3710 SoftISP meet CL_INVALID_WORK_GROUP_SIZE (-54) on mscale and qxp
OCL: cache invalidate for uncached buffer get accesing user space memory outsied uaccess.h error
OCL: ovx and ocl running together
EGL MGS-3711 met display blurred when run weston-nested
EGL: Enable extension EGL_EXT_image_dma_buf_import_modifiers
EGL: weston-nested met process aborted and core dump
EGL: MGS-3399 fix wayland egl resize cts failure
EGL: support direct rendering on external drm buffer
EGL: MGS-3840-2 fix 6qp display flicker with fbdev test
EGL: MGS-3791 imx6q shared egl context rendering issue
EGL: MGS-3744 fix GC355 OpenVG flicker on wayland
EGL: MA-11528 Support enable framebuffer direct rendering
GLES3.0: 6QP FB have CTS failures with ESCTS 3.2.2.0
GLES: MGS-3570 glGenerateMipmap takes too much time on 5.x/6.x driver
Weston: Disable surface compress if g2d-renderer
GBM: Enable DRM compression for mscale board
GBM: MGS-3625 6.2.4.p1: Fix xserver build break with GBM change
GBM :MGS-3694 enable fb fd and tile status fd in GPU and DCSS on wayland
Android:MA-11232 Enable HDR10 support on imx8mq platform.
Android: MA-10844 GPU driver pass build after refine some NXP git path
Android : MA-11101 Add HAL_PIXEL_FORMAT_NV12_TILED format to support VPU tile
QNX:iMX8QM MGS-2906 VDK app fail if it's started as the first app after screen
QNX:iMX8QM MGS-3289 [iMX8] Rotation using blitter seems broken
QNX:iMX8QM MGS-3338 - Deadlock seen with Screen API test
QNX:iMX8QM MGS-3323 QNX -[iMX8] Fix NV12 handling
iMX8QM Disable depth compression for LPDDR4 parts
OCL: MGS-3848-5 OCL1.2: test_image_streams failures
OCL:MGS-3832 cl_convolution of ACL cause MMU exception
OVX: MGS-3579 Fix the invalid scope of VX graph for 8QM
OVG: MGS-3826 met core dump and system prompt out of memory when do OpenVG memory leak test.
OVG: MGS-3750 fix gc355 openvg stuck issue on 6q and 6qp
OVG: MGS-3791 VGCTS failed to run on i.MX6SL wayland
OGL: MGS-3570 glGenerateMipmap takes too much time on 5.x/6.x driver
OGL: MGS-3741 glmark2 test met error message
General: MGS-3848 refinements for pm and isr
General: MGS-3840 Display resume back very slow and has snow screen after suspend and resume.
General: MGS-3751 met GPU core dump when run multiple es20 sdk apps
Known Issues
============
MGS-3770 [6q/6qp] can not generate correct reference file after do api retrace and sometimes met stuck
- Need wayland support in waffle. will be addressed in next release
MGS-3747 [6dl/6q] X11: copytex can't work after "Qt5_NMapper" app test.
YOCIMX-2354 Some qt3-3d demos not work. Issue related to QTwayland in 5.8 later
MGS-3739 can not pass webgl 1.0.2 CTS test. Chromium 64 known issue. Same reproduced on desktop
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Tom Hochstein [Mon, 29 Oct 2018 22:10:49 +0000 (17:10 -0500)]
weston: Fix open function build break in g2d-renderer
| from ../git/libweston/g2d-renderer.c:40:
| In function 'open',
| inlined from 'g2d_renderer_create' at ../git/libweston/g2d-renderer.c:1629:2:
| /home/r60874/upstream/fsl-xwayland/tmp/work/cortexa9t2hf-neon-mx6qdl-fsl-linux-gnueabi/weston/4.0.0.imx-r0/recipe- sysroot/usr/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open wit h O_CREAT or O_TMPFILE in second argument needs 3 arguments
| __open_missing_mode ();
| ^~~~~~~~~~~~~~~~~~~~~~
| Makefile:5266: recipe for target 'libweston/g2d_renderer_la-g2d-renderer.lo' failed
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Tom Hochstein [Wed, 10 Oct 2018 18:35:59 +0000 (13:35 -0500)]
weston: Bugfixes
- g2d-renderer: Enable dither effect in the fbdev board
- compositor-drm: avoid commit invalid framebuffer to plane
- g2d-render: fix the render error in vg_gc2000 test
- g2d-render: fix the residual image on display
- g2d-renderer: import DMABuf should use offset in attributes
- compositor-drm: Revert the fence support in DRM compositor
- compositor-drm: fix video playback hang after add fence in glrender
- MGS-4050 [#ccc] libweston/compositor-fbdev: Use fbGetDisplayByIndex when selecting the framebuffer
- compositor-drm: Add display fence support
- compositor-drm: fix cannot reuse current framebuffer if damage is empty
- g2d-render: weston will be closed after executing weston-info
- g2d-render: support new ion allocator
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Otavio Salvador [Fri, 26 Oct 2018 01:44:12 +0000 (22:44 -0300)]
classes/use-imx-headers: Easy linux-imx-headers use
This allow to easy reuse of binary packages among similar SoCs. The
usual use for this is to share SoC specific packages among different
boards independently of the kernel version it is using, as far it is
ABI compatible with the official version it will just work.
Following recipes has been reworked to make use of the class:
Otavio Salvador [Thu, 25 Oct 2018 12:36:50 +0000 (09:36 -0300)]
linux-imx-headers: Refactor recipe
This builds on top of original recipe provided by Tom and do minor
style and simplicity rework.
- Add minor comments on the recipe for why it is doing each specific
step
- Add ALLOW_EMPTY for PN so it can be installed with SDK
- Fix minor code style issues
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>