This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Yocto file System for OMAP5

Hi TI Dev's,

I am new to Yocto Build System.

I am getting error while build GLSDK console image for omap5-evm.

Build Configuration:
BB_VERSION        = "1.17.0"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "omap5-evm"
DISTRO            = "arago"
DISTRO_VERSION    = "2013.06"
TUNE_FEATURES     = "${TUNE_FEATURES_tune-cortexa8thf-neon}"
TARGET_FPU        = "soft"
meta-arago-distro
meta-arago-extras = "(nobranch):d08f424bd078d9a0c88a94ac92f859c8efaf06d4"
toolchain-layer   
meta-oe           = "(nobranch):f00028caf257e386c0f3ae46bd4b3ba53dd0729d"
meta-ti           = "(nobranch):af9632689392ea03fd14879ca33b3c6c6ed2e347"
meta-linaro       = "(nobranch):d0558fa4304592622423582f8b464e1c22cfe6f1"
meta              = "(nobranch):0785489d558c34cacf5cb349949a15e27084efbf"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (see /home/pankaj/ti-glsdk_omap5-uevm_6_01_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/omap5_evm-oe-linux-gnueabi/omapdrm-pvr-1.9.2253347-r1/temp/log.do_compile.3479 for further information)
ERROR: Logfile of failure stored in: /home/pankaj/ti-glsdk_omap5-uevm_6_01_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/omap5_evm-oe-linux-gnueabi/omapdrm-pvr-1.9.2253347-r1/temp/log.do_compile.3479
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 2 -e MAKEFLAGS= KERNELDIR=/home/pankaj/ti-glsdk_omap5-uevm_6_01_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/omap5-evm/usr/src/kernel
| ../config/core.mk:419: $(KERNELDIR)/vmlinux does not exist. Kbuild may fail.
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
| /bin/sh: 1: dos2unix: not found
|   CC [M]  /home/pankaj/ti-glsdk_omap5-uevm_6_01_00_01/yocto-layers/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/module.o
| /home/pankaj/ti-glsdk_omap5-uevm_6_01_00_01/yocto-layers/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/module.c:260:2: error: missing initializer [-Werror=missing-field-initializers]
| /home/pankaj/ti-glsdk_omap5-uevm_6_01_00_01/yocto-layers/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/module.c:260:2: error: (near initialization for 'powervr_id_table[1].name') [-Werror=missing-field-initializers]
| cc1: all warnings being treated as errors
| make[3]: *** [/home/pankaj/ti-glsdk_omap5-uevm_6_01_00_01/yocto-layers/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/module.o] Error 1
| make[2]: *** [_module_/home/pankaj/ti-glsdk_omap5-uevm_6_01_00_01/yocto-layers/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/pankaj/ti-glsdk_omap5-uevm_6_01_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/omap5_evm-oe-linux-gnueabi/omapdrm-pvr-1.9.2253347-r1/temp/log.do_compile.3479 for further information)
ERROR: Task 1251 (/home/pankaj/ti-glsdk_omap5-uevm_6_01_00_01/yocto-layers/sources/meta-ti/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2325 tasks of which 2324 didn't need to be rerun and 1 failed.
No currently running tasks (1637 of 2336)

Summary: 1 task failed:
  /home/pankaj/ti-glsdk_omap5-uevm_6_01_00_01/yocto-layers/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.
 

Am i missing something..

Please let me know how to fix this issue.

Thanks and regards

Pankaj