Rock 5C + Radxa 4K Camera

Hi @kirbizz

You can try this image here: IMX477 / IMX577 / IMX766 on Rock 5 - #10 by avaf, which can also work with IMX415 30 fps. You need to follow the instructions and after you have a useful boot (don’t upgrade yet to kernel 6.1.84) i can prepare the rock5c dtb with imx415 support.

Please note that this image is CLI (command line interface) only, although you have Weston for the graphic applications.

Don’t forget to update mpp with the attached mpp.zip to have gstreamer working.
There is a small how to use the gstreamer there.

Let me know what you decide.

Update:
Here is the rock5c dtb with IMX415 support and a tip:

  • download the file rk3588s-rock-5c.dtb_IMX415.zip attached
  • unzip it
  • copy the file rk3588s-rock-5c.dtb to /boot location
    sudo cp -vfr ./rk3588s-rock-5c.dtb /boot/dtbs/6.1.43-rk3588-v4l2-cam/rockchip/rk3588s-rock-5c.dtb
    sudo reboot

Now you can verify if imx415 is working for this kernel version. If you get a dark and green image you need to downgrade the iqfile, do this:

cd /etc/iqfiles
sudo cp -vfr imx415_CMK-OT2022-PX1_IR0147-50IRC-8M-F20.json imx415_CMK-OT2022-PX1_IR0147-50IRC-8M-F20.json_LATEST
sudo cp -vfr imx415_CMK-OT2022-PX1_IR0147-50IRC-8M-F20.json_old imx415_CMK-OT2022-PX1_IR0147-50IRC-8M-F20.json
sudo reboot

rk3588s-rock-5c.dtb_IMX415.zip (40.2 KB)