mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
fix some bugs in printing errored-out sectors
also print the sector data that errors out -- might be a bit much at the moment but it's very helpful for immmediately visualizing a loss-of-power event related write corruption
This commit is contained in:
parent
77f5eb1dac
commit
58a8264080
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ class KeyDescriptor:
|
||||||
if remaining > 0:
|
if remaining > 0:
|
||||||
assert(read_start == 0)
|
assert(read_start == 0)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
logging.error("key: couldn't decrypt vpage @ {:x} ppage @ {:x}".format(page_addr), pp_start)
|
logging.error("key: couldn't decrypt vpage @ {:x} ppage @ {:x} data {}".format(page_addr, pp_start, pp_data.hex()))
|
||||||
page_addr += VPAGE_SIZE
|
page_addr += VPAGE_SIZE
|
||||||
global DO_CI_TESTS
|
global DO_CI_TESTS
|
||||||
if DO_CI_TESTS:
|
if DO_CI_TESTS:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue