MIPI-CSI IMX214 on Linux NO SUCCESS
#1
Hi,

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. Usually we run Dietpi and achieve uptimes without hickups of over 100 days. The boards are passively cooled with a custom made thermoblock and heatpipes to the casing - very stable operation.

For our new project we want to move the imx214 sensors over the MIPI-CSI interface. Here is where the trouble starts:

The only image with working camera suuport is the old android build based on 4.19 (or so). Since kernel 5.11 the rockisp is out of staging and moved into mainline support. Also IMX214 (the one from the store) has support from the mainline kernel.

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.

Did someone get it to work, there are very little resource out there ...

here some links:
https://gitlab.collabora.com/koike/linux...1017484cd2
https://www.reddit.com/r/PINE64official/...ux_driver/
https://forum.pine64.org/showthread.php?tid=5785
https://wiki.pine64.org/wiki/ROCKPro64_Software_Release
https://www.armbian.com/rockpro64/#kernels-archive-all
https://docs.armbian.com/Hardware_Rockchip/

https://github.com/MichaIng/DietPi/issues/3360

i would be glad about any hints.

best,
z
  Reply
#2
(02-04-2022, 02:11 AM)zeus666 Wrote: Hi,

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. Usually we run Dietpi and achieve uptimes without hickups of over 100 days. The boards are passively cooled with a custom made thermoblock and heatpipes to the casing - very stable operation.

For our new project we want to move the imx214 sensors over the MIPI-CSI interface. Here is where the trouble starts:

The only image with working camera suuport is the old android build based on 4.19 (or so). Since kernel 5.11 the rockisp is out of staging and moved into mainline support. Also IMX214 (the one from the store) has support from the mainline kernel.

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.

Did someone get it to work, there are very little resource out there ...

here some links:
https://gitlab.collabora.com/koike/linux...1017484cd2
https://www.reddit.com/r/PINE64official/...ux_driver/
https://forum.pine64.org/showthread.php?tid=5785
https://wiki.pine64.org/wiki/ROCKPro64_Software_Release
https://www.armbian.com/rockpro64/#kernels-archive-all
https://docs.armbian.com/Hardware_Rockchip/

https://github.com/MichaIng/DietPi/issues/3360

i would be glad about any hints.

best,
z

I am hoping to hear something soon about this as well, so if you did figure out how to get this working on a Linux image please let me know!! CHEERS!!
  Reply
#3
(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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 7 1,253 11-19-2024, 02:54 PM
Last Post: mara
  Linux 5.15 Kernel - openSuse mark1250 0 1,567 12-02-2021, 04:36 PM
Last Post: mark1250
  Alpine Linux isndw 12 20,359 08-12-2021, 05:41 PM
Last Post: pix
Lightbulb RK3399 Linux rtl8822cu module bluetooth not working shivarj89 0 1,631 07-29-2021, 07:19 AM
Last Post: shivarj89
Information Linux Mainline ayufan 63 107,020 05-14-2021, 10:41 AM
Last Post: Wizzard
  Linux Images (ROCK64) pineadmin 164 319,599 02-12-2021, 10:14 AM
Last Post: useful64
  Arch Linux Arm --> Kernel 5.8 breaks installation as365n4 12 14,286 08-31-2020, 01:41 AM
Last Post: as365n4
  Arch Linux ARM on the Rock64 V3 justinweiss 2 5,571 08-24-2020, 05:16 PM
Last Post: justinweiss
  Arch Linux Arm - external RTC problem max 1 3,373 08-17-2020, 10:35 AM
Last Post: max
Sad Is there a none-headless Linux OS that really works now for Rock64? AkiraSensei 7 11,070 07-09-2020, 10:02 PM
Last Post: nethammer

Forum Jump:


Users browsing this thread: 1 Guest(s)