All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] linux-yocto: kernel version updates
@ 2017-02-27  3:10 Bruce Ashfield
  2017-02-27  3:10 ` [PATCH 1/4] linux-yocto: introduce 4.10 recipes Bruce Ashfield
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Bruce Ashfield @ 2017-02-27  3:10 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core, saul.wold

Hi all,

Here is the latest updates to the linux-yocto kernel versions, and represents
the versions that we'd like to be included in the upcoming release.

Those versions are:

 - 4.1:  LTSI
 - 4.9:  LTS
 - 4.10: 'latest'

I've also updated the linux-libc-headers to 4.10 to match.

I built and booted this kernel and libc-headers update against qemu (all
arches, all word sizes) and I also built the same images against musl as
the c library.

After working through some issues (config and tools), everything now looks
clean and I didn't pick up any issues.

NOTES:

 - this series needs the latest lttng 2.9.x -stable release, which was
   posted to oe-core on Sunday February 26th.

 - I'll send follow up patches to poky/yocto-bsps to update the bbapends
   and kernels there.

 - You'll note that I'm not dropping the 4.8 recipes in this series, since
   there are still reference BSPs that indicate it as the preferred
   version. I need to get the reference BSP maintainers to bump the versions
   and then I'll drop 4.9.

 - As in the past, if folks are concerned about the amount of space the
   linux-yocto versions are taking up, we can investigate shallow clones, or
   I can do a versioned branching structure. Either of those options can be
   done after this version bump is in-tree, since it is a separate topic.

 - I'll also be sending -stable updates for 4.1, 4.9 and 4.10 separately
   in the next few days.

Cheers,

Bruce

The following changes since commit 3c83b56309ab419f8cda72c0711479f60f61439a:

  bitbake: fetch2/svn: change 'rsh' parameter to 'ssh' (2017-02-23 12:50:17 -0800)

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 (4):
  linux-yocto: introduce 4.10 recipes
  libc-headers: introduce 4.10 and set as default
  linux-yocto-dev: add virtio fragment for virtio targets
  linux-yocto: drop 4.4 recipes

 meta/conf/distro/include/tcmode-default.inc        |  2 +-
 ...c-headers_4.9.bb => linux-libc-headers_4.10.bb} |  4 ++--
 meta/recipes-kernel/linux/linux-yocto-dev.bb       |  2 ++
 ...inux-yocto-rt_4.4.bb => linux-yocto-rt_4.10.bb} | 12 +++++-----
 ...-yocto-tiny_4.4.bb => linux-yocto-tiny_4.10.bb} | 12 +++++-----
 .../{linux-yocto_4.4.bb => linux-yocto_4.10.bb}    | 26 ++++++++++++----------
 6 files changed, 33 insertions(+), 25 deletions(-)
 rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_4.9.bb => linux-libc-headers_4.10.bb} (66%)
 rename meta/recipes-kernel/linux/{linux-yocto-rt_4.4.bb => linux-yocto-rt_4.10.bb} (77%)
 rename meta/recipes-kernel/linux/{linux-yocto-tiny_4.4.bb => linux-yocto-tiny_4.10.bb} (52%)
 rename meta/recipes-kernel/linux/{linux-yocto_4.4.bb => linux-yocto_4.10.bb} (56%)

-- 
2.5.0



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/4] linux-yocto: introduce 4.10 recipes
  2017-02-27  3:10 [PATCH 0/4] linux-yocto: kernel version updates Bruce Ashfield
@ 2017-02-27  3:10 ` Bruce Ashfield
  2017-02-27  3:10 ` [PATCH 2/4] libc-headers: introduce 4.10 and set as default Bruce Ashfield
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Bruce Ashfield @ 2017-02-27  3:10 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core, saul.wold

The 4.10 kernel has been released, so we introduce the linux-yocto
variant.

This version supercedes the 4.4 and 4.8 versions in the tree, leaving us
with 4.1 (LTSI), 4.9 (LTS) and 4.10 (most recent) as the three active
versions.

Build tested against all qemu variants, core-image-kernel-dev + sato,
with musl and glibc as the C libraries.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 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 insertions(+)
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.10.bb
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.10.bb
 create mode 100644 meta/recipes-kernel/linux/linux-yocto_4.10.bb

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.10.bb b/meta/recipes-kernel/linux/linux-yocto-rt_4.10.bb
new file mode 100644
index 000000000000..150fda5473aa
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.10.bb
@@ -0,0 +1,38 @@
+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("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt":
+        raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
+}
+
+SRCREV_machine ?= "b259a5d744e8955a03405c6b59c5a61724755ea8"
+SRCREV_meta ?= "805ea440c791acee4617820ab32e93f1ccbd9ae2"
+
+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"
+
+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.10.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_4.10.bb
new file mode 100644
index 000000000000..4d4639a97f3d
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.10.bb
@@ -0,0 +1,25 @@
+KBRANCH ?= "standard/tiny/common-pc"
+LINUX_KERNEL_TYPE = "tiny"
+KCONFIG_MODE = "--allnoconfig"
+
+require recipes-kernel/linux/linux-yocto.inc
+
+LINUX_VERSION ?= "4.10"
+
+KMETA = "kernel-meta"
+KCONF_BSP_AUDIT_LEVEL = "2"
+
+SRCREV_machine ?= "b259a5d744e8955a03405c6b59c5a61724755ea8"
+SRCREV_meta ?= "805ea440c791acee4617820ab32e93f1ccbd9ae2"
+
+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$)"
+
+# Functionality flags
+KERNEL_FEATURES = ""
+
+KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.10.bb b/meta/recipes-kernel/linux/linux-yocto_4.10.bb
new file mode 100644
index 000000000000..db6fa7eca5a2
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-yocto_4.10.bb
@@ -0,0 +1,44 @@
+KBRANCH ?= "standard/base"
+
+require recipes-kernel/linux/linux-yocto.inc
+
+# board specific branches
+KBRANCH_qemuarm  ?= "standard/arm-versatile-926ejs"
+KBRANCH_qemuarm64 ?= "standard/qemuarm64"
+KBRANCH_qemumips ?= "standard/mti-malta32"
+KBRANCH_qemuppc  ?= "standard/qemuppc"
+KBRANCH_qemux86  ?= "standard/base"
+KBRANCH_qemux86-64 ?= "standard/base"
+KBRANCH_qemumips64 ?= "standard/mti-malta64"
+
+SRCREV_machine_qemuarm ?= "371697c9008e2f26edba9b4a3baaf327a530fb7f"
+SRCREV_machine_qemuarm64 ?= "b259a5d744e8955a03405c6b59c5a61724755ea8"
+SRCREV_machine_qemumips ?= "ea0bdf9b515d2ceafaf333564594ca1bfbc0e50a"
+SRCREV_machine_qemuppc ?= "b259a5d744e8955a03405c6b59c5a61724755ea8"
+SRCREV_machine_qemux86 ?= "b259a5d744e8955a03405c6b59c5a61724755ea8"
+SRCREV_machine_qemux86-64 ?= "b259a5d744e8955a03405c6b59c5a61724755ea8"
+SRCREV_machine_qemumips64 ?= "d5434bd8cfdbefbe4dcde9743e61383ce8a944c9"
+SRCREV_machine ?= "b259a5d744e8955a03405c6b59c5a61724755ea8"
+SRCREV_meta ?= "805ea440c791acee4617820ab32e93f1ccbd9ae2"
+
+SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.10.git;name=machine;branch=${KBRANCH}; \
+           git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.10;destsuffix=${KMETA}"
+
+LINUX_VERSION ?= "4.10"
+
+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



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/4] libc-headers: introduce 4.10 and set as default
  2017-02-27  3:10 [PATCH 0/4] linux-yocto: kernel version updates Bruce Ashfield
  2017-02-27  3:10 ` [PATCH 1/4] linux-yocto: introduce 4.10 recipes Bruce Ashfield
@ 2017-02-27  3:10 ` Bruce Ashfield
  2017-02-27  3:10 ` [PATCH 3/4] linux-yocto-dev: add virtio fragment for virtio targets Bruce Ashfield
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Bruce Ashfield @ 2017-02-27  3:10 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core, saul.wold

The 4.10 kernel has been released, so we can bump our libc-headers
to match.

We also drop the 4.9 headers, since we only want one variant in the
tree.

Tested against glibc and muslc core-image* variants.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/conf/distro/include/tcmode-default.inc                           | 2 +-
 .../{linux-libc-headers_4.9.bb => linux-libc-headers_4.10.bb}         | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_4.9.bb => linux-libc-headers_4.10.bb} (66%)

diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 9c9fdd67fd08..a4b06c94cadc 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -28,7 +28,7 @@ BINUVERSION ?= "2.27%"
 GDBVERSION ?= "7.12%"
 GLIBCVERSION ?= "2.25"
 UCLIBCVERSION ?= "1.0%"
-LINUXLIBCVERSION ?= "4.9%"
+LINUXLIBCVERSION ?= "4.10%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
 PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.10.bb
similarity index 66%
rename from meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb
rename to meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.10.bb
index 0a44018f880b..108446aa34f7 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.10.bb
@@ -6,5 +6,5 @@ SRC_URI_append_libc-musl = "\
     file://0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch \
    "
 
-SRC_URI[md5sum] = "0a68ef3615c64bd5ee54a3320e46667d"
-SRC_URI[sha256sum] = "029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a"
+SRC_URI[md5sum] = "b5e7f6b9b2fe1b6cc7bc56a3a0bfc090"
+SRC_URI[sha256sum] = "3c95d9f049bd085e5c346d2c77f063b8425f191460fcd3ae9fe7e94e0477dc4b"
-- 
2.5.0



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/4] linux-yocto-dev: add virtio fragment for virtio targets
  2017-02-27  3:10 [PATCH 0/4] linux-yocto: kernel version updates Bruce Ashfield
  2017-02-27  3:10 ` [PATCH 1/4] linux-yocto: introduce 4.10 recipes Bruce Ashfield
  2017-02-27  3:10 ` [PATCH 2/4] libc-headers: introduce 4.10 and set as default Bruce Ashfield
@ 2017-02-27  3:10 ` Bruce Ashfield
  2017-02-27  3:10 ` [PATCH 4/4] linux-yocto: drop 4.4 recipes Bruce Ashfield
  2017-03-03 14:41 ` [PATCH 0/4] linux-yocto: kernel version updates Burton, Ross
  4 siblings, 0 replies; 8+ messages in thread
From: Bruce Ashfield @ 2017-02-27  3:10 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core, saul.wold

Other linux-yocto recipes have the virtio fragment added to qemu* targets.
If you plan on booting a kernel with qemu, we need these options .. or
things like the virtual disk won't be present.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb
index a4e02dbfff7e..9ac1bada5f44 100644
--- a/meta/recipes-kernel/linux/linux-yocto-dev.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-dev.bb
@@ -39,7 +39,9 @@ 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"
 KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"
 
+deltask kernel_version_sanity_check
-- 
2.5.0



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 4/4] linux-yocto: drop 4.4 recipes
  2017-02-27  3:10 [PATCH 0/4] linux-yocto: kernel version updates Bruce Ashfield
                   ` (2 preceding siblings ...)
  2017-02-27  3:10 ` [PATCH 3/4] linux-yocto-dev: add virtio fragment for virtio targets Bruce Ashfield
@ 2017-02-27  3:10 ` Bruce Ashfield
  2017-02-28 21:25   ` Saul Wold
  2017-03-03 14:41 ` [PATCH 0/4] linux-yocto: kernel version updates Burton, Ross
  4 siblings, 1 reply; 8+ messages in thread
From: Bruce Ashfield @ 2017-02-27  3:10 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core, saul.wold

We have 4.1 (LTSI) 4.9 (LTS) and 4.10 as the three kernels in the
master branch. 4.4 is no longer needed and can be dropped.

This kernel will continue to get -stable updates as appropriate, but
won't get SRCREV updates to the master branch.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 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

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb b/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
deleted file mode 100644
index 82f1a94f162f..000000000000
--- a/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
+++ /dev/null
@@ -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("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt":
-        raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
-}
-
-SRCREV_machine ?= "6622c6471016005d5588aa4338ce57aced713dcd"
-SRCREV_meta ?= "f4a781388fae67caec79a5a571c8aadef0185044"
-
-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.41"
-
-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"
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb
deleted file mode 100644
index 6cb580dc3e90..000000000000
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb
+++ /dev/null
@@ -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.41"
-
-KMETA = "kernel-meta"
-KCONF_BSP_AUDIT_LEVEL = "2"
-
-SRCREV_machine ?= "ad8b1d659ddd2699ebf7d50ef9de8940b157bfc2"
-SRCREV_meta ?= "f4a781388fae67caec79a5a571c8aadef0185044"
-
-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$)"
-
-# Functionality flags
-KERNEL_FEATURES = ""
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.4.bb b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
deleted file mode 100644
index 34e0f38c030b..000000000000
--- a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
+++ /dev/null
@@ -1,42 +0,0 @@
-KBRANCH ?= "standard/base"
-
-require recipes-kernel/linux/linux-yocto.inc
-
-# board specific branches
-KBRANCH_qemuarm  ?= "standard/arm-versatile-926ejs"
-KBRANCH_qemuarm64 ?= "standard/qemuarm64"
-KBRANCH_qemumips ?= "standard/mti-malta32"
-KBRANCH_qemuppc  ?= "standard/qemuppc"
-KBRANCH_qemux86  ?= "standard/base"
-KBRANCH_qemux86-64 ?= "standard/base"
-KBRANCH_qemumips64 ?= "standard/mti-malta64"
-
-SRCREV_machine_qemuarm ?= "60287c1951ca7063bc19597eb5cabf834e660cfb"
-SRCREV_machine_qemuarm64 ?= "ad8b1d659ddd2699ebf7d50ef9de8940b157bfc2"
-SRCREV_machine_qemumips ?= "143d659ae6d53623001e22c13a0286bd6d1723ca"
-SRCREV_machine_qemuppc ?= "ad8b1d659ddd2699ebf7d50ef9de8940b157bfc2"
-SRCREV_machine_qemux86 ?= "ad8b1d659ddd2699ebf7d50ef9de8940b157bfc2"
-SRCREV_machine_qemux86-64 ?= "ad8b1d659ddd2699ebf7d50ef9de8940b157bfc2"
-SRCREV_machine_qemumips64 ?= "c74cc42106745bab08de6263b9320ac029f2cca9"
-SRCREV_machine ?= "ad8b1d659ddd2699ebf7d50ef9de8940b157bfc2"
-SRCREV_meta ?= "f4a781388fae67caec79a5a571c8aadef0185044"
-
-SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}; \
-           git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}"
-
-LINUX_VERSION ?= "4.4.41"
-
-PV = "${LINUX_VERSION}+git${SRCPV}"
-
-KMETA = "kernel-meta"
-KCONF_BSP_AUDIT_LEVEL = "2"
-
-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



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 4/4] linux-yocto: drop 4.4 recipes
  2017-02-27  3:10 ` [PATCH 4/4] linux-yocto: drop 4.4 recipes Bruce Ashfield
@ 2017-02-28 21:25   ` Saul Wold
  0 siblings, 0 replies; 8+ messages in thread
From: Saul Wold @ 2017-02-28 21:25 UTC (permalink / raw)
  To: Bruce Ashfield, richard.purdie; +Cc: openembedded-core

On Sun, 2017-02-26 at 22:10 -0500, Bruce Ashfield wrote:
> We have 4.1 (LTSI) 4.9 (LTS) and 4.10 as the three kernels in the
> master branch. 4.4 is no longer needed and can be dropped.
> 
Regarding 4.4, this is not exactly true, not everyone has migrated to
the 4.9 LTS as it is still fairly "new" as far as kernel goes, so let's
please preserve 4.4 for one more release.

meta-intel needs to support 4.4 and 4.9 currently.

Sau!

> This kernel will continue to get -stable updates as appropriate, but
> won't get SRCREV updates to the master branch.
> 
> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
> ---
>  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
> 
> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
> b/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
> deleted file mode 100644
> index 82f1a94f162f..000000000000
> --- a/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
> +++ /dev/null
> @@ -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("PREFERRED_PROVIDER_virtual/kernel") != "linux-
> yocto-rt":
> -        raise bb.parse.SkipPackage("Set
> PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
> -}
> -
> -SRCREV_machine ?= "6622c6471016005d5588aa4338ce57aced713dcd"
> -SRCREV_meta ?= "f4a781388fae67caec79a5a571c8aadef0185044"
> -
> -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.41"
> -
> -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"
> diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb
> b/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb
> deleted file mode 100644
> index 6cb580dc3e90..000000000000
> --- a/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb
> +++ /dev/null
> @@ -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.41"
> -
> -KMETA = "kernel-meta"
> -KCONF_BSP_AUDIT_LEVEL = "2"
> -
> -SRCREV_machine ?= "ad8b1d659ddd2699ebf7d50ef9de8940b157bfc2"
> -SRCREV_meta ?= "f4a781388fae67caec79a5a571c8aadef0185044"
> -
> -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$)"
> -
> -# Functionality flags
> -KERNEL_FEATURES = ""
> diff --git a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> deleted file mode 100644
> index 34e0f38c030b..000000000000
> --- a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> +++ /dev/null
> @@ -1,42 +0,0 @@
> -KBRANCH ?= "standard/base"
> -
> -require recipes-kernel/linux/linux-yocto.inc
> -
> -# board specific branches
> -KBRANCH_qemuarm  ?= "standard/arm-versatile-926ejs"
> -KBRANCH_qemuarm64 ?= "standard/qemuarm64"
> -KBRANCH_qemumips ?= "standard/mti-malta32"
> -KBRANCH_qemuppc  ?= "standard/qemuppc"
> -KBRANCH_qemux86  ?= "standard/base"
> -KBRANCH_qemux86-64 ?= "standard/base"
> -KBRANCH_qemumips64 ?= "standard/mti-malta64"
> -
> -SRCREV_machine_qemuarm ?= "60287c1951ca7063bc19597eb5cabf834e660cfb"
> -SRCREV_machine_qemuarm64 ?=
> "ad8b1d659ddd2699ebf7d50ef9de8940b157bfc2"
> -SRCREV_machine_qemumips ?=
> "143d659ae6d53623001e22c13a0286bd6d1723ca"
> -SRCREV_machine_qemuppc ?= "ad8b1d659ddd2699ebf7d50ef9de8940b157bfc2"
> -SRCREV_machine_qemux86 ?= "ad8b1d659ddd2699ebf7d50ef9de8940b157bfc2"
> -SRCREV_machine_qemux86-64 ?=
> "ad8b1d659ddd2699ebf7d50ef9de8940b157bfc2"
> -SRCREV_machine_qemumips64 ?=
> "c74cc42106745bab08de6263b9320ac029f2cca9"
> -SRCREV_machine ?= "ad8b1d659ddd2699ebf7d50ef9de8940b157bfc2"
> -SRCREV_meta ?= "f4a781388fae67caec79a5a571c8aadef0185044"
> -
> -SRC_URI = "git://git.yoctoproject.org/linux-yocto-
> 4.4.git;name=machine;branch=${KBRANCH}; \
> -           git://git.yoctoproject.org/yocto-kernel-
> cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}"
> -
> -LINUX_VERSION ?= "4.4.41"
> -
> -PV = "${LINUX_VERSION}+git${SRCPV}"
> -
> -KMETA = "kernel-meta"
> -KCONF_BSP_AUDIT_LEVEL = "2"
> -
> -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
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/4] linux-yocto: kernel version updates
  2017-02-27  3:10 [PATCH 0/4] linux-yocto: kernel version updates Bruce Ashfield
                   ` (3 preceding siblings ...)
  2017-02-27  3:10 ` [PATCH 4/4] linux-yocto: drop 4.4 recipes Bruce Ashfield
@ 2017-03-03 14:41 ` Burton, Ross
  2017-03-03 16:07   ` Burton, Ross
  4 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2017-03-03 14:41 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: Saul Wold, OE-core

[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

Hi Bruce,

On 27 February 2017 at 03:10, Bruce Ashfield <bruce.ashfield@windriver.com>
wrote:
> Here is the latest updates to the linux-yocto kernel versions, and
represents
> the versions that we'd like to be included in the upcoming release.

This appears to be causing cryptodev-module to fail:
http://errors.yoctoproject.org/Errors/Details/134637/

TOPDIR/tmp/work/qemux86_64-poky-linux/cryptodev-module/1.8-r0/cryptodev-linux-1.8/zc.c:63:8:
error: too few arguments to function 'get_user_pages_remote'
  ret = get_user_pages_remote(
        ^~~~~~~~~~~~~~~~~~~~~

Ross

[-- Attachment #2: Type: text/html, Size: 797 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/4] linux-yocto: kernel version updates
  2017-03-03 14:41 ` [PATCH 0/4] linux-yocto: kernel version updates Burton, Ross
@ 2017-03-03 16:07   ` Burton, Ross
  0 siblings, 0 replies; 8+ messages in thread
From: Burton, Ross @ 2017-03-03 16:07 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: Saul Wold, OE-core

[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

On 3 March 2017 at 14:41, Burton, Ross <ross.burton@intel.com> wrote:

> This appears to be causing cryptodev-module to fail:
> http://errors.yoctoproject.org/Errors/Details/134637/
>
> TOPDIR/tmp/work/qemux86_64-poky-linux/cryptodev-module/1.
> 8-r0/cryptodev-linux-1.8/zc.c:63:8: error: too few arguments to function
> 'get_user_pages_remote'
>   ret = get_user_pages_remote(
>         ^~~~~~~~~~~~~~~~~~~~~
>

Never mind, found a fix upstream and sent a patch.

Ross

[-- Attachment #2: Type: text/html, Size: 951 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-03-03 16:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-27  3:10 [PATCH 0/4] linux-yocto: kernel version updates Bruce Ashfield
2017-02-27  3:10 ` [PATCH 1/4] linux-yocto: introduce 4.10 recipes Bruce Ashfield
2017-02-27  3:10 ` [PATCH 2/4] libc-headers: introduce 4.10 and set as default Bruce Ashfield
2017-02-27  3:10 ` [PATCH 3/4] linux-yocto-dev: add virtio fragment for virtio targets Bruce Ashfield
2017-02-27  3:10 ` [PATCH 4/4] linux-yocto: drop 4.4 recipes Bruce Ashfield
2017-02-28 21:25   ` Saul Wold
2017-03-03 14:41 ` [PATCH 0/4] linux-yocto: kernel version updates Burton, Ross
2017-03-03 16:07   ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.