boards/risc-v: add NTFC test for ksmp64 - #20127
Open
imeghar2408-max wants to merge 1 commit into
Open
Conversation
Add NTFC configuration for the ksmp64 kernel SMP build so it can be exercised by the CI test infrastructure. Assisted-by: GitHub Copilot Signed-off-by: Megha Rajput <i.meghar.2408@gmail.com>
Contributor
Author
|
CI is currently failing during the NTFC boot wait for the ksmp64 test. The kernel builds successfully and boots locally with 4 HARTs, but CI uses ntfc==0.0.1, whose boot wait appears to be limited to ~5s. Newer NTFC changes add configurable boot_timeout and exec_cwd. What would be the preferred approach here — update/release NTFC first and then use those options in this PR, or handle it another way? |
xiaoxiang781216
approved these changes
Sep 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Assisted-by: GitHub Copilot
Summary
Add NTFC (NuttX Test Framework Configuration) support for the existing RISC-V
ksmp64kernel SMP configuration (rv-virt:ksmp64).This enables automated CI test coverage for the SMP kernel build, exercising
ostestand SMP-specific test cases across 4 harts under QEMU.Testing
Build
Verified key configuration options:
Kernel application build/import
QEMU SMP boot
$ qemu-system-riscv64 -semihosting -M virt,aclint=on -cpu rv64 -smp 4 -kernel ./nuttx -nographicBoots cleanly to NSH with all 4 harts recognized by OpenSBI.
NTFC test run
$ NTFCDIR=/tmp/nuttx-ntfc ./tools/testbuild.sh -C -R /tmp/nuttx-ksmp64-testlist933 tests collected, 3 skipped, exit code 0 — no failures.
Static checks
All checks pass.
Fixes #20031