Reinhard Russinger 1 年之前
父節點
當前提交
44c6f0963f
共有 1 個文件被更改,包括 22 次插入0 次删除
  1. 22 0
      patches/0120-add-update-display-784-adc.patch

+ 22 - 0
patches/0120-add-update-display-784-adc.patch

@@ -0,0 +1,22 @@
+diff --git a/UpdateRootfs.sh.in b/UpdateRootfs.sh.in
+index 19bece2..00abca8 100644
+--- a/UpdateRootfs.sh.in
++++ b/UpdateRootfs.sh.in
+@@ -406,7 +406,7 @@ fi
+ fi
+ 
+ if [ "$XRES" == "416" -a "$YRES" == "1280" ]; then
+-if [ "$BASEBOARD" == "DISPLAY002_784" ]; then
++if [ "$BASEBOARD" == "DISPLAY002_784"  -o "$BASEBOARD" == "DISPLAY002_784_ADC"]; then
+   echo "4.7 x 7.5 Inch long Display 2"
+   sh /root/Display2To_784inch_rs485.sh
+   DONE=1
+@@ -985,7 +985,7 @@ fi
+ fi
+   
+ if [ "\$XRES" == "416" -a "\$YRES" == "1280" ]; then
+-if [ "\$BASEBOARD" == "DISPLAY002_784" ]; then
++if [ "\$BASEBOARD" == "DISPLAY002_784" -o  "\$BASEBOARD" == "DISPLAY002_784_ADC" ]; then
+   echo "15 Inch Display 2"
+   cp \$EMMC_BOOTPATH/Display002_784_rs485.dtb \$EMMC_BOOTPATH/Display001.dtb
+   DONE=1