Commit Graph

526 Commits (master)

Author SHA1 Message Date
David Garske 26a21a5fe1 samd21: add example configs, SERCOM console and NVMCTRL fixes 2026-11-19 08:35:54 -08: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 8c1f19e71d
Merge pull request #987 from aidangarske/stm32l5-wolftrust-handoff
Add an STM32L5 secure application handoff for wolfTrust
2026-11-13 12:27:11 -08:00
Aidan Garske de2da43040 Keep the STM32L5 PLL for the secure app with WOLFBOOT_RESTORE_CLOCK=0 2026-11-13 11:40:44 -08:00
Aidan Garske 0695fb147a Export no NSC entries from an STM32L5 secure application without WOLFCRYPT_TZ 2026-11-13 11:40:44 -08:00
Aidan Garske 7c24c9d3aa Use the 110 MHz handoff clock for the STM32L5 secure app test UART 2026-11-12 15:35:41 -08:00
Aidan Garske 7853b8ba85 Address PSoC 6 review feedback on docs, test-app and swap resume 2026-11-12 13:53:12 -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
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 c8e32f3755 fix failed link up 2026-11-12 10:31:07 -05:00
Aidan Garske 5ed6d5f4aa Keep the STM32L5 peripheral window Secure for a secure application handoff 2026-11-10 14:12:51 -08:00
Thomas Cook bf2eb49e8f turn on ethernet, wolfip, and network test via new network command 2026-11-10 14:33:05 -05:00
Hideki Miyazaki c709d8fdd9 imx8mm: test-app: parse the DTB with fdt.c 2026-11-10 09:26:57 +01:00
Hideki Miyazaki 226538aca0 imx8mm: move macros to headers, use the HAL UART in the test-app 2026-11-10 09:26:57 +01:00
Hideki Miyazaki 0e0de5bc8d Add NXP i.MX 8M Mini (imx8mm) target
Boots a signed Linux kernel, either loaded into DRAM and started from
U-Boot proper (RAM-boot, go) or started by ATF as BL33 reading a
signed FIT from eMMC (uSDHC3, FAT32).
Includes a test app and CI builds.
2026-11-10 09:26:57 +01:00
Aidan Garske fb0ca8d365 Run the STM32L5 secure application handoff on the m33mu emulator 2026-11-09 15:13:45 -08:00
Thomas Cook 79622d3884 Initial support for mcxe247 2026-11-09 12:44:58 -05:00
David Garske 4bfe5e7035
Merge pull request #972 from danielinux/fix-makefile-assignments
make: let user-provided options win over target defaults
2026-11-05 10:53:38 -08:00
Thomas Cook e7eb152a83 Address copilot and fenrir issues 2026-11-04 20:24:54 +01:00
Thomas Cook 352ffd78a3 address fenrir issues 2026-11-04 20:24:54 +01:00
Thomas Cook 313aa25a09 add mutex 2026-11-04 20:24:54 +01:00
Thomas Cook 13d11a85bc Misc cleanup 2026-11-04 20:24:54 +01:00
Thomas Cook d4c65ef7a5 Turn on rng ctr-drbg mode in wolfcrypt 2026-11-04 20:24:54 +01:00
Thomas Cook fcbde929d8 TI AM64x port, based on the TI MCU Plus SDK 11.02, running on one of the cortex-r5f's. 2026-11-04 20:24:54 +01:00
Daniele Lacamera 6925d20c55 make: let user-provided options win over target defaults
Target-specific assignments in arch.mk/options.mk/board.mk used hard
'=', silently clobbering values the user set via command line,
environment, or a sourced .config (e.g. LSCRIPT_IN from PR #958 was
defeated on every target with a dedicated script).

Convert the target-default assignments to '?=' (first-set wins) and,
for LSCRIPT_IN, capture the user value before the target files are
parsed so the last-resort default (hal/$(TARGET).ld) and the ARMClang
.sct default only apply when the user provided nothing.

CMake: WOLFBOOT_LSCRIPT_TEMPLATE had the same flaw (plain set() over a
user -D value); guard it with NOT DEFINED and let test-app use an
absolute user template as-is.

Document LSCRIPT_IN as a user option in docs/compile.md.

The x86 FSP TGL boards (kontron_vx3060_s2, nai_68int6) share
hal/x86_fsp_tgl_stage1.ld; arch.mk selects it via 'LSCRIPT_IN ?=', but
the hard default here ran first, so the stage1 build of those boards
looked for a non-existent hal/kontron_vx3060_s2_stage1.ld (CI:
'kontron_vx3060_s2 build test', red on master).
2026-11-04 18:16:06 +01:00
David Garske 80a186f5c5
Merge pull request #953 from bigbrett/tc3-port-tweaks
Monolithic self-update version check + TC3xx/wolfHSM changes
2026-10-30 10:47:03 -07:00
Yosuke Shimizu 64a44dee86 test-app: read the RX partition state through wolfBoot
- app_renesas_rx.c: printPart() takes the partition id and reads the
  state through wolfBoot_get_partition_state(); the trailer line
  prints BOOT or none.
- main() calls hal_init() before printing.
2026-10-29 07:01:54 +01:00
Yosuke Shimizu 6432acc612 Add RX71M clock, UART, LED and code flash driver
- hal_clk_init(): rx71m runs the main crystal (RX_MAIN_XTAL_HZ,
  default 24MHz) through the PLL to 240MHz.
- hal_prepare_boot(): under WOLFBOOT_RESTORE_CLOCK, switch to the
  LOCO and stop the PLL and main oscillator on rx71m.
- uart_init(): SCI7 on P90/P92 by default; uart_write() waits for
  TEND. hal_led_on()/hal_led_off(): LED0 on P03.
- renesas-rx.c: TARGET_rx71m flash driver run from RAM, with #error
  unless RAM_CODE and __WOLFBOOT are defined. It copies the FCU
  firmware at init, programs 256-byte units at most once per erase,
  and masks interrupts with timeouts and FSTATR checks for each
  program and erase.
- renesas-rx.h: PSW, FASTAT and FAEINT bits and the new flash
  error codes.
- renesas-rx71m.config: commented RX_MAIN_XTAL_HZ line.
- test-app: link .ramcode into RAM and build renesas-rx.o with
  RAM_CODE and __WOLFBOOT for rx71m.
2026-10-29 07:01:54 +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
Brett Nicholas daaf097b67 new TC3 port IPC scheme 2026-10-27 09:06:24 -07:00
David Garske b555895193
Merge pull request #948 from aidangarske/mcxn-secure-app
Add an MCXN947 secure application handoff config
2026-10-26 16:07:49 -07:00
Thomas Cook 28d717103a address pr comments 2026-10-23 13:53:08 -04:00
Aidan Garske 1d47fa7b62 Add an MCXN947 secure application handoff config with m33mu tests 2026-10-23 18:27:33 +01:00
Thomas Cook 38d7655080 address pr comments 2026-10-22 17:36:22 -04:00
Daniele Lacamera b8e421390f lpc55s69: don't zeroize the PUF after use; end the HWPUF CI run on bkpt 2026-10-20 11:11:52 +02:00
Thomas Cook 60705a9171 Remove hwpuf module 2026-10-20 10:36:27 +02:00
Thomas Cook 8fb226dd48 Add psa attestation support for lpc55s69 2026-10-20 10:36:26 +02:00
Thomas Cook d569f682ea fixes 2026-10-20 10:36:26 +02:00
Thomas Cook b65752a538 Initial implementation 2026-10-20 10:36:26 +02:00
Aidan Garske 1b425abfe8 Add Agilex 5 FCS and wolfBoot integration 2026-10-15 10:25:33 -07:00
David Garske a98fba863f Add QorIQ SEC support to the T2080 and T1040 bare-metal test apps 2026-10-14 12:09:07 -07:00
Mattia Moffa 400bce6317
Merge pull request #924 from dgarske/stm32h7s
Add wolfBoot target for STM32H7S3L8 with partitions on external Octo-SPI NOR
2026-10-12 20:40:19 +02:00
David Garske e415826eb7 Add STM32H7S target with partitions on external Octo-SPI NOR 2026-10-11 21:45:53 -07:00
David Garske 1f6f27cb4b
Merge pull request #930 from aidangarske/nrf54lm20-port
Add nRF54LM20 support and fix nRF54L RAM code, keyvault, and cache
2026-10-11 21:29:37 -07:00
David Garske 70381154e5
Merge pull request #934 from aidangarske/mcxw71-port
Harden the NXP MCX W71 port and add console, timer, and wolfCrypt-TZ
2026-10-09 15:03:48 -07:00