Skip to content

Instantly share code, notes, and snippets.

@geotheory
Forked from ximus/ubilinux-flashall-osx.diff
Last active October 31, 2016 01:11
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geotheory/13b6cc70772bebfe902b to your computer and use it in GitHub Desktop.
Save geotheory/13b6cc70772bebfe902b 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..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment