pi@Pi5Cam1:~/Src/Official/RaspberryPi/rpicam-apps $ libcamera-hello --list-cameras
Available cameras
-----------------
0 : imx283 [5472x3648 12-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@80000/imx283@1a)
Modes: 'SRGGB10_CSI2P' : 5568x3094 [21.31 fps - (0, 285)/5472x3078 crop]
5568x3664 [17.99 fps - (0, 0)/5472x3648 crop]
'SRGGB12_CSI2P' : 2784x1828 [35.55 fps - (0, 0)/5472x3648 crop]
5568x3664 [17.99 fps - (0, 0)/5472x3648 crop]
Go to: https://www.willwhang.dev/Solar-eclipse-2024/
Modify the Device Tree Source: edited the file ./arch/arm/boot/dts/broadcom/rp1.dtsi.Now you should get:
Specifically, change RP1_PLL_SYS and RP1_CLK_SYS to 300000000.
Recompile and Install the Kernel:
After making the changes, recompiled the kernel to apply these new settings.
Update Libcamera Configuration:
In the Libcamera directory, modify ./src/ipa/rpi/controller/controller.cpp.
Under the “pisp” section, change:
.minPixelProcessingTime = 1.0us / 380
to
.minPixelProcessingTime = 1.0us / 580.
Recompile and Install Libcamera: After updating the settings, recompile and reinstalle Libcamera to ensure the changes were implemented.
pi@Pi5Cam1:~/Src/Official/RaspberryPi/rpicam-apps $ libcamera-hello --list-cameras
Available cameras
-----------------
0 : imx283 [5472x3648 12-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@80000/imx283@1a)
Modes: 'SRGGB10_CSI2P' : 5568x3094 [30.17 fps - (0, 285)/5472x3078 crop]
5568x3664 [25.48 fps - (0, 0)/5472x3648 crop]
'SRGGB12_CSI2P' : 2784x1828 [51.80 fps - (0, 0)/5472x3648 crop]
5568x3664 [21.40 fps - (0, 0)/5472x3648 crop]
Aucun commentaire:
Enregistrer un commentaire