Skip to contentSkip to conversation

linux-yocto: consolidated pull request

PATCH Applied Bruce Ashfield 2 participants 6 messages Dec 22, 2011 – Jan 3, 2012

lore
Share & tools
lore
#0 lore raw

cover linux-yocto: consolidated pull request

Richard/Saul,

Here's a consolidated pull request that adds the cedartrail, and updates some remaining reference platforms to 3.0.x, including updated -rt support.

There are also a couple of minor bug fixes that I found when working on M2 functionality.

Built and boot tested everywhere that I could.

The bulk of my changes are pending on the patch refactoring changes that have been proposed, and will follow once something merges for that, and I can re-test.

Cheers,

Bruce

cc Darren Hart <[email protected]>

The following changes since commit dee0fc1462ba18551571c3b2d0f2b443a2feca18:

multilib.conf: Enable shadow-sysroot and libffi (2011-12-21 17:24:44 +0000)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib zedd/kernel-oe
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel-oe

Bruce Ashfield (4):
linux-yocto: add cedartrail BSP support
linux-yocto: update hardware reference boards to 3.0.12
kern-tools: update SRCREV to pickup git operation fixes
linux-yocto: use PATH to locate kconf_check

 meta/classes/kernel-yocto.bbclass                  |    4 ++--
 .../kern-tools/kern-tools-native_git.bb            |    2 +-
 meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb    |    2 +-
 meta/recipes-kernel/linux/linux-yocto_3.0.bb       |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/4 linux-yocto: add cedartrail BSP support

Updating the meta branch to contain the board config and description for the cedartrail.

---
 meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb |    2 +-
 meta/recipes-kernel/linux/linux-yocto_3.0.bb    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb +1 -1
index 6c9917f..b854ab5 100644
@@ -16,7 +16,7 @@ LINUX_KERNEL_TYPE = "preempt-rt"
 
 SRCREV_machine ?= "6e96ccbbf19a4a7b67d98fdcd74d2c9da2c7c463"
 SRCREV_machine_qemuppc ?= "8ea61de7fd201ff0001a039f2fda8ec2e4a562a1"
-SRCREV_meta ?= "caa74f86f42f6ecc22c3e9f380176b2695579e18"
+SRCREV_meta ?= "44ce39d43d1c7f98ab7aaa01c1bdf87498fb2253"
 
 PR = "r1"
 PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_3.0.bb +1 -1
index bfecbf1..cc1fe83 100644
@@ -18,7 +18,7 @@ SRCREV_machine_qemuppc ?= "7ecece328c5987112de2959f8f998dfcedaf7210"
 SRCREV_machine_qemux86 ?= "a611ba462ac51b2bfdac1c5c6538dac95ad9b4dd"
 SRCREV_machine_qemux86-64 ?= "b15a9b67089e31ef9780fdbd0481f48ef7facdba"
 SRCREV_machine ?= "f389d310965a56091f688b28ea8be6d9cbb7fbbe"
-SRCREV_meta ?= "caa74f86f42f6ecc22c3e9f380176b2695579e18"
+SRCREV_meta ?= "44ce39d43d1c7f98ab7aaa01c1bdf87498fb2253"
 
 PR = "r2"
 PV = "${LINUX_VERSION}+git${SRCPV}"
Signature · 1 line
1.7.4.1
#2 lore raw

PATCH 2/4 linux-yocto: update hardware reference boards to 3.0.12

In reply to Bruce Ashfield

Updating the meta SRCREV to pickup 3.0.12 support for the remaining non-x86 boards (routerstation and pandaboard).

---
 meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb |    2 +-
 meta/recipes-kernel/linux/linux-yocto_3.0.bb    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb +1 -1
index b854ab5..81d22d0 100644
@@ -16,7 +16,7 @@ LINUX_KERNEL_TYPE = "preempt-rt"
 
 SRCREV_machine ?= "6e96ccbbf19a4a7b67d98fdcd74d2c9da2c7c463"
 SRCREV_machine_qemuppc ?= "8ea61de7fd201ff0001a039f2fda8ec2e4a562a1"
-SRCREV_meta ?= "44ce39d43d1c7f98ab7aaa01c1bdf87498fb2253"
+SRCREV_meta ?= "c979f1365b1eb74e882b2cbbc8407ec536ab6eb8"
 
 PR = "r1"
 PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_3.0.bb +1 -1
index cc1fe83..b650c84 100644
@@ -18,7 +18,7 @@ SRCREV_machine_qemuppc ?= "7ecece328c5987112de2959f8f998dfcedaf7210"
 SRCREV_machine_qemux86 ?= "a611ba462ac51b2bfdac1c5c6538dac95ad9b4dd"
 SRCREV_machine_qemux86-64 ?= "b15a9b67089e31ef9780fdbd0481f48ef7facdba"
 SRCREV_machine ?= "f389d310965a56091f688b28ea8be6d9cbb7fbbe"
-SRCREV_meta ?= "44ce39d43d1c7f98ab7aaa01c1bdf87498fb2253"
+SRCREV_meta ?= "c979f1365b1eb74e882b2cbbc8407ec536ab6eb8"
 
 PR = "r2"
 PV = "${LINUX_VERSION}+git${SRCPV}"
Signature · 1 line
1.7.4.1
#3 lore raw

PATCH 3/4 kern-tools: update SRCREV to pickup git operation fixes

In reply to Bruce Ashfield

Updating the kern-tools SRCREV to pickup the following commit:

[
kgit-meta: add error checking and autoconfiguration to git commands

When git commands are embedded into feature descriptions, they can fail for a variety of reasons. The current meta series processing does not trap errors, and will continue to process potentially failing commands. All git commands are now checked for their return code, and in case of error, the error code is passed up via early exit.

A second common git issue is on a new machine that has not been configured with a username/email for commits. This is now detected by checking for a global user.name. If one is not found, a local user name of "Auto Configured" and email of "auto.configured" is created to allow git operations to succeed.
]

Fixes [YOCTO #1838]

---
 .../kern-tools/kern-tools-native_git.bb            |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb +1 -1
index fb66211..6bb9c85 100644
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=e2bf4415f3d8
 
 DEPENDS = "git-native guilt-native"
 
-SRCREV = "eb3ed64cea80d23ffb28dfeaeb02cdfe3fb29340"
+SRCREV = "806f1452eeced0bbd05433456ac0d6786d5362dc"
 PR = r12
 PV = "0.1+git${SRCPV}"
 
Signature · 1 line
1.7.4.1
#4 lore raw

PATCH 4/4 linux-yocto: use PATH to locate kconf_check

In reply to Bruce Ashfield

The changes made to prefer in-tree kernel tools forced the location of kconf_check prematurely. For maximum flexibility, locating it on the PATH is ideal, since the transition to in-tree tools will be completely transparent.

---
 meta/classes/kernel-yocto.bbclass |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/classes/kernel-yocto.bbclass +2 -2
index 79f82e3..f78caaf 100644
@@ -124,8 +124,8 @@ python do_kernel_configcheck() {
 
     bb.plain("NOTE: validating kernel configuration")
 
-    pathprefix = "export PATH=%s; " % d.getVar('PATH', True)
-    cmd = bb.data.expand("cd ${B}/..; ${S}/scripts/util/kconf_check -config- ${B} ${S} ${B} ${KBRANCH}",d )
+    pathprefix = "export PATH=%s:%s; " % (d.getVar('PATH', True), "${S}/scripts/util/")
+    cmd = bb.data.expand("cd ${B}/..; kconf_check -config- ${B} ${S} ${B} ${KBRANCH}",d )
     ret, result = commands.getstatusoutput("%s%s" % (pathprefix, cmd))
 
     bb.plain( "%s" % result )
Signature · 1 line
1.7.4.1
Applied
#5 lore raw
In reply to Bruce Ashfield
Quoted 35 lines · Bruce Ashfield

Richard/Saul,

Here's a consolidated pull request that adds the cedartrail, and updates some remaining reference platforms to 3.0.x, including updated -rt support.

There are also a couple of minor bug fixes that I found when working on M2 functionality.

Built and boot tested everywhere that I could.

The bulk of my changes are pending on the patch refactoring changes that have been proposed, and will follow once something merges for that, and I can re-test.

Cheers,

Bruce

cc Darren Hart<[email protected]>

The following changes since commit dee0fc1462ba18551571c3b2d0f2b443a2feca18:

   multilib.conf: Enable shadow-sysroot and libffi (2011-12-21 17:24:44 +0000)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib zedd/kernel-oe
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel-oe

Bruce Ashfield (4):
linux-yocto: add cedartrail BSP support
linux-yocto: update hardware reference boards to 3.0.12
kern-tools: update SRCREV to pickup git operation fixes
linux-yocto: use PATH to locate kconf_check

Quoted 6 lines
  meta/classes/kernel-yocto.bbclass                  |    4 ++--
  .../kern-tools/kern-tools-native_git.bb            |    2 +-
  meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb    |    2 +-
  meta/recipes-kernel/linux/linux-yocto_3.0.bb       |    2 +-
  4 files changed, 5 insertions(+), 5 deletions(-)

Merged into OE-Core

Thanks
Sau!