CM4 Libcamera with a custom device tree

July 31, 2024, 22:39

ashlin4010

I have been trying to get Libcamera to work on a cm4 system for a few days now with no success. My main issue is I have been unable to get i2c0 to show up or any muxed version of it (i2c10...) As far as I can tell my device tree is about right, I would have expected to have seen some effect with all the things I have tried. Looking for some info. What are the requirements of Libcamera, kernel module, does it expect to find a cam on i2c10 or does it check them all? How does the VideoCore and bcm2711 share BSC0 (i2c0)? What if any dtb does the VideoCore need, what is its default? What setting in config.txt may override my dtb or change the way the hardware is working? I should say the device tree is just a flattened version of the devices tree, overlays have been added inline.