[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 Ox64 BL808: UART Interrupt and Platform-Level Interrupt Controller lupyuen 2 7,673 09-03-2025, 10:51 PM
Last Post: PrinceMorissette
  [Article] Creating the Unicorn Emulator for Avaota-A1 SBC (Apache NuttX RTOS) lupyuen 0 1,587 04-12-2025, 06:04 PM
Last Post: lupyuen
  [Article] Porting Apache NuttX RTOS to Avaota-A1 SBC (Allwinner A527 SoC) lupyuen 2 2,193 03-22-2025, 07:30 PM
Last Post: lupyuen
  Anyone thinking about putting a RISC-V CPU in a watch? Darin755 1 1,824 03-18-2025, 05:55 PM
Last Post: KC9UDX
  [Article] StarPro64 EIC7700X RISC-V SBC: Maybe LLM on NPU on NuttX? lupyuen 2 2,654 03-08-2025, 09:20 PM
Last Post: tllim
  [article] Linux Phone Takeover Juergen 3 2,724 02-25-2025, 08:23 AM
Last Post: Kevin Kofler
  [Article] Test Bot for NuttX Pull Requests ... Tested on Real Hardware (Oz64 SG2000) lupyuen 0 1,860 02-15-2025, 11:26 AM
Last Post: lupyuen
  Star64 distro overview October 2023 tantamount 7 5,996 01-11-2025, 09:12 AM
Last Post: gounthar
  star64 bootable images, u-boot, sbi, forum? hexdump 5 5,065 11-27-2024, 11:13 AM
Last Post: mara
  Star64/Starpro64 kernel building global 0 1,423 10-04-2024, 08:36 PM
Last Post: global

Forum Jump:


Users browsing this thread: 1 Guest(s)