Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/scripts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f1162c2
Choose a base ref
...
head repository: m-labs/scripts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6a796e9
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Nov 29, 2011

  1. reflash_m1.sh snapshot: don't flash data by default

    Xiangfu Liu committed Nov 29, 2011
    Copy the full SHA
    cb85ec0 View commit details
  2. update the power-on message

    Xiangfu Liu committed Nov 29, 2011
    Copy the full SHA
    6a796e9 View commit details
Showing with 7 additions and 2 deletions.
  1. +7 −2 scripts/reflash_m1.sh
9 changes: 7 additions & 2 deletions scripts/reflash_m1.sh
Original file line number Diff line number Diff line change
@@ -174,7 +174,7 @@ EOF
echo "-------------------------------------------------------------"
echo "jtag batch file is ${JTAG_BATCH_FILE}"
echo "Your m1 was successfully reflashed. To boot the new software,"
echo "Please now press the middle button of your Milkymist One."
echo "Please re-plug the power cable of your Milkymist One."
echo "-------------------------------------------------------------"

}
@@ -283,7 +283,12 @@ if [ "$1" == "--snapshot" ]; then
call-download
fi

call-jtag $1 "${WORKING_DIR}/${DATA}"
if [ "$3" == "data" ]; then
call-jtag $1 "${WORKING_DIR}/${DATA}"
else
call-jtag $1
fi

exit 0
fi