Hello,
We have developed OV9281 sensor driver for TX2, based on the NVidia’s file ov9281.c.
The driver works OK on L4T 28.2.1.
Now we have ported the driver to L4T 32.2, observing the recommendations in the documentation.
The driver probes OK, but does not stream:
v4l2-ctl -d /dev/video0 --stream-mmap --stream-count=1
VIDIOC_DQBUF: failed: Input/output error
When we enable kernel trace, the steaming seems to start with the following errors:
v4l2-ctl -d /dev/video0 --stream-mmap --stream-count=1
tstamp:10377528527 tag:CHANSEL_PXL_SOF channel:0x00 frame:1 vi_tstamp:10377528031 data:0x00000001
tstamp:10377528701 tag:ATOMP_FS channel:0x00 frame:1 vi_tstamp:10377528039 data:0x00000000
tstamp:10377530668 tag:CHANSEL_LOAD_FRAMED channel:0x04 frame:1 vi_tstamp:10377530309 data:0x08000000
tstamp:10377747006 tag:CHANSEL_PXL_EOF channel:0x00 frame:1 vi_tstamp:10377746347 data:0x031f0002
tstamp:10377747124 tag:ATOMP_FE channel:0x00 frame:1 vi_tstamp:10377746375 data:0x00000000
tstamp:10378620801 tag:CHANSEL_PXL_SOF channel:0x00 frame:2 vi_tstamp:10378620305 data:0x00000001
tstamp:10378620977 tag:ATOMP_FS channel:0x00 frame:2 vi_tstamp:10378620313 data:0x00000000
tstamp:10378622703 tag:CHANSEL_LOAD_FRAMED channel:0x04 frame:2 vi_tstamp:10378622340 data:0x08000000
tstamp:10378839273 tag:CHANSEL_PXL_EOF channel:0x00 frame:2 vi_tstamp:10378838622 data:0x031f0002
tstamp:10378839391 tag:ATOMP_FE channel:0x00 frame:2 vi_tstamp:10378838649 data:0x00000000
. . . . . .
Any help ?