Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-20 | Make stm_flash_sector_num a little more efficient. | Paul Selkirk | |
2016-12-20 | The bootloader upgrade reboots now, so we don't need to log out of the CLI. | Paul Selkirk | |
2016-12-20 | Fix bootloader upload callback routine to write the correct number of bytes ↵ | Paul Selkirk | |
to flash. While we're at it, propagate error returns. | |||
2016-12-20 | cli_receive_data: re-enable UART DMA before returning. Based on Fredrik's ↵ | Paul Selkirk | |
fix to cli-test, commit ae8ebce. | |||
2016-09-20 | Still some problem with uart receive under heavy load, so change to a 2-byte ↵ | Paul Selkirk | |
receive buffer with half-complete callbacks, and raise the dma priority. | |||
2016-09-05 | add bit-for-bit testing of FMC address and data bus | Fredrik Thulin | |
2016-09-01 | "make clean" needs to use "rm -f" to avoid gratuitous failures. | Rob Austein | |
2016-08-23 | Merge branch 'master' of git.cryptech.is:sw/stm32 | Paul Selkirk | |
2016-08-23 | Show running threads. | Paul Selkirk | |
2016-08-23 | Reset table of cores after resetting FPGA from CLI. | Paul Selkirk | |
2016-08-23 | Multi-client testing revealed race conditions in uart receive code | Paul Selkirk | |
(dropped characters, improper handoff of message buffers). Fixed by a) changing the uart receiver from interrupt to DMA mode, and b) replacing the dispatch mutex and rpc semaphore with a mail queue (memory pool + message queue). | |||
2016-08-15 | Incorporate FPGA comms test from projects/board-test/fmc-test.c | Fredrik Thulin | |
2016-08-15 | cli_receive_data: re-enable UART DMA before returning | Fredrik Thulin | |
Bugfix after new port of libcli where this enabling doesn't happen after every command anymore. | |||
2016-08-11 | Multiple threads and multiple cores, to deal with multiple clients. | Paul Selkirk | |
2016-08-11 | re-implement 'show fpga cores' | Fredrik Thulin | |
2016-07-21 | Use a fresh port of libcli, which retains more of the original API. | Paul Selkirk | |
2016-07-16 | Don't run empty "export" command. | Rob Austein | |
2016-07-13 | 'masterkey set' without args sets master key to a random value | Paul Selkirk | |
2016-07-13 | probe_cores() finally does the right thing, so we don't have to call it early. | Paul Selkirk | |
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-12 | Re-disable 'keystore set key'; hexdump binary key names; remove unused ↵ | Paul Selkirk | |
'show' commands. | |||
2016-07-12 | merge from projects/hsm | Fredrik Thulin | |
2016-07-12 | Merge branch 'master' of git.cryptech.is.:sw/stm32 | Fredrik Thulin | |
2016-07-12 | restore original SCLK_DIV | Fredrik Thulin | |
2016-07-12 | re-enable masterkey | Fredrik Thulin | |
2016-07-12 | Restore 'keystore set|rename|delete' commands; access key by index as well ↵ | Paul Selkirk | |
as name. | |||
2016-07-09 | Clean up the CLI. | Fredrik Thulin | |
A lot of the commands were just useful when testing/implementing features for the Alpha. Remove them now that they have been merged to projects/cli-test. | |||
2016-07-09 | Integrate test code for MKMIF. | Fredrik Thulin | |
There seems to be a timing issue (?) with the MKMIF. If SCLK_DIV is set to a higher value (was: 0x20) then the CLI command "test mkmif" will fail with only occasional success runs. With divisor 0x01, it works most of the time but not allways. | |||
2016-07-09 | Merge more code from projects/hsm. | Fredrik Thulin | |
2016-07-09 | Merge branch 'master' of git.cryptech.is.:sw/stm32 | Fredrik Thulin | |
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-08 | merge test code from projects/hsm/ | Fredrik Thulin | |
2016-07-07 | Merge branch 'master' of https://git.cryptech.is/sw/stm32.git. | Rob Austein | |
2016-07-07 | Add cryptech_miniterm; tweak cryptech_probe to write environment variables ↵ | Rob Austein | |
like ssh-agent. | |||
2016-07-07 | Drop 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-07 | Default to one RPC worker thread. | Paul Selkirk | |
2016-07-07 | Rewrite and add cleanup sequences to avoid confusing the RPC server. | Rob Austein | |
2016-07-06 | Amend 833802c: Add reentrancy protection to fmc_write_32. | Paul Selkirk | |
2016-07-06 | Add uart_set_default() to make debugging output easier. | Paul Selkirk | |
2016-07-06 | Cleanup - remove demo filetransfer command. | Paul Selkirk | |
2016-07-06 | Add 'show fpga status' and 'show fpga cores'. | Paul Selkirk | |
2016-07-06 | Small improvements to try to suck less. | Paul Selkirk | |
2016-07-06 | Fix the way code is commented out, to avoid compiler warnings. | Paul Selkirk | |
2016-07-06 | Simplify library Makefiles by using symbols defined in top-level Makefile, ↵ | Paul Selkirk | |
rather than re-deriving them. | |||
2016-07-06 | Add reentrancy protection to fmc_read_32. | 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-30 | RPC wire format now includes client handle in all requests, and opcode and | Paul Selkirk | |
client handle in all responses. | |||
2016-06-29 | add commands to clear pin or whole keystore | Fredrik Thulin | |
2016-06-29 | keystore_erase_sectors: bugfix | Fredrik Thulin | |