ADV7280m configuration

I’m just fixed “num_lane” to 1 at “csi2_start_streaming” function on “csi2_fops.c”, using device tree in my comment above

I’m using nano, opencv working too.

@hoanganhv1svm the image is pretty good, I figured out that my setup doesn’t use csi2_start_streaming, it’s use csi4_start and lines is getting correct on this (I’m using TX2), I can get video (with some sync fault) on cheese if I unplug the camera (color bars) but it’s crash if I plug the camera. I think it’s because my camera is NTSC and the driver is configured for PAL, I’m trying to change this.

Did you captured, this is my last error:
But i don’t know how to resolve follow solution below:

More info: I captured with jetson nano, fixed resolution with 720x576 then image frame very well
Not need sub-mode in device tree.

Hello @ hoanganhv1svm

I have a question for you. I would be happy if you could answer.

What is the Jetson Nano revision you are using?

I’m using Jetson Nano B01, but ADV7280 doesn’t work even if I refer to the above thread.

it’s working with A02 and B01 too

Hi All

I have applied all settings and getting video node etc.

but during v4l2 test getting below error.

     kworker/1:1-825   [001] ....   122.998714: rtcpu_vinotify_event: tstamp:4164042835 tag:FS channel:0x00 frame:1 vi_tstamp:4163734624 data:0x00000010
 kworker/1:1-825   [001] ....   122.998715: rtcpu_vinotify_event: tstamp:4164042994 tag:ATOMP_FS channel:0x00 frame:1 vi_tstamp:4163734625 data:0x00000000
 kworker/1:1-825   [001] ....   122.998715: rtcpu_vinotify_event: tstamp:4164043133 tag:CHANSEL_PXL_SOF channel:0x23 frame:1 vi_tstamp:4163734710 data:0x00000001
 kworker/1:1-825   [001] ....   122.998716: rtcpu_vinotify_event: tstamp:4164043291 tag:RESERVED_19 channel:0x23 frame:1 vi_tstamp:4390493408 data:0x08020002
 kworker/1:1-825   [001] ....   122.998717: rtcpu_vinotify_event: tstamp:4164043429 tag:CHANSEL_FAULT channel:0x23 frame:1 vi_tstamp:4163736173 data:0x00000100
 kworker/1:1-825   [001] ....   122.998718: rtcpu_vinotify_event: tstamp:4164043588 tag:RESERVED_19 channel:0x23 frame:1 vi_tstamp:4390540640 data:0x01020002
 kworker/1:1-825   [001] ....   122.998719: rtcpu_vinotify_event: tstamp:4164240407 tag:FE channel:0x00 frame:1 vi_tstamp:4164238925 data:0x00000020
 kworker/1:1-825   [001] ....   122.998720: rtcpu_vinotify_event: tstamp:4164240568 tag:CHANSEL_SHORT_FRAME channel:0x01 frame:1 vi_tstamp:4164238925 data:0x01000000
 kworker/1:1-825   [001] ....   122.998721: rtcpu_vinotify_event: tstamp:4164240706 tag:RESERVED_19 channel:0x23 frame:1 vi_tstamp:4406631168 data:0x01020002
 kworker/1:1-825   [001] ....   122.998745: rtcpu_vinotify_event: tstamp:4164240865 tag:ATOMP_FE channel:0x00 frame:1 vi_tstamp:4164238926 data:0x00000000
 kworker/1:1-825   [001] ....   122.998746: rtcpu_vinotify_event: tstamp:4164241000 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:4406634976 data:0x07020003


Hello @ hoanganhv1svm

Thank you for answering the question.

I implemented driver and DT,
I’m having trouble generating device file video 0.

Did you rewrite the udev rules?

did you tried with cheese viewer?

I can sent driver if you need?

I have confirmed the operation with cheese and v4l2-ctl command, but neither of them recognizes the decoder.

I need your driver. I would appreciate it if you could.
Also, I would appreciate it if you could have a DT that also includes the nvcsi and vi parts.

I will, sent to me private message.

1 Like

Hi hoanganhv1svm
I am lucklly to find you all have done what I am doing now. You all have done a great job on this. I am new in device driver and learnning. If you could kinddly sent me the dts and driver code, I am appreciate that. I am using the Jetson nano and ADV7280M too. This is my e-mail address,

Hi hoanganhv1svm, I work on a custom board with the ADV as well, can you send me the driver too?

Hi hoanganhv1svm, ShaneCCC
I appreciate your help. I do get the color bar data but missing EOF/SOF in the raw data.
These are the commands I used to get the raw data.
v4l2-ctl -d /dev/video0 --set-fmt-video width=720,height=576
–stream-mmap --stream-count=10 --stream-to=f20.raw
What it could be wrong ? thanks !

Hi all
I figure it out allready !
thanks !