lupyuen opened a new pull request, #10094: URL: https://github.com/apache/nuttx/pull/10094
## Summary This PR adds support for PINE64 Star64 64-bit RISC-V SBC, based on StarFive JH7110 SoC. Most of the code is derived from NuttX for QEMU RISC-V (Kernel Mode). [The source files are explained in the articles here](https://github.com/lupyuen/nuttx-star64) ### Modified Files `boards/Kconfig`: Added Star64 board ### New Files in boards/risc-v/jh7110/star64 `src/jh7110_appinit.c`: Startup Code `include/board.h`: Star64 Definitions `include/board_memorymap.h`: Memory Map `src/etc/init.d/rc.sysinit`, `rcS`: Startup Script `src/.gitignore`: Ignore the tmp filesystem `scripts/ld.script`: Linker Script `scripts/Make.defs`: Star64 Makefile `src/Makefile`: Star64 Makefile `Kconfig`: Star64 Config `configs/nsh/defconfig`: NSH Build Config ### Updated Documentation `introduction/detailed_support.rst`: Added StarFive JH7110 SoC and Star64 SBC `platforms/risc-v/jh7110/index.rst`: New page for StarFive JH7110 SoC `platforms/risc-v/jh7110/boards/star64/index.rst`: Building and booting NuttX for Star64 ## Impact This PR is needed to support NuttX on Star64 SBC. No impact on existing code, since the Star64 source files are not used by existing code. ## Testing We tested the source files on Star64 SBC. NuttX boots correctly to NSH Shell: - [NuttX Log on Star64](https://gist.github.com/lupyuen/eef8de0817ceed2072b2bacc925cdd96) ```text Starting kernel ... clk u5_dw_i2c_clk_core already disabled clk u5_dw_i2c_clk_apb already disabled BC NuttShell (NSH) NuttX-12.2.1-RC0 nsh> uname -a NuttX 12.2.1-RC0 57d5bba-dirty Aug 5 2023 12:30:55 risc-v star64 nsh> free total used free largest nused nfree Kmem: 2065400 14600 2050800 2049440 50 3 Page: 20971520 643072 20328448 20328448 nsh> ls -l /: dr--r--r-- 0 dev/ dr--r--r-- 0 proc/ dr--r--r-- 0 system/ nsh> hello Hello, World!! ``` [Watch the Demo Video](https://youtu.be/6vQ-TXXojbQ) [See the Build Outputs](https://github.com/lupyuen2/wip-pinephone-nuttx/releases/tag/jh7110b-0.0.1) [See the Build Log](https://gist.github.com/lupyuen/c6dc9aeec74d399029ebaf46ac16ef79) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
