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:
bunnie 2026-02-03 03:23:07 +08:00
parent 02c9226c1b
commit 56c1230b2e

View file

@ -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);
}
}
}