2021-08-24 14:59:10 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
set -e
|
2021-08-24 14:37:31 +00:00
|
|
|
|
|
|
|
|
wget https://ci.betrusted.io/latest-ci/loader.bin -O /tmp/loader.bin
|
|
|
|
|
./usb_update.py -s /tmp/loader.bin
|
|
|
|
|
rm /tmp/loader.bin
|
|
|
|
|
|
2021-08-24 14:59:10 +00:00
|
|
|
echo "waiting for device to reboot"
|
|
|
|
|
sleep 5
|
|
|
|
|
|
2021-08-24 14:37:31 +00:00
|
|
|
wget https://ci.betrusted.io/latest-ci/xous.img -O /tmp/xous.img
|
|
|
|
|
./usb_update.py -k /tmp/xous.img
|
|
|
|
|
rm /tmp/xous.img
|
|
|
|
|
|
2021-08-24 14:59:10 +00:00
|
|
|
echo "waiting for device to reboot"
|
|
|
|
|
sleep 5
|
|
|
|
|
|
2021-08-24 14:37:31 +00:00
|
|
|
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
|
|
|
|
|
|
2021-08-24 15:22:41 +00:00
|
|
|
echo "waiting for device to reboot"
|
|
|
|
|
sleep 5
|
|
|
|
|
|
2021-08-29 19:30:45 +00:00
|
|
|
wget https://ci.betrusted.io/latest-ci/ec_fw.bin -O /tmp/ec_fw.bin
|
|
|
|
|
./usb_update.py -e /tmp/ec_fw.bin
|
|
|
|
|
rm /tmp/ec_fw.bin
|