mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
erase staged gateware as part of --factory-reset
This commit is contained in:
parent
74fe8c989c
commit
76ed23010d
1 changed files with 2 additions and 1 deletions
|
|
@ -217,7 +217,8 @@ def main():
|
||||||
['prog', "Uploading kernel", locs['LOC_KERNEL'][0], kernel],
|
['prog', "Uploading kernel", locs['LOC_KERNEL'][0], kernel],
|
||||||
['prog', "Uploading EC", locs['LOC_EC'][0], ec_fw],
|
['prog', "Uploading EC", locs['LOC_EC'][0], ec_fw],
|
||||||
['prog', "Uploading wf200", locs['LOC_WF200'][0], wf200],
|
['prog', "Uploading wf200", locs['LOC_WF200'][0], wf200],
|
||||||
['prog', "Overwriting gateware", locs['LOC_SOC'][0], soc_csr],
|
['prog', "Overwriting boot gateware", locs['LOC_SOC'][0], soc_csr],
|
||||||
|
['erase', "Erasing any staged gateware", locs['LOC_STAGING'][0], 0x28_0000],
|
||||||
]
|
]
|
||||||
if args.paranoid:
|
if args.paranoid:
|
||||||
# erase the entire area -- about 10-15 minutes
|
# erase the entire area -- about 10-15 minutes
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue