Commit Graph

1490 Commits (e8ce553ce8224bb0d93b4cb5cf5befac36e6302a)

Author SHA1 Message Date
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
Daniel Fedai Larsen 0f25c80114 Add support for MIMXRT1042XJM5B 2024-02-13 11:50:21 +01:00
David Garske 9e2aaebed3 Fix for NXP T1024 to get MAC address from Integrity OS ethernet configuration area in flash. 2024-02-13 08:55:11 +01:00
David Garske 85b59634a1 Peer review feedback. 2024-02-12 19:54:12 +01:00
David Garske 87d60ddbe5 Added NXP T1024 mEMAC, MDIO and PHY setup. Setting PHY fixes Integrity OS Ethernet issues and task crash.
Example Output:
```
PHY 2: SGMII, Mac DC:A7:D9:0:6:F6
PHY 2: TI DP83867 (OUI 80028, Mdl 23, Rev 1)
PHY 1: SGMII, Mac DC:A7:D9:0:6:F5
PHY 1: TI DP83867 (OUI 80028, Mdl 23, Rev 1)
PHY 3: RGMII, Mac DC:A7:D9:0:6:F7
PHY 3: TI DP83867 (OUI 80028, Mdl 23, Rev 1)
PHY 4: RGMII, Mac DC:A7:D9:0:6:F8
PHY 4: TI DP83867 (OUI 80028, Mdl 23, Rev 1)
```
2024-02-12 19:54:12 +01:00
David Garske 2a93b0936c Fix for eSDHC to update FDT with status and clock. Fix eSPI base address. 2024-02-12 19:54:12 +01:00
David Garske 57b4ee2bbc Adjust NXP T1024 flash layout, so existing device tree location does not have to move. 2024-02-12 19:54:12 +01:00
David Garske 5808b4c59e Fix for T1024 CPU core clock calculation. 2024-02-12 19:54:12 +01:00
David Garske 349231b982 Cleanups. 2024-02-12 19:54:12 +01:00
David Garske 275222f0cb CPLD Fixes. Add MRAM support. 2024-02-12 19:54:12 +01:00
David Garske 7b1d180951 Improvements for CPLD. Patch for PCIe from TigerLake. 2024-02-12 19:54:12 +01:00
David Garske ffa31caa56 Fix for T1024 CPLD.
Reads:
```
CPLD BOARD_ID: 0x41503031
CPLD PLD_VER: 0x42
```
2024-02-12 19:54:12 +01:00