I got an IMX477 adrucam camera and I am struggling to get the system to detect it. This is my second camera so I dont think it is a hardware issue
I tried `libcamera-hello` and got the following:
this is what I get for sudo i2cdetect -y 20
Every other i2c bus is empty
this is what I get for dmesg | grep i2c:
This is what I get for dmesg | grep imx477
And here is my config file, which I believe is properly set:I've been trying to fix this for days and its been killing me in the inside. any anyone help?
I tried `libcamera-hello` and got the following:
Code:
user@raspberrypi:~ $ libcamera-hello[0:15:38.021824097] [890] INFO Camera camera_manager.cpp:316 libcamera v0.3.1+50-69a894c4Preview window unavailableERROR: *** no cameras available ***
Code:
user@raspberrypi:~ $ sudo i2cdetect -y 20 0 1 2 3 4 5 6 7 8 9 a b c d e f00: 08 09 0a 0b 0c 0d 0e 0f10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f30: -- -- -- -- -- -- -- -- 38 39 3a 3b 3c 3d 3e 3f40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f70: 70 71 72 73 74 75 76 77
this is what I get for dmesg | grep i2c:
Code:
user@raspberrypi:~ $ dmesg | grep i2c[ 0.053744] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx477@1a[ 2.619962] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode[ 2.630739] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode[ 2.647497] i2c i2c-22: Added multiplexed i2c bus 0[ 2.647851] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx477@1a[ 2.648096] i2c 10-001a: Fixed dependency cycle(s) with /soc/csi@7e801000[ 2.649380] i2c i2c-22: Added multiplexed i2c bus 10[ 166.369172] i2c_dev: i2c /dev entries driver
Code:
user@raspberrypi:~ $ dmesg | grep imx477[ 0.053744] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx477@1a[ 2.647851] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx477@1a[ 8.208689] imx477 10-001a: failed to read chip id 477, with error -5[ 8.209683] imx477: probe of 10-001a failed with error -5
Code:
# For more options and information see# http://rptl.io/configtxt# Some settings may impact device functionality. See link above for details# Uncomment some or all of these to enable the optional hardware interfacesdtparam=i2c_arm=on#dtparam=i2s=on#dtparam=spi=on# Enable audio (loads snd_bcm2835)dtparam=audio=on# Additional overlays and parameters are documented# /boot/firmware/overlays/README# Automatically load overlays for detected camerascamera_auto_detect=0# Automatically load overlays for detected DSI displaysdisplay_auto_detect=1# Automatically load initramfs files, if foundauto_initramfs=1# Enable DRM VC4 V3D driverdtoverlay=vc4-kms-v3dmax_framebuffers=2# Don't have the firmware create an initial video= setting in cmdline.txt.# Use the kernel's default instead.disable_fw_kms_setup=1# Disable compensation for displays with overscandisable_overscan=1# Run as fast as firmware / board allowsarm_boost=1[cm4]# Enable host mode on the 2711 built-in XHCI USB controller.# This line should be removed if the legacy DWC2 controller is required# (e.g. for USB device mode) or if USB support is not required.otg_mode=1[cm5]dtoverlay=dwc2,dr_mode=host[all]dtoverlay=imx477
Statistics: Posted by SwayS — Tue Sep 17, 2024 8:29 pm