diff mbox series

[3/3] radxa-zero-3: switch to yocto-dev kernel

Message ID 20241212195718.25203-3-twoerner@gmail.com
State New
Headers show
Series [1/3] u-boot: switch to upstream SRCREV for rk-u-boot-env | expand

Commit Message

Trevor Woerner Dec. 12, 2024, 7:57 p.m. UTC
The radxa-zero-3{e|w} devices are not supported in the current yocto kernel,
but they are supported in the yocto-dev kernel. Switch to yocto-dev until
support is available in the yocto kernel.

Reported-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 conf/machine/include/radxa-zero-3.inc         |  2 +-
 ...xt_%.bbappend => linux-yocto-dev.bbappend} |  0
 .../linux/linux-torvalds-next_git.bb          | 25 -------------------
 recipes-kernel/linux/linux-yocto-dev.bbappend |  2 ++
 4 files changed, 3 insertions(+), 26 deletions(-)
 rename dynamic-layers/rk-rauc-demo/recipes-kernel/linux/{linux-torvalds-next_%.bbappend => linux-yocto-dev.bbappend} (100%)
 delete mode 100644 recipes-kernel/linux/linux-torvalds-next_git.bb

Comments

Oleksii Kurochko Dec. 15, 2024, 3:10 p.m. UTC | #1
Hello Trevor,

On 12/12/24 8:57 PM, Trevor Woerner wrote:
> The radxa-zero-3{e|w} devices are not supported in the current yocto kernel,
> but they are supported in the yocto-dev kernel. Switch to yocto-dev until
> support is available in the yocto kernel.
>
> Reported-by: Oleksii Kurochko<oleksii.kurochko@gmail.com>
> Signed-off-by: Trevor Woerner<twoerner@gmail.com>
> ---
>   conf/machine/include/radxa-zero-3.inc         |  2 +-
>   ...xt_%.bbappend => linux-yocto-dev.bbappend} |  0
>   .../linux/linux-torvalds-next_git.bb          | 25 -------------------
>   recipes-kernel/linux/linux-yocto-dev.bbappend |  2 ++
>   4 files changed, 3 insertions(+), 26 deletions(-)
>   rename dynamic-layers/rk-rauc-demo/recipes-kernel/linux/{linux-torvalds-next_%.bbappend => linux-yocto-dev.bbappend} (100%)
>   delete mode 100644 recipes-kernel/linux/linux-torvalds-next_git.bb
>
> diff --git a/conf/machine/include/radxa-zero-3.inc b/conf/machine/include/radxa-zero-3.inc
> index 1c6f972c1e31..b351afae8c0f 100644
> --- a/conf/machine/include/radxa-zero-3.inc
> +++ b/conf/machine/include/radxa-zero-3.inc
> @@ -2,7 +2,7 @@ MACHINEOVERRIDES =. "radxa-zero-3:"
>   
>   require conf/machine/include/rk3566.inc
>   
> -PREFERRED_PROVIDER_virtual/kernel = "linux-torvalds-next"
> +PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
>   MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
>   
>   UBOOT_MACHINE = "radxa-zero-3-rk3566_defconfig"
> diff --git a/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-torvalds-next_%.bbappend b/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-yocto-dev.bbappend
> similarity index 100%
> rename from dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-torvalds-next_%.bbappend
> rename to dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-yocto-dev.bbappend
> diff --git a/recipes-kernel/linux/linux-torvalds-next_git.bb b/recipes-kernel/linux/linux-torvalds-next_git.bb
> deleted file mode 100644
> index b961b1408f09..000000000000
> --- a/recipes-kernel/linux/linux-torvalds-next_git.bb
> +++ /dev/null
> @@ -1,25 +0,0 @@
> -FILESEXTRAPATHS:prepend := "${THISDIR}/linux-yocto-dev:"
> -
> -DESCRIPTION = "Linux Kernel"
> -SECTION = "kernel"
> -LICENSE = "GPL-2.0-only"
> -LIC_FILES_CHKSUM ="file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
> -
> -ERROR_QA:remove = "buildpaths"
> -DEFAULT_PREFERENCE = "-1"
> -COMPATIBLE_MACHINE = "^$"
> -COMPATIBLE_MACHINE:radxa-zero-3 = "radxa-zero-3"
> -
> -LINUX_VERSION = "6.11-rc6"
> -KERNEL_VERSION_SANITY_SKIP = "1"
> -PV = "${LINUX_VERSION}+git${SRCPV}"
> -SRC_URI = " \
> -	git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git;protocol=https;nobranch=1 \
> -	file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta \
> -	"
> -# this is tag 'next-20240904'
> -SRCREV = "fdadd93817f124fd0ea6ef251d4a1068b7feceba"
> -
> -inherit kernel
> -inherit kernel-yocto
> -require recipes-kernel/linux/linux-yocto.inc
> diff --git a/recipes-kernel/linux/linux-yocto-dev.bbappend b/recipes-kernel/linux/linux-yocto-dev.bbappend
> index b6a63d7b7b29..f738d1357d6c 100644
> --- a/recipes-kernel/linux/linux-yocto-dev.bbappend
> +++ b/recipes-kernel/linux/linux-yocto-dev.bbappend
> @@ -1,5 +1,7 @@
>   FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
>   
>   COMPATIBLE_MACHINE:orangepi-5-plus = "orangepi-5-plus"
> +COMPATIBLE_MACHINE:radxa-zero-3 = "radxa-zero-3"
>   
>   SRC_URI:append:orangepi-5-plus =" 
> file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
> +SRC_URI:append:radxa-zero-3 = "file://rockchip-kmeta;ty
After applying of this patch series I see the following compilation 
issue for kernel:
     | ERROR: modpost: vmlinux: local symbol 'security_path_rmdir' was 
exported
     | make[2]: *** 
[/home/ok/Projects/yocto/build/tmp/work-shared/radxa-zero-3e/kernel-source/scripts/Makefile.modpost:145: 
vmlinux.symvers] Error 1
     | make[1]: *** 
[/home/ok/Projects/yocto/build/tmp/work-shared/radxa-zero-3e/kernel-source/Makefile:1871: 
modpost] Error 2

     | make: *** 
[/home/ok/Projects/yocto/build/tmp/work-shared/radxa-zero-3e/kernel-source/Makefile:240: 
__sub-make] Error 2


Should I apply something except the patches from these patch series? 
Otherwise I think we should disable some security things ( as a 
workaround ):

CONFIG_SECURITYFS=n CONFIG_SECURITY_NETWORK=y 
CONFIG_SECURITY_NETWORK_XFRM=n CONFIG_SECURITY_PATH=y 
CONFIG_SECURITY_LANDLOCK=y

Best regards,

  Oleksii


> pe=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
Trevor Woerner Dec. 15, 2024, 4:10 p.m. UTC | #2
Is this also a styhead-specific issue?

On Sun 2024-12-15 @ 04:10:51 PM, Oleksii Kurochko wrote:
> Hello Trevor,
> 
> On 12/12/24 8:57 PM, Trevor Woerner wrote:
> > The radxa-zero-3{e|w} devices are not supported in the current yocto kernel,
> > but they are supported in the yocto-dev kernel. Switch to yocto-dev until
> > support is available in the yocto kernel.
> > 
> > Reported-by: Oleksii Kurochko<oleksii.kurochko@gmail.com>
> > Signed-off-by: Trevor Woerner<twoerner@gmail.com>
> > ---
> >   conf/machine/include/radxa-zero-3.inc         |  2 +-
> >   ...xt_%.bbappend => linux-yocto-dev.bbappend} |  0
> >   .../linux/linux-torvalds-next_git.bb          | 25 -------------------
> >   recipes-kernel/linux/linux-yocto-dev.bbappend |  2 ++
> >   4 files changed, 3 insertions(+), 26 deletions(-)
> >   rename dynamic-layers/rk-rauc-demo/recipes-kernel/linux/{linux-torvalds-next_%.bbappend => linux-yocto-dev.bbappend} (100%)
> >   delete mode 100644 recipes-kernel/linux/linux-torvalds-next_git.bb
> > 
> > diff --git a/conf/machine/include/radxa-zero-3.inc b/conf/machine/include/radxa-zero-3.inc
> > index 1c6f972c1e31..b351afae8c0f 100644
> > --- a/conf/machine/include/radxa-zero-3.inc
> > +++ b/conf/machine/include/radxa-zero-3.inc
> > @@ -2,7 +2,7 @@ MACHINEOVERRIDES =. "radxa-zero-3:"
> >   require conf/machine/include/rk3566.inc
> > -PREFERRED_PROVIDER_virtual/kernel = "linux-torvalds-next"
> > +PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
> >   MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
> >   UBOOT_MACHINE = "radxa-zero-3-rk3566_defconfig"
> > diff --git a/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-torvalds-next_%.bbappend b/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-yocto-dev.bbappend
> > similarity index 100%
> > rename from dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-torvalds-next_%.bbappend
> > rename to dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-yocto-dev.bbappend
> > diff --git a/recipes-kernel/linux/linux-torvalds-next_git.bb b/recipes-kernel/linux/linux-torvalds-next_git.bb
> > deleted file mode 100644
> > index b961b1408f09..000000000000
> > --- a/recipes-kernel/linux/linux-torvalds-next_git.bb
> > +++ /dev/null
> > @@ -1,25 +0,0 @@
> > -FILESEXTRAPATHS:prepend := "${THISDIR}/linux-yocto-dev:"
> > -
> > -DESCRIPTION = "Linux Kernel"
> > -SECTION = "kernel"
> > -LICENSE = "GPL-2.0-only"
> > -LIC_FILES_CHKSUM ="file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
> > -
> > -ERROR_QA:remove = "buildpaths"
> > -DEFAULT_PREFERENCE = "-1"
> > -COMPATIBLE_MACHINE = "^$"
> > -COMPATIBLE_MACHINE:radxa-zero-3 = "radxa-zero-3"
> > -
> > -LINUX_VERSION = "6.11-rc6"
> > -KERNEL_VERSION_SANITY_SKIP = "1"
> > -PV = "${LINUX_VERSION}+git${SRCPV}"
> > -SRC_URI = " \
> > -	git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git;protocol=https;nobranch=1 \
> > -	file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta \
> > -	"
> > -# this is tag 'next-20240904'
> > -SRCREV = "fdadd93817f124fd0ea6ef251d4a1068b7feceba"
> > -
> > -inherit kernel
> > -inherit kernel-yocto
> > -require recipes-kernel/linux/linux-yocto.inc
> > diff --git a/recipes-kernel/linux/linux-yocto-dev.bbappend b/recipes-kernel/linux/linux-yocto-dev.bbappend
> > index b6a63d7b7b29..f738d1357d6c 100644
> > --- a/recipes-kernel/linux/linux-yocto-dev.bbappend
> > +++ b/recipes-kernel/linux/linux-yocto-dev.bbappend
> > @@ -1,5 +1,7 @@
> >   FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
> >   COMPATIBLE_MACHINE:orangepi-5-plus = "orangepi-5-plus"
> > +COMPATIBLE_MACHINE:radxa-zero-3 = "radxa-zero-3"
> >      SRC_URI:append:orangepi-5-plus =" file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
> > +SRC_URI:append:radxa-zero-3 = "file://rockchip-kmeta;ty
> After applying of this patch series I see the following compilation issue
> for kernel:
>     | ERROR: modpost: vmlinux: local symbol 'security_path_rmdir' was
> exported
>     | make[2]: *** [/home/ok/Projects/yocto/build/tmp/work-shared/radxa-zero-3e/kernel-source/scripts/Makefile.modpost:145:
> vmlinux.symvers] Error 1
>     | make[1]: *** [/home/ok/Projects/yocto/build/tmp/work-shared/radxa-zero-3e/kernel-source/Makefile:1871:
> modpost] Error 2
> 
>     | make: *** [/home/ok/Projects/yocto/build/tmp/work-shared/radxa-zero-3e/kernel-source/Makefile:240:
> __sub-make] Error 2
> 
> 
> Should I apply something except the patches from these patch series?
> Otherwise I think we should disable some security things ( as a workaround
> ):
> 
> CONFIG_SECURITYFS=n CONFIG_SECURITY_NETWORK=y CONFIG_SECURITY_NETWORK_XFRM=n
> CONFIG_SECURITY_PATH=y CONFIG_SECURITY_LANDLOCK=y
> 
> Best regards,
> 
>  Oleksii
> 
> 
> > pe=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
Oleksii Kurochko Dec. 15, 2024, 5:30 p.m. UTC | #3
On 12/15/24 5:10 PM, Trevor Woerner via lists.yoctoproject.org wrote:
> Is this also a styhead-specific issue?

Yes, it is a styhead-specific issue with master there is no such issue.

~ Oleksii


>
> On Sun 2024-12-15 @ 04:10:51 PM, Oleksii Kurochko wrote:
>> Hello Trevor,
>>
>> On 12/12/24 8:57 PM, Trevor Woerner wrote:
>>> The radxa-zero-3{e|w} devices are not supported in the current yocto kernel,
>>> but they are supported in the yocto-dev kernel. Switch to yocto-dev until
>>> support is available in the yocto kernel.
>>>
>>> Reported-by: Oleksii Kurochko<oleksii.kurochko@gmail.com>
>>> Signed-off-by: Trevor Woerner<twoerner@gmail.com>
>>> ---
>>>    conf/machine/include/radxa-zero-3.inc         |  2 +-
>>>    ...xt_%.bbappend => linux-yocto-dev.bbappend} |  0
>>>    .../linux/linux-torvalds-next_git.bb          | 25 -------------------
>>>    recipes-kernel/linux/linux-yocto-dev.bbappend |  2 ++
>>>    4 files changed, 3 insertions(+), 26 deletions(-)
>>>    rename dynamic-layers/rk-rauc-demo/recipes-kernel/linux/{linux-torvalds-next_%.bbappend => linux-yocto-dev.bbappend} (100%)
>>>    delete mode 100644 recipes-kernel/linux/linux-torvalds-next_git.bb
>>>
>>> diff --git a/conf/machine/include/radxa-zero-3.inc b/conf/machine/include/radxa-zero-3.inc
>>> index 1c6f972c1e31..b351afae8c0f 100644
>>> --- a/conf/machine/include/radxa-zero-3.inc
>>> +++ b/conf/machine/include/radxa-zero-3.inc
>>> @@ -2,7 +2,7 @@ MACHINEOVERRIDES =. "radxa-zero-3:"
>>>    require conf/machine/include/rk3566.inc
>>> -PREFERRED_PROVIDER_virtual/kernel = "linux-torvalds-next"
>>> +PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
>>>    MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
>>>    UBOOT_MACHINE = "radxa-zero-3-rk3566_defconfig"
>>> diff --git a/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-torvalds-next_%.bbappend b/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-yocto-dev.bbappend
>>> similarity index 100%
>>> rename from dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-torvalds-next_%.bbappend
>>> rename to dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-yocto-dev.bbappend
>>> diff --git a/recipes-kernel/linux/linux-torvalds-next_git.bb b/recipes-kernel/linux/linux-torvalds-next_git.bb
>>> deleted file mode 100644
>>> index b961b1408f09..000000000000
>>> --- a/recipes-kernel/linux/linux-torvalds-next_git.bb
>>> +++ /dev/null
>>> @@ -1,25 +0,0 @@
>>> -FILESEXTRAPATHS:prepend := "${THISDIR}/linux-yocto-dev:"
>>> -
>>> -DESCRIPTION = "Linux Kernel"
>>> -SECTION = "kernel"
>>> -LICENSE = "GPL-2.0-only"
>>> -LIC_FILES_CHKSUM ="file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
>>> -
>>> -ERROR_QA:remove = "buildpaths"
>>> -DEFAULT_PREFERENCE = "-1"
>>> -COMPATIBLE_MACHINE = "^$"
>>> -COMPATIBLE_MACHINE:radxa-zero-3 = "radxa-zero-3"
>>> -
>>> -LINUX_VERSION = "6.11-rc6"
>>> -KERNEL_VERSION_SANITY_SKIP = "1"
>>> -PV = "${LINUX_VERSION}+git${SRCPV}"
>>> -SRC_URI = " \
>>> -	git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git;protocol=https;nobranch=1 \
>>> -	file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta \
>>> -	"
>>> -# this is tag 'next-20240904'
>>> -SRCREV = "fdadd93817f124fd0ea6ef251d4a1068b7feceba"
>>> -
>>> -inherit kernel
>>> -inherit kernel-yocto
>>> -require recipes-kernel/linux/linux-yocto.inc
>>> diff --git a/recipes-kernel/linux/linux-yocto-dev.bbappend b/recipes-kernel/linux/linux-yocto-dev.bbappend
>>> index b6a63d7b7b29..f738d1357d6c 100644
>>> --- a/recipes-kernel/linux/linux-yocto-dev.bbappend
>>> +++ b/recipes-kernel/linux/linux-yocto-dev.bbappend
>>> @@ -1,5 +1,7 @@
>>>    FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
>>>    COMPATIBLE_MACHINE:orangepi-5-plus = "orangepi-5-plus"
>>> +COMPATIBLE_MACHINE:radxa-zero-3 = "radxa-zero-3"
>>>       SRC_URI:append:orangepi-5-plus =" file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
>>> +SRC_URI:append:radxa-zero-3 = "file://rockchip-kmeta;ty
>> After applying of this patch series I see the following compilation issue
>> for kernel:
>>      | ERROR: modpost: vmlinux: local symbol 'security_path_rmdir' was
>> exported
>>      | make[2]: *** [/home/ok/Projects/yocto/build/tmp/work-shared/radxa-zero-3e/kernel-source/scripts/Makefile.modpost:145:
>> vmlinux.symvers] Error 1
>>      | make[1]: *** [/home/ok/Projects/yocto/build/tmp/work-shared/radxa-zero-3e/kernel-source/Makefile:1871:
>> modpost] Error 2
>>
>>      | make: *** [/home/ok/Projects/yocto/build/tmp/work-shared/radxa-zero-3e/kernel-source/Makefile:240:
>> __sub-make] Error 2
>>
>>
>> Should I apply something except the patches from these patch series?
>> Otherwise I think we should disable some security things ( as a workaround
>> ):
>>
>> CONFIG_SECURITYFS=n CONFIG_SECURITY_NETWORK=y CONFIG_SECURITY_NETWORK_XFRM=n
>> CONFIG_SECURITY_PATH=y CONFIG_SECURITY_LANDLOCK=y
>>
>> Best regards,
>>
>>   Oleksii
>>
>>
>>> pe=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#913): https://lists.yoctoproject.org/g/yocto-patches/message/913
> Mute This Topic: https://lists.yoctoproject.org/mt/110086430/7609514
> Group Owner: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13794076/7609514/1776480132/xyzzy [oleksii.kurochko@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Trevor Woerner Dec. 16, 2024, 4:09 a.m. UTC | #4
On Thu 2024-12-12 @ 02:57:18 PM, Trevor Woerner wrote:
> The radxa-zero-3{e|w} devices are not supported in the current yocto kernel,
> but they are supported in the yocto-dev kernel. Switch to yocto-dev until
> support is available in the yocto kernel.
> 
> Reported-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
>  conf/machine/include/radxa-zero-3.inc         |  2 +-
>  ...xt_%.bbappend => linux-yocto-dev.bbappend} |  0
>  .../linux/linux-torvalds-next_git.bb          | 25 -------------------
>  recipes-kernel/linux/linux-yocto-dev.bbappend |  2 ++
>  4 files changed, 3 insertions(+), 26 deletions(-)
>  rename dynamic-layers/rk-rauc-demo/recipes-kernel/linux/{linux-torvalds-next_%.bbappend => linux-yocto-dev.bbappend} (100%)
>  delete mode 100644 recipes-kernel/linux/linux-torvalds-next_git.bb

Added to meta-rockchip, master and styhead branches.
diff mbox series

Patch

diff --git a/conf/machine/include/radxa-zero-3.inc b/conf/machine/include/radxa-zero-3.inc
index 1c6f972c1e31..b351afae8c0f 100644
--- a/conf/machine/include/radxa-zero-3.inc
+++ b/conf/machine/include/radxa-zero-3.inc
@@ -2,7 +2,7 @@  MACHINEOVERRIDES =. "radxa-zero-3:"
 
 require conf/machine/include/rk3566.inc
 
-PREFERRED_PROVIDER_virtual/kernel = "linux-torvalds-next"
+PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
 MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
 
 UBOOT_MACHINE = "radxa-zero-3-rk3566_defconfig"
diff --git a/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-torvalds-next_%.bbappend b/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-yocto-dev.bbappend
similarity index 100%
rename from dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-torvalds-next_%.bbappend
rename to dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-yocto-dev.bbappend
diff --git a/recipes-kernel/linux/linux-torvalds-next_git.bb b/recipes-kernel/linux/linux-torvalds-next_git.bb
deleted file mode 100644
index b961b1408f09..000000000000
--- a/recipes-kernel/linux/linux-torvalds-next_git.bb
+++ /dev/null
@@ -1,25 +0,0 @@ 
-FILESEXTRAPATHS:prepend := "${THISDIR}/linux-yocto-dev:"
-
-DESCRIPTION = "Linux Kernel"
-SECTION = "kernel"
-LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
-
-ERROR_QA:remove = "buildpaths"
-DEFAULT_PREFERENCE = "-1"
-COMPATIBLE_MACHINE = "^$"
-COMPATIBLE_MACHINE:radxa-zero-3 = "radxa-zero-3"
-
-LINUX_VERSION = "6.11-rc6"
-KERNEL_VERSION_SANITY_SKIP = "1"
-PV = "${LINUX_VERSION}+git${SRCPV}"
-SRC_URI = " \
-	git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git;protocol=https;nobranch=1 \
-	file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta \
-	"
-# this is tag 'next-20240904'
-SRCREV = "fdadd93817f124fd0ea6ef251d4a1068b7feceba"
-
-inherit kernel
-inherit kernel-yocto
-require recipes-kernel/linux/linux-yocto.inc
diff --git a/recipes-kernel/linux/linux-yocto-dev.bbappend b/recipes-kernel/linux/linux-yocto-dev.bbappend
index b6a63d7b7b29..f738d1357d6c 100644
--- a/recipes-kernel/linux/linux-yocto-dev.bbappend
+++ b/recipes-kernel/linux/linux-yocto-dev.bbappend
@@ -1,5 +1,7 @@ 
 FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
 
 COMPATIBLE_MACHINE:orangepi-5-plus = "orangepi-5-plus"
+COMPATIBLE_MACHINE:radxa-zero-3 = "radxa-zero-3"
 
 SRC_URI:append:orangepi-5-plus = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
+SRC_URI:append:radxa-zero-3 = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"