PINE64
[Article] Automated Testing with Ox64 BL808 Emulator (Apache NuttX RTOS) - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: General (https://forum.pine64.org/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.pine64.org/forumdisplay.php?fid=74)
+--- Thread: [Article] Automated Testing with Ox64 BL808 Emulator (Apache NuttX RTOS) (/showthread.php?tid=19076)



[Article] Automated Testing with Ox64 BL808 Emulator (Apache NuttX RTOS) - lupyuen - 02-16-2024

Every day we’re auto-building Apache NuttX RTOS for Ox64 BL808 RISC-V SBC... Can we test NuttX on Ox64 automatically after building?

Yes we can! With a little help from the Ox64 BL808 Emulator that we created last week. In this article, we fill in the missing pieces of our Ox64 Emulator and run it for Automated Testing...

(1) Booting NuttX RTOS in Supervisor Mode (instead of Machine Mode)
(2) Emulate OpenSBI for setting the System Timer
(3) Emulate the UART Interrupts for Console Input
(4) Execute everything with Expect Scripting (based on TCL)
(5) Which becomes our Daily Automated Testing (triggered every day by GitHub Actions)

Here's the article:

Automated Testing with Ox64 BL808 Emulator (Apache NuttX RTOS)

Lup