Hi,
i build my own Kernel/image using Yocto. i adapted ov7251 camera driver to nvidia rules based on Tegra Linux Driver manual.
i can see camera driver on /dev/video0, when a run command:
root@jetson-nano:~# media-ctl -p -d /dev/media0
Media controller API version 0.1.0
Media device information
------------------------
driver vi
model NVIDIA Tegra Video Input Device
serial
bus info
hw revision 0x3
driver version 0.0.0
Device topology
- entity 1: nvcsi--1 (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
<- "ov7251 6-0060":0 [ENABLED]
pad1: Source
-> "vi-output, ov7251 6-0060":0 [ENABLED]
- entity 4: ov7251 6-0060 (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev1
pad0: Source
[fmt:SBGGR10_1X10/640x480 field:none colorspace:srgb]
-> "nvcsi--1":0 [ENABLED]
- entity 6: vi-output, ov7251 6-0060 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "nvcsi--1":1 [ENABLED]
But when i run gst-launched with nvidia plugin i have this error:
root@jetson-nano:~# gst-launch-1.0 nvarguscamerasrc
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:521 No cameras available
Could you check the context of the /proc/device-tree/tegra-camera-platform is exactly as your device tree define.
Use nvgstcapture-1.0 to try also enable the log to get more information.
sudo su
kill the process of argus_daemon/nvargus-daemon or nvcamera-daemon
export enableCamPclLogs=5
export enableCamScfLogs=5
/usr/sbin/argus_daemon(nvargus-daemon) option for argus
/usr/sbin/nvcamera-daemon option for gst-launch
launch camera from another console