Rock960C + AISTARVISION MIPI adapter v2.1 = i2c failure?

Dear 96boards,
Here I am come back again for solve my issue that cannot recognize cameras on Rock960C board.

My condition:

  • Rock960C (4GB memory + sdcard, eMMC not used for now)
  • AISTARVISION MIPI adapter v2.1
  • ov5645 x 2
  • Rock960 uboot + kernel + rootfs for AARCH64 (arm64) build

Adapter config:


Dip switch followed to Setting up CSI camera with Rock960 Model A&B board - 96Boards

dmesg failure:

linaro@linaro-alip:~$ dmesg | grep ov5645
[    1.562072] ov5645 2-003c: GPIO lookup for consumer reset
[    1.562080] ov5645 2-003c: using device tree for GPIO lookup
[    1.562134] ov5645 2-003c: GPIO lookup for consumer pwdn
[    1.562140] ov5645 2-003c: using device tree for GPIO lookup
[    1.562187] ov5645 2-003c: Looking up avdd-supply from device tree
[    1.562196] ov5645 2-003c: Looking up avdd-supply property in node /i2c@ff120000/camera-module@3C failed
[    1.563364] ov5645 2-003c: Looking up dovdd-supply from device tree
[    1.563372] ov5645 2-003c: Looking up dovdd-supply property in node /i2c@ff120000/camera-module@3C failed
[    1.564488] ov5645 2-003c: Looking up dvdd-supply from device tree
[    1.564496] ov5645 2-003c: Looking up dvdd-supply property in node /i2c@ff120000/camera-module@3C failed
[    1.565656] ov5645 2-003c: could not get sleep pinstate
[    1.604835] ov5645 2-003c: Detected OV005645 sensor, REVISION 0x5645
[    1.611273] ov5645 6-003c: GPIO lookup for consumer reset
[    1.611284] ov5645 6-003c: using device tree for GPIO lookup
[    1.611373] ov5645 6-003c: GPIO lookup for consumer pwdn
[    1.611383] ov5645 6-003c: using device tree for GPIO lookup
[    1.611451] ov5645 6-003c: Looking up avdd-supply from device tree
[    1.611464] ov5645 6-003c: Looking up avdd-supply property in node /i2c@ff150000/camera-module@3C failed
[    1.612673] ov5645 6-003c: Looking up dovdd-supply from device tree
[    1.612685] ov5645 6-003c: Looking up dovdd-supply property in node /i2c@ff150000/camera-module@3C failed
[    1.613856] ov5645 6-003c: Looking up dvdd-supply from device tree
[    1.613868] ov5645 6-003c: Looking up dvdd-supply property in node /i2c@ff150000/camera-module@3C failed
[    1.615135] ov5645 6-003c: could not get sleep pinstate
[    1.621040] ov5645 6-003c: Error applying setting, reverse things back
[    1.622249] ov5645 6-003c: could not set pins
[    2.662566] ov5645 6-003c: Unexpected sensor id(000000), ret(-5)
[    2.664216] ov5645: probe of 6-003c failed with error -5

What should I need to do ? Changes pin state for where ?
It occurs many failures, but I can’t sens what I need to do for now.
Any help may great for me.

Regards, Raph.

Anyone who helps fix this error ?
Anybody ??

Hi @Raph_K,

For using 2 cameras you need to connect pins 1,2 and 7,8 of J14 header for providing CSI clock from SoC.

Thanks,
Mani

Dear @Mani
Thank you for your graceful advice !
Regards, Raph.

Hi @Raph_K,

Did it solve your issue? If so, please mark my answer as solved so that others can easily find the solution.

Thanks,
Mani

Dear @Mani
Nope. It still occurs errors by pin adjusting 1+2, 7+8 at J14.
image

Can you please share the full log?

Dear @Mani
Here’s dmesg after fresh boot.

Regards, Raph.

Dear @Mani
Do you have any news ?
Regards, Raph.

I found answer by myself.

“THIS AISTARVISION BOARD NEVER WORKS CORRECTLY WITH ANY ROCK960 BOARD”.

For people who consider buying AIStarVision stereo camera board : Do not buy this.

May Rock960a/b/c board was not designed correctly, or AIStarVision not designed either.
Whatever it is, AIStarVision 2.x board may not suitable to use cameras.

Me made exclusive stereo camera adaptor board, and now it works within 30fps with 5MP camera from OnSemi at 4lanes x 2 cameras.
Rock960a/b/c works great but AIStarVision is not. it is useless !