Skip to content

fix(nightly): cortex-m33 board target mps2/an521 → mps2/an521/cpu0 (4.4.0 dual-cluster)#61

Merged
avrabe merged 1 commit into
mainfrom
fix/nightly-m33-board-target-an521-cpu0
Jun 14, 2026
Merged

fix(nightly): cortex-m33 board target mps2/an521 → mps2/an521/cpu0 (4.4.0 dual-cluster)#61
avrabe merged 1 commit into
mainfrom
fix/nightly-m33-board-target-an521-cpu0

Conversation

@avrabe

@avrabe avrabe commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Problem

The nightly zephyr/cortex-m33 (mps2/an521) job has been red every run (at least the last 8 nights) and no one had triaged it. The precondition_erasure cancel in those runs is just fail-fast fallout from this job.

Root cause (measured, not guessed)

west build -b mps2/an521 fails at CMake configure:

CMake Error at .../zephyr/cmake/modules/boards.cmake:281 (message):
  Board qualifiers `an521` for board `mps2` not found.  Please specify a valid board target.
-- Configuring incomplete, errors occurred!
##[error]Test suite failed on mps2/an521

The workspace pulls pulseengine/zephyr@gale/sem-replacement, which is now rebased to Zephyr v4.4.0 (VERSION: 4.4.0). In that tree, AN521 was restructured into a dual-cluster SoC — the board files are now mps2_an521_cpu0.{dts,yaml}, mps2_an521_cpu1.*, and mps2_an521_cpu0_ns.*, with mps2_an521-common.dtsi. The bare mps2/an521 target no longer resolves; the canonical identifier (from the fork's boards/arm/mps2/mps2_an521_cpu0.yaml) is:

identifier: mps2/an521/cpu0

cortex-r5 (qemu_cortex_r5) uses an old-style board name, so only the M33 leg was affected.

Fix

Point the nightly M33 leg at the valid 4.4.0 target mps2/an521/cpu0 (secure cpu0 cluster — the standard kernel-test target). One-line matrix change + the doc comment. Blast radius is just nightly.yml (only file in the repo referencing mps2/an521).

Kill-criterion

This is wrong if the next nightly's M33 leg still fails at CMake configure with a board-qualifier error. Expected: it gets past configure and runs the semaphore suite under QEMU.

🤖 Generated with Claude Code

…4.4.0 dual-cluster)

The nightly `zephyr/cortex-m33 (mps2/an521)` job has been red every run since
the pulseengine/zephyr@gale/sem-replacement branch was rebased to Zephyr v4.4.0.
`west build -b mps2/an521` fails at CMake configure:

    CMake Error at .../cmake/modules/boards.cmake:281 (message):
      Board qualifiers `an521` for board `mps2` not found.

Root cause: the 4.4.0 fork restructured AN521 into a dual-cluster SoC. The bare
`mps2/an521` target no longer exists; the board files are now
`mps2_an521_cpu0.{dts,yaml}` / `_cpu1.*`, and the twister yaml declares the
canonical identifier as `mps2/an521/cpu0`. cortex-r5 (qemu_cortex_r5, old-style
name) is unaffected — that's why only the M33 leg was red.

Fix: use the valid 4.4.0 target `mps2/an521/cpu0` (secure cpu0 cluster — the
standard kernel-test target). Authoritative source: the fork's
boards/arm/mps2/mps2_an521_cpu0.yaml `identifier:` field, not a guess.

Kill-criterion: nightly m33 leg gets past CMake configure and runs the
semaphore suite (was: FATAL ERROR exit 1 at configure).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@avrabe avrabe merged commit 4654734 into main Jun 14, 2026
59 checks passed
@avrabe avrabe deleted the fix/nightly-m33-board-target-an521-cpu0 branch June 14, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant