[Article] Fixed the UART Interrupt and Platform-Level Interrupt Controller (Ox64)
#1
Last week we walked through the Serial Console for Pine64 Ox64 BL808 64-bit RISC-V Single-Board Computer. And we hit some illogical impossible problems on Apache NuttX RTOS (Real-Time Operating System)...

(1) Console Input is always empty. (Can’t enter any Console Commands)
(2) Interrupt Claim is forever 0. (Ox64 won’t tell us which Interrupt was fired!)
(3) Leaky Writes are mushing up adjacent Interrupt Registers. (Or maybe Leaky Reads?)

Today we discover the One Single Culprit behind all this rowdy mischief: Weak Ordering in the MMU! (Memory Management Unit)

Here’s how we solved the baffling mystery:
Fixed the UART Interrupt and Platform-Level Interrupt Controller (Ox64 BL808)

Lup
   
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [article] Linux Phone Takeover Juergen 4 3,548 10-08-2025, 02:31 PM
Last Post: zech.dexos
  [Article] RISC-V Ox64 BL808: UART Interrupt and Platform-Level Interrupt Controller lupyuen 2 9,375 09-03-2025, 10:51 PM
Last Post: PrinceMorissette
  [Article] Creating the Unicorn Emulator for Avaota-A1 SBC (Apache NuttX RTOS) lupyuen 0 2,112 04-12-2025, 06:04 PM
Last Post: lupyuen
  [Article] Porting Apache NuttX RTOS to Avaota-A1 SBC (Allwinner A527 SoC) lupyuen 2 2,833 03-22-2025, 07:30 PM
Last Post: lupyuen
  [Article] StarPro64 EIC7700X RISC-V SBC: Maybe LLM on NPU on NuttX? lupyuen 2 3,335 03-08-2025, 09:20 PM
Last Post: tllim
  [Article] Test Bot for NuttX Pull Requests ... Tested on Real Hardware (Oz64 SG2000) lupyuen 0 2,355 02-15-2025, 11:26 AM
Last Post: lupyuen
  [Article] RISC-V Emulator for Pine64 Oz64 SBC lupyuen 2 3,200 07-07-2024, 04:19 AM
Last Post: lupyuen
  [Article] Rust Apps on Ox64 BL808 RISC-V SBC and Apache NuttX RTOS lupyuen 2 2,970 07-06-2024, 06:51 PM
Last Post: lupyuen
  [Video] TinyEMU RISC-V Emulator for Ox64 BL808 SBC lupyuen 0 1,556 06-13-2024, 08:56 PM
Last Post: lupyuen
  [Video] Adventures of Ox64 BL808 RISC-V SBC with Apache NuttX RTOS lupyuen 0 1,506 06-13-2024, 04:13 AM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)