Skip to contentSkip to conversation

linux-yocto/linux-yocto-rt: updats and 3.4-rt support

PATCH Superseded Bruce Ashfield 3 participants 5 messages Jun 12, 2012

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover linux-yocto/linux-yocto-rt: updats and 3.4-rt support

Richard/Saul,

When I sent the initial 3.4 kernel and kernel recipes -rt wasn't building, so I didn't include it. I've since refreshed the patch, and done build/boot testing. 3.4.1-rt9 is up and running.

I've also got a yaffs2 update, and rc6 cleanup from nitin for the 3.4 kernel repository in this pull request.

cc Darren Hart <[email protected]>

Cheers,

Bruce

The following changes since commit a9c48f05ea9eb0901715cd628280eff22da766aa:

linux-yocto/3.4: update yaffs2 and drop rc6 (2012-06-12 13:14:36 -0400)

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 (2):
linux-yocto/3.4: create linux-yocto-rt recipe linux-yocto/meta-yocto: update yaffs2 and drop rc6

 .../recipes-kernel/linux/linux-yocto_3.4.bbappend  |    8 ++--
 meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb    |   32 ++++++++++++++++++++
 meta/recipes-kernel/linux/linux-yocto_3.4.bb       |    2 +-
 3 files changed, 37 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/2 linux-yocto/3.4: create linux-yocto-rt recipe

Adding the 3.4 variant of the linux-yocto-rt recipe. This updates to 3.4.1-rt9, and builds and boots on the supported targets.

---
 meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb |   32 +++++++++++++++++++++++
 meta/recipes-kernel/linux/linux-yocto_3.4.bb    |    2 +-
 2 files changed, 33 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb
meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb new file +32 -0
new file mode 100644
index 0000000..d7de4b6
@@ -0,0 +1,32 @@
+inherit kernel
+require recipes-kernel/linux/linux-yocto.inc
+
+KBRANCH = "standard/preempt-rt/base"
+KBRANCH_qemuppc = "standard/preempt-rt/qemu-ppc32"
+
+LINUX_VERSION ?= "3.4.1"
+LINUX_KERNEL_TYPE = "preempt-rt"
+
+KMETA = "meta"
+
+SRCREV_machine_machine ?= "9dc5e97d144abb03deec411acb9c64883602cff9"
+SRCREV_machine_qemuppc ?= "241a41d6104df6916280f1273894bbd7fa7cdd71"
+SRCREV_meta ?= "aa226dcc5a1351fae49da40d77b718c4c3a76e7c"
+
+PR = "r0"
+PV = "${LINUX_VERSION}+git${SRCPV}"
+
+SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
+
+# Omit broken machines from COMPATIBLE_MACHINE
+#   qemuppc hangs at boot
+#   qemumips panics at boot
+COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm)"
+
+# Functionality flags
+KERNEL_FEATURES = "features/netfilter"
+KERNEL_FEATURES_append = " features/taskstats"
+KERNEL_FEATURES_append_qemux86 = " cfg/sound"
+KERNEL_FEATURES_append_qemux86-64 = " cfg/sound"
+
+require recipes-kernel/linux/linux-tools.inc
meta/recipes-kernel/linux/linux-yocto_3.4.bb +1 -1
index 9205901..af6130d 100644
@@ -16,7 +16,7 @@ SRCREV_machine_qemuppc ?= "4988a7e34bccd531b511c57f93358de9fcc672a0"
 SRCREV_machine_qemux86 ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"
 SRCREV_machine_qemux86-64 ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"
 SRCREV_machine ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"
-SRCREV_meta ?= "978f876e4368cdd0ef781e74ea28a6771bf69b79"
+SRCREV_meta ?= "aa226dcc5a1351fae49da40d77b718c4c3a76e7c"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
 
Signature · 1 line
1.7.5.4
#2 lore raw

Re: [PATCH 1/2] linux-yocto/3.4: create linux-yocto-rt recipe

Quoted 18 lines · Bruce Ashfield

Adding the 3.4 variant of the linux-yocto-rt recipe. This updates to 3.4.1-rt9, and builds and boots on the supported targets.

---
  meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb |   32 +++++++++++++++++++++++
  meta/recipes-kernel/linux/linux-yocto_3.4.bb    |    2 +-
  2 files changed, 33 insertions(+), 1 deletions(-)

create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb

meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb new file +2 -0
new file mode 100644
index 0000000..d7de4b6
@@ -0,0 +1,32 @@
+inherit kernel
+require recipes-kernel/linux/linux-yocto.inc

meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb line 12

Quoted 10 lines
meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb new file +10 -0
+
+KBRANCH = "standard/preempt-rt/base"
+KBRANCH_qemuppc = "standard/preempt-rt/qemu-ppc32"
+
+LINUX_VERSION ?= "3.4.1"
+LINUX_KERNEL_TYPE = "preempt-rt"
+
+KMETA = "meta"
+
+SRCREV_machine_machine ?= "9dc5e97d144abb03deec411acb9c64883602cff9"

Is this correct? ^^^^^^^^

Sau!

Quoted 33 lines
meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb new file +20 -0
+SRCREV_machine_qemuppc ?= "241a41d6104df6916280f1273894bbd7fa7cdd71"
+SRCREV_meta ?= "aa226dcc5a1351fae49da40d77b718c4c3a76e7c"
+
+PR = "r0"
+PV = "${LINUX_VERSION}+git${SRCPV}"
+
+SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
+
+# Omit broken machines from COMPATIBLE_MACHINE
+#   qemuppc hangs at boot
+#   qemumips panics at boot
+COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm)"
+
+# Functionality flags
+KERNEL_FEATURES = "features/netfilter"
+KERNEL_FEATURES_append = " features/taskstats"
+KERNEL_FEATURES_append_qemux86 = " cfg/sound"
+KERNEL_FEATURES_append_qemux86-64 = " cfg/sound"
+
+require recipes-kernel/linux/linux-tools.inc
meta/recipes-kernel/linux/linux-yocto_3.4.bb +1 -1
index 9205901..af6130d 100644
@@ -16,7 +16,7 @@ SRCREV_machine_qemuppc ?= "4988a7e34bccd531b511c57f93358de9fcc672a0"
  SRCREV_machine_qemux86 ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"
  SRCREV_machine_qemux86-64 ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"
  SRCREV_machine ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"
-SRCREV_meta ?= "978f876e4368cdd0ef781e74ea28a6771bf69b79"
+SRCREV_meta ?= "aa226dcc5a1351fae49da40d77b718c4c3a76e7c"
 
  SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
 
#3 lore raw

Re: [PATCH 1/2] linux-yocto/3.4: create linux-yocto-rt recipe

Quoted 27 lines · Saul Wold
Quoted 26 lines · Bruce Ashfield

Adding the 3.4 variant of the linux-yocto-rt recipe. This updates to 3.4.1-rt9, and builds and boots on the supported targets.

---
 meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb |   32
+++++++++++++++++++++++
 meta/recipes-kernel/linux/linux-yocto_3.4.bb    |    2 +-

 2 files changed, 33 insertions(+), 1 deletions(-)

 create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb

meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb new file +7 -0
new file mode 100644
index 0000000..d7de4b6
@@ -0,0 +1,32 @@
+inherit kernel
+require recipes-kernel/linux/linux-yocto.inc
+
+KBRANCH = "standard/preempt-rt/base"
+KBRANCH_qemuppc = "standard/preempt-rt/qemu-ppc32"
+
+LINUX_VERSION ?= "3.4.1"
Quoted 8 lines

meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb line 12

Quoted 5 lines
meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb new file +5 -0
+LINUX_KERNEL_TYPE = "preempt-rt"
+
+KMETA = "meta"
+
+SRCREV_machine_machine ?= "9dc5e97d144abb03deec411acb9c64883602cff9"

Is this correct? ^^^^^^^^

Good eye! My script that creates the SRCREVs apparently doesn't like the new repo.
Fixed on my branch (it's not required for the build, only for new machines .. so things
built).

Cheers,

Bruce

Quoted 48 lines

Sau!

Quoted 34 lines
meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb new file +7 -0
+SRCREV_machine_qemuppc ?= "241a41d6104df6916280f1273894bbd7fa7cdd71"
+SRCREV_meta ?= "aa226dcc5a1351fae49da40d77b718c4c3a76e7c"
+
+PR = "r0"
+PV = "${LINUX_VERSION}+git${SRCPV}"
+
+SRC_URI =

"git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"

meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb new file +13 -0
+
+# Omit broken machines from COMPATIBLE_MACHINE
+#   qemuppc hangs at boot
+#   qemumips panics at boot
+COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm)"
+
+# Functionality flags
+KERNEL_FEATURES = "features/netfilter"
+KERNEL_FEATURES_append = " features/taskstats"
+KERNEL_FEATURES_append_qemux86 = " cfg/sound"
+KERNEL_FEATURES_append_qemux86-64 = " cfg/sound"
+
+require recipes-kernel/linux/linux-tools.inc
meta/recipes-kernel/linux/linux-yocto_3.4.bb +0 -0
index 9205901..af6130d 100644
@@ -16,7 +16,7 @@ SRCREV_machine_qemuppc ?=

"4988a7e34bccd531b511c57f93358de9fcc672a0" SRCREV_machine_qemux86 ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72" SRCREV_machine_qemux86-64 ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72" SRCREV_machine ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"

meta/recipes-kernel/linux/linux-yocto_3.4.bb +1 -1
-SRCREV_meta ?= "978f876e4368cdd0ef781e74ea28a6771bf69b79"
+SRCREV_meta ?= "aa226dcc5a1351fae49da40d77b718c4c3a76e7c"
Quoted 3 lines

 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
#4 lore raw

PATCH 2/2 linux-yocto/meta-yocto: update yaffs2 and drop rc6

In reply to Bruce Ashfield

Updating the 3.4 SRCREVs to pickup a yaffs2 update and the removal of a feature that was required in the 3.2 kernel tree.

1/2 [
meta: rc6: remove rc6 patches for snb

The sandybridge rc6 patches are part of the released v3.4 kernel. Hence there is no need to keep these patches in the 3.4 linux yocto kernel repository.

]

2/2 [
yaffs2: update core support

Uprev yaffs2 to latest version as of 2012-05-29
]

---
 .../recipes-kernel/linux/linux-yocto_3.4.bbappend  |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
meta-yocto/recipes-kernel/linux/linux-yocto_3.4.bbappend +4 -4
index cb8c3aa..6d7d54d 100644
@@ -3,10 +3,10 @@ KBRANCH_routerstationpro = "standard/routerstationpro"
 KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb"
 KBRANCH_beagleboard = "standard/beagleboard"
 
-SRCREV_machine_atom-pc ?= "780ab7e11f03931295e8f0e29707f2abb688e9ad"
-SRCREV_machine_routerstationpro ?= "780ab7e11f03931295e8f0e29707f2abb688e9ad"
-SRCREV_machine_mpc8315e-rdb ?= "2d99f67fe6b4301cefd4e6f9a5ce75a9cc84686b"
-SRCREV_machine_beagleboard ?= "780ab7e11f03931295e8f0e29707f2abb688e9ad"
+SRCREV_machine_atom-pc ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"
+SRCREV_machine_routerstationpro ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"
+SRCREV_machine_mpc8315e-rdb ?= "a371ff9dc5cbf9629fd3257d57120d5182e0d981"
+SRCREV_machine_beagleboard ?= "a8291fa6f723b0182d2b7033b5d59f412ba7cf72"
 
 COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
 # COMPATIBLE_MACHINE_routerstationpro = "routerstationpro"
Signature · 1 line
1.7.5.4