Luckfox Pico Mini B Custom Camera Sensor Integration
-
Hello,
I am using the Luckfox Pico Mini B to bringup a prototype that will use a new sensor (IMX462). I'm looking at the device tree in the Luckfox SDK and I see that it only supports the SC3336 Sensor.
Please can you provide an example or some guidance on how I can integrate a different sensor (IMX462)?
Are there config files with I2C command registers that I can specify for my custom sensor?
I can develop the driver myself. For IQ, maybe I can start with an "okay" quality image and tune the ISP after basic bringup is done.
Please can you give me some guidance on how I can integrate a new driver and link it into the camera pipeline ?
If I have a new driver for my sensor, where can I plug it in ?
The driver process involves first building the driver, compiling the module, and then transferring the generated .ko file to the board side. Next, modify /oem/usr/ko/insmod_ko.sh by adding __insmod imx462.ko. The boot script will then automatically load the driver at startup.
For the device tree, add the I2C node and the csi2_dphy0 endpoint by referring to other sensor configurations. After that, recompile and flash the boot.img.
At runtime, the system will look for the IQ files based on the device tree. If the IQ files are missing, only RAW images can be captured.
For more details, refer to the RK Datasheet under the Downloads section on the Luckfox-Pico-RV1106 Download Page (it is recommended to use translation software for the Chinese version, as the English version is relatively outdated).

