mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
Update factory_reset.sh
move soc update to the top to avoid wdt resets
This commit is contained in:
parent
18f7a4519c
commit
eae61df786
1 changed files with 7 additions and 7 deletions
|
|
@ -29,6 +29,13 @@ else
|
||||||
LOCALE=""
|
LOCALE=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
wget https://ci.betrusted.io/$REVISION/soc_csr.bin -O /tmp/soc_csr.bin
|
||||||
|
./usb_update.py --soc /tmp/soc_csr.bin --force
|
||||||
|
rm /tmp/soc_csr.bin
|
||||||
|
|
||||||
|
echo "waiting for device to reboot"
|
||||||
|
sleep 5
|
||||||
|
|
||||||
wget https://ci.betrusted.io/$REVISION/loader.bin -O /tmp/loader.bin
|
wget https://ci.betrusted.io/$REVISION/loader.bin -O /tmp/loader.bin
|
||||||
./usb_update.py -l /tmp/loader.bin
|
./usb_update.py -l /tmp/loader.bin
|
||||||
rm /tmp/loader.bin
|
rm /tmp/loader.bin
|
||||||
|
|
@ -43,13 +50,6 @@ rm /tmp/xous.img
|
||||||
echo "waiting for device to reboot"
|
echo "waiting for device to reboot"
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
wget https://ci.betrusted.io/$REVISION/soc_csr.bin -O /tmp/soc_csr.bin
|
|
||||||
./usb_update.py --soc /tmp/soc_csr.bin --force
|
|
||||||
rm /tmp/soc_csr.bin
|
|
||||||
|
|
||||||
echo "waiting for device to reboot"
|
|
||||||
sleep 5
|
|
||||||
|
|
||||||
wget https://ci.betrusted.io/$REVISION/ec_fw.bin -O /tmp/ec_fw.bin
|
wget https://ci.betrusted.io/$REVISION/ec_fw.bin -O /tmp/ec_fw.bin
|
||||||
./usb_update.py -e /tmp/ec_fw.bin
|
./usb_update.py -e /tmp/ec_fw.bin
|
||||||
rm /tmp/ec_fw.bin
|
rm /tmp/ec_fw.bin
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue