07-27-2023, 05:35 PM
Apache NuttX RTOS crashes on Star64 JH7110 RISC-V SBC because there's no Semihosting. But no worries! We modified NuttX to boot with an Initial RAM Disk instead (initrd).
In this article, we find out…
(1) What’s RISC-V Semihosting
(2) Why it crashes NuttX on Star64
(3) How it affects the Apps Filesystem in NuttX
(4) How we replaced Semihosting by Initial RAM Disk “initrd”
(5) After testing on QEMU Emulator
(6) Thanks to NuttX on LiteX Arty-A7 for the guidance!
Star64 JH7110 + NuttX RTOS: RISC-V Semihosting and Initial RAM Disk
In this article, we find out…
(1) What’s RISC-V Semihosting
(2) Why it crashes NuttX on Star64
(3) How it affects the Apps Filesystem in NuttX
(4) How we replaced Semihosting by Initial RAM Disk “initrd”
(5) After testing on QEMU Emulator
(6) Thanks to NuttX on LiteX Arty-A7 for the guidance!
Star64 JH7110 + NuttX RTOS: RISC-V Semihosting and Initial RAM Disk