AnsweredAssumed Answered

IMX6Q  capture err

Question asked by Richard destiny on Sep 16, 2015
Latest reply on Sep 16, 2015 by igorpadykov

HI,all

   when  i use  mxc_vpu_test.out   , i can get the  video

 

but  when i  use  mxv_v4l2_capture.out   it's err,    the  log is that :

 

 

root@imx6qdlsolo:/unit_tests# ./mxc_v4l2_capture.out  -d /dev/video1 test.yuv

in_width = 176, in_height = 144

out_width = 176, out_height = 144

top = 0, left = 0

sensor chip is ov5640_mipi_camera

sensor supported frame size:

640x480

320x240

720x480

720x576

1280x720

1920x1080

2592x1944

176x144

1024x768

sensor frame format: UYVY

sensor frame format: UYVY

sensor frame format: UYVY

sensor frame format: UYVY

sensor frame format: UYVY

sensor frame format: UYVY

sensor frame format: UYVY

sensor frame format: UYVY

sensor frame format: UYVY

         Width = 176     Height = 144    Image size = 3801YUV420

6

pixelformat: YU12

Unable to handle kernel paging request at virtual address 3c150000

pgd = a874c000

[3c150000] *pgd=00000000

Internal error: Oops: 5 [#1] PREEMPT SMP ARM

Modules linked in: ov5640_camera_mipi

CPU: 0 PID: 772 Comm: mxc_v4l2_captur Not tainted 3.10.17+g232293e #19

task: a8468b40 ti: a88ee000 task.ti: a88ee000

PC is at prp_enc_eba_update+0x24/0x13c

LR is at mxc_streamon+0x110/0x238

pc : [<8042f72c>]    lr : [<80429c7c>]    psr: 80000093

sp : a88efda0  ip : 8042f708  fp : 60000013

r10: a85e3000  r9 : a83f803c  r8 : a83f8048

r7 : 80cf56bc  r6 : 00000001  r5 : 80cf5130  r4 : 3c150000

r3 : 00000000  r2 : 3c150000  r1 : 80cf56bc  r0 : 00000001

Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user

Control: 10c53c7d  Table: 3874c04a  DAC: 00000015

Process mxc_v4l2_captur (pid: 772, stack limit = 0xa88ee238)

Stack: (0xa88efda0 to 0xa88f0000)

fda0: a88efe58 a83f8008 00000000 a83f8000 a83f8044 00200200 00100100 80429c7c

fdc0: 40045612 a83f8000 a88efe58 a83f8008 a88efe58 00000000 40045612 a85e3000

fde0: 00000000 8042bd20 a8ccb8c0 806317fc 90f00000 800a7f4c 00000001 8004b060

fe00: 00000000 00000001 00000000 a83f714c 60000093 00000001 00000000 806315fc

fe20: 00000000 40045612 00000000 00000000 a88efe58 7e802ad0 00000001 8042b6b8

fe40: 00000000 804117ac a8ccb8c0 00000000 00000000 8042b6b8 00000001 00000001

fe60: 00000000 00000003 00000000 00000000 00000000 00000000 00000000 00000000

fe80: 00000000 00000000 00000001 3c1b0000 00000000 00000000 00000000 00000000

fea0: 76d80000 a8bddf88 040404fb 800ac624 a8bddf88 00000000 a85e3000 0003c1b0

fec0: 00000000 0000a000 00000002 00000000 a85e3000 a88ee030 0000000a a83f0c00

fee0: a85e3000 40045612 7e802ad0 80c87910 a88ee000 a85bac68 7e802ad0 8040de88

ff00: 40045612 a85e3000 00000000 7e802ad0 a85e3000 800cf430 a8ccb8c4 80000013

ff20: 00100100 a8ccb8c0 76d80000 00000001 a85e3000 00000003 00000000 80631844

ff40: a8ccb8c8 8009d290 00000001 0003c1b0 a88eff5c a800ae40 f4000100 00000000

ff60: 00000001 40045612 00000003 00000000 7e802ad0 a85e3000 a88ee000 00000000

ff80: 00000000 800cf630 f400010c 00000000 00000003 00000024 00000003 00000036

ffa0: 8000e204 8000e080 00000003 00000024 00000003 40045612 7e802ad0 00000001

ffc0: 00000003 00000024 00000003 00000036 00000001 00011a24 76f02000 00000000

ffe0: 000119ec 7e802ac4 00008830 76e65fdc 60000010 00000003 e3560003 1affffed

[<8042f72c>] (prp_enc_eba_update+0x24/0x13c) from [<80429c7c>] (mxc_streamon+0x110/0x238)

[<80429c7c>] (mxc_streamon+0x110/0x238) from [<8042bd20>] (mxc_v4l_do_ioctl+0x668/0x1ddc)

[<8042bd20>] (mxc_v4l_do_ioctl+0x668/0x1ddc) from [<804117ac>] (video_usercopy+0x188/0x400)

[<804117ac>] (video_usercopy+0x188/0x400) from [<8040de88>] (v4l2_ioctl+0xe0/0x13c)

[<8040de88>] (v4l2_ioctl+0xe0/0x13c) from [<800cf430>] (do_vfs_ioctl+0x400/0x5c8)

[<800cf430>] (do_vfs_ioctl+0x400/0x5c8) from [<800cf630>] (SyS_ioctl+0x38/0x64)

[<800cf630>] (SyS_ioctl+0x38/0x64) from [<8000e080>] (ret_fast_syscall+0x0/0x30)

Code: e1a04002 e5953000 e1a06000 e3530003 (e5923000)

---[ end trace 8d25bdb81c285b27 ]---

note: mxc_v4l2_captur[772] exited with preempt_count 1

 

 

 

what the problem?

Outcomes