8x 64MP cameras on one Pi?

I’m attempting to connect two Quad-HAT boards to one Pi CM4 with a carrier board that supports two cameras.

Observations:
When either Quad-HAT is plugged into the CAM0 port, then those 4 cameras work properly. However whenever either Quad-HAT is plugged into the CAM1 port, then those 4 cameras are not recognized.

It seems like the drivers do not support the CAM1 port. Can I please get some assistance for adding support for this to the drivers?

From dmesg I see:

[ 12.031202] dw9807_vcm: loading out-of-tree module taints kernel.
[ 12.050544] dw9807 10-000c: I2C write CTL fail ret = -121
[ 12.130142] arducam_64mp 10-001a: failed to read chip id 4136, with error -5
[ 12.155111] uart-pl011 fe201000.serial: no DMA platform data
[ 12.168688] 8021q: 802.1Q VLAN Support v1.8
[ 12.171183] dw9807 10-000c: I2C write STATUS address fail ret = -121
[ 12.171222] dw9807 10-000c: dw9807_standby I2C failure: -121
[ 12.173536] dw9807 10-000c: I2C write CTL fail ret = -121
[ 12.222119] arducam_64mp: probe of 10-001a failed with error -5

And don’t see why this probe would fail, looking at the driver code. Might be a problem with the carrier board I’m using so going to try the official IO board on Monday.

@catid

Your idea has been tested recently and it works fine. Of course, it is recommended that you test it on the official board first.

If you still can’t, take a look at your wiring diagram and configuration files.

cat /boot/config.txt
1 Like

This issue was resolved by fixing the config.txt file - It was missing a line that’s mentioned in the documentation.