diff --git a/fxos/info.cpp b/fxos/info.cpp index 1e3b06e..c4c1fe7 100644 --- a/fxos/info.cpp +++ b/fxos/info.cpp @@ -12,7 +12,7 @@ static char const *info_str = "Header information:\n" " Bootcode timestamp (DateA) (0x%000008x) : %s\n" " Bootcode checksum (0x%000008x) : 0x%08x\n" -//" Serial number (0x%000008x) : %s\n" +" Serial number (0x%000008x) : %s\n" " OS version (0x%000008x) : %s\n"; static char const *footer_str = @@ -41,7 +41,7 @@ void os_info(Target &t) printf(info_str, (os.type == OS::FX ? "FX" : "CG"), &os.bootcode_timestamp, os.bootcode_timestamp.value.c_str(), &os.bootcode_checksum, os.bootcode_checksum, -// &os.serial_number, os.serial_number, + &os.serial_number, os.serial_number.value.c_str(), &os.version, os.version.value.c_str()); if(os.footer == (uint32_t)-1) diff --git a/lib/os.cpp b/lib/os.cpp index fa01a97..45c60bd 100644 --- a/lib/os.cpp +++ b/lib/os.cpp @@ -38,7 +38,6 @@ void OS::parse_header() this->bootcode_timestamp = t.read_str(0x8000ffb0, 14); this->bootcode_checksum = t.read_u32(0x8000fffc); this->version = t.read_str(0x80010020, 10); - /* Serial numer at 0xffd0... sometimes? */ this->serial_number = t.read_str(0x8000ffd0, 8); } else if(this->type == CG)