nuttx/tools/ci
Afonso Oliveira 0b35d45b2c riscv/erbium: Add standalone Minion emulator support.
Add an initial port for the AIFoundry Erbium Minion core running on the
public ET-platform system emulator (erbium_emu). NuttX boots directly
from a firmware ELF at 0x40000200, runs in machine mode on hart 0 with
SMP disabled, and parks secondary harts before they touch memory.

The chip layer provides startup, PLIC interrupts, the UART0 console
driver and the machine timer. Context switching, FPU save/restore,
heap, idle and timer handling reuse the common RISC-V code. Atomics use
interrupt masking because the core does not implement the A extension.

Erbium implements the F extension but executes fdiv/fsqrt and FENCE.I
in microcode, which a standalone image does not provide. The board build
files pass -mno-fdiv to GCC when the FPU is enabled, so those operations
use software helpers. Startup initializes the FPU without the common
FENCE.I sequence, and the board configurations disable the dynamic ELF
loader, which also relies on FENCE.I.

Add minion:nsh and minion:ostest configurations, Make and CMake
support, CMake CI build entries, and a host script that runs prebuilt
images in the emulator and checks the console and OS test results.

Tested with emulator revision 836a4ab600e9 and xPack GCC 14.3.0: both
configurations build with Make and CMake, ostest exits with status 0
including the FPU tests, and the NSH console, procfs, timer and UART
receive paths work. Silicon, SMP, protected builds and reboot are not
covered by this initial port.

Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com>
2026-09-24 15:38:14 +08:00
..
docker/linux tools/ci: Fix esptool issue 2026-09-23 08:59:07 -03:00
platforms tools/ci: Fix esptool issue 2026-09-23 08:59:07 -03:00
testlist riscv/erbium: Add standalone Minion emulator support. 2026-09-24 15:38:14 +08:00
cibuild-oot.sh cmake: Remove unused BUILD_OOTCPP guard from configuration. 2025-10-17 17:06:46 -03:00
cibuild.ps1 tools/ci: Added CI system on Windows Native 2025-03-19 19:59:44 +08:00
cibuild.sh CI: Improved speed to build nuttx on MSYS2 job 2025-03-26 22:35:19 +08:00
README.md

CI Tools

These are tools and data used for the CI system. Some of what is here may also be useful for local testing.