I have a custom board with an iMX8 Quad Max and a max9286 deserializer. The OS is built with yocto starting from the release L4.14.98_2.0.0_ga.
Using a sensor (AR0231) that outputs RAW12 pixels, I managed to get an image but with a very strange colors using gstreamer. I discovered that probably gstreamer does not support bayer/raw format on 12bits. But also capturing a single frame with v4l2-ctl gets a really strange.
I was wondering:
- If the CSI has to be told which pixel format is used. I saw that there is a register called CSI2SS_DATA_TYPE inside the file mxc-mipi-csi2.c, but if I modify it it stops working.
- If anyone of you did a similar task which steps you followed.