radxa-zero-3: switch to yocto-dev kernel

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>
Reviewed-by: Oleksii Kurochko<oleksii.kurochko@gmail.com>
Signed-off-by: Trevor Woerner <trevor.woerner@amd.com>
This commit is contained in:
Trevor Woerner 2024-12-12 14:22:28 -05:00 committed by Trevor Woerner
parent 94e7e69d49
commit fcaa154e82
4 changed files with 3 additions and 26 deletions

View File

@ -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"

View File

@ -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

View File

@ -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"