Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-20 | Small fix to the upload script. Skip dummy text information preceeding actual | Pavel V. Shatov (Meister) | |
bitstream data. | |||
2020-09-01 | ..Aaaand a few more Python3 string bugs in cryptech_upload | Rob Austein | |
2020-07-13 | Whack all Python shebangs to Python 3 | Rob Austein | |
2020-05-26 | Wow, python-version-independent hexadecimal is painful | Rob Austein | |
2020-05-25 | Untested conversion to support Python 3 | Rob Austein | |
2017-04-27 | Refactor cryptech_upload to work either directly or via cryptech_muxd. | Rob Austein | |
2017-04-11 | Track API changes on sw/libhal pkcs8 branch. | Rob Austein | |
2017-02-23 | Add --pin and --quiet options. | Paul Selkirk | |
2017-02-23 | Speed up file upload enormously. | Paul Selkirk | |
We need to start with a long serial timeout, in order to catch the reboot messages for a firmware upload (this has to be done through the bootloader). But once we start sending the file, cut the serial timeout to 1ms. (I've tested it down to 1us, but that may not work for everyone, and it doesn't improve performance in a statistically significant way.) This brings the time to upload a 4.5MB bitstream from 38:23 to 1:25. | |||
2016-12-21 | Rewrite core upload loop to simplify and fix race conditions. | Rob Austein | |
The main loop in cryptech_upload:send_file() was much more complicated than necessary, and also contained some hidden assumptions about serial I/O timing which happened to fail on the first two machines I tested. We already had a perfectly good buffered-input function, so rewrote to use that, and simplified control structure in the process. In theory, the new code should work in any environment where the old one did, but this has not yet been confirmed. | |||
2016-12-20 | Flush output to serial device after writing. | Rob Austein | |
2016-12-20 | Merge branch 'master' into ksng | Rob Austein | |
Bootloader DFU fixes. | |||
2016-12-20 | The bootloader upgrade reboots now, so we don't need to log out of the CLI. | Paul Selkirk | |
2016-11-25 | Add debugging code to cryptech_upload. | Rob Austein | |
2016-07-12 | Make username a command-line option, default "so" as it used to be. | Rob Austein | |
2016-07-12 | Allow wheel to upload firmware/bitstreams | Paul Selkirk | |
2016-07-08 | Add upload from firmware tarball, gussie up command parser, add dire warnings. | Rob Austein | |
Command parser now enforces little things like mutually-exclusive required options so we warn users who attempt something silly. Preferred source for uploads is now the firmware tarball installed along with the client software; we still support uploading from an explictly-specified source file, but one must now say "-i file". Updating the bootloader is dangerous, we now say so and also require an additional option before we'll even attempt it. For the record, while testing this I did manage to brick my Alpha and had to use an ST-LINK to recover, exactly as predicted by the new dire warning. | |||
2016-07-07 | Add cryptech_miniterm; tweak cryptech_probe to write environment variables ↵ | Rob Austein | |
like ssh-agent. | |||
2016-07-06 | Small improvements to try to suck less. | Paul Selkirk | |
2016-07-05 | Add horrible kludge of a script to probe USB ports and report which | Rob Austein | |
ones look like console and RPC ports for the HSM. | |||
2016-06-28 | Only SO and wheel are allowed to upload. | Paul Selkirk | |
Also add bootloader upload. | |||
2016-06-27 | Modify cli-test/filetransfer to prompt for PIN. | Paul Selkirk | |