Hi all,
I'm trying to bring up a new camera driver on Rpi 5.
The hardware I have
- Raspberry Pi 5
- Camera V2 IMX219 module
- The new camera board want to bring up
- Using Cam/Disp 0 port to do the debug
The change I made,
- New camera driver, copied from IMX219
- dtsi changes and add overlay dts
- the new driver and dto file can be compiled.
The issue I observed.
- Probe issue
-- There is no probe action for the new driver, probe function in driver was never called.
-- Even for IMX219, if I did not connected the camera module, the probe function will not be called either, but if the module was connected, probe function will be called and camera works well.
-- So how the system will detect if a camera module was connected on hardware side? I measured the I2c bus signal, there is no bus communication action when imx219 was not connected.
- I2C bus
-- I found the IMX219 was probed and under I2C bus 6, but when can use the same configuration for the new camera and force to load the overlay by sudo dtoverlay xxx, it showed the camera is under I2C bus 4. What is the cause of this difference.
-- Can I control I2C bus by i2c-tools such as i2c_transfer to control the camera? I tried it for imx219, it did not work and show some error.
It is a little urgent for the project, really apprieciate your support.
Best Regards
Joshua
I'm trying to bring up a new camera driver on Rpi 5.
The hardware I have
- Raspberry Pi 5
- Camera V2 IMX219 module
- The new camera board want to bring up
- Using Cam/Disp 0 port to do the debug
The change I made,
- New camera driver, copied from IMX219
- dtsi changes and add overlay dts
- the new driver and dto file can be compiled.
The issue I observed.
- Probe issue
-- There is no probe action for the new driver, probe function in driver was never called.
-- Even for IMX219, if I did not connected the camera module, the probe function will not be called either, but if the module was connected, probe function will be called and camera works well.
-- So how the system will detect if a camera module was connected on hardware side? I measured the I2c bus signal, there is no bus communication action when imx219 was not connected.
- I2C bus
-- I found the IMX219 was probed and under I2C bus 6, but when can use the same configuration for the new camera and force to load the overlay by sudo dtoverlay xxx, it showed the camera is under I2C bus 4. What is the cause of this difference.
-- Can I control I2C bus by i2c-tools such as i2c_transfer to control the camera? I tried it for imx219, it did not work and show some error.
It is a little urgent for the project, really apprieciate your support.
Best Regards
Joshua
Statistics: Posted by joshuajxy — Mon Jan 22, 2024 1:00 am