Hi,
I have i.mx8QXP MEK board.
I want to port AGL on to our I.MX8 based board .Can any one suggest where to start and where to get the base Kernel package for it?
Thanks,
saito
Solved! Go to Solution.
pls refer to the link as below:
Above given link is not working for us . We also are using i.MX 8QuadXPlus MEK kit . Please guide us how to enable AGL onto this.
Dear Joan Xie,
Thank you for your reply.
Is this content also usable with i.mx8qxp?
There is a comment below.
> This image has only been run on i. MX 6QP Saber and Saber Auto.
Best regards,
saito
this image only tested on the imx6, haven't tested on the imx8qxp, but refer to the 4.9.88 release note, agl image is supported by imx6 and imx8qx auto board
Dear Joan Xie,
I used i.mx8 and tried at 4.9.88.
but, I got the following error.
How is this error best avoided?
Please tell me how to do it.
I think that is a problem that is caused by the version of Qt.
======error log =====
DEBUG: Executing shell function do_compile
NOTE: VERBOSE=1 cmake --build /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build --
/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native/usr/bin/cmake -H/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/git -B/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build --check-build-system CMakeFiles/Makefile.cmake 0
/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_progress_start /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build/CMakeFiles /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
make -f protocol/CMakeFiles/ivi-application.dir/build.make protocol/CMakeFiles/ivi-application.dir/depend
make[2]: Entering directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
cd /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build && /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/git /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/git/protocol /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build/protocol /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build/protocol/CMakeFiles/ivi-application.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
make -f protocol/CMakeFiles/ivi-application.dir/build.make protocol/CMakeFiles/ivi-application.dir/build
make[2]: Entering directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
make[2]: Nothing to be done for 'protocol/CMakeFiles/ivi-application.dir/build'.
make[2]: Leaving directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
[ 5%] Built target ivi-application
make -f protocol/CMakeFiles/ivi-extension-protocol.dir/build.make protocol/CMakeFiles/ivi-extension-protocol.dir/depend
make[2]: Entering directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
cd /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build && /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/git /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/git/protocol /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build/protocol /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build/protocol/CMakeFiles/ivi-extension-protocol.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
make -f protocol/CMakeFiles/ivi-extension-protocol.dir/build.make protocol/CMakeFiles/ivi-extension-protocol.dir/build
make[2]: Entering directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
make[2]: Nothing to be done for 'protocol/CMakeFiles/ivi-extension-protocol.dir/build'.
make[2]: Leaving directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
[ 27%] Built target ivi-extension-protocol
make -f weston-ivi-shell/CMakeFiles/ivi-controller.dir/build.make weston-ivi-shell/CMakeFiles/ivi-controller.dir/depend
make[2]: Entering directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
cd /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build && /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/git /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/git/weston-ivi-shell /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build/weston-ivi-shell /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build/weston-ivi-shell/CMakeFiles/ivi-controller.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
make -f weston-ivi-shell/CMakeFiles/ivi-controller.dir/build.make weston-ivi-shell/CMakeFiles/ivi-controller.dir/build
make[2]: Entering directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
[ 28%] Building C object weston-ivi-shell/CMakeFiles/ivi-controller.dir/src/ivi-controller.c.o
cd /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build/weston-ivi-shell && /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc -Divi_controller_EXPORTS -I/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/git/weston-ivi-shell/src -I/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build/weston-ivi-shell -I/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build/protocol -I/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot/usr/include/weston -I/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot/usr/include/libweston-3 -I/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot/usr/include/pixman-1 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0=/usr/src/debug/wayland-ivi-extension/2.0.2-r0 -fdebug-prefix-map=/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot= -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/recipe-sysroot -fPIC -o CMakeFiles/ivi-controller.dir/src/ivi-controller.c.o -c /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/git/weston-ivi-shell/src/ivi-controller.c
/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/git/weston-ivi-shell/src/ivi-controller.c: In function 'controller_screenshot_notify':
/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/git/weston-ivi-shell/src/ivi-controller.c:1284:42: error: incompatible type for argument 7 of 'ivi_screenshot_send_done'
shm_format, output->frame_time);
^~~~~~
In file included from /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/git/weston-ivi-shell/src/ivi-controller.c:39:0:
/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build/protocol/ivi-wm-server-protocol.h:314:1: note: expected 'uint32_t {aka unsigned int}' but argument is of type 'struct timespec'
ivi_screenshot_send_done(struct wl_resource *resource_, int32_t fd, int32_t width, int32_t height, int32_t stride, uint32_t format, uint32_t timestamp)
^~~~~~~~~~~~~~~~~~~~~~~~
weston-ivi-shell/CMakeFiles/ivi-controller.dir/build.make:65: recipe for target 'weston-ivi-shell/CMakeFiles/ivi-controller.dir/src/ivi-controller.c.o' failed
make[2]: *** [weston-ivi-shell/CMakeFiles/ivi-controller.dir/src/ivi-controller.c.o] Error 1
make[2]: Leaving directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
CMakeFiles/Makefile2:315: recipe for target 'weston-ivi-shell/CMakeFiles/ivi-controller.dir/all' failed
make[1]: *** [weston-ivi-shell/CMakeFiles/ivi-controller.dir/all] Error 2
make[1]: Leaving directory '/home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/build'
Makefile:132: recipe for target 'all' failed
make: *** [all] Error 2
WARNING: exit code 2 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/a/imx-yocto-bsp/bld-agl/tmp/work/aarch64-mx8qxp-poky-linux/wayland-ivi-extension/2.0.2-r0/temp/log.do_compile.81381)
Best regards,
saito
Dear Joan Xie,
Thank you for your reply.
OK.
I will try.
Best regards,
saito
Hi
Do u find any solution for above error ?