Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

reflash_m1.sh mv the lockflash to the end of command series

  • Loading branch information...
commit 9ccaf07a6e9d0d9f7251bf45e81ef67f9ab7cea4 1 parent c0bf07d
Xiangfu Liu authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 scripts/reflash_m1.sh
6 scripts/reflash_m1.sh
View
@@ -1,7 +1,7 @@
#!/bin/bash
# version of me
-__VERSION__="2011-08-28"
+__VERSION__="2011-10-14"
echo "File name: $0, Version of me: ${__VERSION__}"
@@ -124,13 +124,12 @@ EOF
echo "eraseflash 0x000000 105" >> ${JTAG_BATCH_FILE}
echo "flashmem 0x000000 ${WORKING_DIR}/${STANDBY} ${JTAG_NOVERIFY}" >> ${JTAG_BATCH_FILE}
+
echo "flashmem 0x0A0000 ${WORKING_DIR}/${SOC_RESCUE} ${JTAG_NOVERIFY}" >> ${JTAG_BATCH_FILE}
echo "flashmem 0x220000 ${BIOS_RESCUE_PATH}/${BIOS_RESCUE} ${JTAG_NOVERIFY}" >> ${JTAG_BATCH_FILE}
echo "flashmem 0x240000 ${WORKING_DIR}/${SPLASH_RESCUE} ${JTAG_NOVERIFY}" >> ${JTAG_BATCH_FILE}
echo "flashmem 0x2E0000 ${WORKING_DIR}/${FLICKERNOISE} ${JTAG_NOVERIFY}" >> ${JTAG_BATCH_FILE}
- echo "lockflash 0x000000 55" >> ${JTAG_BATCH_FILE}
-
echo "flashmem 0x6E0000 ${WORKING_DIR}/${SOC} ${JTAG_NOVERIFY}" >> ${JTAG_BATCH_FILE}
echo "flashmem 0x860000 ${WORKING_DIR}/${BIOS} ${JTAG_NOVERIFY}" >> ${JTAG_BATCH_FILE}
echo "flashmem 0x880000 ${WORKING_DIR}/${SPLASH} ${JTAG_NOVERIFY}" >> ${JTAG_BATCH_FILE}
@@ -141,6 +140,7 @@ EOF
echo "flashmem 0xD20000 $2 ${JTAG_NOVERIFY}" >> ${JTAG_BATCH_FILE}
fi
+ echo "lockflash 0x000000 55" >> ${JTAG_BATCH_FILE}
fi
if [ "$1" == "--bios-mac" ]; then
Please sign in to comment.
Something went wrong with that request. Please try again.