Firefly开源社区

标题: ROC-RK3399-PC-PLUS + Ubuntu 18.04 + ov13850 模组点亮问题 [打印本页]

作者: jacky_666    时间: 2021-12-9 15:09
标题: ROC-RK3399-PC-PLUS + Ubuntu 18.04 + ov13850 模组点亮问题
ROC-RK3399-PC-PLUS 开发板刷 Ubuntu18.04系统,使用官方ov13850摄像头模组,按官方教程抓图,出现如下问题,请大神看看问题出在哪,谢谢!
root@firefly:~# dmesg |grep 13850
[    2.153953] ov13850 1-0036: driver version: 00.01.03
[    2.154451] ov13850 1-0036: GPIO lookup for consumer reset
[    2.154464] ov13850 1-0036: using device tree for GPIO lookup
[    2.154506] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff110000/ov13850@3       6[0]' - status (0)
[    2.154560] ov13850 1-0036: Looking up avdd-supply from device tree
[    2.154722] ov13850 1-0036: Looking up dovdd-supply from device tree
[    2.154824] ov13850 1-0036: Looking up dvdd-supply from device tree
[    2.155268] ov13850 1-0036: GPIO lookup for consumer pwdn
[    2.155281] ov13850 1-0036: using device tree for GPIO lookup
[    2.155323] of_get_named_gpiod_flags: parsed 'pwdn-gpios' property of node '/i2c@ff110000/ov13850@36       [0]' - status (0)
[    2.160158] ov13850 1-0036: Detected OV00d850 sensor, REVISION 0xb2
[    2.163093] ov13850 1-0046: driver version: 00.01.03
[    2.163549] ov13850 1-0046: GPIO lookup for consumer pwdn
[    2.163559] ov13850 1-0046: using device tree for GPIO lookup
[    2.163592] of_get_named_gpiod_flags: parsed 'pwdn-gpios' property of node '/i2c@ff110000/ov13850@46       [0]' - status (0)
[    2.166347] ov13850 1-0046: write SCCB_ID failed
[    2.166833] ov13850: probe of 1-0046 failed with error -5


抓rkisp打印信息如下
bash: [: missindmesg |grep rkisp
[    0.585015] iommu: Adding device ff910000.rkisp1 to group 4
[    0.585601] iommu: Adding device ff920000.rkisp1 to group 5
[    1.982734] rkisp1 ff910000.rkisp1: rkisp1 driver version: v00.01.05
[    1.983338] rkisp1 ff910000.rkisp1: Missing rockchip,grf property
[    1.985535] rkisp1 ff910000.rkisp1: GPIO lookup for consumer vsirq
[    1.985549] rkisp1 ff910000.rkisp1: using device tree for GPIO lookup
[    1.985564] of_get_named_gpiod_flags: can't parse 'vsirq-gpios' property of node '/rkisp1@ff910000[0]'
[    1.985577] of_get_named_gpiod_flags: can't parse 'vsirq-gpio' property of node '/rkisp1@ff910000[0]'
[    1.985589] rkisp1 ff910000.rkisp1: using lookup tables for GPIO lookup
[    1.985602] rkisp1 ff910000.rkisp1: lookup for GPIO vsirq failed
[    1.986070] rkisp1 ff920000.rkisp1: rkisp1 driver version: v00.01.05
[    1.986657] rkisp1 ff920000.rkisp1: Missing rockchip,grf property
[    1.989036] rkisp1 ff920000.rkisp1: GPIO lookup for consumer vsirq
[    1.989050] rkisp1 ff920000.rkisp1: using device tree for GPIO lookup
[    1.989065] of_get_named_gpiod_flags: can't parse 'vsirq-gpios' property of node '/rkisp1@ff920000[0]'
[    1.989078] of_get_named_gpiod_flags: can't parse 'vsirq-gpio' property of node '/rkisp1@ff920000[0]'
[    1.989090] rkisp1 ff920000.rkisp1: using lookup tables for GPIO lookup
[    1.989103] rkisp1 ff920000.rkisp1: lookup for GPIO vsirq failed
[    2.162212] rkisp1: Async subdev notifier completed
[    3.331908] rkisp1 ff910000.rkisp1: clear unready subdev num: 0
[    3.332456] rkisp1 ff920000.rkisp1: clear unready subdev num: 1
[    3.334539] rkisp1: update sensor failed


启动时有如下打印信息:

root@firefly:~# dmesg |grep rkisp
[    0.584051] iommu: Adding device ff910000.rkisp1 to group 4
[    0.584637] iommu: Adding device ff920000.rkisp1 to group 5
[    1.981706] rkisp1 ff910000.rkisp1: rkisp1 driver version: v00.01.05
[    1.982309] rkisp1 ff910000.rkisp1: Missing rockchip,grf property
[    1.984567] rkisp1 ff910000.rkisp1: GPIO lookup for consumer vsirq
[    1.984582] rkisp1 ff910000.rkisp1: using device tree for GPIO lookup
[    1.984597] of_get_named_gpiod_flags: can't parse 'vsirq-gpios' property of node '/rkisp1@ff910000[0]'
[    1.984610] of_get_named_gpiod_flags: can't parse 'vsirq-gpio' property of node '/rkisp1@ff910000[0]'
[    1.984622] rkisp1 ff910000.rkisp1: using lookup tables for GPIO lookup
[    1.984635] rkisp1 ff910000.rkisp1: lookup for GPIO vsirq failed
[    1.985195] rkisp1 ff920000.rkisp1: rkisp1 driver version: v00.01.05
[    1.985782] rkisp1 ff920000.rkisp1: Missing rockchip,grf property
[    1.987924] rkisp1 ff920000.rkisp1: GPIO lookup for consumer vsirq
[    1.987938] rkisp1 ff920000.rkisp1: using device tree for GPIO lookup
[    1.987972] of_get_named_gpiod_flags: can't parse 'vsirq-gpios' property of node '/rkisp1@ff920000[0]'
[    1.987985] of_get_named_gpiod_flags: can't parse 'vsirq-gpio' property of node '/rkisp1@ff920000[0]'
[    1.987998] rkisp1 ff920000.rkisp1: using lookup tables for GPIO lookup
[    1.988011] rkisp1 ff920000.rkisp1: lookup for GPIO vsirq failed
[    2.162534] rkisp1: Async subdev notifier completed
[    3.299646] rkisp1 ff910000.rkisp1: clear unready subdev num: 0
[    3.300193] rkisp1 ff920000.rkisp1: clear unready subdev num: 1
[    3.302918] rkisp1: update sensor failed

作者: 895816513    时间: 2021-12-9 17:37
感觉像没接摄像头那样,你把你使用的固件名字告诉我下。
作者: jacky_666    时间: 2021-12-13 17:54
895816513 发表于 2021-12-9 17:37
感觉像没接摄像头那样,你把你使用的固件名字告诉我下。

您好,使用官方固件已经可以看到ov13850模组的图像了,现在调试一款st的sensor,碰到如下打印信息,烦请帮忙看看问题在哪,谢谢!

root@firefly:~# media-ctl --set-v4l2 '"st-vd56g3 1-0010":0 [fmt:SGBRG8_1X8/640x80]'
root@firefly:~# media-ctl --set-v4l2 '"rockchip-mipi-dphy-rx":0 [fmt:SGBRG8_1X8640x480]'
root@firefly:~# media-ctl --set-v4l2 '"rkisp1-isp-subdev":0 [fmt:SGBRG8_1X8/640480 crop:(0,0)/640x480]'
root@firefly:~# media-ctl --set-v4l2 '"rkisp1-isp-subdev":2 [fmt:SGBRG8_1X8/640480 crop:(0,0)/640x480]'
root@firefly:~# v4l2-ctl --set-fmt-video=width=640,height=480,pixelformat=SGBRG_1X8 --stream-mmap --stream-count=8 --stream-to=640x480_SGBRG8_1x8-raw8.raw
<<<<<<<<
root@firefly:~#
root@firefly:~#
root@firefly:~# dmesg |grep rkisp
[    0.584961] iommu: Adding device ff910000.rkisp1 to group 4
[    3.771847] rkisp1 ff910000.rkisp1: rkisp1 driver version: v00.01.05
[    3.772435] rkisp1 ff910000.rkisp1: Missing rockchip,grf property
[    3.776121] rkisp1: Async subdev notifier completed
[    3.776810] rkisp1 ff910000.rkisp1: GPIO lookup for consumer vsirq
[    3.776823] rkisp1 ff910000.rkisp1: using device tree for GPIO lookup
[    3.776839] of_get_named_gpiod_flags: can't parse 'vsirq-gpios' property of node '/rkisp1@ff910000[0]'
[    3.776852] of_get_named_gpiod_flags: can't parse 'vsirq-gpio' property of node '/rkisp1@ff910000[0]'
[    3.776864] rkisp1 ff910000.rkisp1: using lookup tables for GPIO lookup
[    3.776877] rkisp1 ff910000.rkisp1: lookup for GPIO vsirq failed
[    4.781300] rkisp1 ff910000.rkisp1: clear unready subdev num: 0
[   33.375154] rkisp1: set isp clk = 600000000Hz
[   34.061062] rkisp1: MIPI mis error: 0x00030000
root@firefly:~#

作者: 895816513    时间: 2021-12-14 09:21
这个不在rk的支持列表里面,调试起来不容易,一般我们是不会提供无偿支持帮助的。
作者: jacky_666    时间: 2021-12-14 15:52
895816513 发表于 2021-12-14 09:21
这个不在rk的支持列表里面,调试起来不容易,一般我们是不会提供无偿支持帮助的。

是的,这款是我们自己调的sensor,请问你方便提供下联系方式吗?谢谢
作者: wdd_0227    时间: 2022-5-16 13:16
jacky_666 发表于 2021-12-13 17:54
您好,使用官方固件已经可以看到ov13850模组的图像了,现在调试一款st的sensor,碰到如下打印信息,烦请 ...

请问您使用的是那版官方固件。
我也遇到了同样的问题。感谢支持!!




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1