主题 : cam500A摄像头OV5640在4412adk-1312B上运行不成功 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 115645
精华: 0
发帖: 27
金钱: 135 两
威望: 27 点
综合积分: 54 分
注册时间: 2015-05-22
最后登录: 2016-01-22
楼主  发表于: 2015-08-11 12:30

 cam500A摄像头OV5640在4412adk-1312B上运行不成功

我用的是tiny4412ADK-1312B开发板,买了CAM500A OV5640摄像头,刷的是论坛最新光盘 (2015-7-16)当中的android5.0.2系统,在保证没有热插拔、没有插反摄像头模块的前提下,打开相机后提示:相机发生错误,无法连接到相机。
用终端看启动代码,相机段代码如下:
[  443.786603] s3c-fimc0: FIMC0 1 opened.
[  443.786695] s3c-fimc0: FIMC0 0 released.
[  443.786787] s3c-fimc0: FIMC0 1 opened.
[  448.785105]  http://www.arm9.net, 2015
[  454.975468] ov5640 0-003c: Failed to check AF status
[  454.977413] fimc_s_fmt_vid_capture
[  454.977475] fimc0 s_fmt width = 640, height = 480
[  454.978555] fimc_s_fmt_vid_capture -- FIMC0
[  454.978653] s3c-fimc1: FIMC1 1 opened.
[  456.412680] fimc_runtime_suspend_cap FIMC0
[  456.412731] s3c-fimc0: fimc_runtime_suspend_cap: No capture device.
[  456.412851] s3c-fimc0: FIMC0 0 released.
[  456.412950] fimc_runtime_suspend_cap FIMC1
[  456.413001] fimc_runtime_suspend_cap FIMC1 --
[  456.413297] s3c-fimc1: FIMC1 0 released.
[  456.417402] binder: 1677:2325 transaction failed 29189, size 96-0
[  460.158322] s3c-fimc0: FIMC0 1 opened.
[  460.158405] s3c-fimc0: FIMC0 0 released.
[  460.158489] s3c-fimc0: FIMC0 1 opened.
[  460.159953] ov5640 0-003c: ov5640 (rev b0) found at 0x78 (s3c2410-i2c)
[  460.160055] FriendlyARM http://www.arm9.net, 2015
[  470.245368] ov5640 0-003c: reg_write: i2c write error, reg: 3024
[  470.245526] ov5640 0-003c: Failed to load af firmware
[  470.350038] s3c-fimc0: Retry power on(1/3)
[  470.350042]
[  476.535169] ov5640 0-003c: Failed to check AF status
[  476.537615] fimc_s_fmt_vid_capture
[  476.537722] fimc0 s_fmt width = 640, height = 480
[  476.538866] fimc_s_fmt_vid_capture -- FIMC0
[  476.539054] s3c-fimc1: FIMC1 1 opened.
[  517.398931] fimc_runtime_suspend_cap FIMC0
[  517.398987] s3c-fimc0: fimc_runtime_suspend_cap: No capture device.
[  517.399116] s3c-fimc0: FIMC0 0 released.
[  517.399227] fimc_runtime_suspend_cap FIMC1
[  517.399284] fimc_runtime_suspend_cap FIMC1 --
[  517.399662] s3c-fimc1: FIMC1 0 released.
[  517.404738] binder: 1677:1677 transaction failed 29189, size 96-0
[  517.409387] binder: 1677:1677 transaction failed 29189, size 96-0
[  521.083851] s3c-fimc0: FIMC0 1 opened.
[  521.083933] s3c-fimc0: FIMC0 0 released.
[  521.084020] s3c-fimc0: FIMC0 1 opened.
[  521.085815] ov5640 0-003c: ov5640 (rev b0) found at 0x78 (s3c2410-i2c)
[  521.085892] FriendlyARM http://www.arm9.net, 2015
[  537.275136] ov5640 0-003c: Failed to check AF status
[  537.277743] fimc_s_fmt_vid_capture
[  537.277849] fimc0 s_fmt width = 640, height = 480
[  537.278994] fimc_s_fmt_vid_capture -- FIMC0
[  537.279183] s3c-fimc1: FIMC1 1 opened.
[  753.542989] Left
[  753.543015] Tap
级别: 新手上路
UID: 115645
精华: 0
发帖: 27
金钱: 135 两
威望: 27 点
综合积分: 54 分
注册时间: 2015-05-22
最后登录: 2016-01-22
1楼  发表于: 2015-08-14 16:57

 回 1楼(cjlcjl) 的帖子

他们的销售忽悠说能用的我就买了两个,然后现在跟我说对ADK板不稳定,我问什么时候能解决,他说他们忙着开发4418开发板,不管4412的事情了,无语。。。
级别: 新手上路
UID: 101684
精华: 0
发帖: 7
金钱: 35 两
威望: 7 点
综合积分: 14 分
注册时间: 2014-03-15
最后登录: 2025-10-16
2楼  发表于: 2015-09-18 16:54
这个兄弟你的问题解决了吗    你是不是飞线连到摄像头模块上的啊   我现在跟你一样的情况
级别: 新手上路
UID: 101684
精华: 0
发帖: 7
金钱: 35 两
威望: 7 点
综合积分: 14 分
注册时间: 2014-03-15
最后登录: 2025-10-16
3楼  发表于: 2015-09-18 17:10
[   12.249880] warning: `main' uses 32-bit capabilities (legacy support in use)
[   13.497067] type=1400 audit(1388577610.800:4): avc: denied { execmem } for pid=2015 comm="rild" scontext=u:r:rild:s0 tcontext=u:r:rild:s0 tclass=process
[   14.581310] s3c-fimc0: FIMC0 1 opened.
[   14.581394] s3c-fimc0: FIMC0 0 released.
[   17.990157] request_suspend_state: wakeup (3->0) at 17990144552 (2014-01-01 12:00:15.299603088 UTC)
[   18.280083] s3c-usbgadget s3c-usbgadget: usb phy usage(22)
[   18.280158] s3c-usbgadget s3c-usbgadget: Already power on PHY
[   22.577110] healthd: battery none chg=
[   23.506353] acc_open
[   23.506392] acc_release
[   26.762618] s3c-fimc0: FIMC0 1 opened.
[   26.762689] s3c-fimc0: FIMC0 0 released.
[   26.764021] s3c-fimc0: FIMC0 1 opened.
[   26.765723] ov5640 0-003c: ov5640 (rev b0) found at 0x78 (s3c2410-i2c)
[   26.765800] FriendlyARM http://www.arm9.net, 2015
[   28.315755] type=1400 audit(1388577625.620:5): avc: denied { execmem } for pid=2693 comm="rild" scontext=u:r:rild:s0 tcontext=u:r:rild:s0 tclass=process
[   31.840089] ov5640 0-003c: reg_write: i2c write error, reg: 3503
[   31.840172] ov5640 0-003c: Failed to configure vga resolution
[   31.945051] s3c-fimc0: Retry power on(1/3)
[   31.945056]
[   58.115145] ov5640 0-003c: Failed to check AF status
[   60.676090] binder: release 2118:2118 transaction 6593 out, still active
[   60.681843] binder: 1998:2057 transaction failed 29189, size 316-0
[   60.900336] binder: 1998:1998 transaction failed 29189, size 84-0
[   61.433012] binder: 1998:2014 transaction failed 29189, size 184-0
[   63.115136] ov5640 0-003c: reg_write: i2c write error, reg: 3022
[   63.115218] ov5640 0-003c: Failed to set initial focus mode
[   63.220045] s3c-fimc0: Retry power on(2/3)
[   63.220048]
[   69.395196] ov5640 0-003c: Failed to check AF status
[   69.397842] fimc_s_fmt_vid_capture
[   69.397946] fimc0 s_fmt width = 640, height = 480
[   69.399088] fimc_s_fmt_vid_capture -- FIMC0
[   69.399350] s3c-fimc1: FIMC1 1 opened.
[   69.410365] fimc_runtime_suspend_cap FIMC0
[   69.410467] s3c-fimc0: fimc_runtime_suspend_cap: No capture device.
[   69.410894] s3c-fimc0: FIMC0 0 released.
[   69.411194] fimc_runtime_suspend_cap FIMC1
[   69.412171] fimc_runtime_suspend_cap FIMC1 --
[   69.417056] s3c-fimc1: FIMC1 0 released.
[   69.420895] binder: 1668:2064 transaction failed 29189, size 96-0
[   69.430290] binder: 1668:2064 transaction failed 29189, size 296-0
[   69.432650] binder: send failed reply for transaction 6593, target dead
[  102.207810] Down
[  102.989757] s3c-fimc0: FIMC0 1 opened.
[  102.989838] s3c-fimc0: FIMC0 0 released.
[  102.989942] s3c-fimc0: FIMC0 1 opened.
[  102.992141] ov5640 0-003c: ov5640 (rev b0) found at 0x78 (s3c2410-i2c)
[  102.992213] FriendlyARM http://www.arm9.net, 2015
[  108.933589] type=1400 audit(1388577706.235:6): avc: denied { execmem } for pid=3925 comm="rild" scontext=u:r:rild:s0 tcontext=u:r:rild:s0 tclass=process
[  124.205141] ov5640 0-003c: Failed to check AF status
[  124.207695] fimc_s_fmt_vid_capture
[  124.207798] fimc0 s_fmt width = 640, height = 480
[  124.208942] fimc_s_fmt_vid_capture -- FIMC0
[  124.209131] s3c-fimc1: FIMC1 1 opened.
级别: 新手上路
UID: 115645
精华: 0
发帖: 27
金钱: 135 两
威望: 27 点
综合积分: 54 分
注册时间: 2015-05-22
最后登录: 2016-01-22
4楼  发表于: 2015-12-29 16:34

 回 4楼(没用的阿吉) 的帖子

用1506的底板能用