Commit Graph

1441 Commits (ffa31caa562da7c61b5dbbbefb58fcfcb0046db9)

Author SHA1 Message Date
David Garske ffa31caa56 Fix for T1024 CPLD.
Reads:
```
CPLD BOARD_ID: 0x41503031
CPLD PLD_VER: 0x42
```
2024-02-12 19:54:12 +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 6ccf221483 Fixes for building TI Hercules. 2024-02-06 15:31:34 +01:00
Marco Oliverio 16296e4fea
Merge pull request #403 from dgarske/sealing_fixes
Fixes for sealing/unsealing
2024-02-05 20:01:19 +01:00
David Garske 30620bf47a Upstreaming TigerLake TPM improvements. 2024-02-03 10:52:39 -08:00
David Garske 4408eeaa74 Fixes for sealing/unsealing:
* Fix for sealing policy, which was not being set on creation.
* Fix to clear the userWithAuth bit requiring policy
* Updated wolfTPM submodule with changes in https://github.com/wolfSSL/wolfTPM/pull/327
2024-02-03 10:09:03 -08:00
David Garske c6ac284ba0 Fix issue with parse tools installing apt packages. 2024-01-17 14:16:15 +01:00
David Garske 4a85d2ec9e Added documentation for the two parsers (ELF and FDT). 2024-01-17 14:16:15 +01:00
David Garske dec26534c2 Workaround for building with optimizations enabled. Currently causes issues with alignment and inlining of functions that should not be (like string.c memcpy). 2024-01-17 14:16:15 +01:00
David Garske 83283c6cf7 Fixes for NXP T1024 and booting Integrity OS:
* Fixed PPC spin table based on ePAPR 1.1.
* Added flattened device tree (FDT) support. Setting required FDT fields per ePAPR 1.1.
* Added Frame Manager microcode upload.
* Fixed CPLD and setting QE clock.
* Added support for setting logical device numbers and updated device tree.
* Fixed QUICC Engine base address (was incorrect, should be 0x140000).
* Fixed "cpu-release-addr" to use 64-bit value.
* Added secondary cached boot page.
* Added L2 cache support to multi-core.
* Added flattened device tree parser tool for testing (`make fdt-parser` and `tools/fdt-parser/fdt-parser`).
* Added checks for FDT header.
* Added automated test case for NXP T1024 FDT.
2024-01-17 14:16:15 +01:00
Marco Oliverio a020852732
Merge pull request #399 from danielinux/prepare-release-v2.0.2
Preparing release v2.0.2
2023-12-29 11:45:07 +01:00
Daniele Lacamera 4564588b69 Preparing release v2.0.2 2023-12-29 11:31:48 +01:00
David Garske 34d47f8c21
Merge pull request #398 from danielinux/submodules-update-5.6.6
Submodules update
2023-12-27 15:21:10 -08:00
David Garske b1ff7b0d95 Fix return code to avoid TLS/SSL header use. Fixed in https://github.com/wolfSSL/wolftpm/pull/308 2023-12-27 15:06:26 -08:00
Daniele Lacamera 1baf4d7620 Updated binary sizes limit for wolfSSL 5.6.6 2023-12-27 14:21:40 +01:00
Daniele Lacamera f8ab11eede [tpmtools] Added missing include to policy_sign 2023-12-27 12:44:09 +01:00
Daniele Lacamera 206116a5ec Updated submodules 2023-12-27 12:01:30 +01:00
lealem47 7708deafd6
Merge pull request #396 from dgarske/tpm_doc
Fix link in TPM docs.
2023-12-05 16:23:32 -07:00
David Garske cd9370bd95 Fix link in TPM docs. 2023-12-05 15:14:51 -08:00
David Garske 3eb41afa85 Fixes for ECC sign where the r/s is does not match key size and needs zero padded. 2023-11-29 22:24:07 +01:00
Marco Oliverio e73fcf3e20
Merge pull request #394 from danielinux/nxp_custom_dcd_objs
Added new config option NXP_CUSTOM_DCD_OBJS
2023-11-28 10:07:34 +01:00
Daniele Lacamera ac17c826b6 Added new config option NXP_CUSTOM_DCD_OBJS
+ Fix linker error due to wrong pointer type
2023-11-22 15:19:09 +01:00
David Garske 83aa1d83c6
Merge pull request #392 from danielinux/fix-image-type-field
wolfBoot_get_blob_type: fix return type
2023-11-17 09:24:13 -08:00
Brett Nicholas c910b7f9e2
Merge pull request #393 from danielinux/nxp_dcd_data
Added custom DCD for i.mx-RT10XX
2023-11-17 10:11:11 -07:00
Daniele Lacamera 23894d31c6 Adjust mock in unit tests: fixed image_type field 2023-11-17 15:15:18 +01:00
Daniele Lacamera 0d614fc669 Added custom DCD for i.mx-RT10XX 2023-11-16 09:56:44 +01:00
Daniele Lacamera 10b2b290d3 wolfBoot_get_blob_type: fix return type 2023-11-16 09:21:56 +01:00
David Garske ee4a70f413
Merge pull request #391 from danielinux/prepare-release-v2.0.0
Prepare release v2.0.0
2023-11-07 08:24:31 -08:00
Daniele Lacamera 7d3005ec12 Updated pre-compiled keytools for Windows 2023-11-07 17:00:31 +01:00
Daniele Lacamera 574f487393 Updated README.md 2023-11-07 16:48:48 +01:00
Daniele Lacamera da96e4610c Updated version 2023-11-07 16:48:27 +01:00
David Garske 3107209f7b
Merge pull request #390 from danielinux/qemu-fsp-docs
Improve documentation for x86 targets
2023-11-06 09:03:36 -08:00
Daniele Lacamera 091c036b6c Improve documentation for x86 targets
+ fix qemu's make_hd.sh script
2023-11-06 17:15:38 +01:00
David Garske dd11fad566
Merge pull request #385 from danielinux/test-delta
Improve delta tests + fix delta+encrypt bug
2023-11-06 07:52:04 -08:00
Marco Oliverio d541d657a5
Merge pull request #389 from danielinux/update-submodules-5.6.4
Update submodules to tag versions
2023-11-06 15:30:26 +01:00
Daniele Lacamera 76270eec6b Update submodules to tag versions
- wolfSSL v5.6.4
- wolfTPM v3.0.0
2023-11-06 14:32:12 +01:00
jordan c31a2138ee XMSS wolfBoot support: add renode-nrf52 test case. 2023-11-06 14:31:05 +01:00
jordan 8dcf0de87e XMSS wolfBoot support: cleanup PQ.md doc. 2023-11-06 14:31:05 +01:00
jordan 79aadb5cc1 XMSS wolfBoot support. 2023-11-06 14:31:05 +01:00
Daniele Lacamera f4e0cc61b3 Delta update fixes
- img_size: use 32-bit variable
- remove '+1' from pa_start calculation
- fix broken delta.c wb_diff check for distance between matching
  patterns (root cause for the delta+encrypt bug)
2023-11-04 19:32:34 +01:00
Daniele Lacamera 90ecd9f5d5 Decryption with delta updates: align to encryption block 2023-11-04 18:53:08 +01:00
Daniele Lacamera ba04692d1a Added test: enc-delta-update with extradata 2023-11-04 18:53:08 +01:00
Daniele Lacamera 8d92547f1e Added test for sim-encrypt-delta-nvm-writeonce 2023-11-04 18:53:08 +01:00
David Garske 9b12acfed3 Fix typo. 2023-10-25 13:24:27 +02:00
David Garske 96d55c84e9 Fix for unseal not properly using auth. 2023-10-25 13:24:27 +02:00
David Garske 0666ffe1e6 Fix to not use the seal auth on the NV, since it cannot be encrypted on the bus. Only use the password for the sealed keyhashed blob. 2023-10-25 13:24:27 +02:00
David Garske 758eda1ad4 Add support for sealing/unsealing a secret with auth. 2023-10-25 13:24:27 +02:00
Hideki Miyazaki 0f5b5abf5f fix and update rx72n 2023-10-25 13:22:33 +02:00
David Garske 445cd7bae2 Adjust size test limits (actual + 32) rounded to 32-bit. 2023-10-25 13:17:24 +02:00