Go to file
Lup Yuen Lee 008803865f boards/risc-v: Add support for Milk-V Duo S SBC (SOPHGO SG2000 SoC)
This PR adds support for Milk-V Duo S 64-bit RISC-V SBC, based on SOPHGO SG2000 SoC (T-Head C906 Core). Most of the code is derived from NuttX for Ox64 BL808. The source files are explained in the articles here: https://github.com/lupyuen/nuttx-sg2000

Modified Files:

`boards/Kconfig`: Added Milk-V Duo S board

`arch/risc-v/src/sg2000/sg2000_timerisr.c`: Fixed MTIMER_FREQ for sleep() to work correctly

New Files in boards/risc-v/sg2000/milkv_duos:

`src/sg2000_appinit.c`: Startup Code

`include/board.h`: Milk-V Duo S 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`: Milk-V Duo S Makefile

`src/Makefile`: Milk-V Duo S Makefile

`Kconfig`: Milk-V Duo S Config

`configs/nsh/defconfig`: Build Config for `milkv_duos:nsh`

Updated Documentation:

`platforms/risc-v/sg2000/index.rst`: New page for SOPHGO SG2000 SoC

`platforms/risc-v/sg2000/boards/milkv_duos/index.rst`: Building and booting NuttX for Milk-V Duo S
2024-06-18 00:13:35 +08:00
.github build(deps): bump github/super-linter from 5 to 6 2024-04-29 17:34:32 +08:00
arch boards/risc-v: Add support for Milk-V Duo S SBC (SOPHGO SG2000 SoC) 2024-06-18 00:13:35 +08:00
audio Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
binfmt Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
boards boards/risc-v: Add support for Milk-V Duo S SBC (SOPHGO SG2000 SoC) 2024-06-18 00:13:35 +08:00
cmake fix nxstyle 2024-05-13 22:24:36 +02:00
crypto fix(Kconfig): spellcheck "randon" to "random" 2024-06-15 17:40:18 +08:00
Documentation boards/risc-v: Add support for Milk-V Duo S SBC (SOPHGO SG2000 SoC) 2024-06-18 00:13:35 +08:00
drivers sensors/bmi270: fix bmi270_uorb build 2024-06-17 18:29:18 +08:00
dummy
fs fs/lock: prefer nxsched_self for modularity 2024-06-09 20:22:02 +08:00
graphics video/vnc: add vnc_fb_register 2024-04-12 17:42:49 +08:00
include net/can: Add SO_RCVBUF option for can socket 2024-06-14 19:54:07 +08:00
libs arch/risc-v: initial qemu-rv64ilp32 support 2024-06-14 19:50:00 +08:00
mm net/can: Add SO_RCVBUF option for can socket 2024-06-14 19:54:07 +08:00
net net/can: Add SO_RCVBUF option for can socket 2024-06-14 19:54:07 +08:00
openamp openamp/libmetal.cmake: sync with libmetal.defs 2024-03-28 16:07:49 +08:00
pass1
sched sched/kconfig: add PID_INITIAL_COUNT 2024-06-12 16:10:35 +08:00
syscall sem_open: return error code, sem returned by parameter 2024-06-06 02:40:50 +08:00
tools espressif: Remove outdated config about IDF bootloader 2024-06-12 16:11:56 +08:00
video
wireless Remove the back slash from long literal string 2024-02-19 16:43:15 +01:00
.asf.yaml
.gitignore fs/vfat: Fix typo in the macro DIRSEC_BYTENDX 2024-02-03 12:46:08 -03:00
.yamllint
AUTHORS
CMakeLists.txt cmake:bugfix CMake compilation options settings should not use strings 2024-05-30 10:02:10 -03:00
CONTRIBUTING.md
INVIOLABLES.md
Kconfig Kconfig: move LTO options to Build Setup menu 2024-06-02 09:26:35 -03:00
LICENSE RP2040: Implement board_uniqueid() 2024-03-17 10:00:25 -03:00
Makefile
NOTICE
README.md Gathering community recommendations 2023-10-28 13:55:56 +08:00
ReleaseNotes

POSIX Badge License Issues Tracking Badge Contributors GitHub Build Badge Documentation Badge

Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).

For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.

Getting Started

First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.

Documentation

You can find the current NuttX documentation on the Documentation Page.

Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.

The old NuttX documentation is still available in the Apache wiki.

Supported Boards

NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.

Contributing

If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.

License

The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.