Skip to contentSkip to conversation

linux-yocto: consolidated pull request

PATCH In review Bruce Ashfield 2 participants 11 messages Jul 27, 2016 – Jul 29, 2016

lore
Share & tools
lore
#0 lore raw

cover linux-yocto: consolidated pull request

Hi all,

Here's the latest batch of linux-yocto (4.1 and 4.4) changes. They are -stable updates, a memory leak fix and configuration tweaks (in particular the removal of debug kernel from the printk fragment).

This is a slight overlap with another series that I sent before, since I noticed some mistakes in the 4.1 and 4.4-stable update commits .. so I rephrased them.

Cheers,

Bruce

The following changes since commit 039f47ad197a9a53109c9f3deadd9c35e62c056d:

uclibc: remove meta-yocto-bsp append (2016-07-26 08:56:32 +0100)

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 (5):
linux-yocto/4.4: bump to v4.4.15
linux-yocto/4.1: bump to v4.1.28
linux-yocto/4.1: bug fixes and configuration changes linux-yocto/4.4: lx-dialog and mei bug fixes linux-yocto/4.4: mousedev and printk configuation streamlining

 meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb   |  6 +++---
 meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb   |  4 ++--
 meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb |  6 +++---
 meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb |  6 +++---
 meta/recipes-kernel/linux/linux-yocto_4.1.bb      | 20 ++++++++++----------
 meta/recipes-kernel/linux/linux-yocto_4.4.bb      | 20 ++++++++++----------
 6 files changed, 31 insertions(+), 31 deletions(-)
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/5 linux-yocto/4.4: bump to v4.4.15

Updating the 4.4 kernel to take the korg -stable release.

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb   |  4 ++--
 meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb |  6 +++---
 meta/recipes-kernel/linux/linux-yocto_4.4.bb      | 20 ++++++++++----------
 3 files changed, 15 insertions(+), 15 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb +2 -2
index ba3612ca41cd..64b81496d2d7 100644
@@ -12,12 +12,12 @@ python () {
 }
 
 SRCREV_machine ?= "3bdc347cc2087a0217e3acddccda5bb775cd570b"
-SRCREV_meta ?= "4800a400d5ace1d4332ee18b01ac1c680e454457"
+SRCREV_meta ?= "8c6158ec5e43a4cae59058af49f70e0406d18091"
 
 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.14"
+LINUX_VERSION ?= "4.4.15"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb +3 -3
index 1592ef6cff96..b32721ba5bbe 100644
@@ -4,13 +4,13 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "4.4.14"
+LINUX_VERSION ?= "4.4.15"
 
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "8361321fec015bc3823d01dad25db7f3af31b6d5"
-SRCREV_meta ?= "4800a400d5ace1d4332ee18b01ac1c680e454457"
+SRCREV_machine ?= "1238684aa5173dc6f431ad1b3c85a37830244824"
+SRCREV_meta ?= "8c6158ec5e43a4cae59058af49f70e0406d18091"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_4.4.bb +10 -10
index 23fdc2f8cbe2..f68fdfa0f738 100644
@@ -11,20 +11,20 @@ KBRANCH_qemux86  ?= "standard/base"
 KBRANCH_qemux86-64 ?= "standard/base"
 KBRANCH_qemumips64 ?= "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "d1fcd96376a6ef0e8003914ea5df043ede813f92"
-SRCREV_machine_qemuarm64 ?= "8361321fec015bc3823d01dad25db7f3af31b6d5"
-SRCREV_machine_qemumips ?= "55be46bf1e4c5452a01a3e1f72a6408f38a57fc0"
-SRCREV_machine_qemuppc ?= "8361321fec015bc3823d01dad25db7f3af31b6d5"
-SRCREV_machine_qemux86 ?= "8361321fec015bc3823d01dad25db7f3af31b6d5"
-SRCREV_machine_qemux86-64 ?= "8361321fec015bc3823d01dad25db7f3af31b6d5"
-SRCREV_machine_qemumips64 ?= "f9bf508ee3fdccebe3554b968b43675cafe0a5a1"
-SRCREV_machine ?= "8361321fec015bc3823d01dad25db7f3af31b6d5"
-SRCREV_meta ?= "4800a400d5ace1d4332ee18b01ac1c680e454457"
+SRCREV_machine_qemuarm ?= "75b02cc20216b6a068e1757a997f4e0d405d6ded"
+SRCREV_machine_qemuarm64 ?= "1238684aa5173dc6f431ad1b3c85a37830244824"
+SRCREV_machine_qemumips ?= "e656b69259deb08cfe6d606fb126b4c0810abf64"
+SRCREV_machine_qemuppc ?= "1238684aa5173dc6f431ad1b3c85a37830244824"
+SRCREV_machine_qemux86 ?= "1238684aa5173dc6f431ad1b3c85a37830244824"
+SRCREV_machine_qemux86-64 ?= "1238684aa5173dc6f431ad1b3c85a37830244824"
+SRCREV_machine_qemumips64 ?= "8c40a1bc5e4ece3f72d4ade764087bd0fcc01c38"
+SRCREV_machine ?= "1238684aa5173dc6f431ad1b3c85a37830244824"
+SRCREV_meta ?= "8c6158ec5e43a4cae59058af49f70e0406d18091"
 
 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.14"
+LINUX_VERSION ?= "4.4.15"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
Signature · 1 line
2.5.0
#2 lore raw

PATCH 2/5 linux-yocto/4.1: bump to v4.1.28

In reply to Bruce Ashfield

Updating the 4.1 kernel to the korg -stable release

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb   |  6 +++---
 meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb |  6 +++---
 meta/recipes-kernel/linux/linux-yocto_4.1.bb      | 20 ++++++++++----------
 3 files changed, 16 insertions(+), 16 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb +3 -3
index b9b6773a4e8b..3be43fe238ea 100644
@@ -11,13 +11,13 @@ python () {
         raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "04614e9e02701c6a4254d7cc040d72d24bad3d8c"
-SRCREV_meta ?= "cab4fec4b7ab0efae0f44c1ec1836c035a9b78fe"
+SRCREV_machine ?= "cb1593933f5defcebb668a1ca655a24394b9c27e"
+SRCREV_meta ?= "98729aff41208eed09dc232254d7a1305237fdbe"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.1.git;branch=${KBRANCH};name=machine \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.1;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "4.1.27"
+LINUX_VERSION ?= "4.1.28"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb +3 -3
index 9a95c159622b..41a0bb089a61 100644
@@ -4,13 +4,13 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "4.1.27"
+LINUX_VERSION ?= "4.1.28"
 
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "73bd4dd4a46970e4a599d3d02d60e40ab37b4498"
-SRCREV_meta ?= "cab4fec4b7ab0efae0f44c1ec1836c035a9b78fe"
+SRCREV_machine ?= "846e0a90dd228d07272bf5b246aab405ec6941f8"
+SRCREV_meta ?= "98729aff41208eed09dc232254d7a1305237fdbe"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_4.1.bb +10 -10
index 1931943b8e5d..248faf892e9c 100644
@@ -11,20 +11,20 @@ KBRANCH_qemux86  ?= "standard/base"
 KBRANCH_qemux86-64 ?= "standard/base"
 KBRANCH_qemumips64 ?= "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "c29bbcccfcecbf840e60ddf8c16eb5f34d991eb1"
-SRCREV_machine_qemuarm64 ?= "73bd4dd4a46970e4a599d3d02d60e40ab37b4498"
-SRCREV_machine_qemumips ?= "aba568f531b31b2f802d1c08f4821177a0354da7"
-SRCREV_machine_qemuppc ?= "73bd4dd4a46970e4a599d3d02d60e40ab37b4498"
-SRCREV_machine_qemux86 ?= "73bd4dd4a46970e4a599d3d02d60e40ab37b4498"
-SRCREV_machine_qemux86-64 ?= "73bd4dd4a46970e4a599d3d02d60e40ab37b4498"
-SRCREV_machine_qemumips64 ?= "a65235597cef00d9a77def57622ac2dc31bb850e"
-SRCREV_machine ?= "73bd4dd4a46970e4a599d3d02d60e40ab37b4498"
-SRCREV_meta ?= "cab4fec4b7ab0efae0f44c1ec1836c035a9b78fe"
+SRCREV_machine_qemuarm ?= "aa956be29cf5247a0870728b177ae056bc9f62be"
+SRCREV_machine_qemuarm64 ?= "846e0a90dd228d07272bf5b246aab405ec6941f8"
+SRCREV_machine_qemumips ?= "931c8308f3327ea0a882349321989be6db3b22a9"
+SRCREV_machine_qemuppc ?= "846e0a90dd228d07272bf5b246aab405ec6941f8"
+SRCREV_machine_qemux86 ?= "846e0a90dd228d07272bf5b246aab405ec6941f8"
+SRCREV_machine_qemux86-64 ?= "846e0a90dd228d07272bf5b246aab405ec6941f8"
+SRCREV_machine_qemumips64 ?= "33eebd8a461ae8c619ece37a1de02e48893e0b12"
+SRCREV_machine ?= "846e0a90dd228d07272bf5b246aab405ec6941f8"
+SRCREV_meta ?= "98729aff41208eed09dc232254d7a1305237fdbe"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.1.git;name=machine;branch=${KBRANCH}; \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.1;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "4.1.27"
+LINUX_VERSION ?= "4.1.28"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
Signature · 1 line
2.5.0
#3 lore raw

Re: [PATCH 2/5] linux-yocto/4.1: bump to v4.1.28

Quoted 9 lines · Bruce Ashfield

Updating the 4.1 kernel to the korg -stable release

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb   |  6 +++---
 meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb |  6 +++---
 meta/recipes-kernel/linux/linux-yocto_4.1.bb      | 20 ++++++++++---
-------
 3 files changed, 16 insertions(+), 16 deletions(-)

https://autobuilder.yoctoproject.org/main/builders/nightly-mips-lsb/bui
lds/851/steps/BuildImages/logs/stdio

http://errors.yoctoproject.org/Errors/Details/73456/

| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/setup.c: In function 'arch_mem_init':
| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/setup.c:690:2: error: implicit declaration of function 'reserve_bootmem_region' [-Werror=implicit-function-declaration]
|   reserve_bootmem_region(__pa_symbol(&__nosave_begin),
|   ^~~~~~~~~~~~~~~~~~~~~~
|   CC      mm/swap.o
| cc1: all warnings being treated as errors
| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/tmp/work-shared/qemumips/kernel-source/scripts/Makefile.build:258: recipe for target 'arch/mips/kernel/setup.o' failed
| make[4]: *** [arch/mips/kernel/setup.o] Error 1
| make[4]: *** Waiting for unfinished jobs....

also

https://autobuilder.yoctoproject.org/main/builders/nightly-ppc-lsb/buil
ds/857/steps/BuildImages/logs/stdio

http://errors.yoctoproject.org/Errors/Details/73450/

TOPDIR/tmp/work-shared/qemuppc/kernel-source/arch/powerpc/kernel/prom.c:170:25: error: 'PPC_FEATURE2_HTM_NOSC_COMP' undeclared here (not in a function)
PPC_FEATURE2_HTM_COMP|PPC_FEATURE2_HTM_NOSC_COMP, 22, 0, 0},

                         ^~~~~~~~~~~~~~~~~~~~~~~~~~

make[3]: *** [arch/powerpc/kernel/prom.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [arch/powerpc/kernel] Error 2 make[1]: *** [sub-make] Error 2
make: *** [__sub-make] Error 2

Cheers,

Richard

#4 lore raw

Re: [PATCH 2/5] linux-yocto/4.1: bump to v4.1.28

Quoted 33 lines · Richard Purdie
Quoted 9 lines · Bruce Ashfield

Updating the 4.1 kernel to the korg -stable release

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb   |  6 +++---
 meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb |  6 +++---
 meta/recipes-kernel/linux/linux-yocto_4.1.bb      | 20 ++++++++++---
-------
 3 files changed, 16 insertions(+), 16 deletions(-)

https://autobuilder.yoctoproject.org/main/builders/nightly-mips-lsb/bui
lds/851/steps/BuildImages/logs/stdio

http://errors.yoctoproject.org/Errors/Details/73456/

| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/setup.c: In function 'arch_mem_init':
| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/setup.c:690:2: error: implicit declaration of function 'reserve_bootmem_region' [-Werror=implicit-function-declaration]
|   reserve_bootmem_region(__pa_symbol(&__nosave_begin),
|   ^~~~~~~~~~~~~~~~~~~~~~
|   CC      mm/swap.o
| cc1: all warnings being treated as errors
| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/tmp/work-shared/qemumips/kernel-source/scripts/Makefile.build:258: recipe for target 'arch/mips/kernel/setup.o' failed
| make[4]: *** [arch/mips/kernel/setup.o] Error 1
| make[4]: *** Waiting for unfinished jobs....

also

https://autobuilder.yoctoproject.org/main/builders/nightly-ppc-lsb/buil
ds/857/steps/BuildImages/logs/stdio

http://errors.yoctoproject.org/Errors/Details/73450/

Quoted 8 lines

TOPDIR/tmp/work-shared/qemuppc/kernel-source/arch/powerpc/kernel/prom.c:170:25: error: 'PPC_FEATURE2_HTM_NOSC_COMP' undeclared here (not in a function)
PPC_FEATURE2_HTM_COMP|PPC_FEATURE2_HTM_NOSC_COMP, 22, 0, 0},

                         ^~~~~~~~~~~~~~~~~~~~~~~~~~

make[3]: *** [arch/powerpc/kernel/prom.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [arch/powerpc/kernel] Error 2 make[1]: *** [sub-make] Error 2
make: *** [__sub-make] Error 2

odd. My core-image-builds claim to have worked. I'll pick this up and re-submit my queue with some new 4.1 patches that fix any issues.

Bruce

Quoted 6 lines

Cheers,

Richard

#5 lore raw

Re: [PATCH 2/5] linux-yocto/4.1: bump to v4.1.28

Quoted 57 lines · Bruce Ashfield
Quoted 49 lines · Richard Purdie
Quoted 10 lines · Bruce Ashfield

Updating the 4.1 kernel to the korg -stable release

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb   |  6 +++---
 meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb |  6 +++---
 meta/recipes-kernel/linux/linux-yocto_4.1.bb      | 20
++++++++++---
-------
 3 files changed, 16 insertions(+), 16 deletions(-)

https://autobuilder.yoctoproject.org/main/builders/nightly-mips-lsb
/bui
lds/851/steps/BuildImages/logs/stdio

http://errors.yoctoproject.org/Errors/Details/73456/

Quoted 15 lines

/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips

(quoted diff) +0 -2
-lsb/build/build/tmp/work-shared/qemumips/kernel
-source/arch/mips/kernel/setup.c: In function 'arch_mem_init':

/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips

(quoted diff) +0 -2
-lsb/build/build/tmp/work-shared/qemumips/kernel
-source/arch/mips/kernel/setup.c:690:2: error: implicit

declaration of function 'reserve_bootmem_region' [ -Werror=implicit-function-declaration]
reserve_bootmem_region(__pa_symbol(&__nosave_begin), ^~~~~~~~~~~~~~~~~~~~~~
CC mm/swap.o
cc1: all warnings being treated as errors /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips

(quoted diff) +0 -2
-lsb/build/build/tmp/work-shared/qemumips/kernel
-source/scripts/Makefile.build:258: recipe for target
Quoted 3 lines

'arch/mips/kernel/setup.o' failed
make[4]: *** [arch/mips/kernel/setup.o] Error 1
make[4]: *** Waiting for unfinished jobs....

also

https://autobuilder.yoctoproject.org/main/builders/nightly-ppc-lsb/
buil
ds/857/steps/BuildImages/logs/stdio

http://errors.yoctoproject.org/Errors/Details/73450/

TOPDIR/tmp/work-shared/qemuppc/kernel -source/arch/powerpc/kernel/prom.c:170:25: error:
'PPC_FEATURE2_HTM_NOSC_COMP' undeclared here (not in a function)
PPC_FEATURE2_HTM_COMP|PPC_FEATURE2_HTM_NOSC_COMP, 22, 0, 0},

Quoted 6 lines
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~

make[3]: *** [arch/powerpc/kernel/prom.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [arch/powerpc/kernel] Error 2 make[1]: *** [sub-make] Error 2
make: *** [__sub-make] Error 2

Quoted 2 lines

odd. My core-image-builds claim to have worked. I'll pick this up and re-submit my queue with some new 4.1 patches that fix any issues.

I've dropped the 4.1 patches from the test queue, I left the 4.4 ones in since those seem ok and hopefully pull back a bit of performance so you may not need to resubmit those.

Cheers,

Richard

#6 lore raw

Re: [PATCH 2/5] linux-yocto/4.1: bump to v4.1.28

Quoted 58 lines · Richard Purdie
Quoted 57 lines · Bruce Ashfield
Quoted 55 lines · Richard Purdie
Quoted 10 lines · Bruce Ashfield

Updating the 4.1 kernel to the korg -stable release

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb   |  6 +++---
 meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb |  6 +++---
 meta/recipes-kernel/linux/linux-yocto_4.1.bb      | 20
++++++++++---
-------
 3 files changed, 16 insertions(+), 16 deletions(-)

https://autobuilder.yoctoproject.org/main/builders/nightly-mips-lsb
/bui
lds/851/steps/BuildImages/logs/stdio

http://errors.yoctoproject.org/Errors/Details/73456/

Quoted 15 lines

/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips

(quoted diff) +0 -2
-lsb/build/build/tmp/work-shared/qemumips/kernel
-source/arch/mips/kernel/setup.c: In function 'arch_mem_init':

/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips

(quoted diff) +0 -2
-lsb/build/build/tmp/work-shared/qemumips/kernel
-source/arch/mips/kernel/setup.c:690:2: error: implicit

declaration of function 'reserve_bootmem_region' [ -Werror=implicit-function-declaration]
reserve_bootmem_region(__pa_symbol(&__nosave_begin), ^~~~~~~~~~~~~~~~~~~~~~
CC mm/swap.o
cc1: all warnings being treated as errors /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips

(quoted diff) +0 -2
-lsb/build/build/tmp/work-shared/qemumips/kernel
-source/scripts/Makefile.build:258: recipe for target
Quoted 3 lines

'arch/mips/kernel/setup.o' failed
make[4]: *** [arch/mips/kernel/setup.o] Error 1
make[4]: *** Waiting for unfinished jobs....

also

https://autobuilder.yoctoproject.org/main/builders/nightly-ppc-lsb/
buil
ds/857/steps/BuildImages/logs/stdio

http://errors.yoctoproject.org/Errors/Details/73450/

TOPDIR/tmp/work-shared/qemuppc/kernel -source/arch/powerpc/kernel/prom.c:170:25: error:
'PPC_FEATURE2_HTM_NOSC_COMP' undeclared here (not in a function)
PPC_FEATURE2_HTM_COMP|PPC_FEATURE2_HTM_NOSC_COMP, 22, 0, 0},

                         ^~~~~~~~~~~~~~~~~~~~~~~~~~

make[3]: *** [arch/powerpc/kernel/prom.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [arch/powerpc/kernel] Error 2 make[1]: *** [sub-make] Error 2
make: *** [__sub-make] Error 2

Quoted 6 lines
Quoted 2 lines

odd. My core-image-builds claim to have worked. I'll pick this up and re-submit my queue with some new 4.1 patches that fix any issues.

I've dropped the 4.1 patches from the test queue, I left the 4.4 ones in since those seem ok and hopefully pull back a bit of performance so you may not need to resubmit those.

Ack'd.

I have builds with 4.1 forced running now. I'll check master and the queue before I resubmit. It will just be an incremental patch on the end to integrate whatever fixes i need.

Cheers,

Bruce

Quoted 5 lines

Cheers,

Richard

#7 lore raw

Re: [PATCH 2/5] linux-yocto/4.1: bump to v4.1.28

In reply to Richard Purdie
Quoted 58 lines · Richard Purdie
Quoted 57 lines · Bruce Ashfield
Quoted 55 lines · Richard Purdie
Quoted 10 lines · Bruce Ashfield

Updating the 4.1 kernel to the korg -stable release

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb   |  6 +++---
 meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb |  6 +++---
 meta/recipes-kernel/linux/linux-yocto_4.1.bb      | 20
++++++++++---
-------
 3 files changed, 16 insertions(+), 16 deletions(-)

https://autobuilder.yoctoproject.org/main/builders/nightly-mips-lsb
/bui
lds/851/steps/BuildImages/logs/stdio

http://errors.yoctoproject.org/Errors/Details/73456/

Quoted 15 lines

/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips

(quoted diff) +0 -2
-lsb/build/build/tmp/work-shared/qemumips/kernel
-source/arch/mips/kernel/setup.c: In function 'arch_mem_init':

/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips

(quoted diff) +0 -2
-lsb/build/build/tmp/work-shared/qemumips/kernel
-source/arch/mips/kernel/setup.c:690:2: error: implicit

declaration of function 'reserve_bootmem_region' [ -Werror=implicit-function-declaration]
reserve_bootmem_region(__pa_symbol(&__nosave_begin), ^~~~~~~~~~~~~~~~~~~~~~
CC mm/swap.o
cc1: all warnings being treated as errors /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips

(quoted diff) +0 -2
-lsb/build/build/tmp/work-shared/qemumips/kernel
-source/scripts/Makefile.build:258: recipe for target
Quoted 3 lines

'arch/mips/kernel/setup.o' failed
make[4]: *** [arch/mips/kernel/setup.o] Error 1
make[4]: *** Waiting for unfinished jobs....

also

https://autobuilder.yoctoproject.org/main/builders/nightly-ppc-lsb/
buil
ds/857/steps/BuildImages/logs/stdio

http://errors.yoctoproject.org/Errors/Details/73450/

TOPDIR/tmp/work-shared/qemuppc/kernel -source/arch/powerpc/kernel/prom.c:170:25: error:
'PPC_FEATURE2_HTM_NOSC_COMP' undeclared here (not in a function)
PPC_FEATURE2_HTM_COMP|PPC_FEATURE2_HTM_NOSC_COMP, 22, 0, 0},

                         ^~~~~~~~~~~~~~~~~~~~~~~~~~

make[3]: *** [arch/powerpc/kernel/prom.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [arch/powerpc/kernel] Error 2 make[1]: *** [sub-make] Error 2
make: *** [__sub-make] Error 2

Quoted 6 lines
Quoted 2 lines

odd. My core-image-builds claim to have worked. I'll pick this up and re-submit my queue with some new 4.1 patches that fix any issues.

I've dropped the 4.1 patches from the test queue, I left the 4.4 ones in since those seem ok and hopefully pull back a bit of performance so you may not need to resubmit those.

Looks like -stable broke both ppc and mips builds for some platforms. There was a patch missing for ppc and a partial backport on mips.

I added the extra patch and reverted the offending mips commit.

I pushed the attached patch to the end of my zedd/kernel queue on poky-contrib.

Bruce

Quoted 5 lines

Cheers,

Richard

From 3b79123058233910956b990bcc3dd06bb6365a3e Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <[email protected]>
Date: Fri, 29 Jul 2016 10:06:59 -0400
Subject: [PATCH] linux-yocto/4.1: qemuppc and qemumips build fixes

The v4.1.28 -stable update broke the build for some ppc and mips platforms. We fix the errors by backporting a missing commit for ppc:

powerpc/tm: Abort syscalls in active transactions

And by reverting a commit for mips (rather than backporting more changes to -mm):

Revert "MIPS: Reserve nosave data for hibernation"

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb   | 2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb | 2 +-
 meta/recipes-kernel/linux/linux-yocto_4.1.bb      | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb +1 -1
index 49157902ab59..417106217280 100644
@@ -12,7 +12,7 @@ python () {
 }
 
 SRCREV_machine ?= "0b68498784da5defb7658675e37d9bc615cd4c50"
-SRCREV_meta ?= "afbc6bd00e6fa854ae10eb67ab8c3be5112f6f41"
+SRCREV_meta ?= "0d6de63d4603b9cc3a4a68391bcb5156b9b0cf96"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.1.git;branch=${KBRANCH};name=machine \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.1;destsuffix=${KMETA}"
meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb +1 -1
index 9187f8542975..08b931ca9ff7 100644
@@ -10,7 +10,7 @@ KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
 SRCREV_machine ?= "44af900716206d4cae283aa74e92f4118720724a"
-SRCREV_meta ?= "afbc6bd00e6fa854ae10eb67ab8c3be5112f6f41"
+SRCREV_meta ?= "0d6de63d4603b9cc3a4a68391bcb5156b9b0cf96"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_4.1.bb +4 -4
index fb10f40811a3..ef3d000a2f6d 100644
@@ -13,13 +13,13 @@ KBRANCH_qemumips64 ?= "standard/mti-malta64"
 
 SRCREV_machine_qemuarm ?= "460340f28dd4ed608fd66692bcbac0bb24fe4aaf"
 SRCREV_machine_qemuarm64 ?= "44af900716206d4cae283aa74e92f4118720724a"
-SRCREV_machine_qemumips ?= "9b9337aa156bd3bcf3e813455e4bbdc2895c4da1"
-SRCREV_machine_qemuppc ?= "44af900716206d4cae283aa74e92f4118720724a"
+SRCREV_machine_qemumips ?= "0ff21b2a5e92defa32b7cb76d39980b63a2eb5ca"
+SRCREV_machine_qemuppc ?= "6bd2872ce7e397d285f7df00f4d0efac286e2401"
 SRCREV_machine_qemux86 ?= "44af900716206d4cae283aa74e92f4118720724a"
 SRCREV_machine_qemux86-64 ?= "44af900716206d4cae283aa74e92f4118720724a"
-SRCREV_machine_qemumips64 ?= "cb03bb92ed4d45c55e7a8ecfcca714f9897da96b"
+SRCREV_machine_qemumips64 ?= "248861985b609d1cd24e8d23b7d15abfb31cbdc2"
 SRCREV_machine ?= "44af900716206d4cae283aa74e92f4118720724a"
-SRCREV_meta ?= "afbc6bd00e6fa854ae10eb67ab8c3be5112f6f41"
+SRCREV_meta ?= "0d6de63d4603b9cc3a4a68391bcb5156b9b0cf96"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.1.git;name=machine;branch=${KBRANCH}; \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.1;destsuffix=${KMETA}"
Signature · 1 line
2.5.0
#8 lore raw

PATCH 3/5 linux-yocto/4.1: bug fixes and configuration changes

In reply to Bruce Ashfield

Integrating the following two commits:

44af90071620 4.1.28 Fix bad backport of 8f182270dfec "mm/swap.c: flush lru pvecs on compound page arrival" 99c37e1500a6 i2c: ismt: Add Intel DNV PCI ID

And the following two meta-data changes:

afbc6bd00e6f bsp/axxiaarm64: Enable Axxia NCR and PEI drivers 6a2047c00450 common-pc: enforce 32 bit

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb   |  4 ++--
 meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb |  4 ++--
 meta/recipes-kernel/linux/linux-yocto_4.1.bb      | 18 +++++++++---------
 3 files changed, 13 insertions(+), 13 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb +2 -2
index 3be43fe238ea..49157902ab59 100644
@@ -11,8 +11,8 @@ python () {
         raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "cb1593933f5defcebb668a1ca655a24394b9c27e"
-SRCREV_meta ?= "98729aff41208eed09dc232254d7a1305237fdbe"
+SRCREV_machine ?= "0b68498784da5defb7658675e37d9bc615cd4c50"
+SRCREV_meta ?= "afbc6bd00e6fa854ae10eb67ab8c3be5112f6f41"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.1.git;branch=${KBRANCH};name=machine \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.1;destsuffix=${KMETA}"
meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb +2 -2
index 41a0bb089a61..9187f8542975 100644
@@ -9,8 +9,8 @@ LINUX_VERSION ?= "4.1.28"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "846e0a90dd228d07272bf5b246aab405ec6941f8"
-SRCREV_meta ?= "98729aff41208eed09dc232254d7a1305237fdbe"
+SRCREV_machine ?= "44af900716206d4cae283aa74e92f4118720724a"
+SRCREV_meta ?= "afbc6bd00e6fa854ae10eb67ab8c3be5112f6f41"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_4.1.bb +9 -9
index 248faf892e9c..fb10f40811a3 100644
@@ -11,15 +11,15 @@ KBRANCH_qemux86  ?= "standard/base"
 KBRANCH_qemux86-64 ?= "standard/base"
 KBRANCH_qemumips64 ?= "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "aa956be29cf5247a0870728b177ae056bc9f62be"
-SRCREV_machine_qemuarm64 ?= "846e0a90dd228d07272bf5b246aab405ec6941f8"
-SRCREV_machine_qemumips ?= "931c8308f3327ea0a882349321989be6db3b22a9"
-SRCREV_machine_qemuppc ?= "846e0a90dd228d07272bf5b246aab405ec6941f8"
-SRCREV_machine_qemux86 ?= "846e0a90dd228d07272bf5b246aab405ec6941f8"
-SRCREV_machine_qemux86-64 ?= "846e0a90dd228d07272bf5b246aab405ec6941f8"
-SRCREV_machine_qemumips64 ?= "33eebd8a461ae8c619ece37a1de02e48893e0b12"
-SRCREV_machine ?= "846e0a90dd228d07272bf5b246aab405ec6941f8"
-SRCREV_meta ?= "98729aff41208eed09dc232254d7a1305237fdbe"
+SRCREV_machine_qemuarm ?= "460340f28dd4ed608fd66692bcbac0bb24fe4aaf"
+SRCREV_machine_qemuarm64 ?= "44af900716206d4cae283aa74e92f4118720724a"
+SRCREV_machine_qemumips ?= "9b9337aa156bd3bcf3e813455e4bbdc2895c4da1"
+SRCREV_machine_qemuppc ?= "44af900716206d4cae283aa74e92f4118720724a"
+SRCREV_machine_qemux86 ?= "44af900716206d4cae283aa74e92f4118720724a"
+SRCREV_machine_qemux86-64 ?= "44af900716206d4cae283aa74e92f4118720724a"
+SRCREV_machine_qemumips64 ?= "cb03bb92ed4d45c55e7a8ecfcca714f9897da96b"
+SRCREV_machine ?= "44af900716206d4cae283aa74e92f4118720724a"
+SRCREV_meta ?= "afbc6bd00e6fa854ae10eb67ab8c3be5112f6f41"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.1.git;name=machine;branch=${KBRANCH}; \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.1;destsuffix=${KMETA}"
Signature · 1 line
2.5.0
#9 lore raw

PATCH 4/5 linux-yocto/4.4: lx-dialog and mei bug fixes

In reply to Bruce Ashfield

Integrating the following changes, that resolve issues with previous functionality merges:

ddab24299940 mei: drop wr_msg from the mei_dev structure 26e282c0686e lx-dialog: fix merge issues

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb   |  2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb |  4 ++--
 meta/recipes-kernel/linux/linux-yocto_4.4.bb      | 18 +++++++++---------
 3 files changed, 12 insertions(+), 12 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb +1 -1
index 64b81496d2d7..ec573083c111 100644
@@ -12,7 +12,7 @@ python () {
 }
 
 SRCREV_machine ?= "3bdc347cc2087a0217e3acddccda5bb775cd570b"
-SRCREV_meta ?= "8c6158ec5e43a4cae59058af49f70e0406d18091"
+SRCREV_meta ?= "4789b41c5605189902d2c1a674f8616d41ee218d"
 
 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}"
meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb +2 -2
index b32721ba5bbe..635d91ca3ad7 100644
@@ -9,8 +9,8 @@ LINUX_VERSION ?= "4.4.15"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "1238684aa5173dc6f431ad1b3c85a37830244824"
-SRCREV_meta ?= "8c6158ec5e43a4cae59058af49f70e0406d18091"
+SRCREV_machine ?= "ddab242999407fadae68e7ee5381b0ec6679d443"
+SRCREV_meta ?= "4789b41c5605189902d2c1a674f8616d41ee218d"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_4.4.bb +9 -9
index f68fdfa0f738..036a5b1550e3 100644
@@ -11,15 +11,15 @@ KBRANCH_qemux86  ?= "standard/base"
 KBRANCH_qemux86-64 ?= "standard/base"
 KBRANCH_qemumips64 ?= "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "75b02cc20216b6a068e1757a997f4e0d405d6ded"
-SRCREV_machine_qemuarm64 ?= "1238684aa5173dc6f431ad1b3c85a37830244824"
-SRCREV_machine_qemumips ?= "e656b69259deb08cfe6d606fb126b4c0810abf64"
-SRCREV_machine_qemuppc ?= "1238684aa5173dc6f431ad1b3c85a37830244824"
-SRCREV_machine_qemux86 ?= "1238684aa5173dc6f431ad1b3c85a37830244824"
-SRCREV_machine_qemux86-64 ?= "1238684aa5173dc6f431ad1b3c85a37830244824"
-SRCREV_machine_qemumips64 ?= "8c40a1bc5e4ece3f72d4ade764087bd0fcc01c38"
-SRCREV_machine ?= "1238684aa5173dc6f431ad1b3c85a37830244824"
-SRCREV_meta ?= "8c6158ec5e43a4cae59058af49f70e0406d18091"
+SRCREV_machine_qemuarm ?= "c2507bd62854f90030433307a3d783474332f821"
+SRCREV_machine_qemuarm64 ?= "ddab242999407fadae68e7ee5381b0ec6679d443"
+SRCREV_machine_qemumips ?= "8d0a4875a93017329b32b42ce7d67b02f63a173b"
+SRCREV_machine_qemuppc ?= "ddab242999407fadae68e7ee5381b0ec6679d443"
+SRCREV_machine_qemux86 ?= "ddab242999407fadae68e7ee5381b0ec6679d443"
+SRCREV_machine_qemux86-64 ?= "ddab242999407fadae68e7ee5381b0ec6679d443"
+SRCREV_machine_qemumips64 ?= "df3ba701aa1fa3b2faadc5445003e7577aa4f016"
+SRCREV_machine ?= "ddab242999407fadae68e7ee5381b0ec6679d443"
+SRCREV_meta ?= "4789b41c5605189902d2c1a674f8616d41ee218d"
 
 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}"
Signature · 1 line
2.5.0
#10 lore raw

PATCH 5/5 linux-yocto/4.4: mousedev and printk configuation streamlining

In reply to Bruce Ashfield

Integrating two changes to the 4.4 kernel:

mousedev: fix warning err caused by __cpu_to_le16p()

mousedev: fix warning err caused by __cpu_to_le16p()

following warning msg is found when compiling the kernel for qemumips:
.../drivers/input/mousedev.c:749:15: warning: passing argument 1 of '__cpu_to_le16p' from incompatible pointer type [-Wincompatible-pointer-types]

convert the function's parameter to (__u16 *) to fix this warning.

printk.scc: don't include kernel-debug.scc

There is no need to include kernel-debug.scc into printk.scc as options from printk.cfg don't depend on CONFIG_DEBUG* options from kernel-debug.cfg

Moreover, enabling CONFIG_DEBUG* options makes kernel much bigger, increases build time and consumed a lot of additional disk space.

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb   | 2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb | 2 +-
 meta/recipes-kernel/linux/linux-yocto_4.4.bb      | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb +1 -1
index ec573083c111..447f431ac90c 100644
@@ -12,7 +12,7 @@ python () {
 }
 
 SRCREV_machine ?= "3bdc347cc2087a0217e3acddccda5bb775cd570b"
-SRCREV_meta ?= "4789b41c5605189902d2c1a674f8616d41ee218d"
+SRCREV_meta ?= "d3cc76c3cb20247b16c16b2367decf08b5fb90fa"
 
 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}"
meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb +1 -1
index 635d91ca3ad7..557f17c9b4b6 100644
@@ -10,7 +10,7 @@ KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
 SRCREV_machine ?= "ddab242999407fadae68e7ee5381b0ec6679d443"
-SRCREV_meta ?= "4789b41c5605189902d2c1a674f8616d41ee218d"
+SRCREV_meta ?= "d3cc76c3cb20247b16c16b2367decf08b5fb90fa"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_4.4.bb +3 -3
index 036a5b1550e3..55ef6fdc22af 100644
@@ -13,13 +13,13 @@ KBRANCH_qemumips64 ?= "standard/mti-malta64"
 
 SRCREV_machine_qemuarm ?= "c2507bd62854f90030433307a3d783474332f821"
 SRCREV_machine_qemuarm64 ?= "ddab242999407fadae68e7ee5381b0ec6679d443"
-SRCREV_machine_qemumips ?= "8d0a4875a93017329b32b42ce7d67b02f63a173b"
+SRCREV_machine_qemumips ?= "e42198f28a2c3e57ef64a0f5ccfdeed906d1c257"
 SRCREV_machine_qemuppc ?= "ddab242999407fadae68e7ee5381b0ec6679d443"
 SRCREV_machine_qemux86 ?= "ddab242999407fadae68e7ee5381b0ec6679d443"
 SRCREV_machine_qemux86-64 ?= "ddab242999407fadae68e7ee5381b0ec6679d443"
-SRCREV_machine_qemumips64 ?= "df3ba701aa1fa3b2faadc5445003e7577aa4f016"
+SRCREV_machine_qemumips64 ?= "2d0080f2350e088bdc6129c376eb9e2654a0448a"
 SRCREV_machine ?= "ddab242999407fadae68e7ee5381b0ec6679d443"
-SRCREV_meta ?= "4789b41c5605189902d2c1a674f8616d41ee218d"
+SRCREV_meta ?= "d3cc76c3cb20247b16c16b2367decf08b5fb90fa"
 
 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}"
Signature · 1 line
2.5.0