Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-20 | Reworked the way iCE40-based MKM is configured. The bitmap is now stored rightice40mkm | Pavel V. Shatov (Meister) | |
after the main FPGA's bitstream (was placed at the very end of the configuration memory previously). This makes it possible to flash two devices at the same time, but needs a somewhat smarter supporting routine. Instead of just looking at the very last sector of the config memy we now to need to swipe through all the sectors looking for the Lattice magic bitmap marker to determine where the MKM firmware starts. | |||
2021-12-20 | Small fix to the upload script. Skip dummy text information preceeding actual | Pavel V. Shatov (Meister) | |
bitstream data. | |||
2021-09-13 | Added call to ice40mkm_configure() to the 'hsm' project startup code. | Pavel V. Shatov (Meister) | |
2021-09-13 | Added call to ice40mkm_init() during initialization. | Pavel V. Shatov (Meister) | |
2021-09-13 | Added ice40mkm.o to the Makefile for the bootloader | Pavel V. Shatov (Meister) | |
2021-09-13 | Added ice40mkm.o to the main Makefile | Pavel V. Shatov (Meister) | |
2021-09-13 | This adds two routines, ice40mkm_init() and ice40mkm_configure(). The former | Pavel V. Shatov (Meister) | |
should be called once during startup. The latter configures the iCE40 chip with a bitstream stored in the very end of the main FPGA's configuration memory. It should be called after startup and potentially after MKM bitstream is upgraded. | |||
2021-09-13 | Function to read data from the main FPGA configuration memory. | Pavel V. Shatov (Meister) | |
2021-09-13 | Initialize I/O pins of SPI3, which is used to configure iCE40-based MKM. | Pavel V. Shatov (Meister) | |
Note, that SPI3 is alternate function 6, unlike SPI1 & SPI2 which are both AF5. | |||
2021-07-19 | Fixed copyright notice.HEADmaster | Pavel V. Shatov (Meister) | |
2021-06-28 | Revert Peter's hardware flow control patch, as it sometimes causes | Paul Selkirk | |
corruption on the sending side of USART2 (user/RPC) under load. | |||
2020-10-15 | Ubuntu replaced arm-none-eabi-gdb with gdb-multiarch over 2 years ago, but | Paul Selkirk | |
maybe we're running an old version that still has it? Check for both. | |||
2020-10-15 | OpenOCD versions since at least 0.9.0 (May 2015) actually do need the | Paul Selkirk | |
'exit' command to terminate the script. Hopefully we're all past using Debian Jessie by now? | |||
2020-10-15 | Reduce overly-long HAL_IO_TIMEOUT. | Paul Selkirk | |
2020-10-15 | Remove no-longer-useful mgmt-keywrap. | Paul Selkirk | |
2020-10-15 | Remove no-longer-useful test-mkmif. | Paul Selkirk | |
2020-10-15 | Add retro fmc_write_32/fmc_read_32 for the board-test projects that use them. | Paul Selkirk | |
2020-10-15 | Silence deprecated warnings in CMSIS code. | Paul Selkirk | |
2020-10-15 | Peter Stuge's fix for hardware flow control: Program CTS and RTS pins as ↵ | Paul Selkirk | |
alternate functions. | |||
2020-09-02 | Well of course there had to be one last dumb Python3 string bugpython3 | Rob Austein | |
2020-09-01 | ..Aaaand a few more Python3 string bugs in cryptech_upload | Rob Austein | |
2020-09-01 | One more set of silly Python3 bytes handling errors | 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 | |
2020-05-05 | Add more RPC tasks for better signing performance. | Paul Selkirk | |
2020-04-29 | The new keywrap core now talks directly to the MKM, so there are some API ↵ | Paul Selkirk | |
changes. | |||
2020-03-10 | change hal_aes_use_keywrap_core | Paul Selkirk | |
2020-03-09 | Replace the brutally inefficient fp_to_unsigned_bin with one based on | Paul Selkirk | |
fp_read_unsigned_bin. I thought about patching it directly in sw/thirdparty/libtfm, but ultimately decided to keep that pristine (especially since we verify file checksums there). | |||
2020-02-26 | Merge branch 'js_keywrap' to 'master' | Paul Selkirk | |
2020-02-26 | conditionalize timing tests | Paul Selkirk | |
2020-02-26 | Merge branch 'modexpng' to 'master' | Paul Selkirk | |
2020-02-26 | Some timing tests overflow the meagre 16K CLI task stack, so bump it up for ↵ | Paul Selkirk | |
that case. | |||
2020-02-18 | timing tests for RSA signingmodexpng | Paul Selkirk | |
2020-01-21 | Merge branch 'fmc_clk' | Pavel V. Shatov (Meister) | |
2020-01-21 | New FMC settings for STM32.fmc_clk | Pavel V. Shatov (Meister) | |
2019-04-09 | Rebase branch 'js_keywrap' from masterjs_keywrap | Paul Selkirk | |
2019-04-06 | Remove fmc_[read|write]_32, since we now memcpy in hal_io_[read|write]. | Paul Selkirk | |
2019-04-03 | Merge branch 'fmc_clk_60mhz' to 'master' | Paul Selkirk | |
2019-03-31 | Remove inclusion of now-deleted hashsig.h | Paul Selkirk | |
2019-02-28 | Report SDRAM usage in `task show` | Paul Selkirk | |
2019-01-31 | Updated FMC initialization code to match changes in FMC arbiter. | Pavel V. Shatov (Meister) | |
2018-12-12 | Rebase branch 'fmc_clk' of git.cryptech.is:sw/stm32 from master | Paul Selkirk | |
2018-12-12 | Whack various bits of sw/stm32 test code to compile on fmc_clk branch. | Rob Austein | |
2018-12-12 | Changed FMC initialization code to match the new sync FMC arbiter. Removed | Pavel V. Shatov (Meister) | |
unnecessary code (no more double read, yay!) | |||
2018-12-05 | Tell libtfm that the ARM is little-endian, so it can optimize ↵ | Paul Selkirk | |
fp_read_unsigned_bin(). This enables some overflow-detection code, which fixes CT-01-009. It also saves 484us/call, which adds up to 6.3ms/RSA signature. | |||
2018-12-03 | Re-delete SysTick_hook (commit 9ffead1), which somehow crept back in. | Paul Selkirk | |
2018-12-02 | Clean up the profiling code to the point where I stand a chance of | Paul Selkirk | |
understanding it 6 months from now. While I'm at it, try to make it a little more efficient (because 50-60% of time in a typical profiling run is spent in the function-entry counting), and collapse profil.c into gmon.c. | |||
2018-11-26 | Add loop unrolling to bring the profilable mem* functions closer to | Paul Selkirk | |
newlib, because memset is called a LOT in the course of RSA signing, and we need to understand how much time we're actually spending there. | |||
2018-11-14 | Increase cli task, and move it to SDRAM, because main RAM is getting full. | Paul Selkirk | |