[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] Coding Ox64 BL808 SBC the Drag-n-Drop Way lupyuen 3 492 04-02-2024, 07:38 AM
Last Post: Noahstorey
  [Article] QuickJS JavaScript Engine on a Real-Time Operating System (Ox64 + NuttX) lupyuen 0 289 02-17-2024, 07:24 PM
Last Post: lupyuen
  [Article] Emulate Ox64 BL808 in the Web Browser: Experiments with TinyEMU lupyuen 3 494 02-17-2024, 06:53 PM
Last Post: tllim
  [Article] Automated Testing with Ox64 BL808 Emulator (Apache NuttX RTOS) lupyuen 0 284 02-16-2024, 06:54 PM
Last Post: lupyuen
  Has anyone successfully flashed an Ox64 (128Mb) from linux? slondr 3 1,861 02-12-2024, 12:50 AM
Last Post: Pavlos1
  [Star64] UART activity stopped yogo1212 0 307 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 592 01-05-2024, 12:27 AM
Last Post: lupyuen
  [Article] $8 RISC-V SBC on a Real-Time Operating System: Ox64 + NuttX lupyuen 0 487 12-17-2023, 02:27 AM
Last Post: lupyuen
  [Article] RISC-V Ox64 BL808: UART Interrupt and Platform-Level Interrupt Controller lupyuen 1 575 12-03-2023, 04:24 AM
Last Post: WhiteHexagon
  [Article] RISC-V Ox64 BL808 SBC: NuttX Apps and Initial RAM Disk lupyuen 2 655 11-25-2023, 06:42 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)