Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Dual OV13850 cameras finally land on Firefly-RK3399 in Ubuntu 18.04!

40

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
40
Posted at 1/25/2019 19:58:38      1#
great job !
just a little question can we flash an image that is release later ? like this one (20190103)
https://pan.baidu.com/s/1PXbZXMA ... 67069%2FUbuntu18.04(GPT)&parentPath=%2Fsharelink1414141670-305585565267069



Reply

Use props Report

40

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
40
Posted at 2/11/2019 02:01:52      2#
he same for me both cmera work on the exterior connection.
it look like the pin the closer to the heat sink doesn't work for me :/

sudo 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 ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
XCAM ERROR rkisp_device.cpp:72: atomisp device(/dev/video0) try subdev format failed
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
Reply

Use props Report

40

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
40
Posted at 2/11/2019 03:28:24      3#
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.068191325
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
ERROR: from element /GstPipeline:pipeline0/GstGtkSink:gtksink0: Output widget was destroyed
Additional debug info:
gstgtkbasesink.c(486): gst_gtk_base_sink_show_frame (): /GstPipeline:pipeline0/GstGtkSink:gtksink0
Execution ended after 0:00:38.340511582


here more info about the error
Reply

Use props Report

40

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
40
Posted at 2/26/2019 07:31:11      4#
@penguin
i tried to use an other image ( the last one : FIREFLY-RK3399-UBUNTU18.04-GPT-20190216-1136.img)
look like it's not working i get the following error when i do the sudo bash dual-camera-setup.sh :
E: Unable to locate package libdrm-rockchip1

i tried to continue but it end up in an other error :
XCAM ERROR gstrkisp.cpp:699: Can't find controller, maybe use a wrong video-node or wrong permission to media node
Caught SIGSEGV
XCAM ERROR gstrkisp.cpp:699: Can't find controller, maybe use a wrong video-node or wrong permission to media node
Caught SIGSEGV
exec gdb failed: No such file or directory
exec gdb failed: No such file or directory

( the 2 camera are connected to the board and i did the update/upgrade of the board )
a helping hand would be welcome :p



Reply

Use props Report

40

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
40
Posted at 2/27/2019 07:48:11      5#
@penguin
I tried to update the kernel but after the reboot to have the new kernel take effect, the monitor shows me a black screen :/
I checked that the monitor detect the firefly rk3399, no problem on this side.
To get out of this black screen I have to erase the flash and flash the Ubuntu 18.04

Reply

Use props Report

40

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
40
Posted at 4/5/2019 17:12:23      6#
hey long time no see.

I try to make it work for the laters version but I give up on this one.

I came back to the older version. It work for only one camera. I got an issue when both cameras are connected one of them doesn't want to start :/

did you try somethink new ?
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list