I recently purchased a 4-lane IMX219 module and have it hooked up to my Pi 5. Looking through the imx219 driver, it appears that support for 4-lanes is already integrated into the driver, so all I did was make a new overlay for the 4 lane setup. I set data-lanes = <1 2 3 4> in both imx219-overlay.dts and imx219.dtsi and set the link-frequency to 363000000 in imx219.dtsi.
This works, as I now have the higher frame-rates available
This works, as I now have the higher frame-rates available
However, when I try to run the camera, I can only get it to work in the 640x480 and 1920x1080 modes. The other modes just show a black screen, but the bar up top with exposure and framerate is updating. In the two modes that do show image data, there's weird artifacting that occurs on the left-hand side and the framerate is all sorts of messed up. Do I have the correct link freqeuncy for the overlay, or is something missing from the driver in 4-lane mode?0 : imx219 [3280x2464 10-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@88000/imx219@10)
Modes: 'SRGGB10_CSI2P' : 640x480 [318.17 fps - (1000, 752)/1280x960 crop]
1640x1232 [64.43 fps - (0, 0)/3280x2464 crop]
1920x1080 [73.24 fps - (680, 692)/1920x1080 crop]
3280x2464 [32.63 fps - (0, 0)/3280x2464 crop]
'SRGGB8' : 640x480 [318.17 fps - (1000, 752)/1280x960 crop]
1640x1232 [128.87 fps - (0, 0)/3280x2464 crop]
1920x1080 [73.24 fps - (680, 692)/1920x1080 crop]
3280x2464 [32.63 fps - (0, 0)/3280x2464 crop]
Statistics: Posted by peytonicmaster — Sat Dec 28, 2024 7:53 pm — Replies 0 — Views 11