Skip to content

Commit 5d257dd

Browse files
bsp/allwinner: E907 板级支持 + 同步 C907/E907 的构建约定
- 新增 bsp/allwinner/avaota-f2-e907(异构主核)并在 bsp/README.md 登记。 - 同步 C907/E907:board.dts + dtc 生成 board.dtb(删 gen_board_dtb.py)、 uart0 走 PLIC INT_RX、trap 分发 M 外部中断、rtconfig.h 由 Kconfig/.config 生成。 - driver 用 RTT_ROOT 定位 libfdt,scons --dist 项目也能编。 - CI:riscv-none leg 加入 allwinner/avaota-f2 与 avaota-f2-e907,并安装 dtc。 - 未上板验证;本机只做干净构建(含 --dist 项目)。 - 两个 BSP 的 board/plic.c、board/plic.h 按 clang-format 22.1.8 归一(CI format 门禁)。 Co-Authored-By: DeepSeek Flash 1017 Co-Authored-By: Gemini 3.8 Flash
1 parent e5101df commit 5d257dd

59 files changed

Lines changed: 6686 additions & 119 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/ALL_BSP_COMPILE.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,8 @@
425425
"RTT_BSP": "riscv-none",
426426
"RTT_TOOL_CHAIN": "sourcery-riscv-none-embed",
427427
"SUB_RTT_BSP": [
428+
"allwinner/avaota-f2",
429+
"allwinner/avaota-f2-e907",
428430
"k210",
429431
"wch/risc-v/ch32v208w-r0",
430432
"wch/risc-v/ch32v307v-r1",

‎.github/workflows/bsp_buildings.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ jobs:
283283
sudo tar zxf xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-x64.tar.gz -C /opt
284284
/opt/xpack-riscv-none-embed-gcc-8.3.0-2.3/bin/riscv-none-embed-gcc --version
285285
echo "RTT_EXEC_PATH=/opt/xpack-riscv-none-embed-gcc-8.3.0-2.3/bin" >> $GITHUB_ENV
286+
sudo apt-get -qq install device-tree-compiler
286287
287288
- name: Install riscv32-esp-elf ToolChains
288289
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-riscv32-esp32' && success() }}

‎bsp/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@ This document is based on the RT-Thread mainline repository and categorizes the
818818
| [d1](allwinner/d1) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
819819
| [d1s](allwinner/d1s) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
820820
| [avaota-f2](allwinner/avaota-f2) | | ✅ | | | | | | | | |
821+
| [avaota-f2-e907](allwinner/avaota-f2-e907) | | ✅ | | | | | | | | |
821822

822823
#### 🟡 K210 (SMP)
823824

0 commit comments

Comments
 (0)