That worked, thanks. It doesn't hang anymore.
However, I'm now always reading all zeros back. Here's a screendump of how I tried to enable a CSI, and the enable bit is not written:
root@hostname:~# memtool IPU1.CONF.CSI0_EN
SOC is mx6q
IPU1 Addr:0x2400000
IPU1.CONF Addr:0x02400000 Value:0x00000000 -
IPU1.CONF.CSI0_EN(0..0) :0x0
Camera Sensor Interface 0 Enable bit
root@hostname:~# memtool IPU1.CONF.CSI0_EN=1
SOC is mx6q
write 0x00000001 to Bit 0..0 of 0x02400000
root@hostname:~# memtool IPU1.CONF.CSI0_EN
SOC is mx6q
IPU1 Addr:0x2400000
IPU1.CONF Addr:0x02400000 Value:0x00000000 -
IPU1.CONF.CSI0_EN(0..0) :0x0
Camera Sensor Interface 0 Enable bit
The interesting thing is that I still read all zeroes even when the CSI is capturing successfully using gstreamer (verified with stream to VLC on PC). I know I'm trying to read from the correct IPU/CSI since the camera is hardwires to IPU1_CSI0 (first IPU, first CSI).
Any ideas what that might be?
Thanks,
Miki