Compiling #RustLang Apps for QEMU #RISCV 32-bit and Apache #NuttX RTOS
Article: https://lupyuen.github.io/articles/rust4#appendix-build-nuttx-for-qemu
Remember to Enable MMU Cache in #RISCV T-Head C906! (#Ox64 BL808 / #MilkV Duo S SG2000) ... Otherwise things get super slooooooow 😬
Article: https://lupyuen.github.io/articles/plic3#appendix-mmu-caching-for-t-head-c906
"I’m begging all #RISCV SoC Makers: Please provide a Software Emulator for your RISC-V SoC!" 🙏 🙏 🙏
64-bit #RISCV #RustLang Apps should be compiled for riscv64gc ... Here's the workaround for Apache #NuttX RTOS
Article: https://lupyuen.codeberg.page/articles/rust5.html#compile-for-qemu-64-bit-risc-v
Automated Testing of Apache #NuttX RTOS on QEMU #RISCV ... Here's the Expect Script 👍
Source: https://github.com/lupyuen/nuttx-riscv64/blob/main/qemu-riscv-nsh64.exp
#RustLang Apps won't compile for Apache #NuttX RTOS on #Ox64 BL808 SBC ... Let's fix this in the next article! 👍
Article: https://lupyuen.codeberg.page/articles/rust4.html#rust-build-for-64-bit-risc-v
Just discovered the magic of JavaScript BigInt 👍
Source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt
#RustLang Apps run OK on Apache #NuttX RTOS for QEMU ... After adding the Rust Custom Profile for Double-Float
Article: https://lupyuen.codeberg.page/articles/rust4.html#nuttx-links-ok-with-rust
Here's how we download and boot Apache #NuttX RTOS on Oz64 #RISCV SBC (Sophgo SG2000)
Article: https://lupyuen.codeberg.page/articles/sg2000.html#appendix-apache-nuttx-rtos-for-pine64-oz64-sbc
Before using a #RustLang Custom Target, remember to rebuild the Rust Core Library
Article: https://lupyuen.codeberg.page/articles/rust4.html#build-the-rust-core-library
Here's how we create a #RustLang Custom Target for #RISCV Double-Float: riscv32gc
Article: https://lupyuen.codeberg.page/articles/rust4.html#custom-target-for-rust
IoT Techie and Educator / Apache NuttX PMC