--- /dev/null
+#!/bin/bash
+#---------------------------------------------------------#
+# Upgrade Automation Script
+# (Tizen 4.0 Upgrade)
+#
+# Preconditions
+# * tota-upg
+# * This script should accompany below script:
+# write-version.sh
+#
+# Upgrade procedure
+# 1. Download images (old, new)
+# 2. Download old image to target
+# 3. Generate delta
+# 4. Download delta to target
+# 5. Execute upgrade trigger
+#
+# This script covers steps after delta (4, 5 step)
+#
+#---------------------------------------------------------#
+
+# Get argument
+if [ $# -lt 2 ]; then
+ echo "Usage: upgrade-automation.sh TOTA_UPG_PATH TARGET"
+ echo " TARGET> rpi3 | tw1"
+ exit
+fi
+
+TOTA_UPG_PATH=$1
+TARGET=$2
+TOTA_UPG_TARGET=${TOTA_UPG_PATH}/mk_delta/${TARGET}
+
+# 4. Download delta to target
+DELTA_DIR=$(ls -1d ${TOTA_UPG_TARGET}/result/* | tail -1)
+sdb -d push ${DELTA_DIR}/FW_DELTA/delta.tar ${TOTA_DIR}
+
+# 5. Execute upgrade trigger
+sdb -d shell /usr/bin/upgrade-trigger-${TARGET}.sh ${TOTA_DIR}/delta.tar