summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Beare <bruce.j.beare@intel.com>2016-03-03 09:48:45 -0800
committerBruce Beare <bruce.j.beare@intel.com>2016-03-04 10:00:41 -0800
commitdc1d75796596bcad35bf1e569b4f49e53470b857 (patch)
tree2dbccd32c2d4b8b28a10cc38872b914de0835dde
parenta6e75d9cea1e6f89871d9c7235a0a9a088a2deb8 (diff)
downloadedison-dc1d75796596bcad35bf1e569b4f49e53470b857.tar.gz
fastboot: use set_active instead of oem
BUG=none Change-Id: Ib78d91604b4c89e5ffd33e7611dc8226c97fa62a Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
-rw-r--r--flash_tools/FlashEdison.json2
-rwxr-xr-xflash_tools/brillo-flashall-edison.bat2
-rwxr-xr-xflash_tools/brillo-flashall-edison.sh4
3 files changed, 4 insertions, 4 deletions
diff --git a/flash_tools/FlashEdison.json b/flash_tools/FlashEdison.json
index 4309b56..16724c5 100644
--- a/flash_tools/FlashEdison.json
+++ b/flash_tools/FlashEdison.json
@@ -97,7 +97,7 @@
"description": "Setting slot 0 active",
"timeout": 1200000,
"tool": "fastboot",
- "args": "oem set_active 0"
+ "args": "set_active _a"
},
{
"restrict": ["full", "os", "update"],
diff --git a/flash_tools/brillo-flashall-edison.bat b/flash_tools/brillo-flashall-edison.bat
index 4f17f5d..b6e8b90 100755
--- a/flash_tools/brillo-flashall-edison.bat
+++ b/flash_tools/brillo-flashall-edison.bat
@@ -25,4 +25,4 @@ fastboot flash system_a system.img
fastboot flash boot_b boot.img
fastboot flash system_b system.img
fastboot flash userdata userdata.img
-fastboot oem set_active 0
+fastboot set_active _a
diff --git a/flash_tools/brillo-flashall-edison.sh b/flash_tools/brillo-flashall-edison.sh
index 761301b..81e54c1 100755
--- a/flash_tools/brillo-flashall-edison.sh
+++ b/flash_tools/brillo-flashall-edison.sh
@@ -41,5 +41,5 @@ fastboot flash gpt "${VENDOR}"/gpt.bin \
flash boot_b "${OS}"/boot.img \
flash system_b "${OS}"/system.img \
flash userdata "${OS}"/userdata.img \
- oem set_active 0 "$@"
-
+ set_active _a \
+ "$@"