mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-09-04 15:54:39 +02:00
Update to the 5.2 kernel release. This includes a large number of upstream patches for the Unleashed. Due to the large defconfig changes let's drop the 5.1 support when we upgrade. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
33 lines
1.2 KiB
BlitzBasic
33 lines
1.2 KiB
BlitzBasic
require recipes-kernel/linux/linux-mainline-common.inc
|
|
|
|
LINUX_VERSION ?= "5.2.x"
|
|
KERNEL_VERSION_SANITY_SKIP="1"
|
|
|
|
BRANCH = "linux-5.2.y"
|
|
SRCREV = "${AUTOREV}"
|
|
SRC_URI = " \
|
|
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git;branch=${BRANCH} \
|
|
"
|
|
|
|
SRC_URI_append_freedom-u540 = " \
|
|
file://0001-macb-bindings-doc-add-sifive-fu540-c000-binding.patch \
|
|
file://0002-macb-Add-support-for-SiFive-FU540-C000.patch \
|
|
file://0003-riscv-dts-Add-DT-node-for-SiFive-FU540-Ethernet-cont.patch \
|
|
file://0004-PCI-microsemi-Add-host-driver-for-Microsemi-PCIe-con.patch \
|
|
file://0005-Microsemi-PCIe-expansion-board-DT-entry.patch \
|
|
file://0006-HACK-Revert-of-device-Really-only-set-bus-DMA-mask-w.patch \
|
|
file://0007-HACK-radeon-Don-t-set-PCI-DMA-mask.patch \
|
|
"
|
|
|
|
# Fix a breakage with the current 32bit glibc fork
|
|
SRC_URI_append_qemuriscv32 = " file://0001-Revert-riscv-Use-latest-system-call-ABI.patch"
|
|
|
|
KERNEL_DEVICETREE_freedom-u540 = "sifive/${RISCV_SBI_FDT}"
|
|
|
|
# freedom-u540 uses out-of-tree defconfig
|
|
SRC_URI_append_freedom-u540 = " file://defconfig"
|
|
|
|
# qemu uses in-tree defconfig
|
|
KBUILD_DEFCONFIG_qemuriscv32 = "rv32_defconfig"
|
|
KBUILD_DEFCONFIG_qemuriscv64 = "defconfig"
|