hi,
Thank you for your reply and apologize for taking long to replay back. I've been trying to get a(ny) camera to work with the CSI since i posted the question but with no success unfortunately.
I have an IMX477, IMX577 and ar0234. the main effort was with the 477. since it uses the same core as IMX290 i defined in the config.txt the dtoverlay for the 290 in many variations. i believe the issue is I2C related, since i get the following using the "dmesg | grep imx" command:
[ 0.049477] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx290@1a
[ 4.997725] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx290@1a
[ 9.251873] imx290 10-001a: Error writing reg 0x301c: -110
[ 10.275922] imx290 10-001a: Error writing reg 0x3020: -110
[ 11.299892] imx290 10-001a: Error writing reg 0x3018: -110
[ 12.323887] imx290 10-001a: Error writing reg 0x3020: -110
[ 44.067870] imx290 10-001a: Error writing reg 0x303a: -110
[ 44.067879] imx290 10-001a: Could not set init registers
[ 44.067884] imx290 10-001a: Start stream failed
[ 65.155871] imx290 10-001a: Error writing reg 0x303a: -110
[ 65.155880] imx290 10-001a: Could not set init registers
[ 65.155884] imx290 10-001a: Start stream failed
[ 299.366975] imx290 10-001a: Error writing reg 0x303a: -110
[ 299.366995] imx290 10-001a: Could not set init registers
[ 299.367004] imx290 10-001a: Start stream failed
The output of "libcamera-still -t 0" gives:
Made X/EGL preview window
[0:52:30.571925260] [8458] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[0:52:30.618067306] [8462] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/imx290@1a to Unicam device /dev/media1 and ISP device /dev/media0
[0:52:30.618175100] [8462] INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[0:52:30.619144475] [8458] INFO Camera camera.cpp:1033 configuring streams: (0) 960x540-YUV420
[0:52:30.619700540] [8462] INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/imx290@1a - Selected sensor format: 1280x720-SRGGB12_1X12 - Selected unicam format: 1280x720-pRCC
[0:52:31.714560442] [8462] ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video0[16:cap]: Failed to start streaming: Connection timed out
ERROR: *** failed to start camera ***
for "i2cdetect -y 10" the output is "UU" at address 0x1a, the rest is null:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
for config.txt i've tried the following, in various combinations (and probably some others that i modified along the way):
#camera_auto_detect=1
#dtoverlay=imx290
#dtoverlay=imx290,2lane,clock-frequency=74250000,cam1
#dtoverlay=imx290, clock-frequency=37125000
dtoverlay=i2c1
#enable_uart=1
#dtoverlay=cm-swap-i2c0,i2c10-gpio0,i2c0-gpio44
#dtoverlay=imx290
#dtoverlay=imx290,cam0
dtoverlay=imx290,clock-frequency=37125000
thanks!