From 13b906451796a27602be03fdd8d071164a112415 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sat, 16 Jul 2022 00:40:04 +0800 Subject: [PATCH] convert DNA output to something CI can pick up this is for automation around PDDB readouts -- it is locked to the device's DNA. --- services/shellchat/src/cmds.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/shellchat/src/cmds.rs b/services/shellchat/src/cmds.rs index 911f60983..0bbdebae8 100644 --- a/services/shellchat/src/cmds.rs +++ b/services/shellchat/src/cmds.rs @@ -184,7 +184,7 @@ impl CmdEnv { // print our version info let soc_ver = common.llio.soc_gitrev().unwrap(); log::info!("SoC git rev {}", soc_ver.to_string()); - log::info!("SoC DNA: 0x{:x}", common.llio.soc_dna().unwrap()); + log::info!("{}PDDB.DNA,{:x},{}", xous::BOOKEND_START, common.llio.soc_dna().unwrap(), xous::BOOKEND_END); let (rev, dirty) = common.com.get_ec_git_rev().unwrap(); let dirtystr = if dirty { "dirty" } else { "clean" }; log::info!("EC gateware git commit: {:x}, {}", rev, dirtystr);