ACA module v2.0B issue with Colibri iMX6

Dear Support Team,

i am testing ACA V2.0B module with Colibri iMX6DL V1.1A and Colibri Eva Board V3.2B, the ACA is well connected via X22 on Eva Board, also have changed the fdt_file to imx6dl-colibri-cam-eval-v3.dtb in imx6 uboot, and the linux version on imx6 is offcial LXDE demo image v2.8. The gstreamer pipeline always give below error message and can’t capture video stream from ACA.

https://developer.toradex.com/knowledge-base/how-to-use-analogue-camera-module-on-embedded-linux

root@colibri-imx6:~# gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink use-vsync=true
Setting pipeline to PAUSED ...
[  574.150387] mxc_sdc_fb fb@0: 1024x768 h_sync,r,l: 104,48,152  v_sync,l,u: 4,3,23 pixclock=63500000 Hz
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[  584.793066] ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0
ERROR: from element /GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0: Internal data stream error.
Additional debug info:
../../../../git/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0:
streaming stopped, reason error (-5)
Execution ended after 0:00:10.170007334
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
[  585.316179] mxc_sdc_fb fb@0: 1024x768 h_sync,r,l: 104,48,152  v_sync,l,u: 4,3,23 pixclock=63500000 Hz
Freeing pipeline ...

BTW, i also have tried several other pipelines like autovideosrc ! autovdeosink, the error is same. and with the same ACA module setup, i connect it to Apalis imx6 and Apalis Eva Board, it works well out of box.

Could you help check if there is same issue and any clue or solution?
Thanks a lot!

Best Regards

Simon

Hi @hai.tx

I can reproduce the error and I am looking into this. I will let you know, once I found out more.

Best regards,
Jaski

Dear @raja.tx ,

Thanks a lot for the support, the problem is solved after i changed a new Colibri Eva Board…really weird that the other functions of the old carrier work well so i have changed imx6 modules and ACA modules during my test but didn’t thought about the issue was came from carrier board…

again, thanks for all your help!

Best regards
Hai

Dear @hai.tx,

I did a quick test as @jaski.tx told, it is simply works!.

My Hardware Setup :

Colibri-Eval-board v3.2A, ACA V2.0A
Colibri IMX6DL 512MB IT V1.0A

Software Setup:

root@colibri-imx6:~# uname -a Linux
colibri-imx6
4.9.166-2.8.6+gd899927728be #1 SMP Mon Apr 1 09:51:01 UTC 2019 armv7l
GNU/Linux

root@colibri-imx6:~# cat /etc/issue
Angstrom v2017.12 - Kernel
Colibri-iMX6_LXDE-Image 2.8b6.184
20190401

root@colibri-imx6:~# fw_printenv
fdt_file
fdt_file=imx6dl-colibri-cam-eval-v3.dtb

Could you make a similar setup, maybe change complete hardware do the test again?

I intentionally connected the power_down jumper or pressed reset switch on the ACA when the camera was running preview then I was getting a similar error

[ 1274.857148] imx-ipuv3 2400000.ipu:
IPU Warning - IPU_INT_STAT_5 =
0x00000002
[ 1285.053135] ERROR: v4l2 capture: mxc_v4l_dqueue timeout
enc_counter 0
ERROR: from element /GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0:
Internal data stream error.