使用官方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 ... 信息三: |
-
微信图片_20220713094547.jpg (203.54 KB, 下载次数: 1048)
-
148 Bytes, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1