add a quick CI update script

This commit is contained in:
bunnie 2021-08-24 22:37:31 +08:00
parent f6d1c9fda7
commit 99ff36f529

14
tools/update_ci.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash set -e
wget https://ci.betrusted.io/latest-ci/loader.bin -O /tmp/loader.bin
./usb_update.py -s /tmp/loader.bin
rm /tmp/loader.bin
wget https://ci.betrusted.io/latest-ci/xous.img -O /tmp/xous.img
./usb_update.py -k /tmp/xous.img
rm /tmp/xous.img
wget https://ci.betrusted.io/latest-ci/soc_csr.bin -O /tmp/soc_csr.bin
./usb_update.py -s /tmp/soc_csr.bin
rm /tmp/soc_csr.bin