TK1 MIPI CSI wait for SOF failed

hello, Nvidia guys,

I’m going to develop camera driver with ov7251 image sensor on TK1 platform, with 1-lane configuration:CSI_A_CLK_P/N and CSI_A_D1_P/N. but an issue was raised:

[ 44.891936] video4linux video0: Initial wait for SOF failed!
[ 44.897973] video4linux video0: VI STATUS: 0x00000000
[ 44.903309] video4linux video0: PP STATUS: 0x00000000
[ 44.908602] video4linux video0: CILA STATUS: 0x00000000
[ 44.914027] video4linux video0: CILA CIL STATUS: 0x00000000
[ 44.919894] video4linux video0: CILB STATUS: 0x00000000
[ 44.925213] video4linux video0: CILB CIL STATUS: 0x00000000

we measured the voltage level and clock on both clock and data lane with oscilloscope, it primarily looks right.

Can any Nvidia guys tell me any possible reasons? or are there any registers show it received MIPI signal’s information? for example clock and so on.

thanks and regards

Louris

It probably failed to detect the SOF of MIPI signal.(I grepped the kernel source, but didn’t find such print, so, I was wondering where it prints from and trying to understand in which situation it appears)
Does it get improved if you tune the settle time? TEGRA_CSI_PHY_CILA

Dear nVconan,

this message outputs from tegra_vi2_vidqc file, and it was fixed now, thanks.

Hello louris,

I am facing same error.
[ 64.534375] video4linux video0: Wait for SOF failed!
[ 64.539424] video4linux video0: VI STATUS: 0x00000000
[ 64.544508] video4linux video0: PP STATUS: 0x00000000
[ 64.549588] video4linux video0: CILA STATUS: 0x00000000
[ 64.554847] video4linux video0: CILA CIL STATUS: 0x00000000
[ 64.560467] video4linux video0: CILB STATUS: 0x00000000
[ 64.565722] video4linux video0: CILB CIL STATUS: 0x00000000

can u tell me how u resolve your problem?’

Regards,
Rahul Shah