The MIPI CSI camera is unstable, can not work long with tk-1 linux system crashed after several minutes.

we use tegra tk-1 evaluation board with linux kernel version 3.10.40-l4t-r21.5+g71c
Camera is our own design with Toshiba MIPI chip TC358748AXBG. we modified the driver from one MIPI camera sample.
At VGA mode (640*480), camera can work very long time while several hours later it may cause the TK-1 system crashed.

At our sensor normal mode (12808960). the camera can only last several minutes, Then a little error on data show, Then TK-1 linux system crashed. here is some error message from screen

[ 210.243670] vi vi.0: CSI_A syncpt timeout, syncpt = 9074, err = -11
[ 210.252602] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000000
[ 210.259993] TEGRA_CSI_CSI_CILA_STATUS 0x00000000
[ 210.267487] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
[ 210.274783] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
[ 210.282046] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
[ 210.289504] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
[ 210.296674] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x000000b0
[ 210.304616] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
[ 210.312577] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000004
[ 210.320420] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
[ 210.519696] vi vi.0: CSI_A syncpt timeout, syncpt = 9076, err = -11
[ 210.529533] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000000
[ 210.529538] TEGRA_CSI_CSI_CILA_STATUS 0x00000000
[ 210.529542] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
[ 210.529545] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
[ 210.529549] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
[ 210.529553] TEGRA_CSI_CSI_CIL_E_STATUS 0x00[
U-Boot SPL 2017.03-rc1-00202-gf1cc977 (Feb 10 2017 - 15:36:48)

Any suggestion on Where the error from? Any helps are welcomed.

Sorry, I posted wrong place and repost it here Then I found the adminstrator moved the old one to this forum aready

The log show the short frame. That could be the output size is not as expect.
You can check REG in the TK1 TRM.


Ok. at begin the camera works for several minutes Then this error appear. What can make this error happen? Even with this error we still see the mipi output is active as usual.

This error happens after several minutes normal working. Why the first several minutes no output size problem. Any clues for similiar situation?

This may be the timing not as MIPI spec. You may need to probe to check. Also check the clock mode is continuous mode or discontinuous mode to try different mode.

Sure, That is what I am concerning on.