2025-08-29 10:58:38 +08:00
|
|
|
|
# 构建完整镜像命令列举
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- [描述](#描述)
|
|
|
|
|
|
- [适用的 RK3399 开发板](#适用的-rk3399-开发板)
|
|
|
|
|
|
- [适用的 RK356x 开发板](#适用的-rk356x-开发板)
|
|
|
|
|
|
- [适用的 RK3576 开发板](#适用的-rk3576-开发板)
|
|
|
|
|
|
- [适用的 RK3588 开发板](#适用的-rk3588-开发板)
|
|
|
|
|
|
- [适用的 Phytium 开发板](#适用的-phytium-开发板)
|
|
|
|
|
|
- [适用的 Allwinner 开发板](#适用的-allwinner-开发板)
|
|
|
|
|
|
|
|
|
|
|
|
## 描述
|
|
|
|
|
|
|
2025-08-29 10:58:38 +08:00
|
|
|
|
本文档介绍了支持的开发板以及构建对应开发板完整镜像的命令。
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
### 适用的 RK3399 开发板:
|
|
|
|
|
|
|
|
|
|
|
|
已经测试的开发板如下,其他类型 Rockchip 开发板适用情况待测试。
|
|
|
|
|
|
|
|
|
|
|
|
#### Firefly-RK3399
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-20.03-LTS,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-rk3399 -n openEuler-20.03-LTS-Firefly-RK3399-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-20.03-LTS -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-20.03-LTS/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP2,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-rk3399 -n openEuler-22.03-LTS-SP2-Firefly-RK3399-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP2 -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP2/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP3,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-rk3399 -n openEuler-22.03-LTS-SP3-Firefly-RK3399-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP3 -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP3/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- openEuler-24.03-LTS,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-rk3399 -n openEuler-24.03-LTS-Firefly-RK3399-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-24.03-LTS -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-24.03-LTS/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
#### Radxa RockPi-4A
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-20.03-LTS,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board radxa-rockpi-4a -n openEuler-20.03-LTS-RockPi-4A-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-20.03-LTS -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-20.03-LTS/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board radxa-rockpi-4a -n openEuler-22.03-LTS-RockPi-4A-aarch64-alpha1 -k https://atomgit.com/openeuler/kernel.git -b openEuler-22.03-LTS -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
### 适用的 RK356X 开发板:
|
|
|
|
|
|
|
|
|
|
|
|
已经测试的开发板如下,其他类型 RK356X 开发板适用情况待测试。
|
|
|
|
|
|
|
|
|
|
|
|
#### Firefly ROC-RK3566-PC
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP2,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-roc-rk3566-pc -n openEuler-22.03-LTS-SP2-Station-M2-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP2 -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP2/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP3,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-roc-rk3566-pc -n openEuler-22.03-LTS-SP3-Station-M2-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP3 -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP3/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- openEuler-24.03-LTS,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-roc-rk3566-pc -n openEuler-24.03-LTS-Station-M2-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-24.03-LTS -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-24.03-LTS/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
#### Firefly ROC-RK3568-PC-SE
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP2,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-roc-rk3568-pc-se -n openEuler-22.03-LTS-SP2-ROC-RK3568-PC-SE-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP2 -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP2/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP3,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-roc-rk3568-pc-se -n openEuler-22.03-LTS-SP3-ROC-RK3568-PC-SE-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP3 -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP3/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
#### Firefly ROC-RK3568-PC
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP2,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-roc-rk3568-pc -n openEuler-22.03-LTS-SP2-ROC-RK3568-PC-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP2 -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP2/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP3,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-roc-rk3568-pc -n openEuler-22.03-LTS-SP3-ROC-RK3568-PC-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP3 -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP3/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
### 适用的 RK3576 开发板:
|
|
|
|
|
|
|
|
|
|
|
|
已经测试的开发板如下,其他类型 RK3576 开发板适用情况待测试。
|
|
|
|
|
|
|
|
|
|
|
|
#### BananaPi Armsom-Sige5
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP3,使用 Armbian 提供的 Rockchip BSP 内核,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`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://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP3/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
2025-09-09 09:45:28 +08:00
|
|
|
|
#### 100ASK DShanPi A1
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP3,使用 Rockchip BSP 内核,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board dshanpi-a1 -n openEuler-22.03-LTS-SP3-DShanPi-A1-aarch64-alpha1 -k https://github.com/dshanpi/dshanpi-a1-linux-kernel -b rk-6.1 -c rockchip_linux_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP3/generic.repo -s headless`
|
2025-09-09 09:45:28 +08:00
|
|
|
|
|
2025-07-24 16:58:42 +08:00
|
|
|
|
### 适用的 RK3588 开发板:
|
|
|
|
|
|
|
|
|
|
|
|
已经测试的开发板如下,其他类型 RK3588 开发板适用情况待测试。
|
|
|
|
|
|
|
|
|
|
|
|
#### Firefly ITX-3588J
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP3,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-itx-3588j -n openEuler-22.03-LTS-SP3-RK3588-Firefly-ITX-3588J-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-RK3588 -c openeuler_rk3588_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP3/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
#### Firefly ROC-RK3588S-PC
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP2,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-roc-rk3588s-pc -n openEuler-22.03-LTS-SP2-Station-M3-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP2 -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP2/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP3,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board firefly-roc-rk3588s-pc -n openEuler-22.03-LTS-SP3-Station-M3-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP3 -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP3/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
#### Radxa Rock-5B
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP2,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board radxa-rock-5b -n openEuler-22.03-LTS-SP2-Rock5B-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP2 -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP2/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP3,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board radxa-rock-5b -n openEuler-22.03-LTS-SP3-Rock5B-aarch64-alpha1 -k https://atomgit.com/openeuler/rockchip-kernel.git -b openEuler-22.03-LTS-SP3 -c openeuler_rockchip_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS-SP3/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
### 适用的 Phytium 开发板:
|
|
|
|
|
|
|
|
|
|
|
|
已经测试的开发板如下,其他类型 Phytium 开发板适用情况待测试。
|
|
|
|
|
|
|
|
|
|
|
|
#### Phytium Pi 4GB
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-22.03-LTS-SP3,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board phytiumpi-4gb -n openEuler-22.03-LTS-PhytiumPi-4GB-aarch64-alpha1 -k https://atomgit.com/openeuler/phytium-kernel.git -b openEuler-22.03-LTS-Phytium -c phytium_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-22.03-LTS/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- openEuler-24.03-LTS,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board phytium-4gb -n openEuler-24.03-LTS-PhytiumPi-4GB-aarch64-alpha1 -k https://atomgit.com/openeuler/phytium-kernel.git -b openEuler-24.03-LTS-Phytium -c phytium_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-24.03-LTS/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
### 适用的 Allwinner 开发板:
|
|
|
|
|
|
|
|
|
|
|
|
已经测试的开发板如下,其他类型 Allwinner 开发板适用情况待测试。
|
|
|
|
|
|
|
|
|
|
|
|
#### Orange Pi Zero 2
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-20.03-LTS,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board orangepi-zero2 -n openEuler-20.03-LTS-OrangePi-Zero2-aarch64-alpha1 -k https://atomgit.com/openeuler/allwinner-kernel.git -b openEuler-20.03-LTS -c openeuler_allwinner_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-20.03-LTS/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
- openEuler-24.03-LTS,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board orangepi-zero2 -n openEuler-24.03-LTS-OrangePi-Zero2-aarch64-alpha1 -k https://atomgit.com/openeuler/allwinner-kernel.git -b openEuler-24.03-LTS -c openeuler_allwinner_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-24.03-LTS/generic.repo -s headless`
|
2025-07-24 16:58:42 +08:00
|
|
|
|
|
|
|
|
|
|
#### Longan Pi 3H
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-24.03-LTS,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`sudo bash build.sh --board longanpi-3h -n openEuler-24.03-LTS-LonganPi-3H-aarch64-alpha1 -k https://atomgit.com/openeuler/allwinner-kernel.git -b openEuler-24.03-LTS -c openeuler_allwinner_defconfig -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-24.03-LTS/generic.repo -s headless`
|
2025-12-16 17:47:05 +08:00
|
|
|
|
|
|
|
|
|
|
### 适用的 Amlogic 开发板:
|
|
|
|
|
|
|
|
|
|
|
|
已经测试的开发板如下,其他类型 Amlogic 开发板适用情况待测试。
|
|
|
|
|
|
|
|
|
|
|
|
#### Khadas VIM3
|
|
|
|
|
|
|
|
|
|
|
|
已测试的版本如下:
|
|
|
|
|
|
|
|
|
|
|
|
- openEuler-24.03-LTS,构建命令如下:
|
|
|
|
|
|
|
2026-01-04 11:41:06 +00:00
|
|
|
|
`bash build.sh --board khadas-vim3 -n openEuler-24.03-LTS-Khadas-VIM3-aarch64-alpha1 -k https://atomgit.com/openeuler/kernel.git -b OLK-6.6 -c amlogic-kernel-OLK-6.6.config -r https://raw.atomgit.com/src-openeuler/openEuler-repos/raw/openEuler-24.03-LTS/generic.repo -s headless`
|