I'm building the fsl-image-qt5-validation-imx image using 4.9.51 for i.MX 8MQuad GA release. My build is configured as below:
$ DISTRO=fsl-imx-fb MACHINE=imx8mqevk source fsl-setup-release.sh -b build-20180329
The build fails in building the cairo package. The reason of the failure is that the pre-built shared library from the imx-gpu-viv_6.2.4.p1.0 package contains reference to the Wayland library:
psl@i7 build-20180329]$ readelf -d tmp/sysroots/imx8mqevk/usr/lib/gbm_viv.so
Dynamic section at offset 0x2888 contains 28 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libdrm.so.2]
0x0000000000000001 (NEEDED) Shared library: [libGAL.so]
0x0000000000000001 (NEEDED) Shared library: [libwayland-server.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000e (SONAME) Library soname: [gbm_viv.so]
0x000000000000000c (INIT) 0x1170
As I known, imx8m only supports wayland, so try to use the command as below, any error message, pls tell me
$ DISTRO=fsl-imx-xwayland MACHINE=imx8mqevk source fsl-setup-release.sh –b build-xwayland
$ DISTRO=fsl-imx-wayland MACHINE=imx8mqevk source fsl-setup-release.sh -b build-wayland
So to be explicitly clear, I must only use DISTRO=fsl-imx-wayland for MACHINE=imx8mqevk. Yes?
May I assume that some time in the future, the bsp will support X11? Is there an estimate for the release of this support?
For me personally, I will never be critical of a support engineer being verbose or redundant when answering questions. Very short and cryptic answers however make searching for solutions more difficult.
I'm also in the same situation.
I must evaluate our new IMX8 board, and though I'm noob with imx boards, I understand that the IMX8 community layers are not availables yet.
So if I have understood your previous posts, the current official BSP does not support the fsl-imx-fb ?
Only wayland is supported ?
Actually, I just want to test our application built with Qt5.9 and run it with eglfs.
But during the configuration of Qt5, eglfs backend is not selected as during the confiug tests, I experience the following error:
imx8mqevk/usr/lib/gbm_viv.so: undefined reference to `wl_resource_get_user_data'
Any update is welcome.
It has been decided for the i.MX 8M to support wayland and xwayland. Neither fb nor X11 builds are supported. For the market the i.MX 8M is targeted for, the X11 and fb setups had a lower priority, removing them reduced the implementation and testing effort for the BSP.
You may check the fsl-community for their strategy, currently the 8M is not in the list of supported platforms, but will for sure come.
DISTRO=fsl-imx-x11 MACHINE=imx8mqevk source fsl-setup-release.sh -b build-20180329
Still the same build cairo package file
/build-x11-20180402/tmp/sysroots/imx8mqevk/usr/lib/gbm_viv.so: undefined reference to `wl_resource_get_user_data'
| collect2: error: ld returned 1 exit status
| make: *** [cairo-sphinx] Error 1