mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
Update factory_reset.ps1
move soc update to top so we don't get resets from latest xous
This commit is contained in:
parent
eae61df786
commit
d9f4f6d041
1 changed files with 8 additions and 8 deletions
|
|
@ -13,12 +13,19 @@ if ($decision -eq 0) {
|
|||
Exit
|
||||
}
|
||||
|
||||
Invoke-WebRequest https://ci.betrusted.io/releases/latest/soc_csr.bin -OutFile soc_csr.bin
|
||||
python usb_update.py --soc soc_csr.bin --force
|
||||
Remove-Item soc_csr.bin
|
||||
|
||||
Write-Output "waiting for device to reboot"
|
||||
Start-Sleep 5
|
||||
|
||||
Invoke-WebRequest https://ci.betrusted.io/releases/latest/loader.bin -OutFile loader.bin
|
||||
python usb_update.py -l loader.bin
|
||||
Remove-Item loader.bin
|
||||
|
||||
Write-Output "waiting for device to reboot"
|
||||
Start-Sleep 5
|
||||
Start-Sleep 4
|
||||
|
||||
Invoke-WebRequest https://ci.betrusted.io/releases/latest/xous-$LOCALE.img -OutFile xous.img
|
||||
python usb_update.py -k xous.img
|
||||
|
|
@ -27,13 +34,6 @@ Remove-Item xous.img
|
|||
Write-Output "waiting for device to reboot"
|
||||
Start-Sleep 5
|
||||
|
||||
Invoke-WebRequest https://ci.betrusted.io/releases/latest/soc_csr.bin -OutFile soc_csr.bin
|
||||
python usb_update.py --soc soc_csr.bin --force
|
||||
Remove-Item soc_csr.bin
|
||||
|
||||
Write-Output "waiting for device to reboot"
|
||||
Start-Sleep 5
|
||||
|
||||
Invoke-WebRequest https://ci.betrusted.io/releases/latest/ec_fw.bin -OutFile ec_fw.bin
|
||||
python usb_update.py -e ec_fw.bin
|
||||
Remove-Item ec_fw.bin
|
||||
|
|
|
|||
Loading…
Reference in a new issue