as I known, i.mx8m doesn't support rgb888 in the default bsp, how did you change the source code to support rgb888?
as I known, To support 720P60 RGB888 MIPI camera on L4.14.78, configure CSICR18. PARALLEL24_EN=1, and CSICR3.TWO_8BIT_SENSOR=0. did you set them correctly?
besides of this, for the csi fifo errata, from the development team:
Title: MIPI CSI: Receive FIFO Overflow may lead to system hang
Errata Description:
When receive FIFO data in MIPI CSI can not be written to memory in time if the system is heavily loaded with DDR memory requests, overflow will happen. It may lead to illegal AHB bus access at CSI AHB master port and then causes system hang.
Note that the possibility of MIPI CSI1 overflow will be lower than MIPI CSI2. MIPI CSI1 can support 4 outstanding write transition, however MIPI CSI2 can support 2 outstanding write transition. So MIPI CSI1 will realize more memory bandwidth.
Errata Workaround
The recommended workaround for this erratum is to avoid MIPI CSI overflow happen. Two undocumented debug registers can be used to monitor CSI FIFO levels in real time. When FIFO reaches one threshold, disable CSI and restart CSI.
For example, create one program on M4 core to monitor CSI FIFO level and do as follows:
- Read the CSI FIFO debug registers: Register CSI1_CSICR19 (0x30A9_004C) for MIPI CS1 or register CSI2_CSICR19 ( 0x30B8_004C) for MIPI CSI2
- If the value of register CSIx_CSICR19 is larger than 192, Set register CSI_PHY_CTL_REG (0x30A7_0104 for MIPI CS1 or 0x30B6_0104 for MIPI CSI2) as 0xff to restart CSI.
- Wait for 3us. Jump to step 1).