Problem with adv7180 decoder on IMX6 Android (black screen) ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0 VIDIOC_DQBUF failed. mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_5 = 0x00000001

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with adv7180 decoder on IMX6 Android (black screen) ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0 VIDIOC_DQBUF failed. mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_5 = 0x00000001

Jump to solution
1,826 Views
Contributor III

Hello All!

Continue from this https://community.nxp.com/thread/447701 

Idon't know why is marked As Solved, but this not solved!

Have i.MX 6Quad Freescale SabreSD with Android 4.3

Added ADV7180 module

Configurated

board-mx6q_sabresd.c

board-mx6q_sabresd.h

drivers/media/video/mxc/capture/adv7180.c

drivers/media/video/mxc/capture/mxc_v4l2_capture.c

i change the back camera in  init.freescale.rc

setprop back_camera_name adv7180_decoder

For now i have problem, when i use ubit-test utils 

mxc_v4l2_tvin.out i get this error:

ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0 
VIDIOC_DQBUF failed. 
mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_5 = 0x00000001‍‍‍

I see on community.nxp many questions with the same problem and they all marked As Solved, but how????? 

Thank's.

1 Solution
19 Views
Contributor III

Thank's to all who helped, problem was in broken soket.

View solution in original post

0 Kudos
6 Replies
20 Views
Contributor III

Thank's to all who helped, problem was in broken soket.

View solution in original post

0 Kudos
19 Views
Contributor III

Hi Ma Juani,


Can you detail your correction plz ? I get the same DQBUFF error.

Thank you,

Regards,

Quentin.

0 Kudos
19 Views
Contributor III

root@sabresd_6dq:/ # mxc-v4l2-tvin -ow 640 -oh 480 -ol 10 -ot 20
mxc-v4l2-tvin -ow 640 -oh 480 -ol 10 -ot 20
TV decoder chip is adv7180_decoder
driver=mxc_vout, card=DISP3 FG, bus=, version=0x00000000, capabilities=0x0400000
2
fmt RGB565: fourcc = 0x50424752
fmt BGR24: fourcc = 0x33524742
fmt RGB24: fourcc = 0x33424752
fmt RGB32: fourcc = 0x34424752
fmt BGR32: fourcc = 0x34524742
fmt NV12: fourcc = 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 = 86836 s, 490867 us
VIDIOC_DQBUF failed.

In mxc_v4l2_s_std ffffff
ERROR: unrecognized std! ffffff (PAL=ff, NTSC=b000

ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

0 Kudos
19 Views
Contributor III

Hi Ma,

you try to add this config to v4l_capture_setup() in mxc_v4l2_tvin.c.

v4l2_std_id id;

if(ioctl(fd, VIDIOC_G_STD, &id) < 0) {

    LOGE("VIDIOC_G_STD failed \n");

} else {

     ioctl(fd, VIDIOC_S_STD, &id);

}

19 Views
NXP TechSupport
NXP TechSupport

Hi Ma

this thread is not marked as "As Solved", I checked there is no "Solved" marking.

For using ADV7180 with android please check links below

android-imx6-kitkat/0398-ENGR00238201-Add-adv7180-tv-in-feature-in-Android.patch at master · rabeeh/... 

How to test Tvin(adv7180) in imx6 android 

https://community.nxp.com/thread/295157 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

 

0 Kudos
19 Views
Contributor III

Hello Igor, 

Thank's for answer, 

i see it marked like "As Solved" i don't know why.

1. The patch 0398-ENGR00238201 Previously applied

2. Checked this , How to test Tvin(adv7180) in imx6 android  nothing 

3. Patch to support adv7180 TVin chip for Freescale Android R10.4 BSP on iMX53 -blog archive  Previously applied

Connection i cheked from Board directly to ADV7180 from datasheet.

Any ideas?

0 Kudos