From 13e13fdfd6b9188a80d6af7240510516d5805b80 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 17 Jul 2022 18:50:28 +0800 Subject: [PATCH] add some explanation in the restore process --- tools/restore.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/restore.py b/tools/restore.py index 7e04af99c..062a497b9 100644 --- a/tools/restore.py +++ b/tools/restore.py @@ -573,7 +573,7 @@ def main(): i += 4 print("Keyboard layout code: {}".format(int.from_bytes(backup[i:i+4], 'little'))) i += 4 - print("DNA: 0x{}".format(int.from_bytes(backup[i:i+8], 'little'))) + print("DNA: 0x{:x}".format(int.from_bytes(backup[i:i+8], 'little'))) i += 8 i += 48 # reserved @@ -627,6 +627,7 @@ def main(): print("Downloading wf200...") wf200 = requests.get(URL_LIST[attempt] + 'wf200_fw.bin').content break + print("The restore process takes about 30 minutes on a computer with an optimal USB stack (most Intel PC & Rpi), and about 2.5 hours on one with a buggy USB stack (most Macs & AMD PC).") if False == single_yes_or_no_question("Proceed with copying restore data from Xous release {}? ".format(curver.as_str())): print("Abort by user request.") exit(0)