| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Flatten embassy-boot dir tree | Dario Nieuwenhuis | 2024-01-11 | 1 | -323/+0 |
| | | |||||
| * | boot: update ed25519-dalek in dev-dependencies. | Dario Nieuwenhuis | 2023-12-19 | 1 | -5/+3 |
| | | |||||
| * | Address reviews | Kaitlyn Kenwell | 2023-12-14 | 1 | -1/+1 |
| | | |||||
| * | Add embassy-usb-dfu | Kaitlyn Kenwell | 2023-12-13 | 1 | -0/+3 |
| | | |||||
| * | Remove nightly and unstable-traits features in preparation for 1.75. | Dario Nieuwenhuis | 2023-11-29 | 1 | -13/+8 |
| | | |||||
| * | Update Rust nightly. | Dario Nieuwenhuis | 2023-11-01 | 1 | -0/+1 |
| | | |||||
| * | Refactor firmware updater | Ulf Lilleengen | 2023-08-06 | 1 | -32/+47 |
| | | | | | | * Allow manipulating state without accessing DFU partition. * Provide aligned buffer when creating updater to reduce potential wrong parameters passed. | ||||
| * | Prevent accidental revert when using firmware updater | Ulf Lilleengen | 2023-06-19 | 1 | -3/+9 |
| | | | | | | This change prevents accidentally overwriting the previous firmware before the new one has been marked as booted. | ||||
| * | Fix verify test | Rasmus Melchior Jacobsen | 2023-05-30 | 1 | -1/+4 |
| | | |||||
| * | Align tests | Rasmus Melchior Jacobsen | 2023-05-30 | 1 | -107/+141 |
| | | |||||
| * | Remove legacy Partition type and use the one from embedded-hal | Rasmus Melchior Jacobsen | 2023-05-30 | 1 | -2/+0 |
| | | |||||
| * | Add TestFlash helper | Rasmus Melchior Jacobsen | 2023-05-30 | 1 | -0/+6 |
| | | |||||
| * | Add bootloader helper for creating config from linkerfile symbols | Rasmus Melchior Jacobsen | 2023-05-30 | 1 | -1/+1 |
| | | |||||
| * | Split FirmwareUpdater into async and blocking types | Rasmus Melchior Jacobsen | 2023-05-30 | 1 | -1/+3 |
| | | |||||
| * | Update Rust nightly. | Dario Nieuwenhuis | 2023-05-19 | 1 | -1/+0 |
| | | |||||
| * | embassy-boot: ensure tests can run on the stable compiler | sander | 2023-04-20 | 1 | -4/+4 |
| | | |||||
| * | merge embassy/master | sander | 2023-04-11 | 1 | -1378/+49 |
| |\ | |||||
| | * | Let update_len be u32 | Rasmus Melchior Jacobsen | 2023-04-11 | 1 | -1/+1 |
| | | | |||||
| | * | Merge remote-tracking branch 'upstream/master' into u32-partition | Rasmus Melchior Jacobsen | 2023-04-11 | 1 | -0/+1 |
| | |\ | |||||
| | | * | Let update_len be usize for now | Rasmus Melchior Jacobsen | 2023-04-05 | 1 | -1/+1 |
| | | | | |||||
| | | * | Merge remote-tracking branch 'upstream/master' into incremental-hash | Rasmus Melchior Jacobsen | 2023-04-05 | 1 | -34/+10 |
| | | |\ | |||||
| | | * \ | Merge remote-tracking branch 'upstream/master' into incremental-hash | Rasmus Melchior Jacobsen | 2023-04-04 | 1 | -135/+24 |
| | | |\ \ | |||||
| | | * | | | Let hash functions take a digest::Digest trait | Rasmus Melchior Jacobsen | 2023-04-04 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | ... and add adapters for current Sha512 implementations that does not inplement the Digest trait | ||||
| | | * | | | Merge remote-tracking branch 'upstream/master' into incremental-hash | Rasmus Melchior Jacobsen | 2023-04-04 | 1 | -5/+3 |
| | | |\ \ \ | |||||
| | | * | | | | Add incremental hash to FirmwareUpdater | Rasmus Melchior Jacobsen | 2023-04-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for computing any hash over the update in the dtu area by providing a closure to the hash update function. | ||||
| | * | | | | | Let Partition range be u32 instead of usize | Rasmus Melchior Jacobsen | 2023-04-05 | 1 | -43/+17 |
| | | |_|_|/ | |/| | | | |||||
| | * | | | | Allow different erase sizes for active and dfu | Rasmus Melchior Jacobsen | 2023-04-04 | 1 | -7/+5 |
| | | | | | | |||||
| | * | | | | Remove the Flash trait | Rasmus Melchior Jacobsen | 2023-04-04 | 1 | -1/+1 |
| | | | | | | |||||
| | * | | | | Assert active and dfu have same erase size and copy in smaller chunks | Rasmus Melchior Jacobsen | 2023-04-04 | 1 | -21/+11 |
| | | | | | | | | | | | | | | | | | | | | | The copy from active to dfu (and vice versa) is now done in smaller portions depending on aligned_buf, which now does not need to be erase_size big. | ||||
| | * | | | | Remove magic buffer argument from prepare_boot | Rasmus Melchior Jacobsen | 2023-04-04 | 1 | -17/+5 |
| | | |_|/ | |/| | | | | | | | | | | and use the aligned page buffer instead | ||||
| | * | | | Fix compile error when verification is enabled | Rasmus Melchior Jacobsen | 2023-04-04 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Merge remote-tracking branch 'upstream/master' into avoid-write-before-erase | Rasmus Melchior Jacobsen | 2023-04-04 | 1 | -5/+3 |
| | |\ \ \ | | | |/ | | |/| | |||||
| | | * | | Remove FirmwareWriter | Rasmus Melchior Jacobsen | 2023-04-03 | 1 | -5/+3 |
| | | |/ | | | | | | | | | | FirmwareWriter currently has a "max-write-size" parameter, but this is a limitation that should be handled by chunking inside the NorFlash driver, and not "up here" in user code. In case that the driver (e.g. qspi driver) is unaware of any max-write limitations, one could simply add an intermediate NorFlash adapter providing the chunk'ing capability. | ||||
| | * | | Avoid write to not-erased magic | Rasmus Melchior Jacobsen | 2023-04-04 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | This introduces an additional marker to the state partition right after the magic which indicates whether the current progress is valid or not. Validation in tests that we never write without an erase is added. There is currently a FIXME in the FirmwareUpdater. Let me know if we should take the erase value as a parameter. I opened a feature request in embedded-storage to get this value in the trait. Before this, the assumption about ERASE_VALUE=0xFF was the same. | ||||
| | * | | Move MemFlash to separate module and add verify_erased_before_write verification | Rasmus Melchior Jacobsen | 2023-04-03 | 1 | -133/+22 |
| | |/ | |||||
| | * | Add erase and wipe tests | Rasmus Melchior Jacobsen | 2023-03-31 | 1 | -1/+2 |
| | | | |||||
| | * | Split bootloader implementation into multiple files | Rasmus Melchior Jacobsen | 2023-03-31 | 1 | -1171/+12 |
| | | | |||||
| * | | embassy-boot: add default nightly feature, makes it possible to compile with ↵ | sander | 2023-03-22 | 1 | -1/+10 |
| |/ | | | | the stable compiler | ||||
| * | Merge branch 'emb-storage-async-0p4' of https://github.com/Grus-BV/embassy ↵ | Mehmet Ali Anil | 2023-03-07 | 1 | -3/+4 |
| |\ | | | | | | | into emb-storage-async-0p4 | ||||
| * \ | Merge branch 'emb-storage-async-0p4' of https://github.com/Grus-BV/embassy ↵ | Mehmet Ali Anil | 2023-03-07 | 1 | -1/+1 |
| |\ \ | |/ |/| | | | into emb-storage-async-0p4 | ||||
| * | | Merge upstream | Mehmet Ali Anil | 2023-03-07 | 1 | -35/+25 |
| |\ \ | |/ |/| | |||||
| * | | Bump embedded-storage-async to 0.4 | Mehmet Ali Anil | 2023-03-06 | 1 | -2/+2 |
| |/ | |||||
| * | Support codesigning in the firmware updater | huntc | 2023-01-12 | 1 | -14/+353 |
| | | | | | This commit provides a method to verify that firmware has been signed with a private key given its public key. The implementation uses ed25519-dalek as the signature verifier. An "ed25519" feature is required to enable the functionality. When disabled (the default), calling the firmware updater's verify method will return a failure. | ||||
| * | fix: add required metadata for embassy-boot | Ulf Lilleengen | 2022-11-25 | 1 | -1/+1 |
| | | |||||
| * | Fix ascii table in BootLoader doc comment | Daniel Bevenius | 2022-10-29 | 1 | -1/+1 |
| | | | | | Signed-off-by: Daniel Bevenius <[email protected]> | ||||
| * | make prepare_update async | Mathias | 2022-09-26 | 1 | -2/+2 |
| | | |||||
| * | Add get_state helpers to allow self-testing before calling mark_booted | Mathias | 2022-09-26 | 1 | -13/+43 |
| | | |||||
| * | Add blocking API to FirmwareUpdater, and allow for a split prepare/write api | Mathias | 2022-09-26 | 1 | -7/+179 |
| | | |||||
| * | Update Rust nightly. | Dario Nieuwenhuis | 2022-09-22 | 1 | -1/+0 |
| | | | | | Removes feature(generic_associated_types) | ||||
| * | Take into account size of revert index | Ulf Lilleengen | 2022-09-20 | 1 | -4/+17 |
| | | | | | | | | Fixes a bug in the partition assertions that ensures that the state page(s) have enough space for 2x active partition range. Add unit test to verify that panic is observed. | ||||
