we used kernel 3.14.28 and yocto .we run below commands
bitbake linux-imx -c compile -f
its compiled but when we gave build that time only itwill give dtb issue.
bitbake linux-imx -c build -f
| CLEAN scripts/genksyms
| CLEAN scripts/kconfig
| CLEAN scripts/mod
| CLEAN scripts
| CLEAN drivers/tty/vt
| CLEAN drivers/video/logo
| make: Leaving directory `/home/vishwa/workspace/veera_checkout_mar10/coderepo1/custom_mar11/tmp/work/imx6_zcam_custom-poky-linux-gnueabi/linux-imx/3.14.28-r0/image/usr/src/kernel'
| NOTE: make -j 4 imx6_zcam_custom.dtb
| make[1]: *** No rule to make target `arch/arm/boot/dts/imx6_zcam_custom.dtb'. Stop.
| make: *** [imx6_zcam_custom.dtb] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/vishwa/workspace/veera_checkout_mar10/coderepo1/custom_mar11/tmp/work/imx6_zcam_custom-poky-linux-gnueabi/linux-imx/3.14.28-r0/temp/log.do_install.7621)
ERROR: Task 2 (/home/vishwa/workspace/veera_checkout_mar10/coderepo1/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.14.28.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 407 tasks of which 402 didn't need to be rerun and 1 failed.
No currently running tasks (407 of 415)
Summary: 1 task failed:
/home/vishwa/workspace/veera_chec
Hello veeranjaneyulu g,
The 'compile' task builds only the zImage while the 'build' task will perform all the tasks for that specific recipe, 'linux-imx' in your case, which includes generating the dtb. So, Your dts is causing this build error. It looks like 'make' is not able to find the dts file "imx6_zcam_custom.dts" in the arch/arm/boot/dts/ directory. Could you confirm that this file is present in the source or not?
Regards,
Shubham
Thanks for your reply.
yes that imx6_zcam_custom.dts is there in arch/arm/boot/dts directory .And Make file also i added imx6_zcam_custom.dtb line ..
have you add one line for your dtb in the makefile?