Very nice Lup! Another great article! I want to test my Milk-V Duo S soon!!!
BR, Alan On Sat, Jul 6, 2024 at 7:18 PM Lee, Lup Yuen <lu...@appkaki.com> wrote: > Earlier this year we made a RISC-V Emulator for Ox64 BL808 SBC. Every day > we run it for testing the Daily NuttX Build for Ox64, thanks to our > customised TinyEMU RISC-V Emulator. (Not the small flightless bird) > > Now that NuttX supports Sophgo SG2000 SoC: Let’s create a similar emulator > for Pine64 Oz64 SBC and Milk-V Duo S… > > (1) We take TinyEMU Emulator for Ox64 BL808 SBC > (2) Update the RISC-V Memory Map to match Sophgo SG2000 SoC > (3) Fix the `auipc` Overflow in TinyEMU Boot Code > (4) We emulate the 16550 UART Controller > (5) By intercepting Reads and Writes to the UART I/O Registers > (6) But TinyEMU supports only 32 Interrupts, we bump up to 64 > (7) Eventually we’ll emulate SG2000 Peripherals like GPIO > (8) Right now it’s good enough for Daily Automated Testing of NuttX for > SG2000 > > Check out the article: https://lupyuen.codeberg.page/articles/sg2000b.html > > Lup >