Message ID | 20231219120226.5682-1-abhisit.dev@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-rockchip,v2,1/1] orangepi-5-plus: Support Orange Pi 5 Plus single-board computer | expand |
A new patch v3 has been created/sent, this patch is outdated, so please use this one instead => [yocto] [meta-rockchip] [PATCH v3 1/1] orangepi-5-plus: Support Orange Pi 5 Plus single-board computer ( https://lists.yoctoproject.org/g/yocto/topic/103295196?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2C%2C%2C20%2C2%2C0%2C0%2Cprevid%253D1703133655057006789%2Cnextid%253D1703023996353542016&previd=1703133655057006789&nextid=1703023996353542016&allview=1 )
diff --git a/README b/README index e5beaa0..c006cd9 100644 --- a/README +++ b/README @@ -34,6 +34,7 @@ Status of supported boards: nanopi-r2s nanopi-m4b rock-pi-s + orangepi-5-plus builds: marsboard-rk3066 radxarock diff --git a/conf/machine/orangepi-5-plus.conf b/conf/machine/orangepi-5-plus.conf new file mode 100644 index 0000000..5e814e6 --- /dev/null +++ b/conf/machine/orangepi-5-plus.conf @@ -0,0 +1,12 @@ +#@TYPE: Machine +#@NAME: Orange Pi 5 Plus +#@DESCRIPTION: It is the 5th generation of single-board computer designed by Kunlong Co.,Limited. +#http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-plus-32GB.html + +require conf/machine/include/rk3588.inc + +PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev" +KERNEL_DEVICETREE = "rockchip/rk3588-orangepi-5-plus.dtb" +MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" + +UBOOT_MACHINE = "orangepi-5-plus-rk3588_defconfig" diff --git a/recipes-bsp/rkbin/rockchip-rkbin_git.bb b/recipes-bsp/rkbin/rockchip-rkbin_git.bb index f1609c7..b6642ce 100644 --- a/recipes-bsp/rkbin/rockchip-rkbin_git.bb +++ b/recipes-bsp/rkbin/rockchip-rkbin_git.bb @@ -14,7 +14,7 @@ S = "${WORKDIR}/git" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:rk3308 = "rk3308" -COMPATIBLE_MACHINE:rk3588s = "rk3588s" +COMPATIBLE_MACHINE:rk3588s = "rk3588s|rk3588" PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/recipes-kernel/linux/linux-yocto-dev.bbappend b/recipes-kernel/linux/linux-yocto-dev.bbappend index 419ebc1..d98a107 100644 --- a/recipes-kernel/linux/linux-yocto-dev.bbappend +++ b/recipes-kernel/linux/linux-yocto-dev.bbappend @@ -1,3 +1,6 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" COMPATIBLE_MACHINE:rock-5b = "rock-5b" SRC_URI:append:rock-5b = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta" + +COMPATIBLE_MACHINE:orangepi-5-plus = "orangepi-5-plus" +SRC_URI:append:orangepi-5-plus = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"