nuttx/Documentation/platforms/risc-v/sg2000/index.rst
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

37 lines
1.2 KiB
ReStructuredText

=============
SOPHGO SG2000
=============
`SOPHGO SG2000 <https://milkv.io/chips/sg2000>`_ is a 64-bit RISC-V SoC with 2 RISC-V Cores and 1 Arm Core:
- **Main Processor:** T-Head C906 1.0 GHz 64-bit RISC-V Core
- 32 KB I-Cache, 64KB D-Cache
- Integrated Vector and Floating-Point Operation Unit (FPU)
- **Co-Processor:** T-Head C906 700 MHz 64-bit RISC-V Core
- Integrated Floating-Point Unit (FPU)
- **Alternate Main Processor:** Cortex-A53 1.0 GHz 64-bit Arm Core
- 32 KB I-Cache, 32 KB D-Cache
- 128 KB L2 Cache
- Support Neon and Floating-Point Operation Unit (FPU)
- **MCU:** 8051 with 6 KB SRAM
- **TPU:** 0.5 TOPS INT8
- **Memory:** SIP DRAM 512 MB
- **Video Module:** ISP 5M @ 30 FPS, 2L MIPI DSI 5M @ 30 FPS, 4L or 2L+2L MIPI CSI 5M @ 30 FPS, H.265 / H.264 Decoding and Encoding 5M @ 30 FPS
- **Audio Module:** 16-bit Audio Codec, 2 x I2S / PCM, 1 x DMIC
- **Storage:** SPI-NOR, SPI-NAND, eMMC 5.0, 2 x SDIO 3.0
- **Network:** 10M / 100M MAC PHY
- **Security Module:** Crypto, Secure Boot, TRNG, Efuse
- **Peripherals:** 1 x USB 2.0 DRD, 5 x UART, 4 x SPI, 16 x PWM, 1 x IR, 6 x I2C, 6 x ADC, GPIOs
Supported Boards
================
.. toctree::
:glob:
:maxdepth: 1
boards/*/*