mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
add error printing on boot0 signature failure
this will at least give us a hint as to why a boot1 failed to boot. It does hand an attacker some information, but we also need information to debug e.g. RMA and field failures.
This commit is contained in:
parent
02c9226c1b
commit
56c1230b2e
1 changed files with 5 additions and 1 deletions
|
|
@ -312,7 +312,11 @@ pub unsafe extern "C" fn rust_entry() -> ! {
|
|||
bollard!(die, 4);
|
||||
jump_to((target ^ u32::from_le_bytes(tag)) as usize);
|
||||
}
|
||||
_ => {}
|
||||
Err(e) => {
|
||||
crate::println!("Sigcheck err: {:?}", e);
|
||||
csprng.random_delay();
|
||||
bollard!(die, 4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue