diff options
author | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-05-23 13:26:24 +0200 |
---|---|---|
committer | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-08-08 10:18:08 +0200 |
commit | 5ac9145bafeb12652e910c6bd488ffbec778d016 (patch) | |
tree | aa5a4cd487de6f69f9c991d44a87da587abaa02f /tct | |
parent | a11483934b44f626ec808a5cfc4007e4e825bc60 (diff) | |
download | major-5ac9145bafeb12652e910c6bd488ffbec778d016.tar.gz major-5ac9145bafeb12652e910c6bd488ffbec778d016.tar.bz2 major-5ac9145bafeb12652e910c6bd488ffbec778d016.zip |
Add artik530 and artik710 support
Database update is required. Delete it or run:
. tsp/common.sh
sqlite3 "${DBPATH}" -batch < tsp/results-values-device.sql
Change-Id: I3e9568e11fd35b76cdcdb70809131af9779d5205
Diffstat (limited to 'tct')
-rwxr-xr-x | tct/artik_prepare_flash_conf.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tct/artik_prepare_flash_conf.sh b/tct/artik_prepare_flash_conf.sh index 795cebd..ca88745 100755 --- a/tct/artik_prepare_flash_conf.sh +++ b/tct/artik_prepare_flash_conf.sh @@ -35,6 +35,12 @@ case "$BOOT_IMAGE" in *artik10*) MODEL="artik10" ;; + *artik530*) + MODEL="artik530" + ;; + *artik710*) + MODEL="artik710" + ;; *artik5*) MODEL="artik5" ;; @@ -74,12 +80,7 @@ echo "### flash ###" UUID_FILE="/var/tmp/uuid-${SDMUX}" DEV_SDCARD=$(uuid2dev "${UUID_FILE}" "${SDMUX}") || die "sdcard not found!" -ARTIK_FLASH_SCRIPT_DIR="$(dirname "${ARTIK_FLASH_SCRIPT}")" -cd "${ARTIK_FLASH_SCRIPT_DIR}" -PLATFORM_IMG="${ARTIK_FLASH_SCRIPT_DIR}/tizen-${SDMUX}.tar" -mv "${TMP_TAR}" "${PLATFORM_IMG}" -sudo "${ARTIK_FLASH_SCRIPT}" -d "${DEV_SDCARD}" -m "${MODEL}" -p "tizen-${SDMUX}.tar" -cd "${OLDPWD}" +"${ARTIK_FLASH_SCRIPT}" -d "${DEV_SDCARD}" -m "${MODEL}" -p "${TMP_TAR}" RET=$? change_uuid "${UUID_FILE}" "${DEV_SDCARD}" @@ -93,4 +94,3 @@ dyper_restart "${SDMUX}" "dyper1" echo "### cleanup ###" rm -rf "${T_DIR}" -rm "${PLATFORM_IMG}" |