mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add some timeouts after each phase, for the device to reboot
This commit is contained in:
parent
1af98f7e43
commit
33d14b6ee3
1 changed files with 8 additions and 1 deletions
|
|
@ -1,13 +1,20 @@
|
||||||
#!/bin/bash set -e
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
wget https://ci.betrusted.io/latest-ci/loader.bin -O /tmp/loader.bin
|
wget https://ci.betrusted.io/latest-ci/loader.bin -O /tmp/loader.bin
|
||||||
./usb_update.py -s /tmp/loader.bin
|
./usb_update.py -s /tmp/loader.bin
|
||||||
rm /tmp/loader.bin
|
rm /tmp/loader.bin
|
||||||
|
|
||||||
|
echo "waiting for device to reboot"
|
||||||
|
sleep 5
|
||||||
|
|
||||||
wget https://ci.betrusted.io/latest-ci/xous.img -O /tmp/xous.img
|
wget https://ci.betrusted.io/latest-ci/xous.img -O /tmp/xous.img
|
||||||
./usb_update.py -k /tmp/xous.img
|
./usb_update.py -k /tmp/xous.img
|
||||||
rm /tmp/xous.img
|
rm /tmp/xous.img
|
||||||
|
|
||||||
|
echo "waiting for device to reboot"
|
||||||
|
sleep 5
|
||||||
|
|
||||||
wget https://ci.betrusted.io/latest-ci/soc_csr.bin -O /tmp/soc_csr.bin
|
wget https://ci.betrusted.io/latest-ci/soc_csr.bin -O /tmp/soc_csr.bin
|
||||||
./usb_update.py -s /tmp/soc_csr.bin
|
./usb_update.py -s /tmp/soc_csr.bin
|
||||||
rm /tmp/soc_csr.bin
|
rm /tmp/soc_csr.bin
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue