Enable camera and display in iMX8QM M4 core

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Enable camera and display in iMX8QM M4 core

856件の閲覧回数
aniruthKumar
Contributor I

Hi,

I am trying to enable camera (MIPI CSI0) and display (MIPI DSI0) interface in iMX8QM.

Requirement :-

1.Enable MIPI CSI0 and MIPI DSI0 for M4 core (Always up and running)

2.Enable LVDS0 and LVDS1 for Android (Always up and running)

We have enabled MIPI display interface by modifying the below lines in isi_config.h file of rear_view_camera application

isi_config.h in /vendor/nxp/mcu-sdk-auto/SDK_MEK-MIMX8QM/boards/mekmimx8qm/demo_apps/rear_view_camera/cm4_core1

commented the line ==> #define USE_LVDS1

#define DPU_EXAMPLE_DI DPU_DI_LVDS to #define DPU_EXAMPLE_DI DPU_DI_MIPI

We have observed android kernel crash.Please find attached log for more details.

imx8qm-mek-car.dts

#include "imx8qm-mek-car2.dts"

&img_subsys {
status = "disabled";
};

&dc1_subsys {
status = "disabled";
};

&lvds2_subsys {
status = "disabled";
};

&imx8qm_cm40 {
status = "disabled";
};

&vehicle_rpmsg_m4 {
#address-cells = <2>;
#size-cells = <2>;
status = "okay";
ranges;
fsl,resources = <&lvds2_subsys>,
<&dc1_subsys>;

pd_post: imx8qm-pd {
compatible = "fsl,imx8qm-scu-pd-post";
#power-domain-cells = <1>;
};

clk_post: clk1 {
compatible = "fsl,imx8qm-clk-post";
#clock-cells = <2>;
};
};

@joanxie  @Sanket_Parekh @IvanRuiz 

0 件の賞賛
返信
1 返信

831件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Per your log, the error said that your are in a region of memory that is reserved I can not see in the dtb and the rpmb can not initialize, please check it:

ERROR: reserving fdt memory region failed (addr=900ff000 size=1000 flags=4)

Regards

0 件の賞賛
返信