Dear TI Dev's,
Following the yocto build process for omap5-evm MACHINE from this guide http://processors.wiki.ti.com/index.php/OMAP5_GLSDK_Software_Developers_Guide I am almost through the build & finally stuck at build failure of package omapdrm-pvr-1.9, there are multiple scenarios of the similar error on older version 1.7 of omapdrm-pvr.
Error log:
--------------------------------------
# MACHINE=omap5-evm bitbake arago-glsdk-console-image
...
....
....
DEBUG: Marking task 6 (/home/srikanth/OMAP5/yocto/tisdk/sources/meta-ti/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb, do_configure) as buildable
DEBUG: Marking task 8 (/home/srikanth/OMAP5/yocto/tisdk/sources/meta-ti/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb, do_compile) as buildable
ERROR: Function failed: do_compile (see /home/srikanth/OMAP5/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/work/omap5_evm-oe-linux-gnueabi/omapdrm-pvr-1.9.2253347-r1/temp/log.do_compile.14354 for further information)
ERROR: Logfile of failure stored in: /home/srikanth/OMAP5/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/work/omap5_evm-oe-linux-gnueabi/omapdrm-pvr-1.9.2253347-r1/temp/log.do_compile.14354
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 -e MAKEFLAGS= KERNELDIR=/home/srikanth/OMAP5/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/omap5-evm/usr/src/kernel
| ../config/core.mk:419: $(KERNELDIR)/vmlinux does not exist. Kbuild may fail.
| LD /home/srikanth/OMAP5/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/work/omap5_evm-oe-linux-gnueabi/omapdrm-pvr-1.9.2253347-r1/git/eurasiacon/binary2_omap5430_linux_release/target/kbuild/built-in.o
| CC [M] /home/srikanth/OMAP5/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/work/omap5_evm-oe-linux-gnueabi/omapdrm-pvr-1.9.2253347-r1/git/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o
| /home/srikanth/OMAP5/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/work/omap5_evm-oe-linux-gnueabi/omapdrm-pvr-1.9.2253347-r1/git/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:116:2: error: #error "A preemptible Linux kernel is required when using workqueues"
| make[3]: *** [/home/srikanth/OMAP5/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/work/omap5_evm-oe-linux-gnueabi/omapdrm-pvr-1.9.2253347-r1/git/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o] Error 1
| make[2]: *** [_module_/home/srikanth/OMAP5/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/work/omap5_evm-oe-linux-gnueabi/omapdrm-pvr-1.9.2253347-r1/git/eurasiacon/binary2_omap5430_linux_release/target/kbuild] Error 2
| make[1]: *** [kbuild] Error 2
| make: *** [build] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /home/srikanth/OMAP5/yocto/tisdk/build/arago-tmp-external-linaro-toolchain/work/omap5_evm-oe-linux-gnueabi/omapdrm-pvr-1.9.2253347-r1/temp/log.do_compile.14354 for further information)
ERROR: Task 8 (/home/srikanth/OMAP5/yocto/tisdk/sources/meta-ti/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 588 tasks of which 581 didn't need to be rerun and 1 failed.
No currently running tasks (588 of 594)
Summary: 1 task failed:
/home/srikanth/OMAP5/yocto/tisdk/sources/meta-ti/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
03:17:19 ✘ srikanth:(master)~/OMAP5/yocto/tisdk/build$
--------------------------------------
Has this image been tested for Omap5432 EVM ? Are there any workarounds this error ? The kernel built for this machine is linux-3.8.13. Not sure what is the appropriate fix for this error.
Any inputs or hints are highly appreciated. Need your support in verifying the arago/yocto image on omap5432.
Thanks in Advance.