Im using Imx6q sabreauto board.
Im trying to add adv7611 to this.
adv 7611 is BT656 4:2:2 8-Bit and connected CSI0.
but I faced this error messages,
Am I missing something??
(I can email u my device driver, if u want)
/opt/unit_tests/mxc_v4l2_tvin.out -ow 1920 -oh 1080 -ol 10 -ot 20 -f NV12
[ 6448.958324] [DEBUG] : ioctl_g_ifparm
[ 6448.961908] [DEBUG] : ioctl_g_fmt_cap
[ 6448.965600] Returning size of 720x625
[ 6448.984922] [DEBUG] : ioctl_s_power
[ 6449.394919] [DEBUG] : ioctl_init
[ 6449.398153] [DEBUG] : ioctl_dev_init
[ 6449.401873] [DEBUG] : ioctl_g_chip_ident
TV decoder chip is adv7611_decode[ 6449.406366] [DEBUG] : ioctl_g_fmt_cap
[ 6449.412818] [DEBUG] : adv7611_get_std
r
[ 6449.416670] ERROR: unrecognized std! ffffff (PAL=ff, NTSC=b000
[ 6449.422574] [DEBUG] : ioctl_g_parm
[ 6449.426139] type is V4L2_BUF_TYPE_VIDEO_CAPTURE
[ 6449.430935] [DEBUG] : ioctl_s_parm - type is 1
[ 6449.435541] [DEBUG] : ioctl_g_ifparm
[ 6449.439119] [DEBUG] : ioctl_g_fmt_cap
[ 6449.442783] Returning size of 720x625
VIDIOC_G_FMT failed
driver=mxc_vout, card=DISP3 FG, bus=, version=0x00000000, capabilities=0x04000002
fmt RGB565: fourcc = 0x50424752
fmt BGR24: fourcc = 0x33524742
fmt RGB24: fourcc = 0x33424752
fmt RGB32: fourcc = 0x34424752
fmt BGR32: fo[ 6449.469764] [DEBUG] : ioctl_g_fmt_cap
urcc = 0x34524742
fmt NV12: four[ 6449.475628] [DEBUG] : adv7611_get_std
cc = 0x3231564e
fmt UYVY: fourcc = 0x59565955
fmt YUYV: fourcc = 0x56595559
fmt YUV422 planar: fourcc = 0x50323234
fmt YUV444: fourcc = 0x34343459
fmt YUV420: fourcc = 0x32315559
fmt YVU420: fourcc = 0x32315659
fmt TILED NV12P: fourcc = 0x50564e54
fmt TILED NV12F: fourcc = 0x46564e54
fmt YUV444 planar: fourcc = 0x50343434
start time = 6449 s, 224849 us
[ 6459.474929] ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0
VIDIOC_DQBUF failed.
Hi kim
suggest to look at below links where similar problem was solved
Support BT1120 progressive mode in Mx6Q
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I solved mxc_v4l_dqueue timeout enc_counter 0 problem with your reply.
but the images are never shown.
I changed CSI timing/data mode protocol to gated mode.
I changed color mode to YCrCb to RGB now,
I tested like this,
/opt/unit_tests/mxc_v4l2_overlay.out -iw 1280 -ih 720 -ow 1280 -oh 720 -fr 30 -di /dev/video0 -fg -f RGBP
my device driver is based on ov5640. and use 8 bit.
my kernel is 3.0.35. I think, it does not support 16 bit mode (mxc_v4l2_capture.c). right?
Dear Kim, can you email your driver?..
I am developing a device on imx6q with both adv7611 and adv7181c chips and have solved problems with 7181 already.
Alex.
right, default kernel 3.0.35 does not support 16 bit mode.
~igor