Daniele Lacamera
213315507c
Add command line tool to generate otp.bin
2024-07-09 08:42:33 +02:00
Marco Oliverio
0f8f30d6b8
Merge pull request #457 from danielinux/otp-regressions
...
Fix build OTP options
2024-06-26 12:07:02 +02:00
David Garske
a92c1b9ad9
STM32U5 cache support. Including cache invalidate on `nvm_select_fresh_sector`. ZD 18210
2024-06-25 18:12:47 +02:00
Daniel Pouzzner
441200f469
fix: support DEBUG=0 build
...
* build lib/wolfssl/wolfcrypt/src/logging.o unconditionally,
* gate debug printing in do_tpm_selftest() appropriately,
* initialize top_address in src/boot_x86_fsp.c:start() to fix -Wmaybe-uninitialized,
* and add __attribute__((used)) to static src/x86/exceptions.c:common_exception_handler() and _timer_handler() implementations to accommodate asm-only calling;
* fix parallel make: add dependency of stage1/loader_stage1.bin on wolfboot.elf.
* add -ffreestanding -static flags to avoid gcc compiler optimize strings functions
Co-authored-by: Daniel Pouzzner <douzzer@wolfssl.com>
2024-06-19 09:47:06 +02:00
Daniele Lacamera
391e8d05d8
Fix build OTP options
...
- ARMORED option is not needed in otp_primer
- do not attempt to compile otp_primer if the option is not declared
2024-06-18 15:00:54 +02:00
Daniele Lacamera
4dda0571c7
Fix building PKCS11 Trustzone with any auth algo
2024-05-29 15:05:56 +02:00
David Garske
971cbe0ecc
Merge pull request #449 from danielinux/stm32h7_otp
...
Support for OTP Flash as trust anchor for keystore
2024-05-24 16:34:29 -07:00
Daniele Lacamera
9b378d005b
Reviewer requests: fix portability of "packed"
...
+ separate object for hal in otp-keystore-primer
2024-05-24 16:42:07 +02:00
Daniele Lacamera
75cd725c9d
Fix linker warnings when building with otp
2024-05-24 16:37:25 +02:00
Marco Oliverio
bf55ac1ab5
x86_efi: fixes
...
- do not use a custom section for the keystore as it will not be loaded in the
UEFI env
- remove and disable WOLFBOOT_LOAD_ADDRESS
- copy .rodata from .elf to .efi as the new version of gnu-efi ld scripts do
not merge .rodata into .data anymore
- fix typo in compile_efi_linux.sh
2024-05-20 17:03:16 +02:00
Daniele Lacamera
307e3b426c
otp_keystore_primer: fixed provisioning + readonly
2024-05-20 10:58:43 +02:00
Daniele Lacamera
9dd8b7cf97
Renamed FLASH_OTP_ROT to FLASH_OTP_KEYSTORE
2024-05-15 10:55:47 +02:00
Daniele Lacamera
02bfe8a6a1
Added OTP support for STM32H5
2024-05-15 10:55:47 +02:00
Daniele Lacamera
572e1157bc
Added "otp-keystore-primer" tool
2024-05-15 10:55:46 +02:00
Daniele Lacamera
d1eabc2e31
Keystore module for OTP in FLASH
2024-05-15 10:55:46 +02:00
Daniele Lacamera
62a5b9f8fa
Export hal functions for OTP read/write access
2024-05-15 10:55:46 +02:00
David Garske
0ddde6f074
Merge pull request #444 from miyazakh/renesas_rz_rsip
...
Add RSIP use to Renesas RZ support
2024-05-10 11:52:12 -07:00
David Garske
027c6847e5
Merge pull request #443 from wolfSSL/x86_fsp_backport
...
x86 fsp backport
2024-05-09 07:46:56 -07:00
Daniele Lacamera
3ec982109c
STM32H5: added support for TrustZone
...
- Unified TZ support for STM32L5, STM32H5, STM32U5
- Fixed/added example configuration files
- Expanded documentation
- Added new configurations to automated tests
2024-05-09 16:33:40 +02:00
Marco Oliverio
a98e74fa33
fix: user_settings.h: fix typo in ECC521 defines
2024-04-29 12:50:37 +02:00
Marco Oliverio
ee4747e79c
pci: move pcie_retraining_link in boot_x86_fsp
...
the function relies a non-general delay() function, so move the function in a
more target-specific file.
2024-04-29 10:27:42 +02:00
Marco Oliverio
71a43064f6
pci: stage2: uniform parameter-less function prototype
2024-04-29 09:53:49 +02:00
Marco Oliverio
0aa886783f
fsp: support stage2_get_parameters() helper
2024-04-29 09:53:49 +02:00
Marco Oliverio
e96babef24
refactor: rename stage1.{h,c} in stage2_params.{h,c}
2024-04-29 09:53:49 +02:00
Marco Oliverio
7ce14a242a
pci: dump pci bus, lspci format
2024-04-29 09:53:49 +02:00
Marco Oliverio
37fb0aaa2a
tpm: include self test wrapper
2024-04-29 09:53:49 +02:00
Marco Oliverio
8dc8c8ca22
fsp: tgl: retraing 0.6.0 link after SiliconInit
2024-04-29 09:53:49 +02:00
Marco Oliverio
7a72bc719b
ata: support master password in ata_security_erase_unit()
2024-04-29 09:53:49 +02:00
Marco Oliverio
85d6437433
ata: enable to compare against master password
2024-04-29 09:53:49 +02:00
Marco Oliverio
992bb4c13d
ata: support aync ATA command operation
...
only one operation at the time at driver level is allowed.
2024-04-29 09:53:49 +02:00
Marco Oliverio
e90ddcaadc
ata: add missing prototypes
2024-04-29 09:53:49 +02:00
Marco Oliverio
2d67742be9
x86: ahci: make freeze optional in sata_unlock_disk
2024-04-29 09:53:49 +02:00
Marco Oliverio
4bbe43e222
x86: support cpu exceptions
2024-04-29 09:53:49 +02:00
Hideki Miyazaki
7725cc1a8b
initial support Renesas RZ with RSIP
2024-04-26 07:28:07 +09:00
Marco Oliverio
e7a626223a
gpt: support partition label
2024-04-24 17:07:35 +02:00
Marco Oliverio
7247d1184b
x86: sata: separate sata_unlock_disk() as a separate operation
2024-04-24 10:50:50 +02:00
Marco Oliverio
7f4db8247c
user_settings: allow multiples HAVE_ECC* defines
2024-04-23 10:42:07 +02:00
David Garske
a553dc9943
Merge pull request #436 from danielinux/prepare-release-2.1.0
...
Release 2.1.0: Updated ChangeLog and version.h
2024-04-16 11:29:03 -07:00
Daniele Lacamera
0581d9920d
Updated ChangeLog and version.h
2024-04-16 19:42:54 +02:00
David Garske
a37a816693
Merge pull request #433 from danielinux/gpl3
...
Update license GPL2 -> GPL3
2024-04-16 10:36:10 -07:00
Daniele Lacamera
fce6149cf8
Update license GPL2 -> GPL3
2024-04-16 16:46:15 +02:00
Daniele Lacamera
da5b73817e
Update wolfPKCS11 to v1.3.0. Fixed doc
2024-04-16 16:24:31 +02:00
Daniele Lacamera
92f630ad3c
Added "cc" clobbers
2024-04-11 12:39:12 +02:00
Daniele Lacamera
d73341112d
Anti-glitch armor: Added clobbers to assembly
2024-04-10 09:59:14 +02: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
a314875c79
Added support for SIGN=ECC521
2024-03-01 15:32:33 +01:00
Daniele Lacamera
c70c8a470d
Added support for Microchip SAM E51
2024-02-15 17:30:11 +01:00
David Garske
fea3b9ed1d
Improve PCIe code.
2024-02-12 19:54:12 +01:00
David Garske
0b206d6758
Fixes for NXP T1024 with Integrity OS. Adds additional FDT fixups for FMAN, Ethernet, PCI. Add PCI init and enumeration.
2024-02-12 19:54:12 +01:00
David Garske
30620bf47a
Upstreaming TigerLake TPM improvements.
2024-02-03 10:52:39 -08:00