Page 1 of 1

CSI(ov13850) with the NanoPi T4 does not work on ubunty

Posted: Wed Jan 23, 2019 6:57 pm
by evgeny
Hi there!

I can't get a picture from the CSI camera(ov 13850) on NanoPi - T4, i use ubunty :cry: .

- First i read manual (http://wiki.friendlyarm.com/wiki/index.php/NanoPC-T4)
"FriendlyELEC provides a test script "gst-camera.sh" to test a camera's functions" - I couldn't find this file :?:
- Next, I tried running through gst-launch-1.0, but No dev/video* on ubunty.
- Tried to read the data from I2C.

What am I doing wrong? I really appreciate any help you can provide.

Re: CSI(ov13850) with the NanoPi T4 does not work on ubunty

Posted: Thu Jan 24, 2019 4:14 pm
by ayaromenok
did you use latest version(from 2018/12/19) of Friendly Desktop(ubuntu 18.04)?

test script "gst-camera.sh" to test a camera's functions" - I couldn't find this file

it's

Code: Select all

/usr/local/bin/gst-camera.sh

Re: CSI(ov13850) with the NanoPi T4 does not work on ubunty

Posted: Thu Jan 31, 2019 3:44 pm
by evgeny
I updated my Friendly Desktop to Ubuntu 18.04.1 LTS!
Yhy, Appeared file gst-camera.sh (/usr/local/bin/gst-camera.sh).

But there is no dev/video* ( There is dev/iio:video0 - That's what i need or not??
I try

Code: Select all

gst-launch-1.0 rkisp device=/dev/iio:video0 io-mode=4 ! video/x-raw,format=NV12,width=640,height=480 ! rkximgesink

And get log

Code: Select all

XCAM INFO device_manager.cpp:90: open /usr/lib/libcam_ia.so successed
XCAM INFO device_manager.cpp:96: open /usr/lib/libcam_engine_cifisp.so successed
XCAM INFO device_manager.cpp:106: dlsym rkisp_start success
WARNING: erroneous pipeline: no element "rkximgesink"
:(

Re: CSI(ov13850) with the NanoPi T4 does not work on ubunty

Posted: Fri Feb 01, 2019 10:36 am
by ayaromenok

Code: Select all

no element "rkximgesink"
it's just a FriendlyArm display utility for X11, which for some reason missed.

looks like you have broken Linux installation on you board - can you check with clear install of rk3399-sd-friendlydesktop-bionic-4.4-arm64-20181219.img.zip (SD card version only to make it easy to install)