06-02-2023, 07:52 AM
(02-04-2022, 02:11 AM)zeus666 Wrote: we have a couple rockpro64 in service for computer vision tasks. However we use USB connected cameras, since back then there was no support for the MIPI interface.
For our new project we want to move the imx214 sensors over the MIPI-CSI interface. Here is where the trouble starts:
However, no video device is showing up - we tried different device trees from the rock64 repos on github all leading to no video devices.
We also tried manjaro arm, dietpi bullseye, dietpi buster and also manully updating the kernel.
Make sure you are clear whether you're talking about Rock64 or RockPro64 as those are different devices. I'm assuming you meant RockPro64 (even though this is the Rock64 sub-forum).
The issue likely stems from the kernel version and kernel configuration.
As you mentioned (didn't verify) the VIDEO_ROCKCHIP_ISP1 came out of staging in kernel 5.11. That means it's likely pointless to try a Bullseye (5.10) or even a Buster (4.19) based kernel. This is assuming that dietpi uses the same (kernel) version as Debian. I have no idea about manjaro.
Debian's Bookworm will ship with a 6.1 kernel and it has CONFIG_PHY_ROCKCHIP_INNO_CSIDPHY enabled as module.
However CONFIG_VIDEO_IMX214 is not enabled, which you quite likely need too.
I do not know if you need more kernel modules, but I'm pretty sure you need at least those 2.