Hi,
I update my customer camera driver from R28.2.1 to R32.3.1. My camera arch is OV10640->OV490->MAX96705->MAX9286. The image format of camera is 5120x720@25fps YUYV 8bit.But in R32.3.1,It very high probability cannot capture the image data. I confirm MAX9286 generate the right MIPI CSI2 signal(According to max9286 0x27 register,it print in cax02 1-006a: calmcar start stream 0xbf). And in R28.2.1, the same initial configuration is no problem.
Here’s the dmesg log
[ 443.433494] nvcsi 150c0000.nvcsi: deskew timed out for lanes 0x00f0
[ 444.918169] cax02 1-006a: calmcar start stream 0xbf
[ 445.990994] cax02 1-006a: cax02 stop stream,state 0
[ 446.089456] nvcsi 150c0000.nvcsi: deskew timed out for lanes 0x00f0
[ 446.117902] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 446.130823] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 446.139656] cax02 1-006a: serializer_reg_write,err:-121,reg:0x04,val:0x47
[ 446.185950] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 446.197302] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 446.209099] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x82
[ 446.253871] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 446.265177] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 446.273961] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x84
[ 446.317763] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 446.327506] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 446.337309] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x86
[ 446.377730] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 446.386684] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 446.394479] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x88
[ 447.701951] cax02 1-006a: calmcar start stream 0x30
[ 448.775139] cax02 1-006a: cax02 stop stream,state 0
[ 448.873440] nvcsi 150c0000.nvcsi: deskew timed out for lanes 0x00f0
[ 448.901798] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 448.913073] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 448.921500] cax02 1-006a: serializer_reg_write,err:-121,reg:0x04,val:0x47
[ 448.965837] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 448.975688] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 448.983980] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x82
[ 449.025694] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 449.034600] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 449.042294] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x84
[ 449.085687] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 449.094686] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 449.103363] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x86
[ 449.145837] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 449.155598] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 449.164415] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x88
[ 450.485952] cax02 1-006a: calmcar start stream 0x30
[ 451.558940] cax02 1-006a: cax02 stop stream,state 0
[ 451.657430] nvcsi 150c0000.nvcsi: deskew timed out for lanes 0x00f0
[ 451.685698] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 451.696952] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 451.705749] cax02 1-006a: serializer_reg_write,err:-121,reg:0x04,val:0x47
[ 451.753679] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 451.764853] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 451.773667] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x82
[ 451.821654] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 451.831535] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 451.840001] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x84
[ 451.881704] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 451.890811] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 451.898878] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x86
[ 451.941623] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 451.950791] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 451.958701] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x88
[ 453.269808] cax02 1-006a: calmcar start stream 0x30
[ 453.327867] cax02 1-006a: cax02 stop stream,state 0
[ 453.425424] nvcsi 150c0000.nvcsi: deskew timed out for lanes 0x00f0
[ 453.453686] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 453.465544] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 453.474665] cax02 1-006a: serializer_reg_write,err:-121,reg:0x04,val:0x47
[ 453.521653] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 453.533556] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 453.542614] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x82
[ 453.585748] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 453.595884] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 453.604126] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x84
[ 453.645648] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 453.654937] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 453.663117] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x86
[ 453.705601] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 453.714979] tegra-i2c c240000.i2c: no acknowledge from address 0x40
[ 453.722935] cax02 1-006a: serializer_reg_write,err:-121,reg:0x00,val:0x88
[ 455.029808] cax02 1-006a: calmcar start stream 0x30
[ 455.233492] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 455.445464] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 455.657479] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 455.869470] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 456.081476] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 456.293484] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 456.505472] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 456.717496] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 456.929491] tegra-vi4 15700000.vi: ATOMP_FE syncpt timeout!
[ 456.939893] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 458.022937] cax02 1-006a: cax02 stop stream,state 0
I found it call the start_streaming function again and again. Then MAX9286 cannot stream normally expect first.
It seems because of nvcsi 150c0000.nvcsi: deskew timed out for lanes 0x00f0 . So what means ? How to solve it ?
Regards