Hi,all:
I want to interface an imx219 camera(raspberry pi camera V2) on my devkit. I change the dts file and now I can detect imx219 with ‘ls /dev/v*’ command and show me ‘/dev/video0’.
But I use v4l2-ctl --all
nvidia@tegra-ubuntu:~$ v4l2-ctl --all
Driver Info (not using libv4l2):
Driver name : tegra-video
Card type : vi-output, imx219 2-0012
Bus info : platform:15700000.vi:0
Driver version: 4.4.38
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
<b>Video input : 0 (Camera 0: no power)</b>
Format Video Capture:
Width/Height : 3280/2464
Pixel Format : 'RG10'
Field : None
Bytes per Line : 6656
Size Image : 16400384
Colorspace : sRGB
Transfer Function : Default
YCbCr Encoding : Default
Quantization : Default
Flags :
Camera Controls
frame_length (int) : min=2499 max=65535 step=1 default=2499 value=2499 flags=slider
coarse_time (int) : min=1 max=65531 step=1 default=2495 value=2495 flags=slider
group_hold (intmenu): min=0 max=1 default=0 value=0
hdr_enable (intmenu): min=0 max=1 default=0 value=0
fuse_id (str) : min=0 max=12 step=2 value='' flags=read-only, has-payload
gain (int) : min=256 max=4096 step=1 default=256 value=256 flags=slider
bypass_mode (intmenu): min=0 max=1 default=0 value=0
override_enable (intmenu): min=0 max=1 default=0 value=0
height_align (int) : min=1 max=16 step=1 default=1 value=1
size_align (intmenu): min=0 max=2 default=0 value=0
write_isp_format (int) : min=1 max=1 step=1 default=1 value=1
The log show me: Video input : 0 (Camera 0: no power).
And I use command
v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=data.raw
The kernel log just return:
Feb 1 23:08:54 tegra-ubuntu kernel: [ 1103.937697] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
Feb 1 23:08:55 tegra-ubuntu kernel: [ 1104.937668] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
Feb 1 23:08:56 tegra-ubuntu kernel: [ 1105.937678] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
Feb 1 23:08:57 tegra-ubuntu kernel: [ 1106.937647] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
Feb 1 23:08:58 tegra-ubuntu kernel: [ 1107.937673] tegra-vi4 15700000.vi: ATOMP_FE syncpt timeout!
There is not invoke camera ‘power on’ step, please give me some advise! Thank you!