diff --git a/layers/meta-resin-allwinner/recipes-kernel/linux/linux_%.bbappend b/layers/meta-resin-allwinner/recipes-kernel/linux/linux_4.11%.bbappend similarity index 93% rename from layers/meta-resin-allwinner/recipes-kernel/linux/linux_%.bbappend rename to layers/meta-resin-allwinner/recipes-kernel/linux/linux_4.11%.bbappend index 8a10972..93e3f87 100644 --- a/layers/meta-resin-allwinner/recipes-kernel/linux/linux_%.bbappend +++ b/layers/meta-resin-allwinner/recipes-kernel/linux/linux_4.11%.bbappend @@ -1,12 +1,8 @@ inherit kernel-resin -SRC_URI_remove = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;branch=master" - FILESEXTRAPATHS_prepend := "${THISDIR}/linux-4.11.5:" -PV = "4.11.0+git${SRCPV}" -SRCREV_pn-${PN} = "22521549cdcd4d701cf3079c3a822bda5324df9c" -SRC_URI_append = "git://github.com/megous/linux.git;protocol=git;branch=orange-pi-4.11 \ +SRC_URI_append = " \ file://add-ad9834-dt-bindings.patch \ file://add-BergMicro-SPI-flashes.patch \ file://add-configfs-overlay-for-v4.11.x.patch \ @@ -30,6 +26,7 @@ SRC_URI_append = "git://github.com/megous/linux.git;protocol=git;branch=orange-p file://scripts-dtc-import-updates.patch \ file://spidev-remove-warnings.patch \ file://spi-sun6i-allow-large-transfers.patch \ + file://defconfig \ " SRC_URI_append_orange-pi-lite = " \ diff --git a/layers/meta-resin-allwinner/recipes-kernel/linux/linux_4.11.5.bb b/layers/meta-resin-allwinner/recipes-kernel/linux/linux_4.11.5.bb new file mode 100644 index 0000000..51a41c7 --- /dev/null +++ b/layers/meta-resin-allwinner/recipes-kernel/linux/linux_4.11.5.bb @@ -0,0 +1,27 @@ +SECTION = "kernel" +DESCRIPTION = "Mainline Linux kernel with patches from megous" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" +COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i|sun8i)" + +inherit kernel + +require recipes-kernel/linux/linux-dtb.inc +require recipes-kernel/linux/linux.inc + +# Pull in the devicetree files into the rootfs +RDEPENDS_kernel-base += "kernel-devicetree" + +# Default is to use stable kernel version +# If you want to use latest git version set to "1" +DEFAULT_PREFERENCE = "-1" + +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" + +# 4.11.5 +PV = "4.11.5+git${SRCPV}" +SRCREV_pn-${PN} = "22521549cdcd4d701cf3079c3a822bda5324df9c" + +SRC_URI = "git://github.com/megous/linux.git;protocol=git;branch=orange-pi-4.11 \ + " +S = "${WORKDIR}/git" \ No newline at end of file