2. 屏幕模组

2.1. DM-M10R800 V2 MIPI屏模组

2.1.1. 产品参数

  • 型号:M101014_BE45_A1

  • 尺寸:10.1 寸

  • 分辨率:800x1280

  • 显示接口:MIPI

  • 可视角度:160°

  • 触摸屏:多点电容触摸

2.1.2. 参考固件

官方的MIPI固件默认支持MIPI_DSI0 + HDMI显示,MIPI屏连接ROC-RK3568-PC-SE的MIPI_DSI0接口,下面是固件的链接:固件链接

注意: 接入HDMI时,HDMI的两边有可能会有黒边的现象,这是因为HDMI作为副屏会根据主屏MIPI的宽高比进行缩放,如果两者的宽高比不一致,就会导致黒边

2.1.3. 编译命令

用官网 SDK 编译支持的 10.1 寸屏的固件时使用以下命令, 默认编译的固件为MIPI_DSI0+HDMI显示:

./FFTools/make.sh -d rk3568-firefly-roc-pc-se-mipi101_M101014_BE45_A1 -j8 -l rk3568_firefly_roc_pc-userdebug
./FFTools/mkupdate/mkupdate.sh -l rk3568_firefly_roc_pc-userdebug

注意:如果需要支持 CAM-8MS1M 摄像头模组,需要先做如下修改,再编译。

diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3568-firefly-roc-pc-se-mipi101_M101014_BE45_A1.dts b/kernel/arch/arm64/boot/dts/rockchip/rk3568-firefly-roc-pc-se-mipi101_M101014_BE45_A1.dts
index ae57644a105..0cb9124bec8 100644
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3568-firefly-roc-pc-se-mipi101_M101014_BE45_A1.dts
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3568-firefly-roc-pc-se-mipi101_M101014_BE45_A1.dts
@@ -7,6 +7,15 @@
  /dts-v1/;

 #include "rk3568-firefly-roc-pc-se.dtsi"
+/*
+ * Select one of the three
+ * using single camera xc7160 ----> rk3568-firefly-roc-pc-se-cam-8ms1m.dtsi
+ * using dual camera gc2053/gc2093   ----> rk3568-firefly-roc-pc-se-cam-2ms2m.dtsi
+ */
+#include "rk3568-firefly-roc-pc-se-cam-8ms1m.dtsi"
+//#include "rk3568-firefly-roc-pc-se-cam-2ms2m.dtsi"

 / {
     model = "ROC-RK3568-PC-SE MIPI M101014_BE45_A1 + HDMI(Android)";

2.1.5. 实物图

_images/module_display_mipi_DSI0.jpg