[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] RISC-V Emulator for Pine64 Oz64 SBC lupyuen 2 688 07-07-2024, 04:19 AM
Last Post: lupyuen
  [Article] Rust Apps on Ox64 BL808 RISC-V SBC and Apache NuttX RTOS lupyuen 2 863 07-06-2024, 06:51 PM
Last Post: lupyuen
  Risc-V laptop from SpacemiT Der Geist der Maschine 2 1,164 06-26-2024, 02:17 AM
Last Post: Der Geist der Maschine
  [Video] TinyEMU RISC-V Emulator for Ox64 BL808 SBC lupyuen 0 481 06-13-2024, 08:56 PM
Last Post: lupyuen
  [Video] Adventures of Ox64 BL808 RISC-V SBC with Apache NuttX RTOS lupyuen 0 471 06-13-2024, 04:13 AM
Last Post: lupyuen
  [Ox64 BL808 SBC] Apache NuttX International Workshop: Jun 13 and 14 (Tokyo Time) lupyuen 0 478 06-11-2024, 12:52 AM
Last Post: lupyuen
  [Article] Coding Ox64 BL808 SBC the Drag-n-Drop Way lupyuen 3 1,407 04-02-2024, 07:38 AM
Last Post: Noahstorey
  [Article] QuickJS JavaScript Engine on a Real-Time Operating System (Ox64 + NuttX) lupyuen 0 860 02-17-2024, 07:24 PM
Last Post: lupyuen
  [Article] Emulate Ox64 BL808 in the Web Browser: Experiments with TinyEMU lupyuen 3 1,366 02-17-2024, 06:53 PM
Last Post: tllim
  [Article] Automated Testing with Ox64 BL808 Emulator (Apache NuttX RTOS) lupyuen 0 743 02-16-2024, 06:54 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)