diff --git a/proxmark3.sh b/proxmark3.sh new file mode 100755 index 000000000..6f648cabf --- /dev/null +++ b/proxmark3.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +function wait4proxmark { + echo "Waiting for Proxmark to appear..." + while [ ! -e /dev/ttyACM? ]; do + sleep .1 + done +} + +# start proxmark with first detected interface +wait4promark +client/proxmark3 /dev/ttyACM? diff --git a/update.sh b/update.sh new file mode 100755 index 000000000..3ffd43e80 --- /dev/null +++ b/update.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +function wait4proxmark { + echo "Waiting for Proxmark to appear..." + while [ ! -e /dev/ttyACM? ]; do + sleep .1 + done +} + +# flash bootroom +wait4proxmark +client/flasher /dev/ttyACM? -b bootrom/obj/bootrom.elf + +# flash system image +wait4proxmark +client/flasher /dev/ttyACM? armsrc/obj/fullimage.elf