Commit Graph

118 Commits (bigbrett-patch-1)

Author SHA1 Message Date
Daniele Lacamera 30a1f67e43
Added 32bit simulator via TARGET=sim FORCE_32BIT=1 (#485)
* Added 32bit simulator via TARGET=sim FORCE_32BIT=1

Tests can now run on 32bit simulator (e.g. to match XMALLOC fixed
sizes with sp_math and WOLFBOOT_SMALL_STACK).

* Added draft for new workflow: test simulator with different memory config

* Fix 64bit, SMALL_STACK xmalloc sizes

* Test defaults to SPMATH

* Fixed test: defaults to spmath. Added RSA tests (failing)

* Fixed RSA allocation sizes for 64bit build

* Added 64bit fastmath test (failing)

* Fixed ecc_point size for 64bit builds (FASTMATH)

* simulator config: use SPMATH by default

* Attempt to fix i386 libc dep in workflow

* Added HUGE_STACK to silence warning in FASTMATH+RSA4096 tests
2024-08-09 06:46:15 -07:00
Brett Nicholas 2d6308ec2c - Infineon TC3xx support
- fix (existing) unused variable compiler warnings
- documentation updates
- add multi-sector erase option
2024-07-31 09:22:31 +02:00
Daniele Lacamera eb57d0a100 Update compiler used for footprint tests 2024-07-22 16:29:12 +02:00
Daniele Lacamera 682873ea6d Test CI update on 'build' workflow 2024-07-18 10:32:29 +02:00
David Garske 3444c47fdb * Added support for RX65N and RX72N with native Makefile and RX ELF GCC compiler.
* Added initialization of the clocks and UART driver.
   - wolfBoot uses on chip high speed oscillator (HOCO) at (120MHz RX65N and 240Mhz for RX72N).
* Added RX RSPI and QSPI driver support with external SPI flash
* Improve documentation and fix spelling errors.
* Added .srec (s-record) format support
* Added RX TSIP support for ECDSA (requires https://github.com/wolfSSL/wolfssl/pull/7685).
* Allow custom implementation of `get_trailer_at`, `set_trailer_at` and `set_partition_magic` using `CUSTOM_PARTITION_TRAILER`
2024-07-17 06:08:31 +02:00
John Bland 6c3940fafc refactor final step of powerfail safe update and add
emergency fallback test
2024-07-10 16:58:23 -04:00
David Garske ace95cc2dc Added instructions for STM32H5 demo to `docs/flash-OTP.md`. 2024-07-09 10:27:52 -07:00
Daniele Lacamera c6586f2d85 test: Delete keystore after removing private key 2024-07-09 18:59:17 +02:00
Daniele Lacamera 398c660827 External key test: cleanup keystore.c before importing 2024-07-09 16:01:13 +02:00
Daniele Lacamera 929f9d3343 Fix base_version mismatch 2024-07-04 17:27:04 +02:00
Daniele Lacamera 597ca3a406 Added test to reproduce "wrong delta base version" bug 2024-07-04 17:14:36 +02:00
Daniele Lacamera 4a57fd2296 Added build test for H5 full config (TZ+dualbank+OTP) 2024-05-20 11:09:24 +02: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
Daniele Lacamera fbba5d8370 Added build test for stm32h5-dualbank 2024-05-09 16:28:33 +02:00
jordan dc92ac3721 Cleanup test-build-lms.yml. 2024-05-07 19:25:18 +02:00
jordan e751dd1bf0 Update renode test names. 2024-05-07 19:25:18 +02:00
jordan 6029ddbf07 Update renode tests for LMS, XMSS, ext_LMS, ext_XMSS. 2024-05-07 19:25:18 +02:00
jordan bd0e25af16 Add wc_lms support. 2024-05-07 19:25:18 +02:00
jordan 13d746ab9a Add wc_xmss support. 2024-05-07 19:25:18 +02:00
Marco Oliverio 943edf93e7 tools: move tools/x86_fsp in tools/scripts/x86_fsp 2024-04-29 09:53:49 +02:00
Daniel Fedai Larsen 0b703f716e Add PKA=1 CI test builds for RT10xx platforms 2024-04-29 07:24:13 +02:00
Marco Oliverio bb7d90cbcd x86: qemu: improve test_qemu.sh script, add it to github action 2024-04-24 10:50:50 +02:00
David Garske 1db41896e2
Merge pull request #431 from danielinux/update-wolfssl-v5.7.0
Updated submodules: wolfSSL-v5.7.0 + wolfTPM latest
2024-04-11 17:00:27 +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 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 063a120ec5 Update test platform from ubuntu-20.04 to ubuntu-latest 2024-04-10 12:21:25 +02:00
Jim Norton 8fa5562003 Added custom-tlv-string non-regression test to github workflows 2024-04-05 08:52:03 +02:00
Daniele Lacamera 9ea316d18f Disabling build test 2024-03-29 10:46:57 +01:00
Daniele Lacamera ad00db4cc9 Added build test for MCXA153 2024-03-29 10:39:02 +01:00
Daniele Lacamera 00ec1b4395 Added github action to test custom TLV 2024-03-08 18:58:21 +01: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
Daniele Lacamera 0996e0f31e Added tests for custom-tlv parameters 2024-02-29 17:29:29 +01: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
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
Daniele Lacamera c70c8a470d Added support for Microchip SAM E51 2024-02-15 17:30:11 +01:00
David Garske c6ac284ba0 Fix issue with parse tools installing apt packages. 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
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
jordan c31a2138ee XMSS wolfBoot support: add renode-nrf52 test case. 2023-11-06 14:31:05 +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 758eda1ad4 Add support for sealing/unsealing a secret with auth. 2023-10-25 13:24:27 +02:00
David Garske a22f8bce20 Adding GitHub CI for Windows MinGW key tools. 2023-10-25 13:17:24 +02:00
David Garske 426e7d22ff
Merge pull request #380 from danielinux/cppcheck
Added cppcheck static analisys
2023-10-13 08:22:50 -07:00
David Garske c1abfdd630
Merge pull request #379 from danielinux/unit-test-extend
Added more unit tests. Added 'make cov'.
2023-10-13 08:19:02 -07:00