IMX577 on Rock 5

Today i received an IMX577 camera sensor that i had planned to interface it with Rock 5 (B/C).
I was preparing myself for the torture of getting something out of the sensor, based on the information that there is some compatibility with IMX477. Also, there appears to be a Rockchip driver in the kernel tree, so that might help.

The problem is the vendor announced it as a camera module for Raspberry Pi 4, 15 PIN but the FPC cable is 0.5mm pitch (or 0.3mm, not sure), so i need an adapter.

Does anyone know if there is an FPC adapter, 15P 0.5mm pitch to 1.0 mm pitch?

@radxa team, any chance we will see an imx577 camera module with CS mounting bracket for the Rock 5 series?

1 Like

We heard your voice :slight_smile: Let’s just make it. We have a new platform upcoming, which we will support the imx577 by default. It’s time to customize a imx577 sensor.

1 Like

You can use this adapter cable to use the RPi 15pin camera on Radxa 31pin CSI:

https://radxa.com/products/accessories/fpc-cable-008/

Hi Jack,
It’s great to hear about the imx577 support. Let me know when you have a prototype.

Regarding the adapter, it is impossible to use the 15P FPC cable, let’s wait for the Radxa solution.


But for IMX477, yes, it works great.

Hi ninja, could you point me to a way to use IMX477 with Rock 5C?Is there any link available explaining how it works? Thanks in advance.

You need that adapter cable (from Radxa) and the rpi acrylic case for the HQ camera as in the photo.
You can also refer to the work done by @Monstrofil in his post here: Connect Arducam HQ Camera to ROCK5B

I don’t have written instructions but this weekend i can provide it, i just need to clean up my desk and organize things here, it’s a mess.

You need to build the driver (kernel) and prepare the overlay (i don’t use overlay, but i think the imx219 overlay can be adjusted).

I will prepare a patch based on radxa kernel, maybe they can build an image.

Thank you ninja, this is really helpful, I also responded to you on the linked thread, I really look forward to your instructions, even a brief one, as I have not sufficient time to work these things out all by myself.

Here is a patch for imx477 that can be applied to rk kernel 6.1.
I added a dtb property to start the driver in a specific mode.

3 modes are available:

/* camera-mode = <0>;  10fps - full, 1 - 3K 40fps, 2 - 2K 50fps, 3 - 1K 120fps */
/* mode: 0 - 4048x3040 10 fps */
/* mode: 1 - 2016x1520 40 fps */
/* mode: 2 - 2016x1080 50 fps */

I am struggling to get an overlay working, but i am finishing my Ubuntu 22.04 CLI (Weston) image and am willing to share it as soon as i get a lean and mean image for Rock5C.

If you want to apply the patch, it is like this:

  • download radxa kernel
  • unzip the file into the kernel tree
  • apply this patch
    git apply 0001-Add-support-for-imx477-HQ-camera.patch
    git apply 0002-Add-support-for-imx477-HQ-camera.patch

imx477_patch.zip (15.8 KB)

in the config, add:
CONFIG_VIDEO_IMX415=y
CONFIG_VIDEO_IMX464=y
CONFIG_VIDEO_IMX477=y

Huge thanks my friend, I haven’t had much experience playing with Linux kernels but your instruction appears to be very concise and clear, I will definitely try this once I get my hands free from some work stuff lately, and let you know the outcome.
Otherwise I’ll have to program a socket and send the frames from a RPi 4B over ethernet or serial to the ROCK 5, lol