!26 rockchip: 添加BSP内核构建支持,添加Armsom-Sige5的构建支持

From: @chainsx 
Reviewed-by: @woqidaideshi 
Signed-off-by: @woqidaideshi
This commit is contained in:
openeuler-ci-bot 2025-07-16 09:01:04 +00:00 committed by Gitee
commit b2fa02caea
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 27 additions and 1 deletions

View File

@ -12,7 +12,9 @@
# 新开发板适配指南
## 内核移植
## 准备内核
### 移植 openEuler 内核
内核移植是难度较大的工作,具体步骤不做介绍,移植 openEuler 内核的大致流程如下:
@ -32,6 +34,10 @@
2. 如果内核仓库中已经存在相关驱动,则只需要在相应内核仓库提交对应开发板的内核设备树即可。
### 使用 BSP 内核
如果想使用 BSP 内核进行测试,可以在构建指令中指定 BSP 内核的仓库地址及对应分支,参考[一次构建](../瑞芯微等开发板.md#一次构建)。
## 准备 u-boot
- RK3399

View File

@ -256,6 +256,14 @@
`sudo bash build.sh --board firefly-roc-rk3568-pc -n openEuler-22.03-LTS-SP3-ROC-RK3568-PC-aarch64-alpha1 -k https://gitee.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP3 -c openeuler_rockchip_defconfig -r https://gitee.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP3/generic.repo -s headless`
4. BananaPi Armsom-Sige5
已测试的版本如下:
- openEuler-22.03-LTS-SP3使用 Armbian 提供的 Rockchip BSP 内核,构建命令如下:
`sudo bash build.sh --board armsom-sige5 -n openEuler-22.03-LTS-SP3-Armsom-Sige5-aarch64-alpha1 -k https://github.com/armbian/linux-rockchip.git -b rk-6.1-rkr5.1 -c rockchip_linux_defconfig -r https://gitee.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP3/generic.repo -s headless`
适用的 Phytium 开发板:
已经测试的开发板如下,其他类型 Phytium 开发板适用情况待测试。

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,12 @@
ubootconfig=none
local_uboot_dir=${nonfree_bin_dir}/u-boot/armsom-sige5
dtb_name=rk3576-armsom-sige5
platform=rockchip
soc_name=rk3576
arch=arm64
part_table=gpt
POST_BOARD_OVERLAY() {
echo "Put ${board} firmware into rootfs..."
echo "Nothing to do..."
}