raspiraw
raspiraw copied to clipboard
Problem with Pi 3+ compute module
Thank you for the work here - extremely useful.
I've got a Pi Foundation branded OV5647 module attached to the CAM1 connector on the Pi3 IO board. GPIO pins and device tree blob set up as per https://www.raspberrypi.org/documentation/hardware/computemodule/cmio-camera.md. There is a /dev/video0 entry.
I can guess at the problem here but am unwilling to risk damage - hence the question. Any thoughts much appreciated.
:~/src/raspiraw$ sudo ./camera_i2c
setting GPIO for board revsion: a02100
Failed: don't know how to set GPIO for this board!
~/src/raspiraw$ uname -a
Linux pi-com 5.4.72-v7+ #1356 SMP Thu Oct 22 13:56:54 BST 2020 armv7l GNU/Linux
:~/src/raspiraw$ lsmod
Module Size Used by
sha256_generic 16384 0
libsha256 20480 1 sha256_generic
cfg80211 692224 0
rfkill 28672 2 cfg80211
8021q 32768 0
garp 16384 1 8021q
stp 16384 1 garp
llc 16384 2 garp,stp
asix 36864 0
raspberrypi_hwmon 16384 0
i2c_bcm2835 16384 0
bcm2835_codec 36864 0
bcm2835_v4l2 49152 0
bcm2835_isp 32768 0
v4l2_mem2mem 32768 1 bcm2835_codec
bcm2835_mmal_vchiq 28672 3 bcm2835_isp,bcm2835_codec,bcm2835_v4l2
snd_bcm2835 28672 1
videobuf2_dma_contig 20480 2 bcm2835_isp,bcm2835_codec
videobuf2_vmalloc 16384 1 bcm2835_v4l2
videobuf2_memops 16384 2 videobuf2_dma_contig,videobuf2_vmalloc
videobuf2_v4l2 28672 4 bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
videobuf2_common 57344 5 bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
snd_pcm 98304 1 snd_bcm2835
snd_timer 32768 1 snd_pcm
videodev 237568 6 bcm2835_isp,bcm2835_codec,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
snd 73728 5 snd_timer,snd_bcm2835,snd_pcm
vc_sm_cma 32768 2 bcm2835_isp,bcm2835_mmal_vchiq
mc 40960 6 bcm2835_isp,bcm2835_codec,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2
fixed 16384 0
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
i2c_dev 20480 0
ip_tables 28672 0
x_tables 32768 1 ip_tables
ipv6 466944 32