aio-rk3399j 调试ov13850摄像头失败

固件类型:自行编译的固件
SDK包名称:rk3399_linux_release_v2.5.1_20210301
SDK修改内容:未作任何更改
Log日志:log.zip

使用官方sdk 更换为Ubuntu18, 进入文件系统后查看摄像头ov13850 dmesg如下信息一,我这边是单个ov13850摄像头(淘宝店购买),使用官方教程不能出图,报错如下信息二,使用官方脚本出图,脚本目录:/usr/local/bin/test_camera-rkisp1.sh可以出图,但是图像是绿色的,请问这个是什么原因呢,图下如信息三。
信息一:
root@firefly:/usr/local/bin# dmesg | grep ov13850
[ 3.351442] ov13850 1-0036: driver version: 00.01.03
[ 3.351477] ov13850 1-0036: GPIO lookup for consumer reset
[ 3.351480] ov13850 1-0036: using device tree for GPIO lookup
[ 3.351502] of_get_named_gpiod_flags: parsed ‘reset-gpios’ property of node ‘/i2c@ff110000/ov13850@36[0]’ - status (0)
[ 3.351531] ov13850 1-0036: Looking up avdd-supply from device tree
[ 3.351677] ov13850 1-0036: Looking up dovdd-supply from device tree
[ 3.351734] ov13850 1-0036: Looking up dvdd-supply from device tree
[ 3.351801] ov13850 1-0036: could not get default pinstate
[ 3.351804] ov13850 1-0036: could not get sleep pinstate
[ 3.351807] ov13850 1-0036: GPIO lookup for consumer pwdn
[ 3.351810] ov13850 1-0036: using device tree for GPIO lookup
[ 3.351830] of_get_named_gpiod_flags: parsed ‘pwdn-gpios’ property of node ‘/i2c@ff110000/ov13850@36[0]’ - status (0)
[ 3.356317] ov13850 1-0036: Detected OV00d850 sensor, REVISION 0xb2
[ 3.358990] ov13850 1-0046: driver version: 00.01.03
[ 3.359454] ov13850 1-0046: GPIO lookup for consumer pwdn
[ 3.359461] ov13850 1-0046: using device tree for GPIO lookup
[ 3.359558] of_get_named_gpiod_flags: parsed ‘pwdn-gpios’ property of node ‘/i2c@ff110000/ov13850@46[0]’ - status (0)
[ 3.362104] ov13850 1-0046: write SCCB_ID failed
[ 3.362569] ov13850: probe of 1-0046 failed with error -5

信息二:
root@firefly:/usr/local/bin# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=NV12,width=640,height=480, framerate=30/1 ! videoconvert ! kmssink &
[1] 2149
root@firefly:/usr/local/bin#
(gst-plugin-scanner:2150): GStreamer-WARNING **: 01:43:15.082: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstopengl.so’: libMali_wayland.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2150): GStreamer-WARNING **: 01:43:15.089: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstgtk.so’: libMali_wayland.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2151): GStreamer-WARNING **: 01:43:15.571: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstopenglmixers.so’: libMali_wayland.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2151): GStreamer-WARNING **: 01:43:17.150: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstrkisp.so’: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29’ not found (required by /usr/lib/librkisp.so)
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason error (-5)
Execution ended after 0:00:01.135127768
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
信息三:


tchip_askquestions
log.zip (148 Bytes)

你好,我确认了,的确出的图是绿色的,估计是3a库的白平衡出了问题了。我下午或者明天切换下库再回复你

895816513 发表于 2022-7-13 09:59
你好,我确认了,的确出的图是绿色的,估计是3a库的白平衡出了问题了。我下午或者明天切换下库再回复你

好的,大佬,还有就是官方wiki上的教程好像有点问题,会报错,有机会可以更新一下

蝈蝈 发表于 2022-7-13 10:19
好的,大佬,还有就是官方wiki上的教程好像有点问题,会报错,有机会可以更新一下

gstreamer命令行好像也有问题,可能更新过程出问题了。但我发现只有rk3399才出现rk356x没有出现。我再确认下

895816513 发表于 2022-7-13 11:00
gstreamer命令行好像也有问题,可能更新过程出问题了。但我发现只有rk3399才出现rk356x没有出现。我再确 …

大佬,有结果了嘛?

蝈蝈 发表于 2022-7-14 19:16
大佬,有结果了嘛?

文件系统库问题,你回退AIO-3399J-UBUNTU-18.04_DESKTOP-GPT-20211228-1640.img这个固件应该就没问题了

文件系统用这个:
ubuntu_18.04_RK3399_ext4_v2.10-62-g087b2b2_20211228-1005_DESKTOP.img

895816513 发表于 2022-7-15 09:45
文件系统用这个:
ubuntu_18.04_RK3399_ext4_v2.10-62-g087b2b2_20211228-1005_DESKTOP.img

好的,大佬,谢谢

蝈蝈 发表于 2022-7-15 10:47
好的,大佬,谢谢

虽然是回退,我下一版本的文件系统更新再解决

895816513 发表于 2022-7-13 11:00
gstreamer命令行好像也有问题,可能更新过程出问题了。但我发现只有rk3399才出现rk356x没有出现。我再确 …

请问gstreamer的更新了吗?

wx_momo_mDl 发表于 2022-10-13 11:42
请问gstreamer的更新了吗?

自己装一个吧,感觉有问题

蝈蝈 发表于 2022-10-13 11:45
自己装一个吧,感觉有问题

您有安装可用的版本可以分享一下吗,我现在也是用rkisp_demo相机偏绿,很像是iq没加载的样子。为了验证用v4l2的gstreamer,但是官方、firefly所有命令都失败。