Skip to content

Instantly share code, notes, and snippets.

@ximus
Created March 16, 2015 03:24
Show Gist options
  • Save ximus/e8fefaf34d6e734752c1 to your computer and use it in GitHub Desktop.
Save ximus/e8fefaf34d6e734752c1 to your computer and use it in GitHub Desktop.
get flashall.sh to work on osx
--- 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..."
@theladyjaye
Copy link

this worked for me on 10.10.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment