[Article] Star64 JH7110 + NuttX RTOS: RISC-V PLIC Interrupts and Serial I/O
#1
Apache NuttX RTOS on Star64 JH7110 RISC-V SBC is almost ready! But we're stuck with 16550 UART Controller firing too many Spurious Interrupts.

In this article, we explain…
(1) Why there’s No Console Output from NuttX Apps
(2) How Serial I/O works in NuttX QEMU
(3) How UART I/O differs for Star64 vs QEMU
(4) What’s the RISC-V Platform-Level Interrupt Controller (PLIC)
(5) Why we delegate RISC-V Machine-Mode Interrupts to Supervisor-Mode
(6) How NuttX Star64 handles UART Interrupts
(7) Which leads to a new problem: 16550 UART Controller fires too many Spurious Interrupts!


Star64 JH7110 + NuttX RTOS: RISC-V PLIC Interrupts and Serial I/O

   
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Article] RISC-V Emulator for Pine64 Oz64 SBC lupyuen 2 254 07-07-2024, 04:19 AM
Last Post: lupyuen
  [Article] Rust Apps on Ox64 BL808 RISC-V SBC and Apache NuttX RTOS lupyuen 2 376 07-06-2024, 06:51 PM
Last Post: lupyuen
  Risc-V laptop from SpacemiT Der Geist der Maschine 2 735 06-26-2024, 02:17 AM
Last Post: Der Geist der Maschine
  [Video] TinyEMU RISC-V Emulator for Ox64 BL808 SBC lupyuen 0 196 06-13-2024, 08:56 PM
Last Post: lupyuen
  [Video] Adventures of Ox64 BL808 RISC-V SBC with Apache NuttX RTOS lupyuen 0 195 06-13-2024, 04:13 AM
Last Post: lupyuen
  [Ox64 BL808 SBC] Apache NuttX International Workshop: Jun 13 and 14 (Tokyo Time) lupyuen 0 209 06-11-2024, 12:52 AM
Last Post: lupyuen
  Need help in understanding Yocto and U-boot build process for Star64 InterestedinFOSS 2 538 06-05-2024, 04:29 PM
Last Post: yogo1212
  [Article] Coding Ox64 BL808 SBC the Drag-n-Drop Way lupyuen 3 1,054 04-02-2024, 07:38 AM
Last Post: Noahstorey
  [Article] QuickJS JavaScript Engine on a Real-Time Operating System (Ox64 + NuttX) lupyuen 0 704 02-17-2024, 07:24 PM
Last Post: lupyuen
  [Article] Emulate Ox64 BL808 in the Web Browser: Experiments with TinyEMU lupyuen 3 1,084 02-17-2024, 06:53 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)