-
-
Save geotheory/13b6cc70772bebfe902b to your computer and use it in GitHub Desktop.
get flashall.sh to work on osx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- flashall.sh | |
+++ (clipboard) | |
@@ -220,15 +220,14 @@ | |
flash-command --alt u-boot-env0 -D "${VARIANT_FILE}" | |
echo "Flashing U-Boot Environment Backup" | |
- flash-command --alt u-boot-env1 -D "${VARIANT_FILE}" -R | |
+ flash-command --alt u-boot-env1 -D "${VARIANT_FILE}" | |
echo "Rebooting to apply partition changes" | |
- dfu-wait no-prompt | |
echo "Flashing boot partition (kernel)" | |
flash-command --alt boot -D "${ESC_BASE_DIR}/edison-image-edison.hddimg" | |
echo "Flashing rootfs, (it can take up to 10 minutes... Please be patient)" | |
- flash-command --alt rootfs -D "${ESC_BASE_DIR}/edison-image-edison.ext4" -R | |
+ flash-command --alt rootfs -D "${ESC_BASE_DIR}/edison-image-edison.ext4" | |
echo "Rebooting" | |
echo "U-boot & Kernel System Flash Success..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment