I’m trying to use 2 rpi camera v1.3 using radxa cm5 on rpi-cm4 io board. I’ve imported “radxa-cm5-rpi-cm4-io-rpi-camera-v1_3-cam0.dtbo” and “radxa-cm5-rpi-cm4-io-rpi-camera-v1_3-cam1.dtbo” from the radxa-overlays github. I managed to get the CAM0 to work but CAM1 doesn’t work at all. This is the result when trying to stream using v4l2-ctl:
radxa@radxa-desktop:~$ v4l2-ctl --list-devices
rkisp-statistics (platform: rkisp):
/dev/video29
/dev/video30
/dev/video38
/dev/video39rkcif-mipi-lvds (platform:rkcif-mipi-lvds):
/dev/media0rkcif (platform:rkcif-mipi-lvds2):
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
/dev/video17
/dev/video18
/dev/video19
/dev/video20
/dev/video21
/dev/media1rkisp_mainpath (platform:rkisp0-vir0):
/dev/video22
/dev/video23
/dev/video24
/dev/video25
/dev/video26
/dev/video27
/dev/video28
/dev/media2rkisp_mainpath (platform:rkisp1-vir0):
/dev/video31
/dev/video32
/dev/video33
/dev/video34
/dev/video35
/dev/video36
/dev/video37
/dev/media3Failed to open /dev/video0: No such device
radxa@radxa-desktop:~$ v4l2-ctl --device=/dev/video31 --stream-mmap --stream-count=60 --stream-to=frame.raw
<<<<<<<<<<<<<<<<< 15.63 fps
<<<<<<<<<<<<<<<< 15.63 fps
<<<<<<<<<<<<<<< 15.63 fps
<<<<<<<<<<<<
radxa@radxa-desktop:~$ v4l2-ctl --device=/dev/video22 --stream-mmap --stream-count=60 --stream-to=frame.raw
VIDIOC_STREAMON returned -1 (Invalid argument)
/dev/video31 is CAM0 and /dev/video22 is CAM1