Hi,
We are currently working on the IMX8M-MINI board for bringing up the camera module IMX298.
Here the issue is that the RAW10 format is not supported in IMX8MM MIPI-CSI capture driver.
Is it possible?
Can you please share me, how to add the RAW10 patches in the MIPI-CSI capture driver?
IMX298 support RAW8/10, Our driver has been configured with the below format and tried to stream the camera but it got failed.
MEDIA_BUS_FMT_SRGGB10_1X10 => MIPI-CSI capture driver doesn't have the configuration
MEDIA_BUS_FMT_SBGGR8_1X8 => MIPI-CSI capture driver support this format
In my imx298 driver code, we have tried to configure in RAW8 in the mbus_code "MEDIA_BUS_FMT_SBGGR8_1X8" but we are failed to stream the camera.
Can you please share the procedure to capture the raw image in a specific format RAW8/RAW10 and include the addition of RAW10 patches in the IMX8MM MIPI-CSI capture driver?
Thanks in Advance.
Joan,
Connecting the IMX298 camera module to the IMX8MM evk board we have an issue in the below lines.
1. CSI RX FIFO overflow occured
2. How to check my IMX8MM configured as MIPI-CSI2 interface? Observed the drver difference between the IMX8QXP and IMX8MM.
Next step:
We are connected the IMX298 module to the IMX8QXP board.
Added the RAW10 patches on my own in the kernel BSP 5.4.24.
Able to capture the stream and got the ISI interrupt and raw image file also captured.
Attached the raw file there is data available but only the lines are displayed.
Using the below command
v4l2-ctl --device=/dev/video0 --set-fmt-video=width=1476,height=834,pixelformat=RG10 --stream-mmap --stream-count=1 --stream-to=output.raw
Please give us the support to stream the camera in at-least in the IMX8QXP platform?
@joanxie
already replied to you in your another thread
https://community.nxp.com/t5/i-MX-Processors/RAW10-image-capture-in-IMX8QXP-B0-board/td-p/1998494
Joan,
We tried calling the below steps in the irq_handler functions but still the same RX FIFO overflow occurs?
1)Disable the CSI, 2)Clear the RX FIFO,3) Reflash the DMA controller, 4) then enable CSI
Could you please tell me about the imx298 tested with NXP platforms? If they are tested can you please tell the name of the platforms?
Joan,
As per you told the m4 code running in the IMX8MM EVK board but the code is hanging in the below function while streaming the camera.
Below API:
result = rpmsg_queue_recv_nocopy(csim_rpmsg, csim_queue, (unsigned long *)&remote_addr, (char **)&rx_buf, &len,
timeout);
As well we tested the example codes of Multocore example code ping pong between the M4 and A7 is working successfully.
you can refer to the link as below