i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue Hi Team, We are using a custom i.MX95 board with the OV5640 camera sensor and are facing an issue when the camera is connected to CSI1 on Android Automotive 16. The hardware design has already been validated: - CSI0 and CSI1 work correctly with Linux 6.18.20. - CSI0 and CSI1 also work correctly with Android 16 based on Linux 6.18.20. - The issue is observed only with Android Automotive 16 based on Linux 6.18.20. Observations: - CSI0 works without any issues. - CSI1 fails to start streaming. - We tested CSI1 independently. - We also disabled NEO ISP and tested with the ISI pipeline only, but the issue persists. Observed errors: LIBCAMERA: Failed to start streaming: Connection timed out LIBCAMERA: 'mxc_isi.0': Unable to set format on pad 0/0: Device or resource busy Log and media-ctl validation results are attached for reference. Has anyone encountered a similar CSI1 issue on i.MX95 EVK or Android Automotive 16? Any suggestions, fixes, patches, or confirmation of CSI1 validation on the EVK would be greatly appreciated. Thanks, Maruti Naik Evaluation Board Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue Hi, We have verified that the kernel DTS configuration is correct. The current Android Automotive 16 BSP is also based on Linux 6.18.20, and the same DTS configuration is working without any issues in the Linux 6.18.20 BSP. We have also successfully tested and validated the CSI1 with OV5640 camera in Android Automotive 15 BSP. Could you please confirm whether there are any restrictions or limitations on CSI1 camera support in the latest Android Automotive 16.0.0_2.1.0 BSP? Are any additional changes required to enable CSI1 camera support in this release? Kindly clarify. Regards, Maruti Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue I checked AAOS, which support csi0 as default, current bsp doesn't support mipi dsi/csi for camera, you should change the dts, camera configure, did you change anything? if yes, share the detailed your changed steps and code Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue Hi @joanxie Any update on this issue? Kindly share your findings or provide some technical guidance to help us resolve the CSI1 camera issue. Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue Dear @joanxie Yes, our B0 board design is based on the NXP i.MX95 19x19 EVK. For your information, the same hardware is working with Linux 6.18.20 and Android 16 based on Linux 6.18.20. Both CSI0 and CSI1 (CSI-DSI combo) are working with dual OV5640 cameras. We are using Android Automotive 16.0.0_2.1.0 (based on 6.18.20_2.0.0 BSP), which uses the same kernel version and kernel configurations. However, with the Android Automotive 16.0.0_2.1.0 BSP, the OV5640 camera is working on CSI0, but the OV5640 camera on CSI1 (CSI-DSI combo) is not working. The logs have already been shared. We currently do not have an i.MX95 B0 EVK board available (we have an A1 EVK board), so we are unable to test this on the EVK. It would be helpful if you could test the CSI1 (CSI-DSI combo) with any supported camera on the NXP i.MX95 19x19 EVK B0 board using the latest Android Automotive 16 BSP and share your findings. Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue Hi Maruti
did your board design based on imx95 evk board? if yes, did you reproduce this on nxp imx95 evk board? and what detailed auto android 16 bsp version? 1.1.0 or 1.3.0?
B.R.
Joan Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue I will double confirmed this from android auto team again, but they didn't say auto android 16 has any limitation before, based on your test result, it seems this issue is related to the auto android 16 Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue Hi, In our testing, on the Android Automotive 15 BSP, both CSI0 and CSI1 cameras worked correctly with both the Car image (EVS running on the M7 core) and the Car2 image (EVS running on the A55 core). On Android Automotive 16 BSP, with the Car image (EVS running on the M7 core), CSI0 works, but CSI1 does not. However, with the Car2 image (EVS running on the A55 core), both CSI0 and CSI1 work correctly. Could you please check if any background process in the Car image is accessing or holding CSI1, preventing the camera from working? Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue Dear @joanxie, I have one update regarding the CSI1 camera issue. With the Car2 image, both CSI0 and CSI1 cameras are working fine. However, with the Car image, we are still facing an issue getting the CSI1 camera working. Kindly help us investigate and resolve the CSI1 camera issue in the Car image. Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue Dear @joanxie, Thank you for your support. Could you please provide any workaround or patch to enable CSI1 (DSI-CSI combo) support for camera validation on Android Automotive 16.0.0_2.1.0? Your assistance would be highly appreciated. Best regards, Maruti Naik Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue Dear @joanxie We are currently using the Car image and are not focusing on EVS for now. Our requirement is to enable and validate the CSI1 camera directly through the Camera application. Kindly help us resolve the CSI1 camera issue Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue I don't think auto android team tested csi1 before, since the default is for csi0 only, did you need EVS and Camera APK functions ? and did you use Car2 image type? Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue what do you mean car2 image? do you mean with EVS in Arm Cortex-A core? since you tested on auto android 15 successfully, what do you test on auto android 15? do you mind sharing your patches to double check? Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue could you give me the two log files for car2 and car image? only for csi1, and could you try try to use the same CM7 FW version from AA15 to AA16.0 2.1.0? Re: i.MX95 Android Automotive 16 CSI1 Ov5640 Camera Issue Hi, We were able to isolate the issue. It was caused by the rearview camera demo running on the M7 core in the CAR image. We have identified the code causing the CSI1 busy error and isolated it for now. We also confirmed that both cameras are working in the Camera app and evs_app with dual-camera support. Regards, Maruti
View full article