aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-10Sign/verifiy installable imagesparade_of_half_baked_ideasPaul Selkirk
Receive the image into sdram, verify the signature before copying to flash. It would be great if worked...
2016-07-10Try to restrict wheel user to only setting pins.Paul Selkirk
This is a bit of social engineering, because at the moment he can easily drop out of config mode to get the full command set. It also doesn't restrict his use of RPC.
2016-07-10Check jumpers JP7 and JP8 before accepting new firmware or bootloader images.Paul Selkirk
Unfortunately, we can't read the jumper GPIOs directly, as that just gives us the last values written to them, so we see if we can read the FPGA configuration memory.
2016-07-07Merge branch 'master' of https://git.cryptech.is/sw/stm32.git.Rob Austein
2016-07-07Add cryptech_miniterm; tweak cryptech_probe to write environment variables ↵Rob Austein
like ssh-agent.
2016-07-07Drop bad request packets.Paul Selkirk
Also, if the UART receive callback fails to re-enable receive (because dispatch_thread is in the middle of transmitting a response), signal dispatch_thread to re-enable receive after it's done.
2016-07-07Default to one RPC worker thread.Paul Selkirk
2016-07-07Rewrite and add cleanup sequences to avoid confusing the RPC server.Rob Austein
2016-07-06Amend 833802c: Add reentrancy protection to fmc_write_32.Paul Selkirk
2016-07-06Add uart_set_default() to make debugging output easier.Paul Selkirk
2016-07-06Cleanup - remove demo filetransfer command.Paul Selkirk
2016-07-06Add 'show fpga status' and 'show fpga cores'.Paul Selkirk
2016-07-06Small improvements to try to suck less.Paul Selkirk
2016-07-06Fix the way code is commented out, to avoid compiler warnings.Paul Selkirk
2016-07-06Simplify library Makefiles by using symbols defined in top-level Makefile, ↵Paul Selkirk
rather than re-deriving them.
2016-07-06Add reentrancy protection to fmc_read_32.Paul Selkirk
2016-07-05Add horrible kludge of a script to probe USB ports and report whichRob Austein
ones look like console and RPC ports for the HSM.
2016-06-30RPC wire format now includes client handle in all requests, and opcode andPaul Selkirk
client handle in all responses.
2016-06-29add commands to clear pin or whole keystoreFredrik Thulin
2016-06-29keystore_erase_sectors: bugfixFredrik Thulin
2016-06-29cleanupFredrik Thulin
2016-06-28Only SO and wheel are allowed to upload.Paul Selkirk
Also add bootloader upload.
2016-06-28Fix the bootloader to accept firmware (with PIN login).Paul Selkirk
This involves entirely too much duplication of the CLI.
2016-06-27Remove old default user.Paul Selkirk
2016-06-27Modify cli-test/filetransfer to prompt for PIN.Paul Selkirk
2016-06-26PIN-based loginPaul Selkirk
2016-06-25Merge branch 'alternate_dma'Paul Selkirk
2016-06-25Split LIB*_DIR into _SRC and _BLD.Paul Selkirk
Also rename all instances of GNUmakefile to Makefile.
2016-06-25Finish unwinding subrepository hairball: VPATH setup.Rob Austein
2016-06-24Start unwinding subrepository hairball: remove submodules.Rob Austein
2016-06-24Don't mess with HAL_RSA_USE_MODEXP here, that's libhal's job.Rob Austein
2016-06-24Merge branch 'ft-ks_flash'Fredrik Thulin
2016-06-24Masterkey functions now return hal_error_t as suggested by Rob.Fredrik Thulin
2016-06-24The masterkey stuff was accidentally committed to master in libhal (by me)Fredrik Thulin
2016-06-23Drag in libhal update.Rob Austein
2016-06-23Drag submodule updates into sw/stm32.Rob Austein
2016-06-23Add masterkey and keystore commands.Fredrik Thulin
2016-06-21Update sw/stm32 to track recent subrepository commits, since without them it ↵Rob Austein
no longer compiles (sigh).
2016-06-17libhal branch ft-ks_flash is merged to masterFredrik Thulin
2016-06-16use corresponding branch of libhalFredrik Thulin
2016-06-16keystore_erase_sectors takes start and stop arguments nowFredrik Thulin
2016-06-16Merge branch 'master' into ft-ks_flashFredrik Thulin
2016-06-15Use a 1-byte DMA buffer for management UART receives.Paul Selkirk
It sounds silly, but this gives us completion callbacks, so we don't spend out entire time slice polling the receive buffer for new characters (which kills performance for tasks that are doing real work). Besides, libcli wants to process a character at a time, so uart_cli_read just waits on the completion callback.
2016-06-14Whack shell scripts to work on Debian Jessie too.Rob Austein
2016-06-14hsm project was failing with obscure make error because makefile did not ↵Rob Austein
specify dependency on libcli.
2016-06-14Pull in sw/libhal CLIENT_TRANSPORT makefile fix.Rob Austein
2016-06-14Pull libhal changes into stm32 subrepo.Rob Austein
2016-06-14Track libhal RPC_MODE simplification; add bootloader to "all" target.Rob Austein
2016-06-14Bring sw/stm32 super-repository up to date with the ten zillionRob Austein
commits which have been made in other repositories since the last time anybody bothered to synchronize this. Poster child for why this kind of recursive hairball belongs in release engineering rather than in source code repositories which are under active development, but that yak can wait a little while longer for its shave.
2016-06-14Import cli-test into hsm pretty much as-is.Paul Selkirk