[Article] RISC-V Ox64 BL808: UART Interrupt and Platform-Level Interrupt Controller
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)

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

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Article] Coding Ox64 BL808 SBC the Drag-n-Drop Way lupyuen 1 27 Today, 12:03 AM
Last Post: tllim
  [Article] QuickJS JavaScript Engine on a Real-Time Operating System (Ox64 + NuttX) lupyuen 0 76 02-17-2024, 07:24 PM
Last Post: lupyuen
  [Article] Emulate Ox64 BL808 in the Web Browser: Experiments with TinyEMU lupyuen 3 133 02-17-2024, 06:53 PM
Last Post: tllim
  [Article] Automated Testing with Ox64 BL808 Emulator (Apache NuttX RTOS) lupyuen 0 70 02-16-2024, 06:54 PM
Last Post: lupyuen
  Has anyone successfully flashed an Ox64 (128Mb) from linux? slondr 3 1,416 02-12-2024, 12:50 AM
Last Post: Pavlos1
  [Star64] UART activity stopped yogo1212 0 93 02-11-2024, 04:34 PM
Last Post: yogo1212
  [Article] Nim on a Real-Time Operating System: Apache NuttX RTOS + Ox64 BL808 SBC lupyuen 2 329 01-05-2024, 12:27 AM
Last Post: lupyuen
  [Article] $8 RISC-V SBC on a Real-Time Operating System: Ox64 + NuttX lupyuen 0 304 12-17-2023, 02:27 AM
Last Post: lupyuen
  [Article] Fixed the UART Interrupt and Platform-Level Interrupt Controller (Ox64) lupyuen 0 323 12-09-2023, 05:24 PM
Last Post: lupyuen
  [Article] RISC-V Ox64 BL808 SBC: NuttX Apps and Initial RAM Disk lupyuen 2 503 11-25-2023, 06:42 PM
Last Post: lupyuen

Forum Jump:

Users browsing this thread: 1 Guest(s)