• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..21-Aug-2025-

applications/21-Aug-2025-

drivers/21-Aug-2025-

.config A D21-Aug-202544.7 KiB1,3661,260

Kconfig A D21-Aug-2025561 3020

README.md A D21-Aug-20251.4 KiB5542

SConscript A D21-Aug-2025312 1511

SConstruct A D21-Aug-20251,017 3425

gcc_csky.ld A D21-Aug-20254.3 KiB186176

gdbinit A D21-Aug-2025214 1511

rtconfig.h A D21-Aug-20257.6 KiB39169

rtconfig.py A D21-Aug-20252.3 KiB7254

theadconfig.h A D21-Aug-2025425 2521

README.md

1# T-HEAD SMART-EVB Introduction
2SMART-EVB is a development board provided by T-HEAD, based on FPGA to provide implementation, integrating T-HEAD's RISC-V CPU (eg. E902/E906/C906) and C-SKY CPU (eg. E805/E804/E803/E802 ), integrates basic peripheral resources such as GPIO/TIMER/UART/RAM.
3
4## The main resources on board are as follows:
5
61. SMART-EVB for T-Head CPU E9xx Series
7
8| res | description |
9| -- | -- |
10|ISA | RISCV |
11|CPU | E906  |
12|FREQ| 20MHz |
13|SRAM| 768KB |
14
15
162. SMART-EVB for E804/E804F/E804D
17
18| res | description |
19| -- | -- |
20|ISA | C-SKY |
21|CPU | E804  |
22|FREQ| 20MHz |
23|SRAM| 768KB |
24
25
26# Compile T-HEAD BSP
27SMART-EVB BSP supports GCC compiler, the version information is:
281. SMART-EVB for E906/7/F/D/P
29
30| IDE/Compiler| version|
31| - | - |
32| GCC | gcc version 8.4.0 (C-SKY RISCV Tools V1.9.6 B20200616) |
332. select cpu in rtconfig.py
343. scons -c; scons
35
36# Quick start with qemu
371. download qemu
38wget https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1356021/1612269502091/csky-qemu-x86_64-Ubuntu-16.04-20210202-1445.tar.gz
392. qemu run
40qemu-system-riscv32 -cpu e906fdp -M smartl -kernel rtthread-e9xx.elf -nographic
41
42# Quick start with smart-evb
431. Connect JTAG
442. Connect the serial port
453. riscv64-unknown-elf-gdb rtthread-e906f.elf
46
47run log as follows:
48```bash
49 \ | /
50- RT -     Thread Operating System
51 / | \     4.0.3 build Sep  2 2020
52 2006 - 2020 Copyright by rt-thread team
53msh >
54```
55