Hello, we are trying to integrate a 1600x1400@30fps 2 lane MIRA220 camera on a i.MX8MM, and so far we have been able to succesfully obtain RAW12 and RAW10 frames.
However, when we try to obtain RAW8 frames we get the dreaded 'base address switching change error' message from the mx6s_capture.c driver.
Now, by applying the patch mentioned on this post by NXP user 'joanxie'
https://community.nxp.com/t5/i-MX-Processors/IMX8MM-Camera-IMX298-module-bringup/m-p/1986712
static int mx6s_csi_enable(struct mx6s_csi_dev *csi_dev)
if (pix->field == V4L2_FIELD_INTERLACED)
csi_tvdec_enable(csi_dev, true);
+ else
+ csi_tvdec_enable(csi_dev, false);
/* For mipi csi input only */
if (csi_dev->csi_mipi_mode == true) {
We have been able to get rid of that error and obtain frames, but these do not look good at all.
Here we see a diagonal gradient test pattern obtained when using RAW12 which is correct:

And here what we are obtaining when using RAW8:

This other image also shows a RAW8 picture. It looks like the channels are displaced? as you can kind of see the face "split up".

We have also tried applying the patch mentioned by NXP employee 'haidong_zheng' here:
https://community.nxp.com/t5/i-MX-Processors/MIPI-Camera-Frame-corruption-in-IMX8MM-when-MIPI-DOUBLE...
But this is what we obtain with the test pattern:
