Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-16 | Switch to libhal's CRC-32 code. | Rob Austein | |
2017-04-11 | Track API changes on sw/libhal pkcs8 branch. | Rob Austein | |
2017-02-22 | Refactor flash code. | Paul Selkirk | |
2016-12-19 | Merge branch 'master' into ksng. | Rob Austein | |
Drag in UART-related changes from master. | |||
2016-11-15 | Reinitialize keystore data structures after wiping keystore flash. | Rob Austein | |
2016-11-14 | Track removal of hal_rpc_pkey_list(). | Rob Austein | |
2016-11-14 | hal_rpc_pkey_find() -> hal_rpc_pkey_open(). | Rob Austein | |
2016-10-09 | Track changes to libhal pkey API. | Rob Austein | |
2016-10-07 | Track changes to libhal RPC pkey API. | Rob Austein | |
2016-10-07 | strcasecmp() is not a standard function. | Rob Austein | |
2016-09-27 | "keystore erase" now clears entire keystore flash. | Rob Austein | |
Now that we're using more than just the first few sectors of the keystore flash, we need a command to clear the whole thing. This is not quite right yet, because it doesn't yet notify libhal's ks_flash driver that the entire content of the flash has been yanked out from under it. In theory, we should be able to erase the entire flash in a single operation using the bulk erase command command (0xC7), but I couldn't get that to do anything (no error reported, no visible effect), so, for now, we erase by sectors. | |||
2016-09-23 | Use subsectors instead of sectors in keystore. | Rob Austein | |
2016-09-16 | Revised ks_flash. Compiles, not yet tested. | Rob Austein | |
2016-09-13 | Track libhal cleanup (function names, const-ification). | Rob Austein | |
2016-09-09 | Track removal of `type` argument from hal_rpc_pkey_find(). | Rob Austein | |
2016-09-05 | add bit-for-bit testing of FMC address and data bus | Fredrik Thulin | |
2016-09-02 | Whack with club until working with new keystore API. | Rob Austein | |
Basic stuff like "keystore show keys", "keystore delete key", and the PIN commands all work with the new keystore code. Some of the management commands are still broken. Some of the old management commands were using libhal-internal APIs for which no real equivalent exists anymore. Some of the old management commands were doing things that, um, never could have worked as written. | |||
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 | 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-12 | merge from projects/hsm | Fredrik Thulin | |
2016-07-12 | restore original SCLK_DIV | Fredrik Thulin | |
2016-07-12 | re-enable masterkey | Fredrik Thulin | |
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-08 | merge test code from projects/hsm/ | Fredrik Thulin | |
2016-06-25 | Split LIB*_DIR into _SRC and _BLD. | Paul Selkirk | |
Also rename all instances of GNUmakefile to Makefile. | |||
2016-06-16 | Merge branch 'master' into ft-ks_flash | Fredrik Thulin | |
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 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-07 | Don't reboot when CLI logout is intended. | Paul Selkirk | |
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-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-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> | |||
2016-05-21 | Add code to test reading, writing and erasing keystore data. | Fredrik Thulin | |
2016-05-21 | Add code to access the keystore memory (SPI flash). | Fredrik Thulin | |
2016-05-21 | Add some exciting defines to define commans in the CLI. | Fredrik Thulin | |
Hopefully, having this excitement now makes adding commands a little bit less exciting from here on. | |||
2016-05-20 | Add code to reset FPGA using FPGA_PROGRAM_B and FPGA_INIT_B. | Fredrik Thulin | |
Also add code to erase FPGA config memory and check status of FPGA_DONE. |