From 19a025975e33a376ec08f94df42bfe6ccd33dc91 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 22 Apr 2022 02:47:55 +0800 Subject: [PATCH] add a note for STAGING area as well --- tools/usb_update.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/usb_update.py b/tools/usb_update.py index f0e22ba56..2673d296b 100755 --- a/tools/usb_update.py +++ b/tools/usb_update.py @@ -622,6 +622,8 @@ def main(): print("Staging SoC gateware".format(args.staging)) with open(args.staging, "rb") as f: image = f.read() + if verify == True: + print("Note: staging area verification is not possible as readback is locked for security purposes") pc_usb.flash_program(locs['LOC_STAGING'][0], image, verify=verify) print("Resuming CPU.") @@ -658,6 +660,8 @@ def main(): print("Staging SoC gateware {}".format(args.soc)) with open(args.staging, "rb") as f: image = f.read() + if verify == True: + print("Note: staging area verification is not possible as readback is locked for security purposes") pc_usb.flash_program(locs['LOC_STAGING'][0], image, verify=verify) if args.kernel != None: