Files
retroSoC/app/ports/rtthread/README.md
T
maksyuki 8d735aafbd feat: refactor tests and update configurations for OpenC906 migration
- Adjusted slot assignments in  to reflect new peripheral mappings.
- Updated  to validate new OpenC906 configurations, including generator and profile checks.
- Modified  to reference the new Std-series VexiiRiscv generator.
- Changed cache maintenance instructions in  to align with C906 specifications.
- Revised assertions in  to account for internal unit removals.
- Updated  to reflect changes in peripheral interface counts and policies.
- Added new test file  to ensure preservation of the frozen HP configuration in the Std-series generator.
2026-10-10 15:15:21 +08:00

1.2 KiB

HP RT-Thread BSP

This directory owns the single-hart RV64 M-mode BSP and deterministic kernel acceptance application. Upstream RT-Thread is installed at the revision in the dependency lock under .cache/; it is not edited or copied into project source. SCons runs on a staged BSP below build/<variant>/hp-rtthread/.

Run make setup-hp-rtthread, then make CONFIG=configs/ci/ihp130-rtthread.mk SIMU=VERILATOR hp-rtthread-sim. The test uses UART1 and the internal C906 CLINT (time CSR plus MTIMECMP at 0x0C004000) and PLIC machine context 0 with the mailbox doorbell at source 18. Peripheral accesses remain 32 bits. Static threads exercise RV64 integer state, timer preemption, semaphore/message queue behavior, timeouts, and an LP-to-HP mailbox interrupt. LP validates the final mailbox response and owns SYSCTRL TEST_STATUS. A banner alone is not a pass.

The authoritative contract is HP platform. RT-Smart, networking, filesystems, floating-point task qualification, and PPA are outside this test. Self-owned C follows the repository C policy; the locked upstream OS is third-party material. No operating-system dependency enters crt.