Our camera can work perfectly whether I use v4l2src or nvv4l2camerasrc with JetPack 5.x.
However, it seems to have some problems after I updated to JetPack 6.0.
Why it can work with nvv4l2camerasrc but the image seems to lose data if I use v4l2src and v4l2-ctl?
I have verified the patch from here and it can work with v4l2src.
By the way, I have another question about CSI ports.
I found there are different orders for cameras. With JetPack 5.x, CAM0 is video0 and CAM1 is video1 for the orders of video devices.
However, CAM0 is video1 and CAM1 is video0 with JetPack 6. I think it is not intuitive for that.
How to modify the orders of video devices?
Here is our dts file, CAM0 is at i2c@0 and CAM1 is at i2c@1, and I don’t want to modify the orders:
It could be the kernel different cause the different. Looks like the JP5 and JP6 kernel use different sort algorithm to list the device tree.
You can modify the video register API to assign device node instead of by system assign.