mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
add version reporting to boot log
This commit is contained in:
parent
9647559d25
commit
96959bfe0d
1 changed files with 11 additions and 0 deletions
|
|
@ -133,6 +133,17 @@ impl CmdEnv {
|
|||
let sha = Sha::new(&xns, &mut common);
|
||||
let aes = Aes::new(&xns, &mut common);
|
||||
let ecup = EcUpdate::new(&mut common);
|
||||
|
||||
// print our version info
|
||||
let (maj, min, rev, extra, gitrev) = common.llio.soc_gitrev().unwrap();
|
||||
log::info!("SoC git rev {}.{}.{}+{} commit {:x}", maj, min, rev, extra, gitrev);
|
||||
log::info!("SoC DNA: 0x{:x}", common.llio.soc_dna().unwrap());
|
||||
let (rev, dirty) = common.com.get_ec_git_rev().unwrap();
|
||||
let dirtystr = if dirty { "dirty" } else { "clean" };
|
||||
log::info!("EC git commit: {:x}, {}", rev, dirtystr);
|
||||
let (maj, min, rev) = common.com.get_wf200_fw_rev().unwrap();
|
||||
log::info!("WF200 fw rev {}.{}.{}", maj, min, rev);
|
||||
|
||||
CmdEnv {
|
||||
common_env: common,
|
||||
lastverb: String::<256>::new(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue