While building linux kernel we came to know that it's not initializes OV5640 camera drivers. Hence, we are trying to add drivers manually. But We are getting following building errors.
If anybody has worked related to this please provide information on How to build Linux kernel for Mipi camera Pcam 5C.
Error Log as follows :
* Camera sensor devices
| *
| Sony IMX274 sensor support (VIDEO_IMX274) [N/m/y/?] n
| OmniVision OV2659 sensor support (VIDEO_OV2659) [N/m/y/?] n
| OmniVision OV5640 sensor support (VIDEO_OV5640) [N/m/y/?] (NEW) aborted!
|
| Console input/output is redirected. Run 'make oldconfig' to update configuration.
|
| ERROR: oe_runmake failed
| make[4]: *** [/home/sqm/Documents/petalinux17/cam/build/tmp/work-shared/plnx_arm/kernel-source/scripts/kconfig/Makefile:39: silentoldconfig] Error 1
| make[3]: *** [/home/sqm/Documents/petalinux17/cam/build/tmp/work-shared/plnx_arm/kernel-source/Makefile:546: silentoldconfig] Error 2
| make[2]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
| make[1]: *** [Makefile:150: sub-make] Error 2
| make: *** [Makefile:24: __sub-make] Error 2
| WARNING: /home/sqm/Documents/petalinux17/cam/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/linux-xlnx/4.9-xilinx-v2017.4+gitAUTOINC+b450e900fd-r0/temp/run.do_compile.38499:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/sqm/Documents/petalinux17/cam/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/linux-xlnx/4.9-xilinx-v2017.4+gitAUTOINC+b450e900fd-r0/temp/log.do_compile.38499)
ERROR: Task (/home/sqm/Documents/petalinux17/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.9.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2460 tasks of which 1925 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/sqm/Documents/petalinux17/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.9.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project
Question
shantaramj
Hello folks,
I am building Pcam-5c petalinux project. For this we are using Zybo z7-20 board and referring following github link:
https://github.com/Digilent/Zybo-Z7-20-base-linux
Software versions:
Vivado ver. = 2017.4
petalinux ver. = 2017.4
While building linux kernel we came to know that it's not initializes OV5640 camera drivers. Hence, we are trying to add drivers manually. But We are getting following building errors.
If anybody has worked related to this please provide information on How to build Linux kernel for Mipi camera Pcam 5C.
Error Log as follows :
* Camera sensor devices
| *
| Sony IMX274 sensor support (VIDEO_IMX274) [N/m/y/?] n
| OmniVision OV2659 sensor support (VIDEO_OV2659) [N/m/y/?] n
| OmniVision OV5640 sensor support (VIDEO_OV5640) [N/m/y/?] (NEW) aborted!
|
| Console input/output is redirected. Run 'make oldconfig' to update configuration.
|
| ERROR: oe_runmake failed
| make[4]: *** [/home/sqm/Documents/petalinux17/cam/build/tmp/work-shared/plnx_arm/kernel-source/scripts/kconfig/Makefile:39: silentoldconfig] Error 1
| make[3]: *** [/home/sqm/Documents/petalinux17/cam/build/tmp/work-shared/plnx_arm/kernel-source/Makefile:546: silentoldconfig] Error 2
| make[2]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
| make[1]: *** [Makefile:150: sub-make] Error 2
| make: *** [Makefile:24: __sub-make] Error 2
| WARNING: /home/sqm/Documents/petalinux17/cam/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/linux-xlnx/4.9-xilinx-v2017.4+gitAUTOINC+b450e900fd-r0/temp/run.do_compile.38499:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/sqm/Documents/petalinux17/cam/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/linux-xlnx/4.9-xilinx-v2017.4+gitAUTOINC+b450e900fd-r0/temp/log.do_compile.38499)
ERROR: Task (/home/sqm/Documents/petalinux17/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.9.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2460 tasks of which 1925 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/sqm/Documents/petalinux17/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.9.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project
Thanks in advance
Edited by shantaramjLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now