[Cryptech-Commits] [sw/stm32] 03/04: The bootloader upgrade reboots now, so we don't need to log out of the CLI.

git at cryptech.is git at cryptech.is
Wed Dec 21 00:11:06 UTC 2016


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch master
in repository sw/stm32.

commit fa731c8e3730596c618367014ce6d30d6e4c265a
Author: Paul Selkirk <paul at psgd.org>
AuthorDate: Tue Dec 20 19:06:20 2016 -0500

    The bootloader upgrade reboots now, so we don't need to log out of the CLI.
---
 projects/hsm/cryptech_upload | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/projects/hsm/cryptech_upload b/projects/hsm/cryptech_upload
index 0c3f6fc..f5fefaa 100755
--- a/projects/hsm/cryptech_upload
+++ b/projects/hsm/cryptech_upload
@@ -212,10 +212,8 @@ def send_file(src, size, args, dst):
     if args.fpga:
         # tell the fpga to read its new configuration
         _execute(dst, "fpga reset")
-
-    if args.fpga or args.bootloader:
         # log out of the CLI
-        # firmware upgrade reboots, doesn't need an exit
+        # (firmware/bootloader upgrades reboot, don't need an exit)
         _execute(dst, "exit")
 
     return True



More information about the Commits mailing list