Files
meta-riscv/recipes-kernel/linux/linux-nezha-dev.bb
Pavel Zhukov f4d336cb7e conf/machine: Add mangopi-mq-pro machine
Based on Nezha D1 machine config with addjusterd DTB configuration
and added wifi module driver.
Tested with core-image-(base|weston) on MangoPi MQ Pro rev 1.3:
- HDMI output/weston and wifi are working. USB-C ethernet detected but not
  tested due to lack of HW.

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
2023-02-05 19:30:23 -08:00

33 lines
1.1 KiB
BlitzBasic

require recipes-kernel/linux/linux-mainline-common.inc
FILESEXTRAPATHS:prepend = "${FILE_DIRNAME}/linux-nezha:"
SUMMARY = "Nezha dev kernel recipe"
SRCREV_meta ?= "b7fc5d5cecaad5d97164bac8db5b5ee72f563bb0"
SRCREV_machine ?= "ca67838d84af4c9f85d06311c9e98e1adf46308f"
FORK ?= "smaeul"
BRANCH ?= "riscv/d1-wip"
KMETA = "kernel-meta"
KBUILD_DEFCONFIG = "nezha_defconfig"
# It is necessary to add to SRC_URI link to the 'yocto-kernel-cache' due to
# override of the original SRC_URI:
# "do_kernel_metadata: Check the SRC_URI for meta-data repositories or
# directories that may be missing"
SRC_URI = " \
git://github.com/${FORK}/linux.git;name=machine;protocol=https;branch=${BRANCH} \
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=master;destsuffix=${KMETA} \
"
LINUX_VERSION ?= "6.1.0"
LINUX_VERSION_EXTENSION:append = "-nezha"
KERNEL_FEATURES += "features/cgroups/cgroups.cfg"
KERNEL_FEATURES += "ktypes/standard/standard.cfg"
# using out-of-tree
#KBUILD_DEFCONFIG = "nezha_defconfig"
COMPATIBLE_MACHINE = "(nezha-allwinner-d1|mangopi-mq-pro)"
KERNEL_VERSION_SANITY_SKIP="1"