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 NuttX for Ox64:
(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: https://lupyuen.codeberg.page/articles/plic3.html Lup