Hi,
We got a custom board with a Variscite DART-MX8M SOM attached to it. On our custom board there is a camera sensor streaming RAW12 Mipi data at 980 mbps. We verified the image stream with the test pattern and the sensor streams fine. We're on linux kernel 4.14.78, variscite's branch.
But, after some time (anywhere from a few minutes to a couple of hours) streaming from the sensor, the function mx6s_csi_irq_handler reports RX fifo overflow and keeps pumping this same message out continuously. At this point we're not able to receive any more image data.
This problem persists, turning the stream on and off again doesn't change anything. Even removing all the relevant kernel modules (mx6s_capture, mxc_mipi_csi2_yav and our own custom sensor driver) and loading them back in doesn't change anything. The only thing that works is powering the board on and off.
At first I thought it might be a thermal issue, due to the fact that it is hard to reproduce, but we've had RX fifo overflow happen at cpu temperatures as low as 40 degrees
What could be causing this issue? How could we remedy it? If we can't remedy it, is there any way to reset the CSI bridge to get out of this error state without having to powercycle our board?
Thanks,
Twan
Edit:
Added file to output from dmesg, keep in mind that I changed the dev_warn on the RX fifo overflow bug to dev_err_once, such that it doesn't flood all other messages.