Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Sv39 Memory Management Unit

2023-11-19 Thread Lee, Lup Yuen
Thanks Ken! Yep you read my mind, I'll write about NuttX Apps in the next article: (1) What's inside the simplest "Hello World" app (2) How NuttX Apps call NuttX Kernel with "ecall" (3) Bundling the NuttX Apps into the Initial RAM Disk (initrd) for Ox64 BL808 SBC. (We'll append the initrd to the

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Sv39 Memory Management Unit

2023-11-19 Thread ken . dickey
Lup, Another great article! One suggestion. In section 10 "Swap the SATP Register" You mention: "Huh? Our Applications can meddle with the I/O Memory? Nope they can’t, because the “U” User Permission is denied. Therefore we’re all safe and well protected! " I may have missed the

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Sv39 Memory Management Unit

2023-11-18 Thread Tomek CEDRO
On Sun, Nov 19, 2023 at 12:42 AM Lee, Lup Yuen wrote: > Memory Management Unit (MMU) is the hardware inside our Single-Board > Computer (SBC) that implements Memory Protection and Virtual Memory. > (..) > Check out the article: https://lupyuen.codeberg.page/articles/mmu.html Amazing read Lup.. as

[Article] NuttX on Ox64 BL808 RISC-V SBC: Sv39 Memory Management Unit

2023-11-18 Thread Lee, Lup Yuen
Memory Management Unit (MMU) is the hardware inside our Single-Board Computer (SBC) that implements Memory Protection and Virtual Memory. Sv39 is the RISC-V MMU inside the Pine64 Ox64 SBC, based on Bouffalo Lab BL808 SoC. In this article, we boot NuttX on Ox64 SBC to find out how Sv39 MMU works