AnsweredAssumed Answered

Imx6q Sabre Lite board and issue with image capture @ 1280x720 resolution

Question asked by Shailesh Lomate on Dec 19, 2012
Branched to a new discussion

We are evaluating the Boundry devices Sabre Lite imx6q board and the ov5642 camera sensor.


The BSP and the build happens to be from Timesys with 3.0.15 kernel running on it.


After using the unit test application (mxc_v4l2_capture.out) for capturing a single image.


Following are our observations:

1. ./mxc_v4l2_capture.out -iw 640 -ih 480 -ow 640 -oh 480 -m 0 -r 0 -c 1 -fr 30 ov5642_640_480.yuv

Please find attached the output file "ov5642_640_480.yuv".

Output image generated seems to be proper.

 

2. ./mxc_v4l2_capture.out -iw 1024 -ih 768 -ow 1024 -oh 768 -m 0 -r 0 -c 1 -fr 30 ov5642_1024_768.yuv

Please find attached the output file "ov5642_1024_768.yuv".

Output image generated seems to be proper.

 

3. ./mxc_v4l2_capture.out -iw 1280 -ih 720 -ow 1280 -oh 720 -m 0 -r 0 -c 1 -fr 30 ov5642_1280_720.yuv

The image captured @1280x720 appear to be tiled in a 5x5 pattern. Please find attached the output file "ov5642_1280_720.yuv".


After capturing the image the system happens to be continously putting a warning "imx-ipuv3 imx-ipuv3.0: warning: disable ipu dma channel 20 during its busy state" and we will have to reboot to system to get the system to normal.

 

Please find below the snippet of the log:

************************************************************************************

<4>   case VIDIOC_STREAMOFF

<4>In MVC:mxc_streamoff

<3>imx-ipuv3 imx-ipuv3.0: IPU Error - IPU_INT_STAT_10 = 0x02000000

<3>imx-ipuv3 imx-ipuv3.0: warning: disable ipu dma channel 20 during its busy state

<3>imx-ipuv3 imx-ipuv3.0: warning: disable ipu dma channel 20 during its busy state

<3>imx-ipuv3 imx-ipuv3.0: warning: disable ipu dma channel 20 during its busy state

<3>imx-ipuv3 imx-ipuv3.0: warning: disable ipu dma channel 20 during its busy state

<3>imx-ipuv3 imx-ipuv3.0: warning: disable ipu dma channel 20 during its busy state

<3>imx-ipuv3 imx-ipuv3.0: warning: disable ipu dma channel 20 during its busy state

************************************************************************************

 

One more observation while streaming the image, the FPS is approximately reduced by 5 times in case of 1280x720 resolution as compared to 1024x768 resolution. i.e. if we are getting 22 fps @ 1024x768 resolution with the same application but the fps drops to 5 fps @ 1280x720 resolution.

 

These observations are with the default ov5642 driver provided in the kernel along with the standard unit test application provided by freescale.

 

We would like to know whether freescale have evaluated the ov5642 driver and the CSI & IPU drivers @1280x720 resolution. Does the driver / kernel / hardware have any issues due to which we are getting a 5x5 mosaicked image.

 

Or is there anything we are missing due to which such a issue is observed.

 

Kindly provide some solution to resolve above issue ASAP.


Do let us know if you need any information in this regard.

 

Original Attachment has been moved to: ov5642_640_480.yuv.zip

Original Attachment has been moved to: ov5642_1280_720.yuv.zip

Original Attachment has been moved to: ov5642_1024_768.yuv.zip

Outcomes