your information is too limited, I don't know how your camera doesn't work, for capture, the link shows how to use bayer2rgb capture the raw data to file, then you can open the file to check your capture correct or not, because imx8mm couldn't handle raw data, no HW to convert raw data to yuv or rgb, so couldn't preview raw data to the display directly