| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
| |
The recipe is for all i.MX 6-8 SOCs using NXP BSP, but it confusingly
uses an indirect override imxfbdev|imxgpu. The override used does
happen to cover all 6-8, but it is simpler to just use i.MX series
overrides.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
| |
The NXP repos are moving to github.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
current implement only includes INI_UNCOMMENT_USE_G2D
to INI_UNCOMMENT_ASSIGNMENTS on the platforms with VIV G2D hardware.
Signed-off-by: Jun Zhu <junzhu@nxp.com>
|
|
|
|
|
|
|
| |
The main recipe now sets xwayland=true in weston.ini, so drop it from
here.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
| |
Update to the version used in lf5.15.52_2.1.0.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests: Add dependency on screenshooter client protocol
Given that the test-helper code relies on the screenshooter protocol,
make sure it's available for us to build, and the dependency ensures we
build in order.
Link: https://github.com/wayland-project/weston
Commit: 2ac6b6b084a877adde64db7faff2ed22eb3ea97a
Fixes: #1273
Signed-off-by: Maxim Paymushkin <maxim.paymushkin@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
When removing rdp as default dependency a hidden buildtime
dependency on libdrm is uncovered for targets using fbdev
as backend and g2d as renderer. As a result compiling for
i.MX6 will fail due to missing libdrm headers.
Add libdrm to DEPENDS for imxfbdev.
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
|
|
|
|
|
|
|
|
| |
Previous commit did not really work because we are using bb.utils.filter
and that removed the artificial space sadly. Therefore add it outside
this function call.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This can cause problem by creating unknown packageconfigs by
concatenating the strings
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The weston_10.0.0.imx now depends on freerdp which in turn pulls
some unrelated big dependencies like cups and gstreamer.
| # meta-freescale/recipes-graphics/wayland/weston_10.0.0.imx.bb
| PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp"
|
| PACKAGECONFIG:append = " \
| rdp \
| ${@bb.utils.filter('DISTRO_FEATURES', '${PACKAGECONFIG_OPENGL}', d)}"
| # meta-openembedded/meta-oe/recipes-support/freerdp/freerdp_2.8.0.bb
| PACKAGECONFIG ??= " \
| ${@bb.utils.filter('DISTRO_FEATURES', 'directfb pam pulseaudio wayland x11', d)}\
| gstreamer cups pcsc \
| "
|
| PACKAGECONFIG[cups] = "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups"
| PACKAGECONFIG[gstreamer] = "-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gstreamer1.0 gstreamer1.0-plugins-base"
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
|
|
|
|
|
| |
These are glibc specific symbols which gcompat should be able to handle
at runtime
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
When using g2d clone mode allocates additional surfaces according to
FB_MULTI_BUFFER for each cloned display. The g2d blit from the main screen
to the cloned displays is done using inactive surface. The FBIOPAN_DISPLAY
ioctl to the surface is done afterwards.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
This is a pre-release version from upcoming NXP Q2 release added to
kirkstone to fix mesa compatibility problems. The commit does also
update the recipe to align with the one in OE-core.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
| |
There is a root cause to this that will be fixed instead.
This reverts commit 6be9870b5057cf122cecb2716583169b39de78ae.
|
|
|
|
|
|
|
|
|
|
| |
The mx8qm-nxp-bsp/mx8qxp-nxp-bsp overrides would not work because
imxgpu2d would take effect in the end since it has higher priority
in MACHINEOVERRIDES.
Append mx8qm-nxp-bsp/mx8qxp-nxp-bsp after imxgpu2d can fix the problem.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
The customized weston.ini is installed in the rootfs with an unresolved
bindir variable.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
```
26da63a4 screen-share: weston screen-share poor performance with g2d-renderer
f8ce046f g2d-renderer: weston screenshare fail to work on rdp-backend with g2d-renderer
74ae3012 drm-backend: rename NV12_10LE40 to NV15
78e17706 backend-fbdev: MIPI display recovery slowly after suspend resume
e73c641e LF-4317 launcher-logind: weston sometimes failed to start when booting up from eMMC
d5ad97f2 g2d-renderer: use dmabuf.attributes.stride for video stride
23166110 LF-3992 state-propose: fix chromium cannot show on 8mq platform
```
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
Update the base portion of the i.MX fork recipe to the latest OE-core
recipe c8aa0222ce2be647911114aaebcbb0d55d7caf87.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
Rework the i.MX SRC_URI override so it's clear what is changed and what
is inherited.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
| |
Adds fixes for _imx, _imxdpu, _imxdrm, _imxgpu, _imxgpu3d,
virtual PREFERRED_PROVIDER versions
Fix other places for imx/imxdpu/imxdrm overrides
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
affects the following SoCs:
-mx6q
-mx6dl
-mx6sx
-mx6sl
-mx7ulp
-mx8qm
-mx8mm
-mx8mp
-mx8qxp
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
|
|
|
|
|
|
|
| |
xserver-xorg-wayland was replaced in OE-core with a standalone xwayland
recipe, so the xwayland dependency has to be adapted.
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
Show a warning instead of raising an error when uncomment function can't
found the text. This allows using a custom weston.ini file in bbappend.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
|
|
|
|
|
| |
Fix error "Commented setting '#use-g2d=1' not found"
when building for some imx machines.
Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
|
|
|
|
|
|
|
|
|
| |
- Add repaint-window for all i.MX 8 to support 4K display
- Add enable-overlay-view option as comment
- Enable touchscreen_calibrator
- Update transform values which were re-worked for weston 9.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
| |
NXP release imx_5.4.70_2.3.0.
0001-weston-launch-Provide-a-default-version-that-doesn-t.patch update taken
from NXP BSP.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
| |
NXP release imx_5.4.70_2.3.0.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
|
| |
Both the machines do support g2d and this fix graphical artifacts
when using a mouse
Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit includes the following changes:
- f13d40a3 compositor-drm: Add environmen variables configuration in weston.ini
- 1e1f6fb5 compositor-drm: display will be blank when weston restart with rotate
- 27cde525 gl-renderer: Video playback always flashes and jitteres on the top-right corner
- e08a9c3d g2d-renderer: UI is abnormal using G2D compositor
- 81a7538f gl-renderer: mm06 has performance dropped
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
| |
Otherwise configure will fail.
| ../git/xwayland/meson.build:27:2: ERROR: Problem encountered: xwayland requires xcursor which was not found. Or, you can use '-Dxwayland=false'.
This reverts additionally commit 86cde62d1 which addressed the same issue.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Commit [5a5c5dd23ea0173ef16073c3c651aec89b5a67c1] removes x11 and
wayland from PACKAGECONFIG, but when wayland with X11 distro is used -
this leaves the xwayland package config option enabled.
Without x11 and wayland in PACKAGECONFIG, xwayland cannot be enabled so
remove this config option as well.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
|
|
| |
Allow usage of 2D blit accelerator present in imx8mp soc
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
|
|
|
|
| |
Weston i.MX uses framebuffer to render images and doesn't work if
wayland PACKAGECONFIG is enabled. Without this weston can't find the
wayland display.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
|
|
|
|
| |
This ensures that it does not lurk for non meta-freescale BSPs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
8M Nano does not have 2D acceleration.
This reverts commit b3f51ab82838a67146d5b6fcf8f19d36c5efeb37.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The clients configuration for fbdev was recently removed from
meta-freescale [1] because of the following error:
```
| Run-time dependency gbm found: NO (tried pkgconfig and cmake)
|
| clients/meson.build:134:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires gbm which was not found. If you rather not build this, drop "dmabuf-egl" from simple-clients option.
```
[1] eda44e49618610c13ebe4c026cd4981b404a1543
It was also removed for non-Wayland from OE-core [2] because of the
following error in the same client dmabuf-egl:
```
clients/meson.build:141:4: ERROR: Problem encountered: weston-simple-dmabuf-egl
requires option renderer-gl which is not enabled. If you rather not build this,
drop "dmabuf-egl" from simple-clients option.
```
[2] 9b1d30810eeecb46b977c8eed68be69aef891312
Restore the working subset of clients.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
${sysconfdir}/xdg/weston was used to install weston.ini,
but that functionality has moved to weston-init.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
| |
There was an extra hyphen on the command line:
meson: error: unrecognized arguments: --Dopengl=false
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|