shuta.lst 5d1747ac5d feat[bsp][xuantie]: c/r serial cpus support SMP; 3 周之前
..
.settings cb4a370c71 [bsp/xuantie] 添加bsp导入rt-studio相关文件 (#10728) 6 月之前
applications 5d1747ac5d feat[bsp][xuantie]: c/r serial cpus support SMP; 3 周之前
board 5d1747ac5d feat[bsp][xuantie]: c/r serial cpus support SMP; 3 周之前
figures cec2dbd7e9 玄铁全系列RISC-V内核支持(E系列/R系列/C系列) (#10343) 10 月之前
utilities bac64cad82 [bsp/xuantie] xuantie系列bsp添加导出CDK工程功能 #10630 7 月之前
.config 5d1747ac5d feat[bsp][xuantie]: c/r serial cpus support SMP; 3 周之前
.cproject cb4a370c71 [bsp/xuantie] 添加bsp导入rt-studio相关文件 (#10728) 6 月之前
.project cb4a370c71 [bsp/xuantie] 添加bsp导入rt-studio相关文件 (#10728) 6 月之前
Kconfig 5d1747ac5d feat[bsp][xuantie]: c/r serial cpus support SMP; 3 周之前
README.md 5d1747ac5d feat[bsp][xuantie]: c/r serial cpus support SMP; 3 周之前
SConscript d62f1e46b8 [bsp/xuantie] 修复bsp的dist功能 9 月之前
SConstruct 5d1747ac5d feat[bsp][xuantie]: c/r serial cpus support SMP; 3 周之前
objdump.bat cec2dbd7e9 玄铁全系列RISC-V内核支持(E系列/R系列/C系列) (#10343) 10 月之前
qemu.bat cec2dbd7e9 玄铁全系列RISC-V内核支持(E系列/R系列/C系列) (#10343) 10 月之前
rtconfig.h 5d1747ac5d feat[bsp][xuantie]: c/r serial cpus support SMP; 3 周之前
rtconfig.py 5d1747ac5d feat[bsp][xuantie]: c/r serial cpus support SMP; 3 周之前
rtconfig_preinc.h cb4a370c71 [bsp/xuantie] 添加bsp导入rt-studio相关文件 (#10728) 6 月之前
template.cdkproj bac64cad82 [bsp/xuantie] xuantie系列bsp添加导出CDK工程功能 #10630 7 月之前
template.cdkws bac64cad82 [bsp/xuantie] xuantie系列bsp添加导出CDK工程功能 #10630 7 月之前

README.md

XuanTie - R920 Series

一 简介

1. 内核

暂无。

2.特点

暂无。

3.BSP支持情况

  • 当前BSP支持下述内核:

    r920
    
  • 当前BSP默认设置的内核是r920,该架构支持[F][D][V]扩展。

  • 当需要使用SMP多核时,请使用scons --menuconfig使能SMP功能并配置CPU个数。

4.运行QEMU

  • BSP根目录下存在qemu.bat脚本,生成可执行文件后可点击该脚本直接启动QEMU.

  • Linux用户可以直接使用qemu-system-riscv64命令启动QEMU.

    qemu-system-riscv64 -machine xiaohui -smp cpus=2 -nographic -kernel rtthread.elf -cpu r920
    

二 工具

注:若上述链接中的编译器与模拟器不能使用,可以使用下述CDK中的编译器与模拟器

三 调试方法

下述调试方法以E906举例,本BSP操作方式一致,搭建完成RT-Thread开发环境,在BSP根目录使用env工具在当前目录打开env。

使用前执行一次menuconfig命令,更新rtconfig.h配置,然后在当前目录执行scons -j12命令编译生成可可执行文件。

env

下述是使用vscode调试的展示。

env

一起为RISC-V加油!