I have two images. The first works, and `sudo i2cdetect -y 10` shows 0x10 and 0x64 as expected. So the camera is working.
The second, however, can't access the camera and only shows `0x64` i.e.(Aside: what is it?)
dmesg complains about not being able to talk to 0x10
Thoughts? Both images are 64bit images built with buildroot. The first is 5.15 and the second I've upgraded to 6.1 (https://github.com/raspberrypi/linux/co ... 574f7e16cb), including rpi-firmware (https://github.com/raspberrypi/firmware ... 56489d1c77).
A potential clue is that in the new image, it has an extra "on port 0,unicam_port 1" in the bootloader logs as below, whereas the old didn't. I don't think this is important ... just a new bootloader maybe.
Also, in boot logs the old device had
whereas the new is
Otherwise no major differences jump out at me. Any tips to debug further? I feel this must be something in the device tree and it's talking on the wrong pins, but I'm getting a bit out of my depth here.
The second, however, can't access the camera and only shows `0x64` i.e.
Code:
$ sudo i2cdetect -y 10 0 1 2 3 4 5 6 7 8 9 a b c d e f00: -- -- -- -- -- -- -- -- -- -- -- -- --10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- --70: -- -- -- -- -- -- -- --
dmesg complains about not being able to talk to 0x10
Code:
$ sudo dmesg | grep imx[ 17.171012] imx219 10-0010: failed to read chip id 219[ 17.171067] imx219: probe of 10-0010 failed with error -5
A potential clue is that in the new image, it has an extra "on port 0,unicam_port 1" in the bootloader logs as below, whereas the old didn't. I don't think this is important ... just a new bootloader maybe.
Code:
MESS:00:00:01.703073:0: brfs: File read: /mfs/sd/overlays/overlay_map.dtbMESS:00:00:01.736355:0: Found camera 'imx219' on port 0, unicam_port 1
Code:
[ 6.774507] i2c i2c-11: Added multiplexed i2c bus 0[ 6.775004] i2c 10-0010: Fixing up cyclic dependency with 3f801000.csi[ 6.779517] i2c i2c-11: Added multiplexed i2c bus 10
Code:
[ 6.099297] i2c i2c-11: Added multiplexed i2c bus 0[ 6.099694] i2c 10-0010: Fixed dependency cycle(s) with /soc/csi@7e801000/port/endpoint[ 6.100020] i2c i2c-11: Added multiplexed i2c bus 10
Statistics: Posted by userko — Wed Jan 17, 2024 3:40 am