I.mx8mmini Error: imx-gpu-viv/imx-gpu-viv_6.2.4.p2.3-aarch64.bb:do_instal

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I.mx8mmini Error: imx-gpu-viv/imx-gpu-viv_6.2.4.p2.3-aarch64.bb:do_instal

1,554 Views
santhosh2
Contributor IV

 Hi,

Getting this below error how to resolve

ERROR: imx-gpu-viv-1_6.2.4.p2.3-aarch64-r0 do_install: Function failed: do_install (log file is located at /home/santhosh/Desktop/imx-yocto-bsp/bld-xwayland/tmp/work/aarch64-mx8mm-poky-linux/imx-gpu-viv/1_6.2.4.p2.3-aarch64-r0/temp/log.do_install.6601)
ERROR: Logfile of failure stored in: /home/santhosh/Desktop/imx-yocto-bsp/bld-xwayland/tmp/work/aarch64-mx8mm-poky-linux/imx-gpu-viv/1_6.2.4.p2.3-aarch64-r0/temp/log.do_install.6601
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/santhosh/Desktop/imx-yocto-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', '/home/santhosh/Desktop/imx-yocto-bsp/sources/poky/meta/recipes-graphics/xorg-lib/libxshmfence_1.2.bb:do_populate_sysroot', '/home/santhosh/Desktop/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/wayland/wayland_1.16.0.bb:do_populate_sysroot', '/home/santhosh/Desktop/imx-yocto-bsp/sources/poky/meta/recipes-graphics/mesa/mesa_17.3.8.bb:do_populate_sysroot', '/home/santhosh/Desktop/imx-yocto-bsp/sources/poky/meta/recipes-graphics/xorg-lib/libxxf86vm_1.1.4.bb:do_populate_sysroot', 'virtual:native:/home/santhosh/Desktop/imx-yocto-bsp/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/home/santhosh/Desktop/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-cross_7.3.bb:do_populate_sysroot', '/home/santhosh/Desktop/imx-yocto-bsp/sources/poky/meta/recipes-graphics/xorg-lib/libxcb_1.12.bb:do_populate_sysroot', '/home/santhosh/Desktop/imx-yocto-bsp/sources/poky/meta/recipes-core/glibc/glibc_2.27.bb:do_populate_sysroot', '/home/santhosh/Desktop/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/drm/libdrm_2.4.91.imx.bb:do_populate_sysroot', '/home/santhosh/Desktop/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_7.3.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['quilt-native', 'libxshmfence', 'wayland', 'mesa', 'libxxf86vm', 'pseudo-native', 'gcc-cross-aarch64', 'libxcb', 'glibc', 'libdrm', 'gcc-runtime', 'util-macros', 'libx11', 'libffi', 'libxml2', 'expat', 'wayland-protocols', 'glproto', 'xf86driproto', 'libxfixes', 'libxdamage', 'zlib', 'presentproto', 'dri2proto', 'dri3proto', 'libxext', 'xf86vidmodeproto', 'libmpc-native', 'texinfo-dummy-native', 'libtool-native', 'xz-native', 'gmp-native', 'zlib-native', 'automake-native', 'gnu-config-native', 'linux-libc-headers', 'mpfr-native', 'autoconf-native', 'binutils-cross-aarch64', 'flex-native', 'libpthread-stubs', 'libxau', 'libxdmcp', 'xproto', 'xcb-proto', 'libpciaccess', 'libgcc', 'xtrans', 'xextproto', 'kbproto', 'inputproto', 'python3', 'fixesproto', 'damageproto', 'gettext-minimal-native', 'm4-native', 'bison-native', 'xz', 'bzip2', 'openssl', 'gdbm', 'sqlite3', 'readline', 'opkg-utils', 'cryptodev-linux', 'ncurses']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| cp: cannot stat '/home/santhosh/Desktop/imx-yocto-bsp/bld-xwayland/tmp/work/aarch64-mx8mm-poky-linux/imx-gpu-viv/1_6.2.4.p2.3-aarch64-r0/imx-gpu-viv-6.2.4.p2.3-aarch64/gpu-core/usr/lib/*.so*': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/santhosh/Desktop/imx-yocto-bsp/bld-xwayland/tmp/work/aarch64-mx8mm-poky-linux/imx-gpu-viv/1_6.2.4.p2.3-aarch64-r0/temp/log.do_install.6601)
ERROR: Task (/home/santhosh/Desktop/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p2.3-aarch64.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 8139 tasks of which 8084 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/santhosh/Desktop/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p2.3-aarch64.bb:do_install
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

0 Kudos
4 Replies

1,320 Views
radhikasomaiya
Senior Contributor II

Hi santhosh@eilabs.co.in ,

X11 is not supported by i.MX8 as mentioned by Bio_TICFSL.

Also when we compile  $bibake fsl-image-validation-imx then it also compiles gtk+ (you can refer from sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/gtk+/gtk+3_%.bbappend).

You can also built the gtk+3 recipe using $bitbake gtk+3.

Regards,

Radhika Somaiya.

0 Kudos

1,320 Views
radhikasomaiya
Senior Contributor II

Hi santhosh@eilabs.co.in ,

Can you please provide the steps and yocto version which you are using?

Regards,

Radhika Somaiya.

0 Kudos

1,320 Views
santhosh2
Contributor IV

Dear Radhika,

I have added the below packages in local.conf file

#opencv - for image processing
DISTRO_FEATURES_append = "opencl x11 "
CORE_IMAGE_EXTRA_INSTALL += "opencv opencv-samples libopencv-core libopencv-imgproc"
CORE_IMAGE_EXTRA_INSTALL += "libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev "
IMAGE_INSTALL_append = "  gtk+ gtk+3 pkgconfig"

and compiled using below cmd

bitbake fsl-image-validation-imx

Version Version.png

0 Kudos

1,321 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Santosh,

I suggest to remove everything and install the fsl-image-validation-imx then try to install opencv, since opencv is installed on your build, the problem here is x11 since i.mx8 not support x11.

Regards

0 Kudos