diff --git a/UpdateRootfs.sh.in b/UpdateRootfs.sh.in index da6b7ea..19bece2 100644 --- a/UpdateRootfs.sh.in +++ b/UpdateRootfs.sh.in @@ -405,6 +405,14 @@ else fi fi +if [ "$XRES" == "416" -a "$YRES" == "1280" ]; then +if [ "$BASEBOARD" == "DISPLAY002_784" ]; then + echo "4.7 x 7.5 Inch long Display 2" + sh /root/Display2To_784inch_rs485.sh + DONE=1 +fi +fi + if [ "$DONE" == "0" ]; then echo "Unknown Display Resolution" fi @@ -419,6 +427,7 @@ echo "restart system !!!" sleep 2 #----------------- reboot +exit 0 fi fi #====================== DoRealUpdate ==== Ende ===== @@ -975,6 +984,14 @@ else fi fi +if [ "\$XRES" == "416" -a "\$YRES" == "1280" ]; then +if [ "\$BASEBOARD" == "DISPLAY002_784" ]; then + echo "15 Inch Display 2" + cp \$EMMC_BOOTPATH/Display002_784_rs485.dtb \$EMMC_BOOTPATH/Display001.dtb + DONE=1 +fi +fi + if [ "\$DONE" == "0" ]; then echo "Unknown Display Resolution" fi