Skip to contentSkip to conversation

preempt-rt support for meta-yocto BSPs

PATCH Applied Darren Hart 4 participants 6 messages Aug 11, 2011 – Aug 19, 2011

lore
Share & tools
lore
#0 lore raw

cover preempt-rt support for meta-yocto BSPs

This series add build and boot tested support for the atom-pc and mpc8315e-rdb. The routerstationpro and beagleboard still suffer from build failures and are commented out.

The following changes since commit 760d79558c5e35b9b0e73734bb90ebadf427f208:

recipes-rt: add a README documenting the contents of recipes-rt (2011-08-11 12:36:02 -0700)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dvhart/rt-yocto
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/rt-yocto

Darren Hart (2):
meta-yocto: allow for virtual/kernel override
meta-yocto: add linux-yocto-rt support for all meta-yocto machines

 meta-yocto/conf/machine/mpc8315e-rdb.conf          |    2 +-
 meta-yocto/conf/machine/routerstationpro.conf      |    2 +-
 .../linux/linux-yocto-rt_3.0.bbappend              |   25 ++++++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)
 create mode 100644 meta-yocto/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
Signature · 1 line
1.7.6
#1 lore raw

PATCH 1/2 meta-yocto: allow for virtual/kernel override

Conditionally assign the PREFERRED_PROVIDER_virtual/kernel in the meta-yocto machine configs to allow the user or other layers to override it. This is required to use the linux-yocto-rt kernel, for example.

---
 meta-yocto/conf/machine/mpc8315e-rdb.conf     |    2 +-
 meta-yocto/conf/machine/routerstationpro.conf |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-yocto/conf/machine/mpc8315e-rdb.conf +1 -1
index 172deec..b30c8af 100644
@@ -11,7 +11,7 @@ SERIAL_CONSOLE = "115200 ttyS0"
 
 MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial"
 
-PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 #PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
 PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
 XSERVER = "xserver-kdrive-fbdev"
meta-yocto/conf/machine/routerstationpro.conf +1 -1
index e6f89d8..a0afd5d 100644
@@ -10,7 +10,7 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 \
 KERNEL_IMAGETYPE = "vmlinux"
 KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
 
-PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 #PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
 PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
 XSERVER = "xserver-kdrive-fbdev"
Signature · 1 line
1.7.6
#2 lore raw

PATCH 2/2 meta-yocto: add linux-yocto-rt support for all meta-yocto machines

In reply to Darren Hart

Provide the necessary info in the linux-yocto-rt_3.0.bbappend to support building the RT kernel for each of the meta-yocto example BSPs.

---
 .../linux/linux-yocto-rt_3.0.bbappend              |   25 ++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 meta-yocto/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
meta-yocto/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend new file +25 -0
new file mode 100644
index 0000000..a575105
@@ -0,0 +1,25 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+# atom-pc support
+COMPATIBLE_MACHINE_atom-pc = "atom-pc"
+KMACHINE_atom-pc = "atom-pc"
+KBRANCH_atom-pc = "yocto/standard/preempt-rt/base"
+SRCREV_machine_pn-linux-yocto-rt_atom-pc = "7e1e5b6c8a13c615feb0d7b6d37988a094aae98f"
+
+# mpc8315e-rdb support
+COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
+KMACHINE_mpc8315e-rdb = "fsl-mpc8315e-rdb"
+KBRANCH_mpc8315e-rdb = "yocto/standard/preempt-rt/base"
+SRCREV_machine_pn-linux-yocto-rt_mpc8315e-rdb = "7e1e5b6c8a13c615feb0d7b6d37988a094aae98f"
+
+# beagleboard support - 3.0 support has not yet been completed, build failure
+#COMPATIBLE_MACHINE_beagleboard = "beagleboard"
+#KMACHINE_beagleboard = "beagleboard"
+#KBRANCH_beagleboard = "yocto/standard/preempt-rt/base"
+#SRCREV_machine_pn-linux-yocto-rt_beagleboard = 
+
+# routerstationpro support - preempt-rt kernel build failure
+#COMPATIBLE_MACHINE_routerstationpro = "routerstationpro"
+#KMACHINE_routerstationpro = "routerstationpro"
+#KBRANCH_routerstationpro = "yocto/standard/preempt-rt/base"
+#SRCREV_machine_pn-linux-yocto-rt_routerstationpro = "7e1e5b6c8a13c615feb0d7b6d37988a094aae98f"
Signature · 1 line
1.7.6
Acked-by on the v1 series
#3 lore raw
In reply to Darren Hart
Quoted 8 lines · Darren Hart

This series add build and boot tested support for the atom-pc and mpc8315e-rdb. The routerstationpro and beagleboard still suffer from build failures and are commented out.

The following changes since commit 760d79558c5e35b9b0e73734bb90ebadf427f208:

   recipes-rt: add a README documenting the contents of recipes-rt (2011-08-11 12:36:02 -0700)
Quoted 7 lines

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dvhart/rt-yocto
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/rt-yocto

Darren Hart (2):
meta-yocto: allow for virtual/kernel override
meta-yocto: add linux-yocto-rt support for all meta-yocto machines

Quoted 7 lines
  meta-yocto/conf/machine/mpc8315e-rdb.conf          |    2 +-
  meta-yocto/conf/machine/routerstationpro.conf      |    2 +-
  .../linux/linux-yocto-rt_3.0.bbappend              |   25 ++++++++++++++++++++
  3 files changed, 27 insertions(+), 2 deletions(-)

create mode 100644 meta-yocto/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend

#4 lore raw
In reply to Darren Hart

I haven't seen this merged yet, been a week. Is there a concern with the series, or maybe it just got lost in the mix?

Thanks,

Darren

Quoted 22 lines · Darren Hart

This series add build and boot tested support for the atom-pc and mpc8315e-rdb. The routerstationpro and beagleboard still suffer from build failures and are commented out.

The following changes since commit 760d79558c5e35b9b0e73734bb90ebadf427f208:

recipes-rt: add a README documenting the contents of recipes-rt (2011-08-11 12:36:02 -0700)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dvhart/rt-yocto
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/rt-yocto

Darren Hart (2):
meta-yocto: allow for virtual/kernel override
meta-yocto: add linux-yocto-rt support for all meta-yocto machines

 meta-yocto/conf/machine/mpc8315e-rdb.conf          |    2 +-
 meta-yocto/conf/machine/routerstationpro.conf      |    2 +-
 .../linux/linux-yocto-rt_3.0.bbappend              |   25 ++++++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)
 create mode 100644 meta-yocto/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
Applied
#5 lore raw
Quoted 32 lines · Darren Hart

I haven't seen this merged yet, been a week. Is there a concern with the series, or maybe it just got lost in the mix?

Thanks,

Darren

Quoted 22 lines · Darren Hart

This series add build and boot tested support for the atom-pc and mpc8315e-rdb. The routerstationpro and beagleboard still suffer from build failures and are commented out.

The following changes since commit 760d79558c5e35b9b0e73734bb90ebadf427f208:

   recipes-rt: add a README documenting the contents of recipes-rt (2011-08-11 12:36:02 -0700)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dvhart/rt-yocto
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/rt-yocto

Darren Hart (2):
meta-yocto: allow for virtual/kernel override
meta-yocto: add linux-yocto-rt support for all meta-yocto machines

  meta-yocto/conf/machine/mpc8315e-rdb.conf          |    2 +-
  meta-yocto/conf/machine/routerstationpro.conf      |    2 +-
  .../linux/linux-yocto-rt_3.0.bbappend              |   25 ++++++++++++++++++++
  3 files changed, 27 insertions(+), 2 deletions(-)

create mode 100644 meta-yocto/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend

Pushed to Poky/Master

Sorry about this one, just got lost in the flood.

Sau!