|
Posted at 1/31/2019 17:17:14
Only Author
14#
Hi, really awesome work. I still can not get image from camera1. camera0 works ok.
root@firefly:~# dmesg | grep 1385
[ 0.138525] SMP: Total of 6 processors activated.
[ 1.218601] ov13850 1-0036: GPIO lookup for consumer reset
[ 1.218615] ov13850 1-0036: using device tree for GPIO lookup
[ 1.218655] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff110000/ov13850@36[0]' - status (0)
[ 1.218710] ov13850 1-0036: Looking up avdd-supply from device tree
[ 1.218898] ov13850 1-0036: Looking up dovdd-supply from device tree
[ 1.218995] ov13850 1-0036: Looking up dvdd-supply from device tree
[ 1.219331] ov13850 1-0036: GPIO lookup for consumer pwdn
[ 1.219341] ov13850 1-0036: using device tree for GPIO lookup
[ 1.219380] of_get_named_gpiod_flags: parsed 'pwdn-gpios' property of node '/i2c@ff110000/ov13850@36[0]' - status (0)
[ 1.224184] ov13850 1-0036: Detected OV00d850 sensor, REVISION 0xb2
[ 1.228173] ov13850 1-0046: GPIO lookup for consumer pwdn
[ 1.228192] ov13850 1-0046: using device tree for GPIO lookup
[ 1.228253] of_get_named_gpiod_flags: parsed 'pwdn-gpios' property of node '/i2c@ff110000/ov13850@46[0]' - status (0)
[ 1.232870] ov13850 1-0046: Detected OV00d850 sensor, REVISION 0xb2
root@firefly:/usr/local/bin# ./dual-camera-rkisp.sh
sensorbayer=SBGGR10_1X10
sensorname="ov13850 1-0036"
sensorres=2112x1568
mpnode=/dev/video0
mpfmt=NV12
mpres=640x480
spnode=/dev/video1
spfmt=NV12
spres=640x480
parse user options success ...
crop 2084,1568@(14,0)
crop 2084,1568@(14,0)
config sensor: '"ov13850 1-0036":0[fmt:SBGGR10/2112x1568]'
config mipiphy input: '"rockchip-sy-mipi-dphy":0[fmt:SBGGR10/2112x1568]'
config mipiphy output: '"rockchip-sy-mipi-dphy":1[fmt:SBGGR10/2112x1568]'
config isp input fmt: '"rkisp1-isp-subdev":0[fmt:SBGGR10/2112x1568]'
config isp input crop: '"rkisp1-isp-subdev":0[crop0,0)/2112x1568]'
config isp output crop: '"rkisp1-isp-subdev":2[crop0,0)/2112x1568]'
config isp output fmt: '"rkisp1-isp-subdev":2[fmt:YUYV2X8/2112x1568]'
config mp crop: /dev/video0 --set-selection=target=crop,top=0,left=14,width=2084,height=1568
config mp fmt: /dev/video0 --set-fmt-video=width=640,height=480,pixelformat=NV12
config sp crop: /dev/video1 --set-selection=target=crop,top=0,left=14,width=2084,height=1568
config sp fmt: /dev/video1 --set-fmt-video=width=640,height=480,pixelformat=NV12
sensorbayer=SBGGR10_1X10
sensorname="ov13850 1-0046"
sensorres=2112x1568
mpnode=/dev/video4
mpfmt=NV12
mpres=640x480
spnode=/dev/video5
spfmt=NV12
spres=640x480
parse user options success ...
crop 2084,1568@(14,0)
crop 2084,1568@(14,0)
config sensor: '"ov13850 1-0046":0[fmt:SBGGR10/2112x1568]'
config mipiphy input: '"rockchip-sy-mipi-dphy":0[fmt:SBGGR10/2112x1568]'
config mipiphy output: '"rockchip-sy-mipi-dphy":1[fmt:SBGGR10/2112x1568]'
config isp input fmt: '"rkisp1-isp-subdev":0[fmt:SBGGR10/2112x1568]'
config isp input crop: '"rkisp1-isp-subdev":0[crop0,0)/2112x1568]'
config isp output crop: '"rkisp1-isp-subdev":2[crop0,0)/2112x1568]'
config isp output fmt: '"rkisp1-isp-subdev":2[fmt:YUYV2X8/2112x1568]'
config mp crop: /dev/video4 --set-selection=target=crop,top=0,left=14,width=2084,height=1568
config mp fmt: /dev/video4 --set-fmt-video=width=640,height=480,pixelformat=NV12
config sp crop: /dev/video5 --set-selection=target=crop,top=0,left=14,width=2084,height=1568
config sp fmt: /dev/video5 --set-fmt-video=width=640,height=480,pixelformat=NV12
Setting pipeline to PAUSED ...
media get entity by name: rockchip-mipi-dphy-rx is null
media get entity by name: lens is null
XCAM ERROR v4l2_device.cpp:253: VIDIOC_QUERYCAP returned: -1 (Inappropriate ioctl for device)
XCAM ERROR v4l2_device.cpp:253: VIDIOC_QUERYCAP returned: -1 (Inappropriate ioctl for device)
XCAM ERROR rkisp_control_loop_impl.cpp:69: get isp version failed !
Pipeline is live and does not need PREROLL ...
XCAM ERROR rkisp_device.cpp:72: atomisp device(/dev/video0) try subdev format failed
Setting pipeline to PLAYING ...
New clock: GstSystemClock
XCAM ERROR aec.c:1838: GAIN OUT OF RANGE: lasttime-gain: 0.001000-3.000000
Setting pipeline to PAUSED ...
media get entity by name: rockchip-mipi-dphy-rx is null
media get entity by name: lens is null
XCAM ERROR v4l2_device.cpp:253: VIDIOC_QUERYCAP returned: -1 (Inappropriate ioctl for device)
XCAM ERROR v4l2_device.cpp:253: VIDIOC_QUERYCAP returned: -1 (Inappropriate ioctl for device)
XCAM ERROR rkisp_control_loop_impl.cpp:69: get isp version failed !
Pipeline is live and does not need PREROLL ...
XCAM ERROR rkisp_device.cpp:72: atomisp device(/dev/video4) try subdev format failed
Setting pipeline to PLAYING ...
New clock: GstSystemClock
XCAM ERROR aec.c:1838: GAIN OUT OF RANGE: lasttime-gain: 0.001000-3.000000
XCAM ERROR v4l2_device.cpp:505: device(/dev/video4) start failed on VIDIOC_STREAMON
XCAM ERROR v4l2_device.cpp:670: release buffer: munmap failed
XCAM ERROR v4l2_device.cpp:670: release buffer: munmap failed
XCAM ERROR v4l2_device.cpp:670: release buffer: munmap failed
XCAM ERROR v4l2_device.cpp:670: release buffer: munmap failed
XCAM ERROR device_manager.cpp:329: capture device start failed
ERROR: from element /GstPipeline:pipeline0/GstXCamSrc:xcamsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstXCamSrc:xcamsrc0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:01.083581630
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
^C
root@firefly:/usr/local/bin# handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:12.682335287
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Thanks^0^
Will you open source for patch dirver and dts or pull the modification to firefly github? |
|