[Article] RISC-V Ox64 BL808: UART Interrupt and Platform-Level Interrupt Controller
#1
Our article today is all about RISC-V Interrupts on the tiny adorable Pine64 Ox64 BL808 64-bit Single-Board Computer (based on Bouffalo Lab BL808 SoC)…

(1) What’s inside the Platform-Level Interrupt Controller (PLIC)
(2) Setting up the PLIC at startup
(3) Enabling the PLIC Interrupt for Serial Console
(4) Handling PLIC Interrupts for UART Input

We’ll walk through the steps with a simple barebones operating system: Apache NuttX RTOS (Real-Time Operating System). Though we’ll hit a bumpy journey with our work-in-progress NuttX on Ox64…

(5) Leaky Writes seem to affect adjacent PLIC Registers
(6) Interrupt Claim doesn’t seem to work right

Check out the article:
RISC-V Ox64 BL808 SBC: UART Interrupt and Platform-Level Interrupt Controller (PLIC)

Lup
   
  Reply
#2
You should probably just build your own SBC at this point Smile Anyway nice to see you are still hacking away on these boards, and producing interesting articles, thank you!
I hope to return to some PP dev work over xmas break, but kinda feels like the community died since the tablet blog post in April.
Anyway keep up the good work! Peter
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Article] Porting Apache NuttX RTOS to Avaota-A1 SBC (Allwinner A527 SoC) lupyuen 2 248 03-22-2025, 07:30 PM
Last Post: lupyuen
  Anyone thinking about putting a RISC-V CPU in a watch? Darin755 1 167 03-18-2025, 05:55 PM
Last Post: KC9UDX
  [article] Linux Phone Takeover Juergen 4 557 03-17-2025, 10:36 PM
Last Post: lyly19
  [Article] StarPro64 EIC7700X RISC-V SBC: Maybe LLM on NPU on NuttX? lupyuen 2 344 03-08-2025, 09:20 PM
Last Post: tllim
  [Article] Test Bot for NuttX Pull Requests ... Tested on Real Hardware (Oz64 SG2000) lupyuen 0 287 02-15-2025, 11:26 AM
Last Post: lupyuen
  [Article] RISC-V Emulator for Pine64 Oz64 SBC lupyuen 2 1,498 07-07-2024, 04:19 AM
Last Post: lupyuen
  [Article] Rust Apps on Ox64 BL808 RISC-V SBC and Apache NuttX RTOS lupyuen 2 1,631 07-06-2024, 06:51 PM
Last Post: lupyuen
  Risc-V laptop from SpacemiT Der Geist der Maschine 2 1,835 06-26-2024, 02:17 AM
Last Post: Der Geist der Maschine
  [Video] TinyEMU RISC-V Emulator for Ox64 BL808 SBC lupyuen 0 877 06-13-2024, 08:56 PM
Last Post: lupyuen
  [Video] Adventures of Ox64 BL808 RISC-V SBC with Apache NuttX RTOS lupyuen 0 833 06-13-2024, 04:13 AM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)