mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
remove excess wait state and clarify wait text
This commit is contained in:
parent
15105cd0b2
commit
a31030bf90
3 changed files with 12 additions and 15 deletions
|
|
@ -15,28 +15,28 @@ if ($decision -eq 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
python usb_update.py --disable-boot
|
python usb_update.py --disable-boot
|
||||||
Write-Output "waiting for device to reboot"
|
Write-Output "waiting for device to reconnect"
|
||||||
Start-Sleep 5
|
Start-Sleep 5
|
||||||
|
|
||||||
Invoke-WebRequest https://ci.betrusted.io/latest-ci/xous-$LOCALE.img -OutFile xous.img
|
Invoke-WebRequest https://ci.betrusted.io/latest-ci/xous-$LOCALE.img -OutFile xous.img
|
||||||
python usb_update.py -k xous.img
|
python usb_update.py -k xous.img
|
||||||
Remove-Item xous.img
|
Remove-Item xous.img
|
||||||
|
|
||||||
Write-Output "waiting for device to reboot"
|
Write-Output "waiting for device to reconnect"
|
||||||
Start-Sleep 5
|
Start-Sleep 5
|
||||||
|
|
||||||
Invoke-WebRequest https://ci.betrusted.io/latest-ci/ec_fw.bin -OutFile ec_fw.bin
|
Invoke-WebRequest https://ci.betrusted.io/latest-ci/ec_fw.bin -OutFile ec_fw.bin
|
||||||
python usb_update.py -e ec_fw.bin
|
python usb_update.py -e ec_fw.bin
|
||||||
Remove-Item ec_fw.bin
|
Remove-Item ec_fw.bin
|
||||||
|
|
||||||
Write-Output "waiting for device to reboot"
|
Write-Output "waiting for device to reconnect"
|
||||||
Start-Sleep 5
|
Start-Sleep 5
|
||||||
|
|
||||||
Invoke-WebRequest https://ci.betrusted.io/latest-ci/wf200_fw.bin -OutFile wf200_fw.bin
|
Invoke-WebRequest https://ci.betrusted.io/latest-ci/wf200_fw.bin -OutFile wf200_fw.bin
|
||||||
python usb_update.py -w wf200_fw.bin
|
python usb_update.py -w wf200_fw.bin
|
||||||
Remove-Item wf200_fw.bin
|
Remove-Item wf200_fw.bin
|
||||||
|
|
||||||
Write-Output "waiting for device to reboot"
|
Write-Output "waiting for device to reconnect"
|
||||||
Start-Sleep 5
|
Start-Sleep 5
|
||||||
|
|
||||||
Invoke-WebRequest https://ci.betrusted.io/latest-ci/loader.bin -OutFile loader.bin
|
Invoke-WebRequest https://ci.betrusted.io/latest-ci/loader.bin -OutFile loader.bin
|
||||||
|
|
|
||||||
|
|
@ -32,31 +32,28 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./usb_update.py --disable-boot
|
./usb_update.py --disable-boot
|
||||||
echo "waiting for device to reboot"
|
echo "waiting for device to reconnect"
|
||||||
sleep 5
|
|
||||||
|
|
||||||
echo "waiting for device to reboot"
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
wget https://ci.betrusted.io/$REVISION/xous$LOCALE.img -O /tmp/xous.img
|
wget https://ci.betrusted.io/$REVISION/xous$LOCALE.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"
|
echo "waiting for device to reconnect"
|
||||||
sleep 5
|
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
|
||||||
|
|
||||||
echo "waiting for device to reboot"
|
echo "waiting for device to reconnect"
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
wget https://ci.betrusted.io/$REVISION/wf200_fw.bin -O /tmp/wf200_fw.bin
|
wget https://ci.betrusted.io/$REVISION/wf200_fw.bin -O /tmp/wf200_fw.bin
|
||||||
./usb_update.py -w /tmp/wf200_fw.bin
|
./usb_update.py -w /tmp/wf200_fw.bin
|
||||||
rm /tmp/wf200_fw.bin
|
rm /tmp/wf200_fw.bin
|
||||||
|
|
||||||
echo "waiting for device to reboot"
|
echo "waiting for device to reconnect"
|
||||||
sleep 5
|
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
|
||||||
|
|
|
||||||
|
|
@ -15,28 +15,28 @@ if ($decision -eq 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
python usb_update.py --disable-boot
|
python usb_update.py --disable-boot
|
||||||
Write-Output "waiting for device to reboot"
|
Write-Output "waiting for device to reconnect"
|
||||||
Start-Sleep 5
|
Start-Sleep 5
|
||||||
|
|
||||||
Invoke-WebRequest https://ci.betrusted.io/releases/latest/xous-$LOCALE.img -OutFile xous.img
|
Invoke-WebRequest https://ci.betrusted.io/releases/latest/xous-$LOCALE.img -OutFile xous.img
|
||||||
python usb_update.py -k xous.img
|
python usb_update.py -k xous.img
|
||||||
Remove-Item xous.img
|
Remove-Item xous.img
|
||||||
|
|
||||||
Write-Output "waiting for device to reboot"
|
Write-Output "waiting for device to reconnect"
|
||||||
Start-Sleep 5
|
Start-Sleep 5
|
||||||
|
|
||||||
Invoke-WebRequest https://ci.betrusted.io/releases/latest/ec_fw.bin -OutFile ec_fw.bin
|
Invoke-WebRequest https://ci.betrusted.io/releases/latest/ec_fw.bin -OutFile ec_fw.bin
|
||||||
python usb_update.py -e ec_fw.bin
|
python usb_update.py -e ec_fw.bin
|
||||||
Remove-Item ec_fw.bin
|
Remove-Item ec_fw.bin
|
||||||
|
|
||||||
Write-Output "waiting for device to reboot"
|
Write-Output "waiting for device to reconnect"
|
||||||
Start-Sleep 5
|
Start-Sleep 5
|
||||||
|
|
||||||
Invoke-WebRequest https://ci.betrusted.io/releases/latest/wf200_fw.bin -OutFile wf200_fw.bin
|
Invoke-WebRequest https://ci.betrusted.io/releases/latest/wf200_fw.bin -OutFile wf200_fw.bin
|
||||||
python usb_update.py -w wf200_fw.bin
|
python usb_update.py -w wf200_fw.bin
|
||||||
Remove-Item wf200_fw.bin
|
Remove-Item wf200_fw.bin
|
||||||
|
|
||||||
Write-Output "waiting for device to reboot"
|
Write-Output "waiting for device to reconnect"
|
||||||
Start-Sleep 5
|
Start-Sleep 5
|
||||||
|
|
||||||
Invoke-WebRequest https://ci.betrusted.io/releases/latest/loader.bin -OutFile loader.bin
|
Invoke-WebRequest https://ci.betrusted.io/releases/latest/loader.bin -OutFile loader.bin
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue