rock-5[ab]: use regular yocto kernel
PATCH 1/1 rock-5[ab]: use regular yocto kernel
Upstream kernel support for both the rock-5a and rock-5b landed in version 6.5. Nanbield contained linux-yocto recipes for both 6.1 and 6.5 so it was best to simply have these MACHINEs use linux-yocto-dev. Post-nanbield oecore master only has a recipe for 6.6 (so far), therefore these two MACHINEs can use linux-yocto by default, instead of linux-yocto-dev.
--- conf/machine/rock-5a.conf | 1 - conf/machine/rock-5b.conf | 1 - recipes-kernel/linux/linux-yocto-dev.bbappend | 4 ---- recipes-kernel/linux/linux-yocto_%.bbappend | 2 ++ 4 files changed, 2 insertions(+), 6 deletions(-)
conf/machine/rock-5a.conf +0 -1
@@ -5,7 +5,6 @@ require conf/machine/include/rk3588s.inc -PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev" KERNEL_DEVICETREE = "rockchip/rk3588s-rock-5a.dtb" MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
conf/machine/rock-5b.conf +0 -1
@@ -5,7 +5,6 @@ require conf/machine/include/rk3588.inc -PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev" KERNEL_DEVICETREE = "rockchip/rk3588-rock-5b.dtb" MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
recipes-kernel/linux/linux-yocto-dev.bbappend +0 -4
@@ -1,9 +1,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -COMPATIBLE_MACHINE:rock-5a = "rock-5a" -COMPATIBLE_MACHINE:rock-5b = "rock-5b" COMPATIBLE_MACHINE:orangepi-5-plus = "orangepi-5-plus" -SRC_URI:append:rock-5a = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta" -SRC_URI:append:rock-5b = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta" SRC_URI:append:orangepi-5-plus = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
recipes-kernel/linux/linux-yocto_%.bbappend +2 -0
@@ -20,6 +20,8 @@ COMPATIBLE_MACHINE:roc-rk3328-cc = "roc-rk3328-cc" COMPATIBLE_MACHINE:roc-rk3308-cc = "roc-rk3308-cc" COMPATIBLE_MACHINE:rock-3a = "rock-3a" COMPATIBLE_MACHINE:rock-4c-plus = "rock-4c-plus" +COMPATIBLE_MACHINE:rock-5a = "rock-5a" +COMPATIBLE_MACHINE:rock-5b = "rock-5b" SRC_URI:append = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta" SRC_URI:append:nanopi-r4s = " file://nanopi-r4s.scc"
Signature · 1 line
2.43.0.76.g1a87c842ece3
Trevor Woerner
AppliedQuoted 6 lines · Trevor Woerner
Upstream kernel support for both the rock-5a and rock-5b landed in version 6.5. Nanbield contained linux-yocto recipes for both 6.1 and 6.5 so it was best to simply have these MACHINEs use linux-yocto-dev. Post-nanbield oecore master only has a recipe for 6.6 (so far), therefore these two MACHINEs can use linux-yocto by default, instead of linux-yocto-dev.
Quoted 7 lines
Signed-off-by Trevor Woerner <[email protected]>--- conf/machine/rock-5a.conf | 1 - conf/machine/rock-5b.conf | 1 - recipes-kernel/linux/linux-yocto-dev.bbappend | 4 ---- recipes-kernel/linux/linux-yocto_%.bbappend | 2 ++ 4 files changed, 2 insertions(+), 6 deletions(-)
Applied to meta-rockchip, master branch.