Commit Graph

1501 Commits (737ecaf3384379fa2dcb017f9eb6a56ef30a4f91)

Author SHA1 Message Date
Daniele Lacamera 737ecaf338 wolfBoot partition size on stm32c0-lms: 10KB
With gcc < 13, LMS setup won't fit in 8KB (overflow of 32B).
2024-04-11 11:45:42 +02:00
Daniele Lacamera 553885038b Added buld-lms workflow 2024-04-11 11:40:53 +02:00
Daniele Lacamera a4fe7d6c12 Added the new stm32c0 config to the build workflow 2024-04-11 11:30:35 +02:00
Daniele Lacamera 655ba461ac Added more configuration options for stm32c0 2024-04-11 11:27:56 +02:00
Daniele Lacamera c332cb93d8 Updated footprint size limits
+ footprint.yml:  Removed dependency to abandoned/obsolete github action module
2024-04-10 14:42:50 +02:00
Daniele Lacamera caf9577613 Switch STM32C0 default config to ed25519 2024-04-10 13:08:20 +02:00
Daniele Lacamera 12f8f75c89 Add `HAVE_NETDB_H` to tpmtools and sim-wolfboot 2024-04-10 12:45:52 +02:00
Daniele Lacamera 063a120ec5 Update test platform from ubuntu-20.04 to ubuntu-latest 2024-04-10 12:21:25 +02:00
Daniele Lacamera c12d968583 Added extra memory buffer for wolfCrypt 5.7.0 RSA
In wolfSSL 5.7.0 here is an extra buffer used for "ASN" checks on RSA
2024-04-10 12:13:38 +02:00
Daniele Lacamera c64cb4ee06 Updated submodules: wolfSSL-v5.7.0 + wolfTPM latest 2024-04-10 11:25:06 +02:00
jordan cf0519903c Fix lms and xmss build. 2024-03-19 21:50:46 +01:00
David Garske e8ce553ce8 Change the STM32U5 default image header size to resolve vector table alignment issues with the Cortex-M33. ZD 17661 2024-03-15 21:10:43 +01:00
Marco Oliverio 6d927eb334
Merge pull request #418 from danielinux/same51_sector_size
Fixed sector size for SAME51
2024-03-11 12:44:22 +01:00
Daniele Lacamera 2500266c7f Fixed sector size for SAME51
According to datasheet DS60001507, section 25.6.2:

"The NVM is organized into two banks, each bank is organized into blocks, where each block contains
sixteen pages and page size is 512 bytes."
2024-03-11 12:25:57 +01:00
David Garske c005ba605c
Merge pull request #417 from danielinux/fix-tlv-alignment
Custom TLV: enforce 8B alignment for all fields
2024-03-08 12:23:45 -08:00
David Garske 5ecd2f749d Cleaned up TLV example and simulator output. Moved `wolfBoot_find_header` to the public header. 2024-03-08 12:15:23 -08:00
Daniele Lacamera 440ebb9dc1 Addressed reviewer's comments 2024-03-08 20:12:50 +01:00
Daniele Lacamera 00ec1b4395 Added github action to test custom TLV 2024-03-08 18:58:21 +01:00
Daniele Lacamera e9d65b3bd2 Fixed TLV alignment for 8B fields
+ added sim "get_tlv" command
2024-03-08 18:40:34 +01:00
David Garske 01e22edb34 Fix sign tool TLV alignment padding. 2024-03-08 11:38:46 +01:00
David Garske 2826f70ca7 Improve documentation for new custom TLV. 2024-03-08 11:38:46 +01:00
David Garske e3669245d5
Merge pull request #411 from miyazakh/renesas_rz2
Support wolfBoot on Renesas RZN2L
2024-03-01 20:22:11 -08:00
David Garske 63da28c493 Fixes for spelling and typos. 2024-03-01 13:24:57 -08:00
David Garske 35216fa0fd
Merge pull request #414 from danielinux/ecc521
Added support for SIGN=ECC521
2024-03-01 13:01:39 -08:00
David Garske 5ba777c748 Add documentation for ECC P-521. 2024-03-01 12:28:07 -08:00
Daniele Lacamera c7c0e8c686 Ecc521+Sha384: fixed test case 2024-03-01 16:55:22 +01:00
Daniele Lacamera a314875c79 Added support for SIGN=ECC521 2024-03-01 15:32:33 +01:00
Hideki Miyazaki b92509a438 add RZN2L to Targets.md
clean up
2024-03-01 07:17:17 +09:00
David Garske dff83a88f9
Merge pull request #412 from danielinux/custom-tlv
Added support for custom TLVs in manifest header
2024-02-29 08:44:08 -08:00
Daniele Lacamera 0996e0f31e Added tests for custom-tlv parameters 2024-02-29 17:29:29 +01:00
Daniele Lacamera df3ccc55b5 Address reviewer's comment
Don't allow "0xFF" in custom tags
2024-02-29 17:29:29 +01:00
Daniele Lacamera 304e0e876e Added sign option `--custom-tlv-buffer` 2024-02-29 17:29:29 +01:00
Daniele Lacamera 43f7730576 Added support for custom TLVs in manifest header 2024-02-29 17:29:29 +01:00
David Garske 69556cd639
Merge pull request #413 from danielinux/same51_erase_fix
SAM E51: hal_flash_erase bugfix
2024-02-29 06:34:59 -08:00
Daniele Lacamera 32057f1fa0 SAM E51: hal_flash_erase bugfix
Increment the address when erasing multiple pages.
2024-02-29 12:30:13 +01:00
Hideki Miyazaki 5993cb4fa3 change background color to white 2024-02-29 15:08:36 +09:00
Hideki Miyazaki fd9670d52e address review comments 2024-02-28 17:22:01 +09:00
David Garske c2388cd142 Fix for NXP T1024 PHY address mapping. Add ability to override macros. 2024-02-27 13:21:55 +01:00
Hideki Miyazaki 3683ad0a33 add items to .gitignore
fix spelling errors
2024-02-27 15:51:02 +09:00
Hideki Miyazaki 6c0509ae78 Initial commit for wolfBoot Loader project on e2studio
-- update based on readme
2024-02-27 15:49:11 +09:00
John Bland 3166b07526
Merge pull request #409 from danielinux/no_backup_powerfail
DISABLE_BACKUP is now powerfail-safe.
2024-02-26 13:02:39 -05:00
Daniele Lacamera a9ba39b07e Added more tests 2024-02-26 12:34:55 +01:00
Daniele Lacamera bfe9e4fdf9 Added update+powerfail test for DISABLE_BACKUP 2024-02-22 16:27:59 +01:00
Daniele Lacamera 37d92fdd3d DISABLE_BACKUP is now powerfail-safe.
By not checking/updating sector flags during copies from UPDATE to
BOOT partitions, a copy operation getting interrupted by power failure
will be less likely to cause problems to the integrity of the BOOT
image. This is because in case of interruptions, the copy operation
will be restarted from the first sector.
2024-02-22 09:36:21 +01:00
David Garske 11017d8af2
Merge pull request #405 from MulattoKid/mimxrt1040evk_support
Add support for MIMXRT1042XJM5B
2024-02-15 15:02:09 -08:00
David Garske aaac032566 Add LPUART1 IO init. Add automated testing for RT1040. 2024-02-15 14:54:46 -08:00
David Garske 8a7c6933a4
Merge pull request #407 from danielinux/dualbank_swap_fork_bootloader_once
DUALBANK: fork_bootloader should only execute once
2024-02-15 09:06:08 -08:00
David Garske 22f5c09e68
Merge pull request #397 from danielinux/same51
Support for Microchip Same51
2024-02-15 09:05:51 -08:00
Daniele Lacamera c70c8a470d Added support for Microchip SAM E51 2024-02-15 17:30:11 +01:00
Daniele Lacamera c25497eba9 DUALBANK: fork_bootloader should only execute once
fork_bootloader() should perform a physical copy of
the bootloader to its partition in the second bank only
if the content of the two partitions does not already match.
2024-02-15 16:55:33 +01:00