Dear Team,
SW: Android Automotive 13.0.0_1.1.0
HW: iMX8QM MEK
Application core : Android
M4 core : Free RTOS
Please refer the below table.
I need to run below requirements simultaneously.
Requirement 1: I need to drive 2 displays from Android (LVDS0_CH0, MIPI_DSI1)
Requirement 2: I need to drive 2 displays from FreeRTOS (HDMI_TX, LVDS1_CH0)
Is it possible? If so, can you help with the changes required.
Reference : 8.3.2 Enabling multiple-display function
Board | Number of displays | Display port |
i.MX 8QuadMax MEK | 4 | HDMI_TX, LVDS0_CH0, LVDS1_CH0, MIPI_DSI1 |
Optional | 4 | LVDS0_CH0 and LVDS1_CH0, MIPI_DSI0 and MIPI_DSI1 |
Best regards
Jose.
Hello @Jose1985
Dear @Sanket_Parekh ,
Thank you for confirming. However, I need the details from DTS file point of view
Could you let me know what is the combination of DPU's to port mapping? DPU1 mapped to which ports and DPU2 mapped to which ports?
This is our detailed requirement:
Android runs on 6 A-core (2 A-73 & 4 A-53) : I want to drive LVDS-0 (1920x1080) & MIPI-0 (1920x720) from Android
FreeRTOS run on 2 M4-core : I want to drive LVDS-1 (800x400) & HDMI Tx/MIPI-1 (800x400) from FreeRTOS
Could you help me with the DTS modification that I need to do in Android kernel to enable only LVDS0 & MIPI0 ?
Best regards,
Jose
Dear @Sanket_Parekh ,
I tried following points :
However, when Android boots up, for some reason the display/camera goes down and the LVDS1 screen is blank. We suspect that there is some thing happening at vehicle_rpmsg_m4 driver is doing something without any specific logs. Do you have any idea why it happens?
Our requirement is to
Best regards
Jose
Hello @Jose1985 ,
I hope you are doing well.
->Please make sure to check the CSI0 configuration, also check the csi0 is being used by m-4 only.
->If one is capturing it by a-53 and then passing it by rpmsg to m4.
->Please share the CSI0 configurations.
Thanks & Regards,
Sanket Parekh
Dear @Sanket_Parekh ,
LVDS1 & CSI0 is initially used by M4 core by rear_view_camera app.
However, when Androdi boots up vehicle_rpmsg_m4 driver inserts fsl,resource such as &lvds1_subsys, &dc1_subsys & img0_subsys from notice_evs_release.
My question is,
Could you please let me know which node to enable for MIPI-DSI0 in DTS file so that vehicle_rpmsg_m4 doesn't affect LVDS1 output from m4?
Best regards
Libin Jose
Hello @Jose1985 ,
I hope you are doing well.
Please accept my apology for the delayed response.
->DC1_subsys0 is a power domain that controls the MIPI-DSI0 controller.
->LVDS1 controller is controlled by the lvds1_subsys node.
&mipi_dsi0 {
compatible = "fsl,imx8qm-mipi-dsi";
status = "okay";
};
This will enable the MIPI-DSI0 controller and allow Android to use it. The LVDS1 controller will not be affected by this change.
I hope this helps!
Thanks & Regards,
Sanket Parekh
Dear @Sanket_Parekh ,
It doesnt seems to work. Can you please let me know how can we enable all.display for Android. this means I need 4 displays lvds0, lvds1, dsi0 & dsi1.
Best regards
Jose
Hello @Jose1985 ,
I hope you are doing well.
"It doesn't seems to work. Can you please let me know how can we enable all? display for Android. this means I need 4 displays lvds0, lvds1, dsi0 & dsi1"
->Please check the all the port nodes in the device tree are enabled or not.
If not then please make it okay instead of disabled.
status="okay"
The driver for the LVDS panel is drivers/gpu/drm/panel/panel-simple.c
Therefore one needs to enable CONFIG_DRM_PANEL_SIMPLE=y in the defconfig.
I hope it helps!
Thanks & Regards,
Sanket Parekh
Dear Sanket,
I tried this option but for Android the display is coming from LVDS0_CH0 (Primary) and LVDS1_CH0 (Secondary).
But my requirement is slightly different:
For Android, I need LVDS0_CH0 & MIPI_DSI0
For RTOS, I need LVDS1_CH0 & HDMI
Is this combination possible? Basically, I need to drive 2 display from Android simultaneously and 2 display from FreeRTOS
Best regards
Jose
Hello @Jose1985
I hope you are doing well.
->Please refer to section 8.3.2 Enabling multiple-display function in the Android user guide.
https://www.nxp.com/docs/en/
I hope this information helps!
Thanks & Regards,
Sanket Parekh