added opi 5 support
This commit is contained in:
parent
7e144d9afa
commit
6224042749
4 changed files with 39 additions and 4 deletions
32
BUILD.bazel
32
BUILD.bazel
|
|
@ -1056,6 +1056,36 @@ pkg_install(
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Orangepi 5_pro support-
|
||||||
|
kernel_build(
|
||||||
|
name = "opi5_pro_defconfig",
|
||||||
|
outs = [
|
||||||
|
".config",
|
||||||
|
],
|
||||||
|
build_config = "build.config.opi5_pro",
|
||||||
|
make_goals = [
|
||||||
|
"android_orangepi5_defconfig",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
|
kernel_build(
|
||||||
|
name = "opi5_pro",
|
||||||
|
outs = [
|
||||||
|
"arch/arm64/boot/Image",
|
||||||
|
"arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro-1.dtb",
|
||||||
|
|
||||||
|
],
|
||||||
|
build_config = "build.config.opi5_pro",
|
||||||
|
make_goals = [
|
||||||
|
"Image",
|
||||||
|
"dtbs",
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
|
||||||
|
kcflags = ["-D__ANDROID_COMMON_KERNEL__"],
|
||||||
|
)
|
||||||
|
|
||||||
# Orangepi 5_pro support-
|
# Orangepi 5_pro support-
|
||||||
kernel_build(
|
kernel_build(
|
||||||
name = "opi5_defconfig",
|
name = "opi5_defconfig",
|
||||||
|
|
@ -1072,7 +1102,7 @@ kernel_build(
|
||||||
name = "opi5",
|
name = "opi5",
|
||||||
outs = [
|
outs = [
|
||||||
"arch/arm64/boot/Image",
|
"arch/arm64/boot/Image",
|
||||||
"arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro-1.dtb",
|
"arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtb",
|
||||||
|
|
||||||
],
|
],
|
||||||
build_config = "build.config.opi5",
|
build_config = "build.config.opi5",
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
/ {
|
/ {
|
||||||
aliases {
|
aliases {
|
||||||
ethernet0 = &gmac1;
|
ethernet0 = &gmac1;
|
||||||
mmc0 = &sdmmc;
|
mmc1 = &sdmmc;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
KERNEL_DIR=common
|
KERNEL_DIR=common
|
||||||
BRANCH=
|
BRANCH=
|
||||||
DEFCONFIG=android_orangepi5_defconfig
|
DEFCONFIG=android_orangepi5_defconfig
|
||||||
|
|
|
||||||
7
build.config.opi5_pro
Normal file
7
build.config.opi5_pro
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
KERNEL_DIR=common
|
||||||
|
BRANCH=
|
||||||
|
DEFCONFIG=android_orangepi5_defconfig
|
||||||
|
FILES=
|
||||||
|
IN_KERNEL_MODULES=
|
||||||
Loading…
Add table
Add a link
Reference in a new issue