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.
You need an entire 32 bit rootfs. Maybe via Professional Services can do that. Suggest to proceed with Professional Services to develop custom driver for this part
I don't require an entire 32bit rootfs whereas I'm building 32 bit GPU binaries using multilib support on 64bit (i.MX 8MQ EVK) machine. So, I just need to add these 32 bit components on 64 bit rootfs through IMAGE_INSTALL as given below
IMAGE_INSTALL_append = " lib32-imx-gpu-viv"
This is what I tried, but I faced above error.