add an initdone sentinel for rootkey provisioning

simplifies script logic a bit
This commit is contained in:
bunnie 2022-05-25 04:09:36 +08:00
parent 62cbc86aeb
commit 54947a2216

View file

@ -571,6 +571,7 @@ fn xmain() -> ! {
}
},
Some(Opcode::UxTryReboot) => {
log::info!("{}ROOTKEY.INITDONE,{}", xous::BOOKEND_START, xous::BOOKEND_END);
log::info!("entering reboot handler");
// ensure the boost is off so that the reboot will not fail
com.set_boost(false).unwrap();