Page 1 of 1

Luckfox Pico Mini B Custom Camera Sensor Integration

Posted: 2026-05-03 7:12
by uched41
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?

Re: Luckfox Pico Mini B Custom Camera Sensor Integration

Posted: 2026-05-06 2:38
by Crocodile
The SDK does not include a driver or IQ files for the IMX462. Adapting a new camera sensor is not something an individual user can accomplish on their own. You first need to obtain a driver or detailed documentation from the sensor manufacturer—typically, a minimum purchase quantity is required to receive such support. Some sensor manufacturers may also provide IQ files, though those specifically tailored for the RV1106 are relatively rare. In most cases, you still need to open a case with Rockchip, where a professional ISP engineer will debug and provide the appropriate IQ files.

Re: Luckfox Pico Mini B Custom Camera Sensor Integration

Posted: 2026-05-06 5:58
by uched41

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 ?


Re: Luckfox Pico Mini B Custom Camera Sensor Integration

Posted: 2026-05-06 6:20
by Crocodile

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).