AnsweredAssumed Answered

lib32-imx-gpu-viv doesn't give 32bit GPU binaries for imx8mq platform

Question asked by Moorthy Baskar on Jan 11, 2019
Latest reply on Jan 22, 2019 by Moorthy Baskar

I tried building 32bit components on 64bit imx8mq platform as it supports imx8 multilib with linux-imx 4.14 beta version (copied manually from imx_4.14.62_1.0.0_beta to meta-freescale master branch). When multilib is enabled and tried to build a component which uses i.mx8 gpu binaries, again it fetches the prebuilt bin file which is used for aarch64 (https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-gpu-viv-6.2.4.p2.1-aarch64.bin) where no 32bit binaries are available (only 64bit binaries present). On this, there is a do_package_qa error I faced. Then I manually edited the SRC_URI to point 32bit recipe (6.2.4.p2.1-aarch32) and I got below error saying that there is no gbm support

install: cannot stat '.../build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-mx8m-linaromllib32-linux-gnueabi/lib32-imx-gpu-viv/1_6.2.4.p2.1-aarch32-r0/imx-gpu-viv-6.2.4.p2.1-aarch32/gpu-core/usr/lib/pkgconfig/gbm.pc': No such file or directory

ERROR: Task (virtual:multilib:lib32:.../build/conf/../../layers/meta-freescale/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p2.1-aarch32.bb:do_install) failed with exit code '1

Please confirm that multilib support only in linux-imx 4.14 beta and instruct how to use multilib for GPU binaries in imx8m platform.

Outcomes