Thanks Tomek! Yep NuttX for Star64 JH7110 (SiFive Cores) will boot OK on Ox64 BL808 (T-Head Core) with some minor changes to the Memory Map and UART Driver.
I'm now making proper fixes to the Ox64 Memory Map, UART Driver and Interrupt Controller, before submitting the Pull Request :-) Lup On Sun, Nov 12, 2023 at 7:37 AM Tomek CEDRO <to...@cedro.info> wrote: > On Sun, Nov 12, 2023 at 12:18 AM Lee, Lup Yuen wrote: > > Last week we booted Linux on the Pine64 Ox64 64-bit RISC-V SBC, powered > by > > Bouffalo Lab BL808 SoC. And we wondered if a tiny 64-bit RTOS like NuttX > > might run more efficiently on Ox64. (With only 64 MB of RAM) > > > > Let’s make it happen! In this article we... > > (1) Begin with NuttX for Star64 JH7110 RISC-V SBC > > (2) Boot it unmodified (!) on our Ox64 BL808 RISC-V SBC > > (3) Add Debug Logs in RISC-V Assembly > > (4) Tweak the NuttX UART Driver to print on Ox64 > > (5) Fix the Platform-Level Interrupt Controller > > (6) Track down why RISC-V Exceptions aren’t dumped correctly > > (7) And plan for the upcoming Initial RAM Disk > > > > Check out the article: https://lupyuen.codeberg.page/articles/ox2.html > > Congratulations Lup! So the same code from 1 and 2 worked fine??? Is > RISC-V generic enough among different CPU/MCU/SoC implementations?? > :-) > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info >