kernel-yocto: kernel updates/drops/refreshes
cover kernel-yocto: kernel updates/drops/refreshes
Hi all,
Here is my first proposed set of kernel updates for the April release. Some elements that I'd like to point out:
- I've moved to a single/branch versioned linux-yocto repository that I first proposed in the 4.8 kernel cycle, no one objected, so I've moved v4.14 and v4.15 into that repository and adjusted the recipes to use it.
Other than a few more branches to wade through, it won't change any workflows and will save download space for this update and for the future.
- On that note, I'm moving master to v4.14 as the LTS/LTSI kernel, with v4.15 available as the "latest" kernel. I'm also keeping 4.12 around for a bit longer to move the reference BSPs to v4.14+.
I'll send a second series for meta-yocto that updates the default versions to match the v4.14+ kernel revisions.
Note: This doesn't mean that I'm no longer maintaining the other kernels for
CVEs/stable updates, it just means that they won't get SRCREV bumps in master. Anything older than 4.14 is a big maintenance concern for fixes/security due to the recent CVEs, etc. It was a mistake to allow as many kernels to be active in master as there currently is, so taking both factors into account, I'm correcting to v4.14/v4.15 + yocto-dev for the release.
- linux-libc-headers is updated to the latest kernel, and I've refreshed the mulsc patches as part of that update.
- I uprev'd lttng to v2.10.5 to build against v4.15+
- I've built qemu* core-image-sato/core-image-kernel-dev for both v4.14 and v4.15 and performed boot tests. I've also built poky-lsb for v4.14 and also done boot tests. I've also built mulsc based systems and done the same boot tests.
So I've done my best to cover all the possible build combinations, but it is a rather large matrix, so I'll be watching this go through the autobuilders and other tests (and failures).
Cheers,
Bruce
The following changes since commit 385944254d0ef88bd6450a221a54cbcb40020b42:
tcmode-default.inc: drop preferred version of gzip-native (2018-01-31 17:01:20 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib zedd/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
Bruce Ashfield (9):
linux-yocto: introduce 4.14 recipes
linux-yocto: introduce 4.15 recipes
linux-libc-headers: update to v4.15 linux-yocto/4.12: pinctrl backports
lttng-modules: update to v2.10.5 for kernel 4.15 linux-yocto/4.10: drop recipe linux-yocto/4.4: drop recipe linux-yocto/4.9: drop recipe
machines: bump default linux-yocto to v4.15
meta/conf/distro/include/tcmode-default.inc | 2 +-
meta/conf/machine/include/x86-base.inc | 2 +-
meta/conf/machine/qemuarm.conf | 2 +-
...mpat.h-fix-some-issues-arising-from-in6.h.patch | 29 ++++++-------
...t.h-prevent-redefinition-of-struct-ethhdr.patch | 36 +++--------------
...aders_4.14.13.bb => linux-libc-headers_4.15.bb} | 4 +-
meta/recipes-kernel/linux/linux-yocto-rt_4.12.bb | 4 +-
...nux-yocto-rt_4.10.bb => linux-yocto-rt_4.14.bb} | 12 +++---
...inux-yocto-rt_4.9.bb => linux-yocto-rt_4.15.bb} | 12 +++---
meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb | 36 -----------------
meta/recipes-kernel/linux/linux-yocto-tiny_4.12.bb | 4 +-
...yocto-tiny_4.10.bb => linux-yocto-tiny_4.14.bb} | 12 +++---
...x-yocto-tiny_4.9.bb => linux-yocto-tiny_4.15.b} | 8 ++--
meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb | 47 ++++++++++++++++++++++
meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb | 23 -----------
meta/recipes-kernel/linux/linux-yocto_4.12.bb | 18 ++++-----
.../{linux-yocto_4.10.bb => linux-yocto_4.14.bb} | 46 ++++++++++-----------
meta/recipes-kernel/linux/linux-yocto_4.15.bb | 47 ++++++++++++++++++++++
meta/recipes-kernel/linux/linux-yocto_4.4.bb | 42 -------------------
meta/recipes-kernel/linux/linux-yocto_4.9.bb | 44 --------------------
...g-modules_2.10.4.bb => lttng-modules_2.10.5.bb} | 4 +-
21 files changed, 179 insertions(+), 255 deletions(-)
rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_4.14.13.bb => linux-libc-headers_4.15.bb} (71%)
rename meta/recipes-kernel/linux/{linux-yocto-rt_4.10.bb => linux-yocto-rt_4.14.bb} (78%)
rename meta/recipes-kernel/linux/{linux-yocto-rt_4.9.bb => linux-yocto-rt_4.15.bb} (78%)
delete mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
rename meta/recipes-kernel/linux/{linux-yocto-tiny_4.10.bb => linux-yocto-tiny_4.14.bb} (54%)
rename meta/recipes-kernel/linux/{linux-yocto-tiny_4.9.bb => linux-yocto-tiny_4.15.b} (71%)
create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb
delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb
rename meta/recipes-kernel/linux/{linux-yocto_4.10.bb => linux-yocto_4.14.bb} (40%)
create mode 100644 meta/recipes-kernel/linux/linux-yocto_4.15.bb
delete mode 100644 meta/recipes-kernel/linux/linux-yocto_4.4.bb
delete mode 100644 meta/recipes-kernel/linux/linux-yocto_4.9.bb
rename meta/recipes-kernel/lttng/{lttng-modules_2.10.4.bb => lttng-modules_2.10.5.bb} (90%)Signature · 1 line
2.5.0
PATCH 1/9 linux-yocto: introduce 4.14 recipes
This commit makes the 4.14 kernel available for use with the Yocto configuration fragments and qemu* BSPs.
It has been tested for x86,arm,mips and powerpc against the lsb, core* and glibc/mulsc test matrix.
This will serve as the LTS kernel in master, with others being removed in subsequent commits.
--- meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb | 38 +++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb | 25 ++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.14.bb | 44 ++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb create mode 100644 meta/recipes-kernel/linux/linux-yocto_4.14.bb
meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb new file +38 -0
@@ -0,0 +1,38 @@ +KBRANCH ?= "v4.14/standard/preempt-rt/base" + +require recipes-kernel/linux/linux-yocto.inc + +# Skip processing of this recipe if it is not explicitly specified as the +# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying +# to build multiple virtual/kernel providers, e.g. as dependency of +# core-image-rt-sdk, core-image-rt. +python () { + if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": + raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") +} + +SRCREV_machine ?= "ae0fb21fdde3df106d7dad76620bdf39721425e2" +SRCREV_meta ?= "0e964663a7978bdb459c28f3777e1b6dfe97d93d" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}" + +LINUX_VERSION ?= "4.14.16" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +LINUX_KERNEL_TYPE = "preempt-rt" + +COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb new file +25 -0
@@ -0,0 +1,25 @@ +KBRANCH ?= "v4.14/standard/tiny/common-pc" +LINUX_KERNEL_TYPE = "tiny" +KCONFIG_MODE = "--allnoconfig" + +require recipes-kernel/linux/linux-yocto.inc + +LINUX_VERSION ?= "4.14.16" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +SRCREV_machine ?= "ae0fb21fdde3df106d7dad76620bdf39721425e2" +SRCREV_meta ?= "0e964663a7978bdb459c28f3777e1b6dfe97d93d" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}" + +COMPATIBLE_MACHINE = "qemux86|qemux86-64" + +# Functionality flags +KERNEL_FEATURES = "" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"
meta/recipes-kernel/linux/linux-yocto_4.14.bb new file +44 -0
44 lines not on this page · raw message
Signature · 1 line
2.5.0
PATCH 2/9 linux-yocto: introduce 4.15 recipes
In reply to Bruce AshfieldThis commit makes the 4.15 kernel available for use with the Yocto configuration fragments and qemu* BSPs.
It has been tested for x86,arm,mips and powerpc against the lsb, core* and glibc/mulsc test matrix.
This will serve as the "latest" kernel in master, with others being removed in subsequent commits.
--- meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb | 38 +++++++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b | 25 ++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb | 47 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.15.bb | 47 ++++++++++++++++++++++ 4 files changed, 157 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb create mode 100644 meta/recipes-kernel/linux/linux-yocto_4.15.bb
meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb new file +38 -0
@@ -0,0 +1,38 @@ +KBRANCH ?= "v4.15/standard/preempt-rt/base" + +require recipes-kernel/linux/linux-yocto.inc + +# Skip processing of this recipe if it is not explicitly specified as the +# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying +# to build multiple virtual/kernel providers, e.g. as dependency of +# core-image-rt-sdk, core-image-rt. +python () { + if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": + raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") +} + +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" + +LINUX_VERSION ?= "4.15" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +LINUX_KERNEL_TYPE = "preempt-rt" + +COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b new file +25 -0
@@ -0,0 +1,25 @@ +KBRANCH ?= "v4.15/standard/tiny/common-pc" +LINUX_KERNEL_TYPE = "tiny" +KCONFIG_MODE = "--allnoconfig" + +require recipes-kernel/linux/linux-yocto.inc + +LINUX_VERSION ?= "4.15" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +SRCREV_machine ?= "f7a6d45fff853173bfbf61706aeffcd1d1e99467" +SRCREV_meta ?= "ef2f5d9a0ac1c5ac60e76b18b0bb3393be450336" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" + +COMPATIBLE_MACHINE = "qemux86|qemux86-64" + +# Functionality flags +KERNEL_FEATURES = "" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"
meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb new file +47 -0
47 lines not on this page · raw message
meta/recipes-kernel/linux/linux-yocto_4.15.bb new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
2.5.0
PATCH 3/9 linux-libc-headers: update to v4.15
In reply to Bruce Ashfield---
meta/conf/distro/include/tcmode-default.inc | 2 +-
...mpat.h-fix-some-issues-arising-from-in6.h.patch | 29 ++++++++---------
...t.h-prevent-redefinition-of-struct-ethhdr.patch | 36 +++-------------------
...aders_4.14.13.bb => linux-libc-headers_4.15.bb} | 4 +--
4 files changed, 23 insertions(+), 48 deletions(-)
rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_4.14.13.bb => linux-libc-headers_4.15.bb} (71%)meta/conf/distro/include/tcmode-default.inc +1 -1
@@ -27,7 +27,7 @@ SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.29%" GDBVERSION ?= "8.0%" GLIBCVERSION ?= "2.26%" -LINUXLIBCVERSION ?= "4.14%" +LINUXLIBCVERSION ?= "4.15%" PREFERRED_VERSION_gcc ?= "${GCCVERSION}" PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-libc-compat.h-fix-some-issues-arising-from-in6.h.patch +15 -14
@@ -11,11 +11,11 @@ Upstream-Status: Submitted include/uapi/linux/libc-compat.h | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) -Index: linux-4.8-rc4/include/uapi/linux/libc-compat.h +Index: linux-4.15/include/uapi/linux/libc-compat.h =================================================================== ---- linux-4.8-rc4.orig/include/uapi/linux/libc-compat.h -+++ linux-4.8-rc4/include/uapi/linux/libc-compat.h -@@ -48,13 +48,12 @@ +--- linux-4.15.orig/include/uapi/linux/libc-compat.h 2018-02-05 17:37:44.724314379 -0500 ++++ linux-4.15/include/uapi/linux/libc-compat.h 2018-02-05 17:38:02.148913820 -0500 +@@ -49,13 +49,12 @@ #ifndef _UAPI_LIBC_COMPAT_H #define _UAPI_LIBC_COMPAT_H
@@ -33,7 +33,7 @@ Index: linux-4.8-rc4/include/uapi/linux/libc-compat.h * that would already be defined. */ #define __UAPI_DEF_IF_IFCONF 0 -@@ -98,15 +97,7 @@ +@@ -99,15 +98,7 @@ #define __UAPI_DEF_IN_CLASS 0 #define __UAPI_DEF_IN6_ADDR 0
@@ -49,7 +49,7 @@ Index: linux-4.8-rc4/include/uapi/linux/libc-compat.h #define __UAPI_DEF_SOCKADDR_IN6 0 #define __UAPI_DEF_IPV6_MREQ 0 #define __UAPI_DEF_IPPROTO_V6 0 -@@ -114,10 +105,10 @@ +@@ -115,10 +106,10 @@ #define __UAPI_DEF_IN6_PKTINFO 0 #define __UAPI_DEF_IP6_MTUINFO 0
@@ -62,7 +62,7 @@ Index: linux-4.8-rc4/include/uapi/linux/libc-compat.h * __UAPI_DEF_* defines and adjust appropriately. */ #define __UAPI_DEF_IN_ADDR 1 #define __UAPI_DEF_IN_IPPROTO 1 -@@ -127,7 +118,7 @@ +@@ -128,7 +119,7 @@ #define __UAPI_DEF_IN_CLASS 1 #define __UAPI_DEF_IN6_ADDR 1
@@ -71,20 +71,21 @@ Index: linux-4.8-rc4/include/uapi/linux/libc-compat.h * coordinate. */ #define __UAPI_DEF_IN6_ADDR_ALT 1 #define __UAPI_DEF_SOCKADDR_IN6 1 -@@ -149,7 +140,7 @@ - /* If we did not see any headers from any supported C libraries, +@@ -170,7 +161,7 @@ * or we are being included in the kernel, then define everything - * that we need. */ + * that we need. Check for previous __UAPI_* definitions to give + * unsupported C libraries a way to opt out of any kernel definition. */ -#else /* !defined(__GLIBC__) */ +#else /* __KERNEL__ */ /* Definitions for if.h */ - #define __UAPI_DEF_IF_IFCONF 1 -@@ -182,6 +173,6 @@ - /* Definitions for xattr.h */ + #ifndef __UAPI_DEF_IF_IFCONF +@@ -262,7 +253,7 @@ #define __UAPI_DEF_XATTR 1 + #endif -#endif /* __GLIBC__ */ +#endif /* __KERNEL__ */ - #endif /* _UAPI_LIBC_COMPAT_H */ + /* Definitions for if_ether.h */ + /* allow libcs like musl to deactivate this, glibc does not implement this. */
meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0002-libc-compat.h-prevent-redefinition-of-struct-ethhdr.patch +5 -31
@@ -11,37 +11,11 @@ Upstream-Status: Submitted include/uapi/linux/libc-compat.h | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) -Index: linux-4.8-rc4/include/uapi/linux/if_ether.h +Index: linux-4.15/include/uapi/linux/libc-compat.h =================================================================== ---- linux-4.8-rc4.orig/include/uapi/linux/if_ether.h -+++ linux-4.8-rc4/include/uapi/linux/if_ether.h -@@ -22,6 +22,7 @@ - #define _UAPI_LINUX_IF_ETHER_H - - #include <linux/types.h> -+#include <linux/libc-compat.h> - - /* - * IEEE 802.3 Ethernet magic constants. The frame sizes omit the preamble -@@ -138,11 +139,12 @@ - * This is an Ethernet frame header. - */ - -+#if __UAPI_DEF_ETHHDR - struct ethhdr { - unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ - unsigned char h_source[ETH_ALEN]; /* source ether addr */ - __be16 h_proto; /* packet type ID field */ - } __attribute__((packed)); -- -+#endif - - #endif /* _UAPI_LINUX_IF_ETHER_H */ -Index: linux-4.8-rc4/include/uapi/linux/libc-compat.h -=================================================================== ---- linux-4.8-rc4.orig/include/uapi/linux/libc-compat.h -+++ linux-4.8-rc4/include/uapi/linux/libc-compat.h -@@ -50,6 +50,12 @@ +--- linux-4.15.orig/include/uapi/linux/libc-compat.h 2018-02-05 17:40:42.338370731 -0500 ++++ linux-4.15/include/uapi/linux/libc-compat.h 2018-02-05 17:40:42.334370603 -0500 +@@ -51,6 +51,12 @@ #ifndef __KERNEL__ /* we're used from userspace */
@@ -52,5 +26,5 @@ Index: linux-4.8-rc4/include/uapi/linux/libc-compat.h +#endif + /* Coordinate with libc net/if.h header. */ - #if defined(_NET_IF_H) && defined(__USE_MISC) + #if defined(_NET_IF_H)
meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.15.bb renamed from meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.13.bb +2 -2
@@ -7,5 +7,5 @@ SRC_URI_append_libc-musl = "\ file://0001-libc-compat.h-musl-_does_-define-IFF_LOWER_UP-DORMAN.patch \ " -SRC_URI[md5sum] = "4e8bb562f8fd33d5ef1feb0435ed2b02" -SRC_URI[sha256sum] = "4ab46d1b5a0f8ef83b80760f89ae4f5c88431b19b3cf79ffa0c66d6b33e45772" +SRC_URI[md5sum] = "0d701ac1e2a67d47ce7127432df2c32b" +SRC_URI[sha256sum] = "5a26478906d5005f4f809402e981518d2b8844949199f60c4b6e1f986ca2a769"
Signature · 1 line
2.5.0
PATCH 4/9 linux-yocto/4.12: pinctrl backports
In reply to Bruce AshfieldBackporting the following pinctrl commits to enable controllers on Intel Cannon Lake:
4b7a5c1b4ec5 pinctrl: intel: Add Intel Cannon Lake PCH-H pin controller support 044631ce1937 pinctrl: intel: Add Intel Cannon Lake PCH pin controller support 2054b0ea59a7 pinctrl: intel: Make it possible to specify mode per pin in a group 55b9053b5a5a pinctrl: intel: Add support for variable size pad groups
--- meta/recipes-kernel/linux/linux-yocto-rt_4.12.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto-tiny_4.12.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto_4.12.bb | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_4.12.bb +2 -2
@@ -11,8 +11,8 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "f095b0588b491bb81854fbc168479cf5ff8a03ff" -SRCREV_meta ?= "44a22d45cbcd7e14ea635d36949e14135f540fe0" +SRCREV_machine ?= "21541338928449e6131e73bfd529f5214027d918" +SRCREV_meta ?= "7986844d9de597218a23f82e68b01e5bf060d576" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.12.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.12;destsuffix=${KMETA}"
meta/recipes-kernel/linux/linux-yocto-tiny_4.12.bb +2 -2
@@ -9,8 +9,8 @@ LINUX_VERSION ?= "4.12.19" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "257f843ea367744620f1d92910afd2f454e31483" -SRCREV_meta ?= "44a22d45cbcd7e14ea635d36949e14135f540fe0" +SRCREV_machine ?= "4b7a5c1b4ec5536806942340755bcfbf6f3584d9" +SRCREV_meta ?= "7986844d9de597218a23f82e68b01e5bf060d576" PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_4.12.bb +9 -9
@@ -11,15 +11,15 @@ KBRANCH_qemux86 ?= "standard/base" KBRANCH_qemux86-64 ?= "standard/base" KBRANCH_qemumips64 ?= "standard/mti-malta64" -SRCREV_machine_qemuarm ?= "dafca619b2bd44966042bba76aa00edb0ca002df" -SRCREV_machine_qemuarm64 ?= "257f843ea367744620f1d92910afd2f454e31483" -SRCREV_machine_qemumips ?= "99c30bfd13f4cc364e55b67138705976bab193c9" -SRCREV_machine_qemuppc ?= "257f843ea367744620f1d92910afd2f454e31483" -SRCREV_machine_qemux86 ?= "257f843ea367744620f1d92910afd2f454e31483" -SRCREV_machine_qemux86-64 ?= "257f843ea367744620f1d92910afd2f454e31483" -SRCREV_machine_qemumips64 ?= "135d85c1f8cded6b68d533a0018b2897230b880c" -SRCREV_machine ?= "257f843ea367744620f1d92910afd2f454e31483" -SRCREV_meta ?= "44a22d45cbcd7e14ea635d36949e14135f540fe0" +SRCREV_machine_qemuarm ?= "77d25f21501511f01eb3df3c58dd8cf10a90adce" +SRCREV_machine_qemuarm64 ?= "4b7a5c1b4ec5536806942340755bcfbf6f3584d9" +SRCREV_machine_qemumips ?= "567ea03f6c5844bed62957b20747b4315851e3c3" +SRCREV_machine_qemuppc ?= "4b7a5c1b4ec5536806942340755bcfbf6f3584d9" +SRCREV_machine_qemux86 ?= "4b7a5c1b4ec5536806942340755bcfbf6f3584d9" +SRCREV_machine_qemux86-64 ?= "4b7a5c1b4ec5536806942340755bcfbf6f3584d9" +SRCREV_machine_qemumips64 ?= "4796b8299a405d1428f000cc4a2e8800a3670541" +SRCREV_machine ?= "4b7a5c1b4ec5536806942340755bcfbf6f3584d9" +SRCREV_meta ?= "7986844d9de597218a23f82e68b01e5bf060d576" SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.12.git;name=machine;branch=${KBRANCH}; \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.12;destsuffix=${KMETA}"
Signature · 1 line
2.5.0
PATCH 5/9 lttng-modules: update to v2.10.5 for kernel 4.15
In reply to Bruce Ashfield---
.../lttng/{lttng-modules_2.10.4.bb => lttng-modules_2.10.5.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-kernel/lttng/{lttng-modules_2.10.4.bb => lttng-modules_2.10.5.bb} (90%)meta/recipes-kernel/lttng/lttng-modules_2.10.5.bb renamed from meta/recipes-kernel/lttng/lttng-modules_2.10.4.bb +2 -2
@@ -16,8 +16,8 @@ SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ file://BUILD_RUNTIME_BUG_ON-vs-gcc7.patch \ " -SRC_URI[md5sum] = "832452b321a4df6836549e72d05b2ce9" -SRC_URI[sha256sum] = "f918e3b890f378f47a9ba8710ff52590e9b1d9c63b12a0e64d138e2e2e1b3c8a" +SRC_URI[md5sum] = "4aaabaafd15d9455c83972e26ccfbca7" +SRC_URI[sha256sum] = "b8dbbbee45a673c381f51b99c555e36655c3c2c7a5477aab927591cc7f003a1f" export INSTALL_MOD_DIR="kernel/lttng-modules"
Signature · 1 line
2.5.0
PATCH 6/9 linux-yocto/4.10: drop recipe
In reply to Bruce AshfieldAs was previously announced, anything older than 4.14 is being dropped in the master/release branches to better support newer processors and to ensure that safe/secure kernels are the defaults for all builds. The time required to update the older kernels with constant updates (more than just CVEs) is not justified in new releases.
--- meta/recipes-kernel/linux/linux-yocto-rt_4.10.bb | 38 ------------------- meta/recipes-kernel/linux/linux-yocto-tiny_4.10.bb | 25 ------------ meta/recipes-kernel/linux/linux-yocto_4.10.bb | 44 ---------------------- 3 files changed, 107 deletions(-) delete mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.10.bb delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.10.bb delete mode 100644 meta/recipes-kernel/linux/linux-yocto_4.10.bb
meta/recipes-kernel/linux/linux-yocto-rt_4.10.bb deleted +0 -38
@@ -1,38 +0,0 @@ -KBRANCH ?= "standard/preempt-rt/base" - -require recipes-kernel/linux/linux-yocto.inc - -# Skip processing of this recipe if it is not explicitly specified as the -# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying -# to build multiple virtual/kernel providers, e.g. as dependency of -# core-image-rt-sdk, core-image-rt. -python () { - if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": - raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") -} - -SRCREV_machine ?= "c1d8c4408b8aedd88eeb6ccc89ce834dd41b3f09" -SRCREV_meta ?= "1d9a8200184af22f8981fa24b0e82af49c7988dd" - -SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.10.git;branch=${KBRANCH};name=machine \ - git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.10;destsuffix=${KMETA}" - -LINUX_VERSION ?= "4.10.17" - -PV = "${LINUX_VERSION}+git${SRCPV}" - -KMETA = "kernel-meta" -KCONF_BSP_AUDIT_LEVEL = "2" - -LINUX_KERNEL_TYPE = "preempt-rt" - -COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" - -KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" - -# Functionality flags -KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" -KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" -KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" -KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" -KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
meta/recipes-kernel/linux/linux-yocto-tiny_4.10.bb deleted +0 -25
@@ -1,25 +0,0 @@ -KBRANCH ?= "standard/tiny/common-pc" -LINUX_KERNEL_TYPE = "tiny" -KCONFIG_MODE = "--allnoconfig" - -require recipes-kernel/linux/linux-yocto.inc - -LINUX_VERSION ?= "4.10.17" - -KMETA = "kernel-meta" -KCONF_BSP_AUDIT_LEVEL = "2" - -SRCREV_machine ?= "c1d8c4408b8aedd88eeb6ccc89ce834dd41b3f09" -SRCREV_meta ?= "1d9a8200184af22f8981fa24b0e82af49c7988dd" - -PV = "${LINUX_VERSION}+git${SRCPV}" - -SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.10.git;branch=${KBRANCH};name=machine \ - git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.10;destsuffix=${KMETA}" - -COMPATIBLE_MACHINE = "qemux86|qemux86-64" - -# Functionality flags -KERNEL_FEATURES = "" - -KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"
meta/recipes-kernel/linux/linux-yocto_4.10.bb deleted +0 -44
44 lines not on this page · raw message
Signature · 1 line
2.5.0
PATCH 7/9 linux-yocto/4.4: drop recipe
In reply to Bruce AshfieldAs was previously announced, anything older than 4.14 is being dropped in the master/release branches to better support newer processors and to ensure that safe/secure kernels are the defaults for all builds. The time required to update the older kernels with constant updates (more than just CVEs) is not justified in new releases.
--- meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb | 36 ------------------- meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb | 23 ------------- meta/recipes-kernel/linux/linux-yocto_4.4.bb | 42 ----------------------- 3 files changed, 101 deletions(-) delete mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb delete mode 100644 meta/recipes-kernel/linux/linux-yocto_4.4.bb
meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb deleted +0 -36
@@ -1,36 +0,0 @@ -KBRANCH ?= "standard/preempt-rt/base" - -require recipes-kernel/linux/linux-yocto.inc - -# Skip processing of this recipe if it is not explicitly specified as the -# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying -# to build multiple virtual/kernel providers, e.g. as dependency of -# core-image-rt-sdk, core-image-rt. -python () { - if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": - raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") -} - -SRCREV_machine ?= "d5efeeeb928a0111fc187fd1e8d03d2e4e35d4a0" -SRCREV_meta ?= "b149d14ccae8349ab33e101f6af233a12f4b17ba" - -SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;branch=${KBRANCH};name=machine \ - git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}" - -LINUX_VERSION ?= "4.4.113" - -PV = "${LINUX_VERSION}+git${SRCPV}" - -KMETA = "kernel-meta" -KCONF_BSP_AUDIT_LEVEL = "2" - -LINUX_KERNEL_TYPE = "preempt-rt" - -COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" - -# Functionality flags -KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" -KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" -KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" -KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" -KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb deleted +0 -23
@@ -1,23 +0,0 @@ -KBRANCH ?= "standard/tiny/common-pc" -LINUX_KERNEL_TYPE = "tiny" -KCONFIG_MODE = "--allnoconfig" - -require recipes-kernel/linux/linux-yocto.inc - -LINUX_VERSION ?= "4.4.113" - -KMETA = "kernel-meta" -KCONF_BSP_AUDIT_LEVEL = "2" - -SRCREV_machine ?= "4d31a8b7661509ff1044abcf9050750cc2478e20" -SRCREV_meta ?= "b149d14ccae8349ab33e101f6af233a12f4b17ba" - -PV = "${LINUX_VERSION}+git${SRCPV}" - -SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;branch=${KBRANCH};name=machine \ - git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}" - -COMPATIBLE_MACHINE = "qemux86|qemux86-64" - -# Functionality flags -KERNEL_FEATURES = ""
meta/recipes-kernel/linux/linux-yocto_4.4.bb deleted +0 -42
42 lines not on this page · raw message
Signature · 1 line
2.5.0
PATCH 8/9 linux-yocto/4.9: drop recipe
In reply to Bruce AshfieldAs was previously announced, anything older than 4.14 is being dropped in the master/release branches to better support newer processors and to ensure that safe/secure kernels are the defaults for all builds. The time required to update the older kernels with constant updates (more than just CVEs) is not justified in new releases.
--- meta/recipes-kernel/linux/linux-yocto-rt_4.9.bb | 38 -------------------- meta/recipes-kernel/linux/linux-yocto-tiny_4.9.bb | 25 ------------- meta/recipes-kernel/linux/linux-yocto_4.9.bb | 44 ----------------------- 3 files changed, 107 deletions(-) delete mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.9.bb delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.9.bb delete mode 100644 meta/recipes-kernel/linux/linux-yocto_4.9.bb
meta/recipes-kernel/linux/linux-yocto-rt_4.9.bb deleted +0 -38
@@ -1,38 +0,0 @@ -KBRANCH ?= "standard/preempt-rt/base" - -require recipes-kernel/linux/linux-yocto.inc - -# Skip processing of this recipe if it is not explicitly specified as the -# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying -# to build multiple virtual/kernel providers, e.g. as dependency of -# core-image-rt-sdk, core-image-rt. -python () { - if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": - raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") -} - -SRCREV_machine ?= "7b2a74f272ef0a6e292b259872d47e891d7b2a20" -SRCREV_meta ?= "ef2f5d9a0ac1c5ac60e76b18b0bb3393be450336" - -SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.9.git;branch=${KBRANCH};name=machine \ - git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.9;destsuffix=${KMETA}" - -LINUX_VERSION ?= "4.9.78" - -PV = "${LINUX_VERSION}+git${SRCPV}" - -KMETA = "kernel-meta" -KCONF_BSP_AUDIT_LEVEL = "2" - -LINUX_KERNEL_TYPE = "preempt-rt" - -COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" - -KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" - -# Functionality flags -KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" -KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" -KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" -KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" -KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
meta/recipes-kernel/linux/linux-yocto-tiny_4.9.bb deleted +0 -25
@@ -1,25 +0,0 @@ -KBRANCH ?= "standard/tiny/common-pc" -LINUX_KERNEL_TYPE = "tiny" -KCONFIG_MODE = "--allnoconfig" - -require recipes-kernel/linux/linux-yocto.inc - -LINUX_VERSION ?= "4.9.78" - -KMETA = "kernel-meta" -KCONF_BSP_AUDIT_LEVEL = "2" - -SRCREV_machine ?= "f7a6d45fff853173bfbf61706aeffcd1d1e99467" -SRCREV_meta ?= "ef2f5d9a0ac1c5ac60e76b18b0bb3393be450336" - -PV = "${LINUX_VERSION}+git${SRCPV}" - -SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.9.git;branch=${KBRANCH};name=machine \ - git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.9;destsuffix=${KMETA}" - -COMPATIBLE_MACHINE = "qemux86|qemux86-64" - -# Functionality flags -KERNEL_FEATURES = "" - -KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"
meta/recipes-kernel/linux/linux-yocto_4.9.bb deleted +0 -44
44 lines not on this page · raw message
Signature · 1 line
2.5.0
PATCH 9/9 machines: bump default linux-yocto to v4.15
In reply to Bruce AshfieldEnsure that the qemu* machines are building the latest available kernel in master.
--- meta/conf/machine/include/x86-base.inc | 2 +- meta/conf/machine/qemuarm.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/conf/machine/include/x86-base.inc +1 -1
@@ -21,7 +21,7 @@ SERIAL_CONSOLE ?= "115200 ttyS0" # kernel-related variables # PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto" -PREFERRED_VERSION_linux-yocto ??= "4.12%" +PREFERRED_VERSION_linux-yocto ??= "4.15%" # # XSERVER subcomponents, used to build the XSERVER variable
meta/conf/machine/qemuarm.conf +1 -1
@@ -16,5 +16,5 @@ QB_MACHINE = "-machine versatilepb" QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty" # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet -device virtio-rng-pci" -PREFERRED_VERSION_linux-yocto ??= "4.12%" +PREFERRED_VERSION_linux-yocto ??= "4.15%" QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"
Signature · 1 line
2.5.0
Re: [PATCH 2/9] linux-yocto: introduce 4.15 recipes
In reply to Bruce AshfieldI'm not sure if this is caused by linux-yocto upgrade or lttng upgrade, but without openssl-dev installed on the host I'm seeing following failures on ubuntu builders:
oe-core/meta/recipes-kernel/lttng/lttng-modules_2.10.5.bb:do_make_scripts) failed with exit code '1'
work-shared/qemux86/kernel-source/scripts/extract-cert.c:21:25: fatal
error: openssl/bio.h: No such file or directory
| #include <openssl/bio.h> | ^ | compilation terminated. | make[2]: *** [scripts/extract-cert] Error 1 | make[1]: *** [scripts] Error 2
On Tue, Feb 6, 2018 at 5:21 PM, Bruce Ashfield <[email protected]
Quoted 236 lines
wrote:
This commit makes the 4.15 kernel available for use with the Yocto configuration fragments and qemu* BSPs.
It has been tested for x86,arm,mips and powerpc against the lsb, core* and glibc/mulsc test matrix.
This will serve as the "latest" kernel in master, with others being removed in subsequent commits.
Signed-off-by Bruce Ashfield <[email protected]>--- meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb | 38 +++++++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b | 25 ++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb | 47 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.15.bb | 47 ++++++++++++++++++++++ 4 files changed, 157 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb create mode 100644 meta/recipes-kernel/linux/linux-yocto_4.15.bbmeta/recipes-kernel/linux/linux-yocto-rt_4.15.bb new file +10
-0@@ -0,0 +1,38 @@ +KBRANCH ?= "v4.15/standard/preempt-rt/base" + +require recipes-kernel/linux/linux-yocto.inc + +# Skip processing of this recipe if it is not explicitly specified as the +# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying +# to build multiple virtual/kernel providers, e.g. as dependency of +# core-image-rt-sdk, core-image-rt. +python () { + if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and
d.getVar("PREFERRED_PROVIDER_virtual/kernel")!= "linux-yocto-rt":
+ raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel
to linux-yocto-rt to enable it")meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb new file +6
-0+} + +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
+git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;
name=meta;branch=yocto-4.15;destsuffix=${KMETA}"meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb new file +16
-0+ +LINUX_VERSION ?= "4.15" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +LINUX_KERNEL_TYPE = "preempt-rt" + +COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.sccfeatures/taskstats/taskstats.scc"
meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb new file +4
-0+KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b new file +17
-0@@ -0,0 +1,25 @@ +KBRANCH ?= "v4.15/standard/tiny/common-pc" +LINUX_KERNEL_TYPE = "tiny" +KCONFIG_MODE = "--allnoconfig" + +require recipes-kernel/linux/linux-yocto.inc + +LINUX_VERSION ?= "4.15" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +SRCREV_machine ?= "f7a6d45fff853173bfbf61706aeffcd1d1e99467" +SRCREV_meta ?= "ef2f5d9a0ac1c5ac60e76b18b0bb3393be450336" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
+git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;
name=meta;branch=yocto-4.15;destsuffix=${KMETA}"meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b new file +7
-0+ +COMPATIBLE_MACHINE = "qemux86|qemux86-64" + +# Functionality flags +KERNEL_FEATURES = "" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb new file +24
-0@@ -0,0 +1,47 @@ +KBRANCH ?= "v4.15/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" +KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" +KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" +KBRANCH_qemux86 ?= "v4.15/standard/base" +KBRANCH_qemux86-64 ?= "v4.15/standard/base" +KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "5fdc3d579c5f50fbaaa5faecae79e20b73810346" +SRCREV_machine_qemuarm64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips ?= "5afbe5a7e271f1c115a7c77bea4a71356c6f2792" +SRCREV_machine_qemuppc ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86-64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips64 ?= "f9a3a72209bde080e4ecb4fbe7a0f99954643131" +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \
+git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;
name=meta;branch=yocto-4.15;destsuffix=${KMETA}"meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb new file +4
-0+ +LINUX_VERSION ?= "4.15" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '',d)}"
meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb new file +10
-0+DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb new file +8
-0+ +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32"," cfg/x32.scc", "" ,d)}"
meta/recipes-kernel/linux/linux-yocto_4.15.bb new file +24
-0@@ -0,0 +1,47 @@ +KBRANCH ?= "v4.15/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" +KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" +KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" +KBRANCH_qemux86 ?= "v4.15/standard/base" +KBRANCH_qemux86-64 ?= "v4.15/standard/base" +KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "5fdc3d579c5f50fbaaa5faecae79e20b73810346" +SRCREV_machine_qemuarm64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips ?= "5afbe5a7e271f1c115a7c77bea4a71356c6f2792" +SRCREV_machine_qemuppc ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86-64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips64 ?= "f9a3a72209bde080e4ecb4fbe7a0f99954643131" +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \
+git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;
name=meta;branch=yocto-4.15;destsuffix=${KMETA}"meta/recipes-kernel/linux/linux-yocto_4.15.bb new file +4
-0+ +LINUX_VERSION ?= "4.15" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '',d)}"
meta/recipes-kernel/linux/linux-yocto_4.15.bb new file +10
-0+DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
meta/recipes-kernel/linux/linux-yocto_4.15.bb new file +8
-0+ +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32"," cfg/x32.scc", "" ,d)}"
--
2.5.0--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 2/9] linux-yocto: introduce 4.15 recipes
Quoted 1 line · Martin Jansa
I'm not sure if this is caused by linux-yocto upgrade or lttng upgrade, but without openssl-dev installed on the host I'm seeing following failures on ubuntu builders:
It's lttng and the new dependencies of the kernel.
I have a two patch series that moves the make-mod-scripts into a recipe for better synchronization and fewer races, and on top of that, I have this change:
-------
index 6645c873f015..c1b80bf8b148 100644
meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb +1 -2
@@ -5,15 +5,17 @@ inherit kernel-arch S = "${WORKDIR}" -do_configure[depends] += "virtual/kernel:do_shared_workdir" +do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot" ----
That makes the header available before lttng actually goes looking for it (but it isn't limited to lttng, it is just the expanding kernel requirements).
Would you be willing to try those two patches in your usecase ? I sent the make-mod-scripts one in the past, but didn't hear anything on it, so I'm carrying it locally.
Bruce
Quoted 274 lines
oe-core/meta/recipes-kernel/lttng/lttng-modules_2.10.5.bb:do_make_scripts) failed with exit code '1'
work-shared/qemux86/kernel-source/scripts/extract-cert.c:21:25: fatal error:openssl/bio.h: No such file or directory| #include <openssl/bio.h> | ^ | compilation terminated. | make[2]: *** [scripts/extract-cert] Error 1 | make[1]: *** [scripts] Error 2On Tue, Feb 6, 2018 at 5:21 PM, Bruce Ashfield <[email protected] <mailto:[email protected]>> wrote:
This commit makes the 4.15 kernel available for use with the Yocto configuration fragments and qemu* BSPs. It has been tested for x86,arm,mips and powerpc against the lsb, core* and glibc/mulsc test matrix. This will serve as the "latest" kernel in master, with others being removed in subsequent commits. Signed-off-by: Bruce Ashfield <[email protected] <mailto:[email protected]>> --- meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> | 38 +++++++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b | 25 ++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> | 47 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> | 47 ++++++++++++++++++++++ 4 files changed, 157 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> create mode 100644 meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> new file mode 100644 index 000000000000..31f8c23cef52 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> @@ -0,0 +1,38 @@ +KBRANCH ?= "v4.15/standard/preempt-rt/base" + +require recipes-kernel/linux/linux-yocto.inc + +# Skip processing of this recipe if it is not explicitly specified as the +# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying +# to build multiple virtual/kernel providers, e.g. as dependency of +# core-image-rt-sdk, core-image-rt. +python () { + if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": + raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") +} + +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine> \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}>" + +LINUX_VERSION ?= "4.15" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +LINUX_KERNEL_TYPE = "preempt-rt" + +COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b new file mode 100644 index 000000000000..7a6696c71a68 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b @@ -0,0 +1,25 @@ +KBRANCH ?= "v4.15/standard/tiny/common-pc" +LINUX_KERNEL_TYPE = "tiny" +KCONFIG_MODE = "--allnoconfig" + +require recipes-kernel/linux/linux-yocto.inc + +LINUX_VERSION ?= "4.15" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +SRCREV_machine ?= "f7a6d45fff853173bfbf61706aeffcd1d1e99467" +SRCREV_meta ?= "ef2f5d9a0ac1c5ac60e76b18b0bb3393be450336" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine> \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}>" + +COMPATIBLE_MACHINE = "qemux86|qemux86-64" + +# Functionality flags +KERNEL_FEATURES = "" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> new file mode 100644 index 000000000000..60b7e600d24d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> @@ -0,0 +1,47 @@ +KBRANCH ?= "v4.15/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" +KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" +KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" +KBRANCH_qemux86 ?= "v4.15/standard/base" +KBRANCH_qemux86-64 ?= "v4.15/standard/base" +KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "5fdc3d579c5f50fbaaa5faecae79e20b73810346" +SRCREV_machine_qemuarm64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips ?= "5afbe5a7e271f1c115a7c77bea4a71356c6f2792" +SRCREV_machine_qemuppc ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86-64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips64 ?= "f9a3a72209bde080e4ecb4fbe7a0f99954643131" +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH} <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}>; \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}>" + +LINUX_VERSION ?= "4.15" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" diff --git a/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> b/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> new file mode 100644 index 000000000000..60b7e600d24d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> @@ -0,0 +1,47 @@ +KBRANCH ?= "v4.15/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" +KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" +KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" +KBRANCH_qemux86 ?= "v4.15/standard/base" +KBRANCH_qemux86-64 ?= "v4.15/standard/base" +KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "5fdc3d579c5f50fbaaa5faecae79e20b73810346" +SRCREV_machine_qemuarm64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips ?= "5afbe5a7e271f1c115a7c77bea4a71356c6f2792" +SRCREV_machine_qemuppc ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86-64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips64 ?= "f9a3a72209bde080e4ecb4fbe7a0f99954643131" +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH} <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}>; \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}>" + +LINUX_VERSION ?= "4.15" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" -- 2.5.0 -- _______________________________________________ Openembedded-core mailing list [email protected] <mailto:[email protected]> http://lists.openembedded.org/mailman/listinfo/openembedded-core <http://lists.openembedded.org/mailman/listinfo/openembedded-core>
Re: [PATCH 2/9] linux-yocto: introduce 4.15 recipes
After applying
https://patchwork.openembedded.org/patch/147586/
and the do_configure[depends] change I got the same error, but this time in:
make-mod-scripts/1.0-r0/temp/log.do_configure.20429
Regards,
Quoted 364 lines · Bruce Ashfield
Quoted 4 lines · Martin Jansa
I'm not sure if this is caused by linux-yocto upgrade or lttng upgrade, but without openssl-dev installed on the host I'm seeing following failures on ubuntu builders:
It's lttng and the new dependencies of the kernel.
I have a two patch series that moves the make-mod-scripts into a recipe for better synchronization and fewer races, and on top of that, I have this change:
-------
index
6645c873f015..c1b80bf8b148100644meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb +1
-1@@ -5,15 +5,17 @@ inherit kernel-arch S = "${WORKDIR}" -do_configure[depends] += "virtual/kernel:do_shared_workdir" +do_configure[depends] += "virtual/kernel:do_shared_workdiropenssl-native:do_populate_sysroot"
----
That makes the header available before lttng actually goes looking for it (but it isn't limited to lttng, it is just the expanding kernel requirements).
Would you be willing to try those two patches in your usecase ? I sent the make-mod-scripts one in the past, but didn't hear anything on it, so I'm carrying it locally.
Bruce
Quoted 324 lines
oe-core/meta/recipes-kernel/lttng/lttng-modules_2.10.5.bb:do_make_scripts) failed with exit code '1'
work-shared/qemux86/kernel-source/scripts/extract-cert.c:21:25: fatal
error:openssl/bio.h: No such file or directory| #include <openssl/bio.h> | ^ | compilation terminated. | make[2]: *** [scripts/extract-cert] Error 1 | make[1]: *** [scripts] Error 2On Tue, Feb 6, 2018 at 5:21 PM, Bruce Ashfield < [email protected] <mailto:[email protected]>> wrote:
This commit makes the 4.15 kernel available for use with the Yocto configuration fragments and qemu* BSPs.
It has been tested for x86,arm,mips and powerpc against the lsb, core* and glibc/mulsc test matrix.
This will serve as the "latest" kernel in master, with others being removed in subsequent commits.
Signed-off-by Bruce Ashfield <[email protected]<mailto:[email protected]>>
---
meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb
<http://linux-yocto-rt_4.15.bb> | 38 +++++++++++++++++
meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b | 25
++++++++++++meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> | 47 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> | 47 ++++++++++++++++++++++ 4 files changed, 157 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> create mode 100644 meta/recipes-kernel/linux/linu x-yocto-tiny_4.15.b create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> create mode 100644 meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> new file mode 100644 index 000000000000..31f8c23cef52 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> @@ -0,0 +1,38 @@ +KBRANCH ?= "v4.15/standard/preempt-rt/base" + +require recipes-kernel/linux/linux-yocto.inc + +# Skip processing of this recipe if it is not explicitly specified as the +# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying +# to build multiple virtual/kernel providers, e.g. as dependency of +# core-image-rt-sdk, core-image-rt. +python () { + if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": + raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") +} + +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH };name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine> <http://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine>
\
+git://git.yoctoproject.org/yo
cto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;dest suffix=${KMETA}
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=${KMETA}>"+ +LINUX_VERSION ?= "4.15" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +LINUX_KERNEL_TYPE = "preempt-rt" + +COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b new file mode 100644 index 000000000000..7a6696c71a68 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b @@ -0,0 +1,25 @@ +KBRANCH ?= "v4.15/standard/tiny/common-pc" +LINUX_KERNEL_TYPE = "tiny" +KCONFIG_MODE = "--allnoconfig" + +require recipes-kernel/linux/linux-yocto.inc + +LINUX_VERSION ?= "4.15" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +SRCREV_machine ?= "f7a6d45fff853173bfbf61706aeffcd1d1e99467" +SRCREV_meta ?= "ef2f5d9a0ac1c5ac60e76b18b0bb3393be450336" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH };name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine> <http://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine>
\
+git://git.yoctoproject.org/yo
cto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;dest suffix=${KMETA}
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=${KMETA}>"+ +COMPATIBLE_MACHINE = "qemux86|qemux86-64" + +# Functionality flags +KERNEL_FEATURES = "" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> new file mode 100644 index 000000000000..60b7e600d24d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> @@ -0,0 +1,47 @@ +KBRANCH ?= "v4.15/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" +KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" +KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" +KBRANCH_qemux86 ?= "v4.15/standard/base" +KBRANCH_qemux86-64 ?= "v4.15/standard/base" +KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "5fdc3d579c5f50fbaaa5faecae79e20b73810346" +SRCREV_machine_qemuarm64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e 2e2f27e3da0" +SRCREV_machine_qemumips ?= "5afbe5a7e271f1c115a7c77bea4a7 1356c6f2792" +SRCREV_machine_qemuppc ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86-64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e 2e2f27e3da0" +SRCREV_machine_qemumips64 ?= "f9a3a72209bde080e4ecb4fbe7a0f 99954643131" +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}
<http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D>
<http://git.yoctoproject.org/linux-yocto.git;name=machine;br
anch=${KBRANCH}>;
\
+git://git.yoctoproject.org/yo
cto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;dest suffix=${KMETA}
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=${KMETA}>"+ +LINUX_VERSION ?= "4.15" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" diff --git a/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> b/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> new file mode 100644 index 000000000000..60b7e600d24d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> @@ -0,0 +1,47 @@ +KBRANCH ?= "v4.15/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" +KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" +KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" +KBRANCH_qemux86 ?= "v4.15/standard/base" +KBRANCH_qemux86-64 ?= "v4.15/standard/base" +KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "5fdc3d579c5f50fbaaa5faecae79e20b73810346" +SRCREV_machine_qemuarm64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e 2e2f27e3da0" +SRCREV_machine_qemumips ?= "5afbe5a7e271f1c115a7c77bea4a7 1356c6f2792" +SRCREV_machine_qemuppc ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86-64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e 2e2f27e3da0" +SRCREV_machine_qemumips64 ?= "f9a3a72209bde080e4ecb4fbe7a0f 99954643131" +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}
<http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D>
<http://git.yoctoproject.org/linux-yocto.git;name=machine;br
anch=${KBRANCH}>;
\
+git://git.yoctoproject.org/yo
cto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;dest suffix=${KMETA}
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=${KMETA}>"+ +LINUX_VERSION ?= "4.15" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" -- 2.5.0 -- _______________________________________________ Openembedded-core mailing list [email protected] <mailto:[email protected]> http://lists.openembedded.org/mailman/listinfo/openembedded-core <http://lists.openembedded.org/mailman/listinfo/openembedded-core>
Re: [PATCH 2/9] linux-yocto: introduce 4.15 recipes
Quoted 4 lines · Martin Jansa
After applying
https://patchwork.openembedded.org/patch/147586/
and the do_configure[depends] change I got the same error, but this time in:
make-mod-scripts/1.0-r0/temp/log.do_configure.20429
Yep. you'd also need this attached patch.
Bruce
Quoted 401 lines
Regards,
On Thu, Feb 15, 2018 at 5:23 PM, Bruce Ashfield <[email protected] <mailto:[email protected]>> wrote:
On 02/15/2018 11:18 AM, Martin Jansa wrote: I'm not sure if this is caused by linux-yocto upgrade or lttng upgrade, but without openssl-dev installed on the host I'm seeing following failures on ubuntu builders: It's lttng and the new dependencies of the kernel. I have a two patch series that moves the make-mod-scripts into a recipe for better synchronization and fewer races, and on top of that, I have this change: ------- index 6645c873f015..c1b80bf8b148 100644 --- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb <http://make-mod-scripts_1.0.bb> +++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb <http://make-mod-scripts_1.0.bb> @@ -5,15 +5,17 @@ inherit kernel-arch S = "${WORKDIR}" -do_configure[depends] += "virtual/kernel:do_shared_workdir" +do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot" ---- That makes the header available before lttng actually goes looking for it (but it isn't limited to lttng, it is just the expanding kernel requirements). Would you be willing to try those two patches in your usecase ? I sent the make-mod-scripts one in the past, but didn't hear anything on it, so I'm carrying it locally. Bruce oe-core/meta/recipes-kernel/lttng/lttng-modules_2.10.5.bb <http://lttng-modules_2.10.5.bb>:do_make_scripts) failed with exit code '1' work-shared/qemux86/kernel-source/scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory | #include <openssl/bio.h> | ^ | compilation terminated. | make[2]: *** [scripts/extract-cert] Error 1 | make[1]: *** [scripts] Error 2 On Tue, Feb 6, 2018 at 5:21 PM, Bruce Ashfield <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> wrote: This commit makes the 4.15 kernel available for use with the Yocto configuration fragments and qemu* BSPs. It has been tested for x86,arm,mips and powerpc against the lsb, core* and glibc/mulsc test matrix. This will serve as the "latest" kernel in master, with others being removed in subsequent commits. Signed-off-by: Bruce Ashfield <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> --- meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> | 38 +++++++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b | 25 ++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> | 47 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> | 47 ++++++++++++++++++++++ 4 files changed, 157 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> create mode 100644 meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> new file mode 100644 index 000000000000..31f8c23cef52 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> @@ -0,0 +1,38 @@ +KBRANCH ?= "v4.15/standard/preempt-rt/base" + +require recipes-kernel/linux/linux-yocto.inc + +# Skip processing of this recipe if it is not explicitly specified as the +# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying +# to build multiple virtual/kernel providers, e.g. as dependency of +# core-image-rt-sdk, core-image-rt. +python () { + if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": + raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") +} + +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine> <http://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine>> \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>>" + +LINUX_VERSION ?= "4.15" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +LINUX_KERNEL_TYPE = "preempt-rt" + +COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b new file mode 100644 index 000000000000..7a6696c71a68 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b @@ -0,0 +1,25 @@ +KBRANCH ?= "v4.15/standard/tiny/common-pc" +LINUX_KERNEL_TYPE = "tiny" +KCONFIG_MODE = "--allnoconfig" + +require recipes-kernel/linux/linux-yocto.inc + +LINUX_VERSION ?= "4.15" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +SRCREV_machine ?= "f7a6d45fff853173bfbf61706aeffcd1d1e99467" +SRCREV_meta ?= "ef2f5d9a0ac1c5ac60e76b18b0bb3393be450336" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine> <http://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine>> \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>>" + +COMPATIBLE_MACHINE = "qemux86|qemux86-64" + +# Functionality flags +KERNEL_FEATURES = "" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> new file mode 100644 index 000000000000..60b7e600d24d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> @@ -0,0 +1,47 @@ +KBRANCH ?= "v4.15/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" +KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" +KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" +KBRANCH_qemux86 ?= "v4.15/standard/base" +KBRANCH_qemux86-64 ?= "v4.15/standard/base" +KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "5fdc3d579c5f50fbaaa5faecae79e20b73810346" +SRCREV_machine_qemuarm64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips ?= "5afbe5a7e271f1c115a7c77bea4a71356c6f2792" +SRCREV_machine_qemuppc ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86-64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips64 ?= "f9a3a72209bde080e4ecb4fbe7a0f99954643131" +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH} <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D> <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH} <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D>>; \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>>" + +LINUX_VERSION ?= "4.15" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" diff --git a/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> b/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> new file mode 100644 index 000000000000..60b7e600d24d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> @@ -0,0 +1,47 @@ +KBRANCH ?= "v4.15/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" +KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" +KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" +KBRANCH_qemux86 ?= "v4.15/standard/base" +KBRANCH_qemux86-64 ?= "v4.15/standard/base" +KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "5fdc3d579c5f50fbaaa5faecae79e20b73810346" +SRCREV_machine_qemuarm64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips ?= "5afbe5a7e271f1c115a7c77bea4a71356c6f2792" +SRCREV_machine_qemuppc ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86-64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips64 ?= "f9a3a72209bde080e4ecb4fbe7a0f99954643131" +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH} <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D> <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH} <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D>>; \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>>" + +LINUX_VERSION ?= "4.15" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" -- 2.5.0 -- _______________________________________________ Openembedded-core mailing list
Quoted 12 lines
[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> http://lists.openembedded.org/mailman/listinfo/openembedded-core <http://lists.openembedded.org/mailman/listinfo/openembedded-core> <http://lists.openembedded.org/mailman/listinfo/openembedded-core <http://lists.openembedded.org/mailman/listinfo/openembedded-core>>
From c03eea2046161ab8088e60eb6112b37ffcd79c86 Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <[email protected]>
Date: Tue, 5 Dec 2017 18:15:52 -0500
Subject: [PATCH] openssl for lttng-modules v1
--- meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb +4 -2
@@ -5,15 +5,17 @@ inherit kernel-arch S = "${WORKDIR}" -do_configure[depends] += "virtual/kernel:do_shared_workdir" +do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot" do_compile[depends] += "virtual/kernel:do_compile_kernelmodules" +EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"" + # Build some host tools under work-shared. CC, LD, and AR are probably # not used, but this is the historical way of invoking "make scripts". # do_configure() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS - make CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \ + oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \ -C ${STAGING_KERNEL_DIR} O=${STAGING_KERNEL_BUILDDIR} scripts }
Signature · 1 line
2.5.0
Re: [PATCH 2/9] linux-yocto: introduce 4.15 recipes
This last version seems to build fine for me (I haven't tried more than building lttng-modules which were failing before, because of some other issues elsewhere).
Quoted 489 lines · Bruce Ashfield
Quoted 6 lines · Martin Jansa
After applying
https://patchwork.openembedded.org/patch/147586/
and the do_configure[depends] change I got the same error, but this time in:
make-mod-scripts/1.0-r0/temp/log.do_configure.20429Yep. you'd also need this attached patch.
Bruce
Quoted 474 lines
Regards,
On Thu, Feb 15, 2018 at 5:23 PM, Bruce Ashfield < [email protected] <mailto:[email protected]>> wrote:
On 02/15/2018 11:18 AM, Martin Jansa wrote:
I'm not sure if this is caused by linux-yocto upgrade or lttng upgrade, but without openssl-dev installed on the host I'm seeing following failures on ubuntu builders:
It's lttng and the new dependencies of the kernel.
I have a two patch series that moves the make-mod-scripts into a
recipefor better synchronization and fewer races, and on top of that, I have this change: ------- index 6645c873f015..c1b80bf8b148 100644 --- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb <http://make-mod-scripts_1.0.bb> +++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb <http://make-mod-scripts_1.0.bb> @@ -5,15 +5,17 @@ inherit kernel-arch S = "${WORKDIR}" -do_configure[depends] += "virtual/kernel:do_shared_workdir" +do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot" ---- That makes the header available before lttng actually goes looking for it (but it isn't limited to lttng, it is just the expanding kernel requirements). Would you be willing to try those two patches in your usecase ? I sent the make-mod-scripts one in the past, but didn't hear anything on it, so I'm carrying it locally. Bruce oe-core/meta/recipes-kernel/lttng/lttng-modules_2.10.5.bb <http://lttng-modules_2.10.5.bb>:do_make_scripts) failed with exit code '1' work-shared/qemux86/kernel-source/scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory | #include <openssl/bio.h> | ^ | compilation terminated. | make[2]: *** [scripts/extract-cert] Error 1 | make[1]: *** [scripts] Error 2 On Tue, Feb 6, 2018 at 5:21 PM, Bruce Ashfield <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> wrote: This commit makes the 4.15 kernel available for use with the Yocto configuration fragments and qemu* BSPs. It has been tested for x86,arm,mips and powerpc against the lsb, core* and glibc/mulsc test matrix. This will serve as the "latest" kernel in master, with others being removed in subsequent commits. Signed-off-by: Bruce Ashfield <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> --- meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> | 38 +++++++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b | 25 ++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> | 47 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> | 47 ++++++++++++++++++++++ 4 files changed, 157 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> create mode 100644 meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> new file mode 100644 index 000000000000..31f8c23cef52 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> @@ -0,0 +1,38 @@ +KBRANCH ?= "v4.15/standard/preempt-rt/base" + +require recipes-kernel/linux/linux-yocto.inc + +# Skip processing of this recipe if it is not explicitly specified as the +# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying +# to build multiple virtual/kernel providers, e.g. as dependency of +# core-image-rt-sdk, core-image-rt. +python () { + if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": + raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") +} + +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e 2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine
<http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine>
<http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRA
NCH%7D;name=machine>
<http://git.yoctoproject.org/l
inux-yocto.git;branch=${KBRANCH};name=machine
<http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRA
NCH%7D;name=machine>>
\
+git://git.yoctoproject.org/yo
cto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;dest suffix=${KMETA}
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <
http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=${KMETA} <
http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>>"+ +LINUX_VERSION ?= "4.15" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +LINUX_KERNEL_TYPE = "preempt-rt" + +COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" diff --git a/meta/recipes-kernel/linux/li nux-yocto-tiny_4.15.b b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b new file mode 100644 index 000000000000..7a6696c71a68 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b @@ -0,0 +1,25 @@ +KBRANCH ?= "v4.15/standard/tiny/common-pc" +LINUX_KERNEL_TYPE = "tiny" +KCONFIG_MODE = "--allnoconfig" + +require recipes-kernel/linux/linux-yocto.inc + +LINUX_VERSION ?= "4.15" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +SRCREV_machine ?= "f7a6d45fff853173bfbf61706aeff cd1d1e99467" +SRCREV_meta ?= "ef2f5d9a0ac1c5ac60e76b18b0bb3393be450336" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine
<http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine>
<http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRA
NCH%7D;name=machine>
<http://git.yoctoproject.org/l
inux-yocto.git;branch=${KBRANCH};name=machine
<http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRA
NCH%7D;name=machine>>
\
+git://git.yoctoproject.org/yo
cto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;dest suffix=${KMETA}
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <
http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=${KMETA} <
http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>>"+ +COMPATIBLE_MACHINE = "qemux86|qemux86-64" + +# Functionality flags +KERNEL_FEATURES = "" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> new file mode 100644 index 000000000000..60b7e600d24d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> @@ -0,0 +1,47 @@ +KBRANCH ?= "v4.15/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" +KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" +KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" +KBRANCH_qemux86 ?= "v4.15/standard/base" +KBRANCH_qemux86-64 ?= "v4.15/standard/base" +KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "5fdc3d579c5f50fbaaa5faecae79e20b73810346" +SRCREV_machine_qemuarm64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips ?= "5afbe5a7e271f1c115a7c77bea4a71356c6f2792" +SRCREV_machine_qemuppc ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86-64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips64 ?= "f9a3a72209bde080e4ecb4fbe7a0f99954643131" +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e 2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}
<http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D>
<http://git.yoctoproject.org/linux-yocto.git;name=machine;br
anch=$%7BKBRANCH%7D>
<http://git.yoctoproject.org/l
inux-yocto.git;name=machine;branch=${KBRANCH}
<http://git.yoctoproject.org/linux-yocto.git;name=machine;br
anch=$%7BKBRANCH%7D>>;
\
+git://git.yoctoproject.org/yo
cto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;dest suffix=${KMETA}
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <
http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=${KMETA} <
http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>>"+ +LINUX_VERSION ?= "4.15" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qem uppc|qemumips|qemumips64|qemux86-64" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" diff --git a/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> b/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> new file mode 100644 index 000000000000..60b7e600d24d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> @@ -0,0 +1,47 @@ +KBRANCH ?= "v4.15/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" +KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" +KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" +KBRANCH_qemux86 ?= "v4.15/standard/base" +KBRANCH_qemux86-64 ?= "v4.15/standard/base" +KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "5fdc3d579c5f50fbaaa5faecae79e20b73810346" +SRCREV_machine_qemuarm64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips ?= "5afbe5a7e271f1c115a7c77bea4a71356c6f2792" +SRCREV_machine_qemuppc ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86-64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips64 ?= "f9a3a72209bde080e4ecb4fbe7a0f99954643131" +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e 2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}
<http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D>
<http://git.yoctoproject.org/linux-yocto.git;name=machine;br
anch=$%7BKBRANCH%7D>
<http://git.yoctoproject.org/l
inux-yocto.git;name=machine;branch=${KBRANCH}
<http://git.yoctoproject.org/linux-yocto.git;name=machine;br
anch=$%7BKBRANCH%7D>>;
\
+git://git.yoctoproject.org/yo
cto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;dest suffix=${KMETA}
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>
<http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <
http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=${KMETA} <
http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
ame=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>>"+ +LINUX_VERSION ?= "4.15" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qem uppc|qemumips|qemumips64|qemux86-64" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" -- 2.5.0 -- _______________________________________________ Openembedded-core mailing list [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> http://lists.openembedded.org/mailman/listinfo/openembedded-core <http://lists.openembedded.org/mailman/listinfo/openembedded-coreQuoted 1 line
<http://lists.openembedded.org
/mailman/listinfo/openembedded-core <http://lists.openembedded.org
/mailman/listinfo/openembedded-core>>
Re: [PATCH 2/9] linux-yocto: introduce 4.15 recipes
cool. Thanks, I was wondering how it went.
I'll submit my two patches this weekend to the list, since I have one minor tweak to the make-mod-scripts to do first.
Cheers,
Bruce
Quoted 556 lines · Martin Jansa
This last version seems to build fine for me (I haven't tried more than building lttng-modules which were failing before, because of some other issues elsewhere).
On Thu, Feb 15, 2018 at 6:59 PM, Bruce Ashfield <[email protected] <mailto:[email protected]>> wrote:
On 02/15/2018 11:37 AM, Martin Jansa wrote: After applying https://patchwork.openembedded.org/patch/147586/ <https://patchwork.openembedded.org/patch/147586/> and the do_configure[depends] change I got the same error, but this time in: make-mod-scripts/1.0-r0/temp/log.do_configure.20429 Yep. you'd also need this attached patch. Bruce Regards, On Thu, Feb 15, 2018 at 5:23 PM, Bruce Ashfield <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> wrote: On 02/15/2018 11:18 AM, Martin Jansa wrote: I'm not sure if this is caused by linux-yocto upgrade or lttng upgrade, but without openssl-dev installed on the host I'm seeing following failures on ubuntu builders: It's lttng and the new dependencies of the kernel. I have a two patch series that moves the make-mod-scripts into a recipe for better synchronization and fewer races, and on top of that, I have this change: ------- index 6645c873f015..c1b80bf8b148 100644 --- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb <http://make-mod-scripts_1.0.bb> <http://make-mod-scripts_1.0.bb <http://make-mod-scripts_1.0.bb>> +++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb <http://make-mod-scripts_1.0.bb> <http://make-mod-scripts_1.0.bb <http://make-mod-scripts_1.0.bb>> @@ -5,15 +5,17 @@ inherit kernel-arch S = "${WORKDIR}" -do_configure[depends] += "virtual/kernel:do_shared_workdir" +do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot" ---- That makes the header available before lttng actually goes looking for it (but it isn't limited to lttng, it is just the expanding kernel requirements). Would you be willing to try those two patches in your usecase ? I sent the make-mod-scripts one in the past, but didn't hear anything on it, so I'm carrying it locally. Bruce oe-core/meta/recipes-kernel/lttng/lttng-modules_2.10.5.bb <http://lttng-modules_2.10.5.bb> <http://lttng-modules_2.10.5.bb <http://lttng-modules_2.10.5.bb>>:do_make_scripts) failed with exit code '1' work-shared/qemux86/kernel-source/scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory | #include <openssl/bio.h> | ^ | compilation terminated. | make[2]: *** [scripts/extract-cert] Error 1 | make[1]: *** [scripts] Error 2 On Tue, Feb 6, 2018 at 5:21 PM, Bruce Ashfield <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>>> wrote: This commit makes the 4.15 kernel available for use with the Yocto configuration fragments and qemu* BSPs. It has been tested for x86,arm,mips and powerpc against the lsb, core* and glibc/mulsc test matrix. This will serve as the "latest" kernel in master, with others being removed in subsequent commits. Signed-off-by: Bruce Ashfield <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>>> --- meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> | 38 +++++++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b | 25 ++++++++++++ meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>>> | 47 ++++++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> | 47 ++++++++++++++++++++++ 4 files changed, 157 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>>> create mode 100644 meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> new file mode 100644 index 000000000000..31f8c23cef52 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> <http://linux-yocto-rt_4.15.bb> @@ -0,0 +1,38 @@ +KBRANCH ?= "v4.15/standard/preempt-rt/base" + +require recipes-kernel/linux/linux-yocto.inc + +# Skip processing of this recipe if it is not explicitly specified as the +# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying +# to build multiple virtual/kernel providers, e.g. as dependency of +# core-image-rt-sdk, core-image-rt. +python () { + if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt": + raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") +} + +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine> <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine>> <http://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine> <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine>>> \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>>>" + +LINUX_VERSION ?= "4.15" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +LINUX_KERNEL_TYPE = "preempt-rt" + +COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b new file mode 100644 index 000000000000..7a6696c71a68 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b @@ -0,0 +1,25 @@ +KBRANCH ?= "v4.15/standard/tiny/common-pc" +LINUX_KERNEL_TYPE = "tiny" +KCONFIG_MODE = "--allnoconfig" + +require recipes-kernel/linux/linux-yocto.inc + +LINUX_VERSION ?= "4.15" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +SRCREV_machine ?= "f7a6d45fff853173bfbf61706aeffcd1d1e99467" +SRCREV_meta ?= "ef2f5d9a0ac1c5ac60e76b18b0bb3393be450336" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine> <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine>> <http://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine> <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine <http://git.yoctoproject.org/linux-yocto.git;branch=$%7BKBRANCH%7D;name=machine>>> \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>>>" + +COMPATIBLE_MACHINE = "qemux86|qemux86-64" + +# Functionality flags +KERNEL_FEATURES = "" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>>> b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>>> new file mode 100644 index 000000000000..60b7e600d24d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb> <http://linux-yocto-tiny_4.15.bb <http://linux-yocto-tiny_4.15.bb>>> @@ -0,0 +1,47 @@ +KBRANCH ?= "v4.15/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" +KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" +KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" +KBRANCH_qemux86 ?= "v4.15/standard/base" +KBRANCH_qemux86-64 ?= "v4.15/standard/base" +KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "5fdc3d579c5f50fbaaa5faecae79e20b73810346" +SRCREV_machine_qemuarm64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips ?= "5afbe5a7e271f1c115a7c77bea4a71356c6f2792" +SRCREV_machine_qemuppc ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86-64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips64 ?= "f9a3a72209bde080e4ecb4fbe7a0f99954643131" +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH} <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D> <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D>> <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH} <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D> <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D>>>; \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>>>" + +LINUX_VERSION ?= "4.15" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" diff --git a/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> b/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> new file mode 100644 index 000000000000..60b7e600d24d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto_4.15.bb <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> <http://linux-yocto_4.15.bb> @@ -0,0 +1,47 @@ +KBRANCH ?= "v4.15/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "v4.15/standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "v4.15/standard/qemuarm64" +KBRANCH_qemumips ?= "v4.15/standard/mti-malta32" +KBRANCH_qemuppc ?= "v4.15/standard/qemuppc" +KBRANCH_qemux86 ?= "v4.15/standard/base" +KBRANCH_qemux86-64 ?= "v4.15/standard/base" +KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "5fdc3d579c5f50fbaaa5faecae79e20b73810346" +SRCREV_machine_qemuarm64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips ?= "5afbe5a7e271f1c115a7c77bea4a71356c6f2792" +SRCREV_machine_qemuppc ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemux86-64 ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_machine_qemumips64 ?= "f9a3a72209bde080e4ecb4fbe7a0f99954643131" +SRCREV_machine ?= "9c2e6c0fc71526c45fc7ddf3ec91e2e2f27e3da0" +SRCREV_meta ?= "64ad69e5b4a38e678500d7a70791ac5154c6c154" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH} <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D> <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D>> <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH} <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D> <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D <http://git.yoctoproject.org/linux-yocto.git;name=machine;branch=$%7BKBRANCH%7D>>>; \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA} <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D> <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D <http://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=$%7BKMETA%7D>>>" + +LINUX_VERSION ?= "4.15" + +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" -- 2.5.0 -- _______________________________________________ Openembedded-core mailing list [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core <http://lists.openembedded.org/mailman/listinfo/openembedded-core> <http://lists.openembedded.org/mailman/listinfo/openembedded-core <http://lists.openembedded.org/mailman/listinfo/openembedded-core>> <http://lists.openembedded.org/mailman/listinfo/openembedded-core <http://lists.openembedded.org/mailman/listinfo/openembedded-core> <http://lists.openembedded.org/mailman/listinfo/openembedded-core <http://lists.openembedded.org/mailman/listinfo/openembedded-core>>>