Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/test-configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,15 @@ jobs:
config-file: ./config/examples/sim-fips.config
fips: true

# ARMv8 asm inside the FIPS boundary, with AES-256 image encryption.
zynqmp_fips_test:
uses: ./.github/workflows/test-build-aarch64.yml
with:
arch: aarch64
config-file: ./config/examples/zynqmp_sdcard.config
make-args: wolfboot.bin FIPS=1 SIGN=ECC384 HASH=SHA384 ENCRYPT=1 ENCRYPT_WITH_AES256=1 WOLFBOOT_LIB_WOLFSSL=../wolfssl-5.9.2-gplv3-fips-ready
fips: true

tegra234_sdcard_fs_test:
uses: ./.github/workflows/test-build.yml
with:
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/test-key-revocation-simulator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Key revocation and security version - test with simulator target

on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]

jobs:
revocation_svn_simulator_tests:
strategy:
fail-fast: false
matrix:
include:
- name: key-revocation
options: KEY_REVOCATION=1
scripts: sim-key-revocation.sh
- name: security-version
options: SECURITY_VERSION=1
scripts: sim-security-version.sh
- name: both
options: KEY_REVOCATION=1 SECURITY_VERSION=1
scripts: sim-security-version.sh sim-key-revocation.sh
- name: both-production
options: KEY_REVOCATION=1 SECURITY_VERSION=1 WOLFBOOT_PRODUCTION=1
scripts: sim-security-version.sh sim-key-revocation.sh
name: ${{ matrix.name }}
runs-on: ubuntu-latest
container:
image: ghcr.io/wolfssl/wolfboot-ci-sim:v1.0
timeout-minutes: 15

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Trust workspace
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"

- name: Select config
run: |
make distclean
cp config/examples/sim.config .config
for opt in ${{ matrix.options }}; do echo "$opt" >> .config; done

- name: Build tools
run: |
make -C tools/keytools && make -C tools/bin-assemble

- name: Build wolfboot.elf and test-app/image.elf
run: |
make test-sim-internal-flash-with-update

- name: Run simulator tests
run: |
for s in ${{ matrix.scripts }}; do tools/scripts/$s || exit 1; done
2 changes: 1 addition & 1 deletion .github/workflows/test-units.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: ghcr.io/wolfssl/wolfboot-ci-sim:v1.0
timeout-minutes: 15
timeout-minutes: 30

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@ tools/unit-tests/imx8qm_flexspi_extract.h
tools/unit-tests/unit-ct-compare
tools/unit-tests/unit-zynqmp-bbram-crc
tools/unit-tests/unit-zynqmp-efuse-guards
tools/unit-tests/unit-zynqmp-efuse-counter
tools/unit-tests/unit-zynqmp-efuse-burn
tools/unit-tests/unit-fit-gzip-small
tools/unit-tests/unit-gzip-bits32
Expand Down Expand Up @@ -710,12 +711,17 @@ tools/unit-tests/unit-ti-hercules-erase
tools/unit-tests/unit-update-disk-fsp
tools/unit-tests/unit-update-ram-custom-trailer
tools/unit-tests/unit-update-ram-rollback-unconfirmed
tools/unit-tests/unit-update-ram-confirm-policy
tools/unit-tests/unit-update-disk-confirm-policy
tools/unit-tests/unit-update-ram-nofixed-noramboot
tools/unit-tests/unit-update-trigger-scrub
tools/unit-tests/unit-x86-uart
# sources generated by the unit-test extraction rules
tools/unit-tests/bbram_crc_extract.h
tools/unit-tests/efuse_guards_extract.h
tools/unit-tests/efuse_counter_extract.h
tools/unit-tests/sec_bl33_extract.h
tools/unit-tests/sec_bl33_burn_extract.h
tools/unit-tests/stm32g0_write_extract.h
tools/unit-tests/ct_compare_extract.h
tools/unit-tests/puf_extract.h
Expand Down
42 changes: 42 additions & 0 deletions arch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,25 @@ ifeq ($(ARCH),AARCH64)
ifeq ($(TARGET),zynq)
ARCH_FLAGS=-march=armv8-a+crypto
CFLAGS+=$(ARCH_FLAGS) -DCORTEX_A53
# User eFuse rows (USER_0..USER_7 index) for the security version counter
# and the key revocation mask. No default: the allocation is a
# provisioning decision.
ifeq ($(SECURITY_VERSION),1)
ifeq ($(ZYNQMP_EFUSE_SVN_ROW),)
$(error SECURITY_VERSION=1 on zynq needs ZYNQMP_EFUSE_SVN_ROW)
endif
ifeq ($(ZYNQMP_EFUSE_SVN_NROWS),)
$(error SECURITY_VERSION=1 on zynq needs ZYNQMP_EFUSE_SVN_NROWS)
endif
CFLAGS+=-DZYNQMP_EFUSE_SVN_ROW=$(ZYNQMP_EFUSE_SVN_ROW)
CFLAGS+=-DZYNQMP_EFUSE_SVN_NROWS=$(ZYNQMP_EFUSE_SVN_NROWS)
endif
ifeq ($(KEY_REVOCATION),1)
ifeq ($(ZYNQMP_EFUSE_REVOKE_ROW),)
$(error KEY_REVOCATION=1 on zynq needs ZYNQMP_EFUSE_REVOKE_ROW)
endif
CFLAGS+=-DZYNQMP_EFUSE_REVOKE_ROW=$(ZYNQMP_EFUSE_REVOKE_ROW)
endif
CFLAGS+=-DNO_QNX
# Support detection and skip of U-Boot legacy header */
CFLAGS+=-DWOLFBOOT_UBOOT_LEGACY
Expand Down Expand Up @@ -182,6 +201,29 @@ ifeq ($(ARCH),AARCH64)
endif
endif
endif
# As BL33 the user eFuse writes go through the PMU firmware; the same
# opt-in arms them, otherwise they are report-only.
ifneq ($(ZYNQMP_FSBL),1)
ifeq ($(ZYNQMP_EFUSE_BURN),1)
CFLAGS+=-DZYNQMP_EFUSE_BURN
endif
endif
# eFuse security state (SEC_CTRL, PUF, PPK0 hash): read directly as the
# FSBL, through the PMU firmware as BL33.
ifeq ($(ZYNQMP_SEC),1)
CFLAGS+=-DWOLFBOOT_ZYNQMP_SEC_STATE
endif
# SEC_CTRL bits a deployed part must have. A WOLFBOOT_PRODUCTION build
# refuses a part without them; any other build boots it and reports it.
ifneq ($(ZYNQMP_SEC_POLICY),)
ifneq ($(ZYNQMP_SEC),1)
$(error ZYNQMP_SEC_POLICY needs ZYNQMP_SEC=1)
endif
ifneq ($(filter 0 0x0 0x00 0x00000000,$(ZYNQMP_SEC_POLICY)),)
$(error ZYNQMP_SEC_POLICY=0 would refuse every part; leave it unset for no policy)
endif
CFLAGS+=-DZYNQMP_SEC_POLICY=$(ZYNQMP_SEC_POLICY)
endif

endif

Expand Down
3 changes: 2 additions & 1 deletion docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ For verification failures, the cause distinguishes a bad header
(`WOLFBOOT_FAILURE_CAUSE_HEADER`), a failed integrity/hash check
(`WOLFBOOT_FAILURE_CAUSE_HASH`) and a failed signature/authenticity check
(`WOLFBOOT_FAILURE_CAUSE_SIGNATURE`). A rollback uses
`WOLFBOOT_FAILURE_CAUSE_NOT_CONFIRMED`.
`WOLFBOOT_FAILURE_CAUSE_NOT_CONFIRMED`. The ZynqMP `ZYNQMP_SEC_POLICY` check
uses `WOLFBOOT_FAILURE_CAUSE_POLICY`.

The application can read the records, ordered newest-first, through this API:

Expand Down
14 changes: 11 additions & 3 deletions docs/FIPS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,22 @@ Production use requires the licensed, validated FIPS bundle. Unpack it and point
The `FIPS=1` build option (`options.mk`) rebuilds the wolfcrypt object list as the validated module boundary in link order (`wolfcrypt_first.o` first, `wolfcrypt_last.o` last, with `fips.o`/`fips_test.o` and the boundary crypto between them - the in-core integrity hash on GCC/ELF is enforced by this link order). Point the build at the FIPS tree and select an approved algorithm pair:

```
cp config/examples/sim-fips.config .config # or cm4.config / cm5.config
cp config/examples/sim-fips.config .config # or cm4.config / cm5.config / zynqmp_sdcard.config
make FIPS=1 WOLFBOOT_LIB_WOLFSSL=/path/to/wolfssl-5.9.2-gplv3-fips-ready \
SIGN=ECC384 HASH=SHA384 SPMATH=1
```

On AArch64 the module's ARMv8 assembly (`cpuid.o`, `port/arm/armv8-*-asm_c.o`, `sp_arm64.o`) is linked inside the boundary unless `NO_ARM_ASM=1`. Its SP ECC tables add about 570 KB, so the CM4 builds the portable-C module. 32-bit ARM always does.

`ENCRYPT=1` works with `ENCRYPT_WITH_AES128` or `ENCRYPT_WITH_AES256`, using the module's AES. ChaCha20 and `ENCRYPT_PKCS11` are refused.

FIPS builds keep P-256 compiled in for the module's ECDH self-test, whatever curve signs the images.

`-DHAVE_FIPS` is added by the `FIPS=1` block. `FIPS=1` also defaults `FIPS_READY=1`, which defines `WOLFSSL_FIPS_READY` (`include/user_settings.h`); that macro forces the evaluation bundle's `HAVE_FIPS_VERSION` to 7 and selects the FIPS-186-4 gating in `settings.h`. `FIPS_READY=1` (the default) builds the evaluation FIPS-ready bundle. A production build with the licensed **validated** bundle (not a FIPS-ready drop) must pass both `FIPS_READY=0` and `FIPS_VERSION=<n>` (for example `FIPS_VERSION=7` for a 140-3 module), which `options.mk` turns into `-DHAVE_FIPS_VERSION=<n>` to pin the module version. This is required because under wolfBoot's `-DWOLFSSL_USER_SETTINGS` build `settings.h` includes only `user_settings.h` and never the configure-generated `wolfssl/options.h`, so the validated bundle does not self-declare `HAVE_FIPS_VERSION`; without it the module would silently build as FIPS v1 (140-2). `options.mk` therefore errors if `FIPS_READY=0` is passed without `FIPS_VERSION`. The `HAVE_FIPS` block in `include/user_settings.h` also enables the module's algorithm set, keeps the RNG/DRBG enabled, and wires the entropy seed (below).

## Entropy source (required)

The FIPS DRBG needs a seed. wolfBoot's lean configuration compiles out the OS seed paths, so a seed is provided via `CUSTOM_RAND_GENERATE_SEED` (the `HAVE_FIPS` block in `include/user_settings.h` keeps the RNG enabled by undoing wolfBoot's `WC_NO_RNG`/`WC_NO_HASHDRBG`). The example wiring points it at `wolfBoot_fips_seed()`, implemented per target: `/dev/urandom` on the simulator (`hal/sim.c`) and the BCM2711 RNG200 hardware TRNG on the CM4 (`hal/rpi_common.c`). Without a working seed, the ECDSA power-on self-test (which performs a sign) fails with `ECDSA_KAT_FIPS_E` because `wc_GenerateSeed()` returns `NOT_COMPILED_IN`.
The FIPS DRBG needs a seed. wolfBoot's lean configuration compiles out the OS seed paths, so a seed is provided via `CUSTOM_RAND_GENERATE_SEED` (the `HAVE_FIPS` block in `include/user_settings.h` keeps the RNG enabled by undoing wolfBoot's `WC_NO_RNG`/`WC_NO_HASHDRBG`). The example wiring points it at `wolfBoot_fips_seed()`, implemented per target: `/dev/urandom` on the simulator (`hal/sim.c`), the BCM2711 RNG200 hardware TRNG on the CM4 (`hal/rpi_common.c`), and the module's CPU-jitter entropy source on ZynqMP, which has no TRNG (`hal/zynq.c`, `FIPS_ENTROPY_MEMUSE=1` by default for `TARGET=zynq`). A jitter seed takes a few hundred milliseconds on a Cortex-A53, paid in the first signature verification. Without a working seed, the ECDSA power-on self-test (which performs a sign) fails with `ECDSA_KAT_FIPS_E` because `wc_GenerateSeed()` returns `NOT_COMPILED_IN`.

## Sealing the in-core integrity hash

Expand All @@ -74,7 +80,9 @@ The FIPS module targets a hosted environment; a few things must be provided on b

- **POST entry.** The module registers its POST via a C constructor (`.init_array`), which a hosted runtime runs before `main()`. wolfBoot's bare-metal startup does not run `.init_array`, so build with `NO_ATTRIBUTE_CONSTRUCTOR` and call `fipsEntry()` explicitly (`src/loader.c`).
- **Normal (cacheable) memory.** wolfBoot's simple startup runs with the MMU off, where all memory is Device-nGnRnE and unaligned / 128-bit SIMD accesses fault (the FIPS module and newlib `printf`/`snprintf` do both). The CM4 HAL enables a minimal identity MMU with DDR mapped Normal cacheable before the POST (`cm4_mmu_enable`), and tears it down (clean D-cache, disable MMU/caches) before the boot handoff (`cm4_mmu_disable`) so the loaded image is coherent and the application starts MMU-off.
- **libc.** The module uses malloc/printf; stub the newlib syscalls (`--specs=nosys.specs`) and provide a bounded `_sbrk` so the heap cannot grow into the unverified image (the CM4 HAL allocates from a fixed static buffer in `hal/rpi_common.c`).
- **libc.** The module uses malloc/printf; stub the newlib syscalls (`--specs=nosys.specs`, the default on cm4, cm5 and zynq via `FIPS_NOSYS_SPECS`) and give the module a bounded `_sbrk` so the heap cannot grow into the unverified image. wolfBoot provides one on cm4/cm5 (`hal/rpi_common.c`) and zynq (`hal/zynq.c`); a new bare-metal FIPS target needs its own. Use a bare-metal toolchain (`aarch64-none-elf-`); with a glibc cross compiler the module's `printf` does not link to anything at run time.

`WOLFBOOT_SELF_HEADER=1` is not supported with `FIPS=1` on AArch64.

Bring the module up on the simulator (`config/examples/sim-fips.config`) first - it exercises the whole flow (module boundary, POST, in-core seal, verify, A/B update) with no hardware.

Expand Down
10 changes: 10 additions & 0 deletions docs/Signing.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,16 @@ Provides a value to be set with a custom tag
altered without breaking the image signature. Example:
`--cmdline "root=/dev/mmcblk0p2 rw rootwait console=ttyTCU0,115200"`.

* `--security-version n`: Sets the image security version, the 4-byte signed TLV
`HDR_SECURITY_VERSION` (0x37) checked against the floor with `SECURITY_VERSION=1`
(see [firmware_update.md](firmware_update.md#security-version-floor)).

* `--revoke-keys mask`: Sets the key revocation mask, the 4-byte signed TLV
`HDR_KEY_REVOKE` (0x36), one bit per keystore slot, applied with `KEY_REVOCATION=1`
(see [keystore.md](keystore.md#key-revocation)).

Both take a decimal or `0x` hex value up to 32 bits and may each be given once per image.

* `--dts filename`: Binds a raw (non-FIT) device tree blob to the firmware image. The sign
tool hashes exactly the first `totalsize` bytes of the `.dtb`, per that header field (validating the FDT magic
and version the same way the bootloader does) with the image hash algorithm and stores the
Expand Down
32 changes: 31 additions & 1 deletion docs/Targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -3881,7 +3881,18 @@ the_ROM_image:

### eFuse security state and programming (optional)

With `ZYNQMP_SEC=1` wolfBoot reads the eFuse cache at EL3 and prints `SEC_CTRL` (decoding `RSA_EN`, `ENC_ONLY`, `JTAG_DIS`, PPK revocation and the lock bits), the PUF `CHASH`/`AUX`, and the 12-word PPK0 hash. `zynqmp_sec_policy_check()` turns that into a boot-time gate: it returns non-zero when `SEC_CTRL` does not have every bit a deployment requires, so a build can refuse to run on a part that is not locked down. `RSA_EN` is the exception, being the redundant field `SEC_CTRL[25:11]` whose used bits depend on the silicon version, so any bit set counts as authentication enforced.
With `ZYNQMP_SEC=1` wolfBoot reads the eFuse cache and prints `SEC_CTRL` (decoding `RSA_EN`, `ENC_ONLY`, `JTAG_DIS`, PPK revocation and the lock bits), the PUF `CHASH`/`AUX`, and the 12-word PPK0 hash. `zynqmp_sec_policy_check()` turns that into a boot-time gate: it returns non-zero when `SEC_CTRL` does not have every bit a deployment requires, so a build can refuse to run on a part that is not locked down. `RSA_EN` is the exception, being the redundant field `SEC_CTRL[25:11]` whose used bits depend on the silicon version, so any bit set counts as authentication enforced.

As the FSBL wolfBoot reads the cache directly; as BL33 it asks the PMU firmware (`PM_EFUSE_ACCESS`, built with `ENABLE_EFUSE_ACCESS=1`). The firmware returns all of `SEC_CTRL` only when built with `XSK_ACCESS_SECURE_CRITICAL_EFUSE` and `XSK_ACCESS_KEY_MANAGE_EFUSE`; a bit it masks reads as not set, so a part can only look less locked than it is.

`ZYNQMP_SEC_POLICY=<mask>` (requires `ZYNQMP_SEC=1`) runs the check at boot with the `SEC_CTRL` bits a deployed part must have, for example `0x20` for `JTAG_DIS`:

| Build | Policy met | Policy not met or state unreadable |
|---|---|---|
| `WOLFBOOT_PRODUCTION=1` | boots | refuses to boot (recorded as `WOLFBOOT_FAILURE_CAUSE_POLICY` when failure diagnostics are enabled) |
| otherwise | boots | boots as a development unit and says so on the console |

wolfBoot adds `/chosen/wolfboot,sec-ctrl` (`SEC_CTRL`, 0 if unreadable) and, with a policy, `/chosen/wolfboot,sec-policy` (1 met, 0 not met) to the DTB it passes to Linux.

eFuse *programming* is separate and off by default:

Expand All @@ -3901,6 +3912,25 @@ The rejection covers `SEC_CTRL` (page 0, row 22) only. Other one-shot fuses, inc

The controller timing is derived from `PS_REF_CLK` (`TPGM`, `TRD`, `TSU_H_PS`, `TSU_H_PS_CS`, `TSU_H_CS`) using integer arithmetic. The default assumes 33.333 MHz; override with `CFLAGS_EXTRA+=-DZYNQMP_PS_REF_CLK_HZ=<hz>` if your board differs, since two of the five values land on an integer boundary at that clock.

### Security version counter and key revocation in user eFuses (optional)

`SECURITY_VERSION=1` (see [firmware_update.md](firmware_update.md#security-version-floor)) and `KEY_REVOCATION=1` (see [keystore.md](keystore.md#key-revocation)) keep their state in the user eFuses `USER_0`..`USER_7` (OTP page 0, rows 8-15). The build names the rows by `USER_n` index; there is no default:

```
DISK_BOOT_CONFIRM=1 # SD/eMMC boot: only a confirmed image commits
SECURITY_VERSION=1
ZYNQMP_EFUSE_SVN_ROW=0 # first counter row
ZYNQMP_EFUSE_SVN_NROWS=6 # 6 rows = up to 192 security versions
KEY_REVOCATION=1
ZYNQMP_EFUSE_REVOKE_ROW=6 # one bit per keystore slot
Comment on lines +3921 to +3925

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should also mention that SD-card boot would need DISK_BOOT_CONFIRM=1 too, for this snippet to work?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Added DISK_BOOT_CONFIRM=1 to the snippet in 8984102, and the build now refuses the combination without it (next thread).

```

The security version is the count of set bits across the counter rows; the revocation row holds the mask. An unreadable row rejects every image (security version) or revokes every key (revocation).

As BL33 the rows go through the PMU firmware (`ENABLE_EFUSE_ACCESS`, `XSK_ACCESS_USER_EFUSE`). Linux can use the same interface, so it can raise the counter or revoke keys, but never undo either. As the FSBL, programming uses `zynqmp_efuse_write_bit()` with `ZYNQMP_EFUSE_WRITE=1`.

Programming is report-only (`eFuse: would program ...`) unless `ZYNQMP_EFUSE_BURN=1`. Do not burn the row write-lock fuses (`MISC_USER_CTRL`, row 16) for these rows; that freezes the counter.

### PUF state reporting

With `ZYNQMP_SEC=1` the eFuse dump reports `PUF_MISC` (eFuse cache `0x1054`), which carries the 24-bit AUX field with the PUF control bits above it: `REG_DIS` (registration permanently disabled), `SYN_WRLK` (helper data locked against programming) and `SYN_INVLD` (eFuse helper data invalidated). All three are one-shot, so together they say whether a part can still be provisioned.
Expand Down
15 changes: 15 additions & 0 deletions docs/compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,21 @@ A dual-boot target that loads the image to RAM (two fixed slots, no swap, `src/u

`DUALBOOT_ROLLBACK_UNCONFIRMED=1` lets that fallback go to a lower version: the other slot boots, and the unconfirmed slot is erased once that image has passed verification. If the other slot fails verification, the unconfirmed image is kept and booted again. The version check for confirmed images is unchanged. The option is not available with the hardware-assisted swap loader. The trade-off is that someone able to reset the board during the probation window can keep it on the older image, which `ALLOW_DOWNGRADE=0` otherwise prevents once the newer one has been written.

### Production build guard

`WOLFBOOT_PRODUCTION=1` makes the following options build errors, whether set as the make variable or passed as the `-D` define:

| Make variable | Define |
|---|---|
| `SIGN=NONE` | `WOLFBOOT_NO_SIGN` |
| `WOLFBOOT_SKIP_BOOT_VERIFY=1` | `WOLFBOOT_SKIP_BOOT_VERIFY` |
| `ALLOW_DOWNGRADE=1` | `ALLOW_DOWNGRADE` |
| `DUALBOOT_ROLLBACK_UNCONFIRMED=1` | `WOLFBOOT_DUALBOOT_ROLLBACK_UNCONFIRMED` |
| `WOLFBOOT_UDS_UID_FALLBACK_FORTEST=1` | `WOLFBOOT_UDS_UID_FALLBACK_FORTEST` |
| - | `DEBUG_CSU` (JTAG on ZynqMP) |

It also defines `WOLFBOOT_PRODUCTION`: the ZynqMP `ZYNQMP_SEC_POLICY` check then refuses to boot (see [Targets](Targets.md)), and with `KEY_REVOCATION=1` or `SECURITY_VERSION=1` wolfBoot halts when a confirmed image's revocation mask or security version cannot be stored. The ZynqMP report-only eFuse mode counts as stored.

### Linux kernel command line (bootargs)

On the FIT Linux-boot targets whose DTB comes from the signed FIT (Versal, ZynqMP, PolarFire SoC), a DTB that already carries a non-empty `/chosen/bootargs` keeps it by default - the image boots with the arguments its kernel was validated with, and wolfBoot logs `FDT: using DTB bootargs: ...`. Three macros control this:
Expand Down
Loading
Loading