Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | cleanup | Fredrik Thulin | |
2016-06-28 | Only SO and wheel are allowed to upload. | Paul Selkirk | |
Also add bootloader upload. | |||
2016-06-28 | Fix the bootloader to accept firmware (with PIN login). | Paul Selkirk | |
This involves entirely too much duplication of the CLI. | |||
2016-06-27 | Remove old default user. | Paul Selkirk | |
2016-06-27 | Modify cli-test/filetransfer to prompt for PIN. | Paul Selkirk | |
2016-06-26 | PIN-based login | Paul Selkirk | |
2016-06-25 | Merge branch 'alternate_dma' | Paul Selkirk | |
2016-06-25 | Split LIB*_DIR into _SRC and _BLD. | Paul Selkirk | |
Also rename all instances of GNUmakefile to Makefile. | |||
2016-06-25 | Finish unwinding subrepository hairball: VPATH setup. | Rob Austein | |
2016-06-24 | Masterkey functions now return hal_error_t as suggested by Rob. | Fredrik Thulin | |
2016-06-23 | Add masterkey and keystore commands. | Fredrik Thulin | |
2016-06-16 | keystore_erase_sectors takes start and stop arguments now | Fredrik Thulin | |
2016-06-16 | Merge branch 'master' into ft-ks_flash | Fredrik Thulin | |
2016-06-15 | Use 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-14 | Import cli-test into hsm pretty much as-is. | Paul Selkirk | |
2016-06-13 | RSA keygen needs even more stack space than I thought. | Paul Selkirk | |
Also, it turns out the linker wants to include initializers for sdram variables in the .elf and .bin files, even though it should handle it like bss. So now we manage sdram directly with a pseudo-malloc. | |||
2016-06-13 | Only the HSM project needs the RTOS; most of the test projects can use the ↵ | Paul Selkirk | |
STM32 HAL code directly. | |||
2016-06-09 | Put thread stack buffers in SDRAM, because pkey uses a lot of stack. | Paul Selkirk | |
Also rearchitect the way we handle RPC requests - have a bunch of waiting dispatch threads rather than continually creating and deleting threads. | |||
2016-06-09 | Rename main.c to hsm.c for consistency and a slightly simpler Makefile. | Paul Selkirk | |
2016-06-09 | Put all the keystore commands under 'keystore' instead. | Fredrik Thulin | |
Makes more sense to keep them together, at least in the cli-test. | |||
2016-06-09 | updated test-code for keystore functionality | Fredrik Thulin | |
2016-06-08 | Include strings.h, for strcasecmp(). | Rob Austein | |
2016-06-08 | Test code for ks_flash in corresponding branch of libhal. | Fredrik Thulin | |
2016-06-08 | bootloader doesn't need stm-fmc either | Fredrik Thulin | |
2016-06-07 | Don't reboot when CLI logout is intended. | Paul Selkirk | |
2016-06-07 | Check the HARDWARE_EARLY_DFU_JUMP flag as soon as possible in the boot process. | Paul Selkirk | |
This avoids the situation where the bootloader systick happens during firmware initialization, and freaks out. Also build the bootloader with the minimum resources needed (no RTOS, no SPI, no I2C). | |||
2016-06-06 | Use refactored slip/serial code. | Paul Selkirk | |
Client daemon sends client ID, echo it back in response. | |||
2016-06-06 | Remove the 6-second blue blink for alpha board. | Paul Selkirk | |
2016-06-06 | Remove unused hex file. | Paul Selkirk | |
2016-06-06 | Remove unused projects. | Paul Selkirk | |
2016-06-02 | Merge branch 'ft-uart_it' | Fredrik Thulin | |
2016-06-02 | Use DMA for UART RX instead of interrupts. | Fredrik Thulin | |
DMA is more efficient and less prone to miss characters than interrupts. An open question is if circular mode is really the best. If someone copy-pastes more than the RX buffer size of configuration into the CLI, we risk the DMA controller catching up with the reader and overwriting data not yet read. Since we don't have flow control back to the users terminal, we will always fail if too much data is entered before we can process it. The question is if failing to stuff new data at the end of a buffer might be better than data being overwritten - thus messing up the commands in unpredictable ways. | |||
2016-06-02 | Move the rest of the CLI commands out of cli-test.c. | Fredrik Thulin | |
2016-06-01 | Implement circular buffer UART RX using interrupts. | Fredrik Thulin | |
2016-06-01 | Move FPGA related commands to mgmt-fpga.c | Fredrik Thulin | |
2016-06-01 | Wait for FPGA_DONE on startup (available on Alpha board) | Fredrik Thulin | |
2016-05-31 | Update huart names to reflect change in stm-uart. | Fredrik Thulin | |
2016-05-27 | DFU working - but no signature validation for now. | Fredrik Thulin | |
2016-05-27 | cli_command_root_node: bugfix missing command callback | Fredrik Thulin | |
2016-05-26 | Implement a bootloader. | Fredrik Thulin | |
This bootloader is now the application at 0x08000000 (FLASH start), which the STM32 will execute upon reset. The other applications are now loaded at 0x08030000 (128 KB into the flash) and will never get started unless the bootloader has been programmed into flash too. | |||
2016-05-25 | More DFU code. This might actually work. | Fredrik Thulin | |
The applications to be uploaded using 'dfu upload' have to have another FLASH defined in their linker script. Have to recompile some firmware tomorrow and test if this actually works. | |||
2016-05-25 | Merge remote-tracking branch 'origin/master' into ft-dfu-code-loading | Fredrik Thulin | |
2016-05-24 | Merge branch 'master' of git.cryptech.is:sw/stm32 | Paul Selkirk | |
2016-05-24 | Add test-mkmif | Paul Selkirk | |
2016-05-24 | non-working code to upload an application and jump to it | Fredrik Thulin | |
Committing my work in progress in case someone else wants to help. | |||
2016-05-24 | make 'test sdram' take number of iterations as argument | Fredrik Thulin | |
2016-05-23 | SDRAM initialization and test code from Pavel. | Fredrik Thulin | |
Integrated into the cli-test program as such: cryptech> test sdram Initializing SDRAM Starting SDRAM test (n = 0) Run sequential write-then-read test for the first chip Run random write-then-read test for the first chip Run sequential write-then-read test for the second chip Run random write-then-read test for the second chip Run interleaved write-then-read test for both chips at once SDRAM test (n = 0) completed SDRAM test completed successfully cryptech> |