Hi,
We car currently trying to integrate an unsupported camera (IMX278) to our custom board built with an IMX6D. The camera uses 4 lanes CSI connection. We use linux kernel 3.14.
What we have done right now is initializing the camera via I2C and generating the pixel clock in user space and everything seems to work fine. Then, I try the unit test mxc_v4l2_capture.out and when I run it I get the following error:
Unable to open /dev/video0
Unable to create y frame recording file
If I run : dmesg | grep v4l
I got this output:
ERROR: v4l2 capture: slave not found!
I have seen that the mxc_v4l2_capture driver only supports some specific cameras. So, here's my questions:
What do I have to modify in the unit test or in the mxc_v4l2 driver to add support for my camera?
Is it possible to do everything in user space or do I need to write a driver?
Is there another way to get the camera frame from user space?
Thank you,
Alexandre
Did you solve the capture problem about imx278 ?
Hi Alexandre
next steps could be configuring i.MX6 MIPI phy and checking its MIPI_CSI_PHY_STATE
as described in Debug steps for customer MIPI sensor.docx
https://community.freescale.com/docs/DOC-94312
AN5305 MIPI-CSI2 Peripheral on i.MX6 MPU
http://cache.nxp.com/files/32bit/doc/app_note/AN5305.pdf
what is camera format, one can try to find similar examples on community.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
The camera we use is the imx278 and I haven't found any example that use this camera.
Do I have to use the v4l2 driver to capture frame or is there another way?
Thank you,
Alexandre
Hi Alexandre
seems it supports raw format, one can look at example mipi raw data format in
https://community.freescale.com/message/386809#386809
Best regards
igor