Commit Graph

204 Commits (master)

Author SHA1 Message Date
David Garske c5072bf34c Add NXP S32G2 (S32G274A GoldBox) target: wolfBoot as the Boot ROM image, booting a signed FIT from SD, eMMC or QuadSPI NOR 2026-11-25 18:34:24 +01:00
Sameeh Jubran 6c33866b68 sbom: re-pin wolfssl-compliance-tooling at 1bec96c, read Zephyr sources from west
- Re-pin with wolfssl-compliance-tooling-sync. The pin brings the python3
  fallback (configure no longer needs python3), the TARGETS/LIB checks,
  the launcher strip in the Zephyr front end and the weak-entropy marker.
- The Zephyr front end reads the compile_commands.json of a west build.
  The ide-sbom wrapper now sets --root, not the removed --cmakelists, and
  docs/SBOM.md shows the west command.
2026-11-19 15:09:50 +01:00
Sameeh Jubran a5071de6ba sbom: move to wolfssl-compliance-tooling and pin its current master
wolfGlass is now wolfssl-compliance-tooling. Its master removed the old
macro, function, and script names, so a re-sync alone breaks the build.

- Re-vendor tools/sbom/ at 8a96c64 and pin it in
  .wolfssl-compliance-tooling-rev.
- Call wolfssl_compliance_tooling_sbom_rule in the Makefile and
  wolfssl_compliance_tooling_add_sbom in cmake/sbom.cmake.
- Point the drift check at wolfSSL/wolfssl-compliance-tooling and rename
  the job to compliance_tooling_drift.
- Use the new name in the docs and comments.

The CMake helper now also adds install-sbom and uninstall-sbom targets.
2026-11-19 15:09:50 +01:00
Marco Oliverio cbfc1e3a8c
Merge pull request #959 from dgarske/nai_lpss_acpi
NAI 68INT6: board devices, ACPI tables, PCIe bring-up, Multiboot2 payloads, faster cold boot and an ATA write fix
2026-11-18 09:31:19 +01:00
David Garske 254cfa50fd
Merge pull request #975 from aidangarske/psoc6-eval
PSoC 6 parity and CY8CEVAL-062S2 support, with two core power cut fixes
2026-11-13 14:27:57 -08:00
David Garske 82601efd5e Fix the CI jobs that fail on the Ubuntu 26.04 runner image 2026-11-13 11:02:19 -08:00
David Garske 538c134fd0 x86 fsp: fix review findings in the training data cache and ELF map 2026-11-12 17:57:53 -08:00
David Garske 4987d221b2 x86 fsp: bound the ELF load, re-hash PCR 0, use a signed HDR_CMDLINE 2026-11-12 17:57:53 -08:00
David Garske 1efd95b2f4 x86 fsp: cache FSP-M training data in flash, stop the NAI global reset 2026-11-12 17:57:53 -08:00
Aidan Garske 62c077f138 Match only BL and BLX call mnemonics in the RAM-code checker 2026-11-12 15:23:57 -08:00
Aidan Garske cc091aa1ad Add CY8CEVAL-062S2 support and bring the PSoC 6 port to parity 2026-11-12 13:53:12 -08:00
Aidan Garske 39b72f2616 Keep a rollback on the original image across a power cut 2026-11-12 13:52:41 -08:00
David Garske 6155973541
Merge pull request #983 from twcook86/mcxe247_port
nxp mcx e247 port
2026-11-12 09:44:05 -08:00
Thomas Cook bcaf3c65ed address pr comments 2026-11-12 11:12:10 -05:00
Thomas Cook 8d9863307f fix source path resolution for wolfip objects 2026-11-11 13:08:54 -05:00
Thomas Cook 64628f4b23 Add trace32 scripts 2026-11-11 12:09:46 -05:00
Hideki Miyazaki 4c2cefbcb0 imx8mm: RAM-boot image: check the kernel against WOLFBOOT_RAMBOOT_MAX_SIZE
The limit is read from the build configuration.
2026-11-10 09:26:57 +01:00
Hideki Miyazaki 2b64e20b62 imx8mm: mkfit: append root= when bootargs has none 2026-11-10 09:26:57 +01:00
Hideki Miyazaki 766bf4d52c imx8mm: RAM-boot image: check wolfBoot's _end against the kernel offset
wolfboot.bin omits the BSS that startup clears.
2026-11-10 09:26:57 +01:00
Hideki Miyazaki 3068af629b imx8mm: add docs and image build scripts
Scripts for flash.bin (BL33), the signed FIT and the RAM-boot image.
2026-11-10 09:26:57 +01:00
David Garske 1e9b367fe6 Fix the i.MX8QM SDP load command and add a keep-keys build option 2026-11-06 14:45:31 -08:00
David Garske 767ef3de3c Add compressed firmware updates installed into an execute-in-place slot 2026-11-04 14:35:53 +01:00
Mattia Moffa 24776f3b7a
Merge pull request #949 from dgarske/psoc_e8
Add wolfBoot target for Infineon PSOC Edge E8
2026-10-28 23:02:17 +01:00
David Garske 3681ea8996 Add wolfBoot target for Infineon PSOC Edge E8 2026-10-28 14:24:42 -07:00
twcook86 aa9685b03a
Merge pull request #950 from aidangarske/lpc55s69-port-update
Harden LPC55S69 TrustZone isolation and add tests, CI and docs
2026-10-28 15:12:27 -04:00
Daniele Lacamera 2555311331 CI: Renode test of the custom partition trailer on the Black Pill 2026-10-28 14:35:31 +01:00
Aidan Garske 3345f87fba Harden LPC55S69 TrustZone isolation and add tests, CI and docs 2026-10-27 16:15:37 -07:00
David Garske d5dd2b3cce PolarFire SoC: pin mpfs_bootmode2.sh to the Embedded FP6 programmer 2026-10-27 16:06:05 -07:00
David Garske b4e2436040 PolarFire SoC: boot mode 2 User Boot Loader stub verifying the eNVM wolfBoot 2026-10-27 16:06:05 -07:00
Brett Nicholas 41fbe4b326 Improve support for ECC flash parts:
- Add NVM ECC mode, which introduces a new erase check HAL API to use
   flash controller HW to blank check sectors instead of reading them
   and comparing to an erased byte (which typically triggers an ECC
   fault)
 - Add NVM Journal mode as an alternative to NVM_FLASH_WRITE_ONCE that
   does not require a sector-size RAM buffer and dramatically reduces
   the number of erases and programs required to set individual flags,
   while also being much more robust to power-cuts.
2026-10-27 16:46:40 +01:00
Marco Oliverio b240ee7aaa
Merge pull request #933 from dgarske/nai_68int6
Add wolfBoot target for the NAI 68INT6 (Intel Tiger Lake UP3) OpenVPX SBC
2026-10-26 10:04:12 +01:00
Brett Nicholas 425c742834 wolfHSM submodule update + updates for new non-global NVM 2026-10-21 13:21:40 -06:00
David Garske 363483ed54 nai_68int6: add wolfBoot target for the NAI 68INT6 (Intel Tiger Lake UP3) OpenVPX SBC 2026-10-14 21:56:32 -07:00
David Garske aa6fdb8fa9 x86 FSP: add TPM-NV anti-rollback with a persistent version floor and boot audit counters 2026-10-14 21:56:32 -07:00
David Garske 528437c2db tools: add TRACE32 no-reset attach scripts for the T1040 and T2080 2026-10-14 12:09:07 -07:00
David Garske e415826eb7 Add STM32H7S target with partitions on external Octo-SPI NOR 2026-10-11 21:45:53 -07:00
David Garske 4093fa0e17 Add NXP i.MX 8QuadMax MEK port including BL33 support 2026-09-21 18:07:44 +02:00
David Garske e353b20504 va416x0: fix vector table alignment and length, FRAM defects and ML-DSA 2026-09-21 17:13:42 +02:00
David Garske 8eafe1ef76
Merge pull request #890 from bigbrett/tc4-wolfboot
AURIX TC4xx support
2026-09-14 14:22:21 -07:00
David Garske b0fe251747 Add Nuvoton NuMaker M2354 Cortex-M23 target with TrustZone 2026-09-14 18:08:40 +02:00
Brett Nicholas 6d652d444f Support for AURIX TC4xx host and CSRM cores 2026-09-12 09:21:38 -06:00
David Garske 664b09a075 update_disk: load signed image from a file when a filesystem is present 2026-09-02 10:47:33 +02:00
David Garske 25cdd5a0d7 c2000: add wolfBoot TI C28x (TMS320F28P550SJ) secure-boot XIP port 2026-08-25 00:01:33 +02:00
David Garske 88984858d5 Peer review fixes (thanks Jack) 2026-08-24 12:47:34 +02:00
David Garske 67c819bc0b cm4: add RAUC A/B slot selection via U-Boot env (wolfBoot replaces U-Boot) 2026-08-24 12:47:34 +02:00
David Garske 56651bde95 cm4: add Linux kernel FIT boot via firmware-provided DTB with injected bootargs 2026-08-24 12:47:34 +02:00
David Garske 9a4f800546 cm4: hardware-validate eMMC A/B disk boot and FIPS on CM4 (arm64 header, 0x200000 load, mini-UART console) 2026-08-24 12:47:34 +02:00
Sameeh Jubran 66f6701a02 Vendor wolfGlass SBOM tooling and switch wolfBoot to it
Signed-off-by: Sameeh Jubran <sameeh@wolfssl.com>
2026-08-20 15:22:16 +02:00
Sameeh Jubran 142de77ed3 sbom: generate SBOMs from every wolfBoot build system
wolfBoot ships as source. Users build it in many ways. Before this
change, only the plain Make build could make an SBOM. So a user could not
make an SBOM for the build that the user runs.

This change adds one shared engine (tools/scripts/wolfboot-sbom.sh, which
calls wolfSSL gen-sbom) and a front end for each build system. Every
build makes a CycloneDX 1.6 and SPDX 2.3 document. The engine captures
the configuration with the host compiler, so the SBOM is the same for
GCC, Clang, LLVM, IAR, armcl, CCRX, and XC32.

Routes:
  - Make, arch.mk, and vendor SDKs: make sbom TARGET=<t> SIGN=<a>
  - CMake and the Pico SDK: cmake --build <dir> --target sbom
  - IAR Embedded Workbench: ide-sbom/iar_sbom.py
  - Any IDE with a compilation database: ide-sbom/compdb_sbom.py
  - TI CCS, MPLAB X, Renesas, Xilinx: ide-sbom/route_through_sbom.sh
  - Per-HAL component: make sbom-hal TARGET=<t>
  - Zephyr module: ide-sbom/zephyr_sbom.py

Make the SBOM reproducible. The captured macros can hold an absolute host
path. For example, arch.mk passes -DPICO_SDK_PATH=$(PICO_SDK_PATH). The
driver now redacts each absolute path but keeps the macro name, so the
configuration record stays complete. Add --no-scrub for debug.

Add a validator (ide-sbom/validate_sbom.py) and a CI canary
(.github/workflows/test-sbom.yml) that runs and validates every route.
The canary also checks that no host path leaks into the SBOM.

Add docs/SBOM.md. The tools are product-neutral by design, so they can be
shared across wolfSSL products later without logic changes.

Signed-off-by: Sameeh Jubran <sameeh@wolfssl.com>
2026-08-20 15:22:16 +02:00
David Garske 27edd0f5e7 tegra234: bare-metal BL33 target with verified EL2->EL1 + device-tree boot 2026-08-18 11:01:45 +02:00