0120-add-update-display-784-adc.patch 777 B

12345678910111213141516171819202122
  1. diff --git a/UpdateRootfs.sh.in b/UpdateRootfs.sh.in
  2. index 19bece2..00abca8 100644
  3. --- a/UpdateRootfs.sh.in
  4. +++ b/UpdateRootfs.sh.in
  5. @@ -406,7 +406,7 @@ fi
  6. fi
  7. if [ "$XRES" == "416" -a "$YRES" == "1280" ]; then
  8. -if [ "$BASEBOARD" == "DISPLAY002_784" ]; then
  9. +if [ "$BASEBOARD" == "DISPLAY002_784" -o "$BASEBOARD" == "DISPLAY002_784_ADC"]; then
  10. echo "4.7 x 7.5 Inch long Display 2"
  11. sh /root/Display2To_784inch_rs485.sh
  12. DONE=1
  13. @@ -985,7 +985,7 @@ fi
  14. fi
  15. if [ "\$XRES" == "416" -a "\$YRES" == "1280" ]; then
  16. -if [ "\$BASEBOARD" == "DISPLAY002_784" ]; then
  17. +if [ "\$BASEBOARD" == "DISPLAY002_784" -o "\$BASEBOARD" == "DISPLAY002_784_ADC" ]; then
  18. echo "15 Inch Display 2"
  19. cp \$EMMC_BOOTPATH/Display002_784_rs485.dtb \$EMMC_BOOTPATH/Display001.dtb
  20. DONE=1