gavinlinus 发表于 2014-11-1 11:52:07

ov9650摄像头驱动问题

6410提供的linux内核中的ov9650的驱动发现了好几个ioctl操作都失败了,是不是其驱动不是按照v4l2标准实现的
今天有发现 VIDIOC_ENUM_FMT操作不能正确执行

gavinlinus 发表于 2014-11-1 11:53:17

FMT : CE DescUnable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = cbec0000
*pgd=5be74831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in:
CPU: 0    Tainted: G      W    (3.0.1 #439)
PC is at memcpy+0x48/0x330
LR is at s3c_fimc_v4l2_enum_fmt_vid_cap+0x48/0x50
pc : [<c01f1ea8>]    lr : [<c03473fc>]    psr: 80000013
sp : cbe71c0cip : 00000000fp : cbe71c44
r10: c0405602r9 : c051ede0r8 : cbe71e3c
r7 : 00000000r6 : c07b3588r5 : 00000000r4 : cbe71e3c
r3 : 00000000r2 : ffffffc0r1 : 00000000r0 : cbe71e3c
Flags: NzcvIRQs onFIQs onMode SVC_32ISA ARMSegment user
Control: 00c5387dTable: 5bec0008DAC: 00000015
Process formatdesc (pid: 122, stack limit = 0xcbe70268)
Stack: (0xcbe71c0c to 0xcbe72000)
1c00:                            00000000 c07b3588 00000000 cbe71e3c cbe71e3c
1c20: cbe71e3c c03473fc cbe71e3c c0405602 00000000 00000000 cbe71e24 cbe71c48
1c40: c02fd490 c03473c0 c0710570 20000193 00000004 00000000 cbe71c84 cbe71c68
1c60: c0045e18 c004960c cbe45e00 cbe45e00 00000000 c0710570 cbe71ca4 cbe71c88
1c80: c0045f3c c0045d70 cbe45e00 c0710570 00000001 00000001 cbe71ccc cbe71ca8
1ca0: c004be8c c0045ee0 cc6c9cc0 00000000 cc6c9ccc 00000001 00000000 00000001
1cc0: cbe71cdc cbe71cd0 c004bf30 c004be54 cbe71d0c cbe71ce0 c004657c c004bf28
1ce0: 00000000 60000113 00000000 c0710b5c c0767820 c0745904 c0745910 00000000
1d00: cbe71d2c cbe71d10 c00465d8 c0046534 00000004 00000000 cbe71d44 cbe71d28
1d20: c00b4478 c01f6c8c 00000000 cbe27580 c0958d80 cbe27580 5ca6c18f 0005ca6c
1d40: cbe71d5c cbe71d50 c00dd92c c00dd8b8 cbe71d6c cbe71d60 c003e6c8 c00dd920
1d60: c0958d80 00000000 cbe71d8c cbe71d78 c00b47c4 c006ef38 00000000 5ca6c18f
1d80: cbe71ddc cbe71d90 c00cffe0 cbe71e3c c0405602 cbe27300 c0737c38 c051ede0
1da0: c07b3588 000000bd 40214000 c0958d80 00000012 000000bd cbeb2050 00000000
1dc0: cbe619f8 40214000 00000000 cbe51780 cbe71e2c cbe71de0 c00d0b38 c00cfc80
1de0: 000000bd 00000000 00000000 cc4d3c00 cbe71e14 cbe71e00 c0239014 00000008
1e00: c0405602 00000000 00000000 cbe71e3c 00000000 00000000 cbe71eec cbe71e28
1e20: c02ffa00 c02faf0c c00d1618 bee50cb4 cbe27300 00000003 cbe619f8 00000000
1e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1e60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 80000007
1e80: cbe45e00 00000200 cbe71eb4 cbe71e98 c00465d8 c0046534 00000000 cbe71ea8
1ea0: c00465d8 a0000013 cbe71ecc cbe71eb8 c0227bd8 c00465bc cc0682f0 82157755
1ec0: cbe71f3c c051ed38 bee50cb4 00000003 bee50cb4 c0034ce8 cbe70000 00000000
1ee0: cbe71f04 cbe71ef0 c02f9e40 c02ff950 cbe27300 bee50cb4 cbe71f7c cbe71f08
1f00: c00f8f54 c02f9e10 00000000 00000000 cbe70000 cc70b288 00000015 cc068270
1f20: 00000002 00000000 cbe70000 00000000 cbe71f6c cbe71f40 c00eade4 c011d9bc
1f40: 00000000 00000000 00000000 00000000 00000000 00000003 bee50cb4 c0405602
1f60: cbe27300 c0034ce8 cbe70000 00000000 cbe71fa4 cbe71f80 c00f9484 c00f8ed4
1f80: ffffffff 00000000 000088b4 00000000 000084d4 00000036 00000000 cbe71fa8
1fa0: c0034b40 c00f9450 000088b4 00000000 00000003 c0405602 bee50cb4 bee50cb4
1fc0: 000088b4 00000000 000084d4 00000036 00000000 00000000 400bf000 bee50c8c
1fe0: 00000000 bee50c70 0000862c 4021400c 60000010 00000003 00000000 00000000
[<c01f1ea8>] (memcpy+0x48/0x330) from [<00000000>] ((null))
Code: ba000002 f5d1f03c f5d1f05c f5d1f07c (e8b151f8)
---[ end trace da227214a82491b9 ]---
页: [1]
查看完整版本: ov9650摄像头驱动问题