All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] linux-yocto-rt_3.10.bbappend recipe
@ 2013-11-05 23:06 Eric Keller
  2013-11-06  3:25 ` Bruce Ashfield
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Keller @ 2013-11-05 23:06 UTC (permalink / raw)
  To: poky


[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]

Hi everyone,

could you consider applying this patch so that we are able to build rt
kernel for genericx86(-64)?

Best regards
-- 
Eric Keller

[-- Attachment #1.2: Type: text/html, Size: 253 bytes --]

[-- Attachment #2: 0001-add-linux-yocto-rt_3.10.bbappend-recipe-for-genericx.patch --]
[-- Type: text/x-patch, Size: 1891 bytes --]

From 887178a58ab4d0b5cea73f6bbc1b68b325c87a0d Mon Sep 17 00:00:00 2001
From: Eric Keller <eric.keller.ek1@roche.com>
Date: Tue, 5 Nov 2013 23:44:07 +0100
Subject: [PATCH] add linux-yocto-rt_3.10.bbappend recipe for genericx86 and
 genericx86-64

Signed-off-by: Eric Keller <eric.keller.ek1@roche.com>
---
 .../linux/linux-yocto-rt_3.10.bbappend             |   23 ++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend

diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend
new file mode 100644
index 0000000..7978f79
--- /dev/null
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-rt_3.10.bbappend
@@ -0,0 +1,23 @@
+KBRANCH_genericx86  = "standard/common-pc/base"
+KBRANCH_genericx86-64  = "standard/common-pc-64/base"
+#KBRANCH_routerstationpro = "standard/routerstationpro"
+#KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb"
+#KBRANCH_beagleboard = "standard/beagleboard"
+
+KMACHINE_genericx86 ?= "common-pc"
+KMACHINE_genericx86-64 ?= "common-pc-64"
+
+SRCREV_machine_genericx86 ?= "702040ac7c7ec66a29b4d147665ccdd0ff015577"
+SRCREV_machine_genericx86-64 ?= "702040ac7c7ec66a29b4d147665ccdd0ff015577"
+#SRCREV_machine_routerstationpro ?= "d4e6adefaf92a1e7b6539d371ba49b78bd194a84"
+#SRCREV_machine_mpc8315e-rdb ?= "12dc46ba4efb80e135fec4dce913eeb87ee671b3"
+#SRCREV_machine_beagleboard ?= "702040ac7c7ec66a29b4d147665ccdd0ff015577"
+
+COMPATIBLE_MACHINE_genericx86 = "genericx86"
+COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
+#COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
+#COMPATIBLE_MACHINE_routerstationpro = "routerstationpro"
+#COMPATIBLE_MACHINE_beagleboard = "beagleboard"
+
+# routerstationpro has a flash size of 16mb
+KERNEL_IMAGE_MAXSIZE_routerstationpro = "16777216"
-- 
1.7.10.4


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

* Re: [patch] linux-yocto-rt_3.10.bbappend recipe
  2013-11-05 23:06 [patch] linux-yocto-rt_3.10.bbappend recipe Eric Keller
@ 2013-11-06  3:25 ` Bruce Ashfield
  2013-11-07 18:35   ` Darren Hart
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2013-11-06  3:25 UTC (permalink / raw)
  To: Eric Keller; +Cc: poky@yoctoproject.org

On Tue, Nov 5, 2013 at 6:06 PM, Eric Keller <keller.eric@gmail.com> wrote:
> Hi everyone,
>
> could you consider applying this patch so that we are able to build rt
> kernel for genericx86(-64)?

Send a patch against the main linux-yocto-rt recipe (not via this
attached bbappend
patch), and we can have a look.

But adding the support is something that you can easily carry in your
own layer,
since by adding the support to the main recipe, we are implicitly agreeing that
I'll build and boot test it with each update. And I don't have a large
objection to that,
but I add new supported boards with caution, in particular genericx86, since it
doesn't have a tightly controlled platform or set of drivers.

Cheers,

Bruce

>
> Best regards
> --
> Eric Keller
>
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


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

* Re: [patch] linux-yocto-rt_3.10.bbappend recipe
  2013-11-06  3:25 ` Bruce Ashfield
@ 2013-11-07 18:35   ` Darren Hart
  2013-11-07 18:38     ` Bruce Ashfield
  0 siblings, 1 reply; 5+ messages in thread
From: Darren Hart @ 2013-11-07 18:35 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: poky@yoctoproject.org

On Tue, 2013-11-05 at 22:25 -0500, Bruce Ashfield wrote:
> On Tue, Nov 5, 2013 at 6:06 PM, Eric Keller <keller.eric@gmail.com> wrote:
> > Hi everyone,
> >
> > could you consider applying this patch so that we are able to build rt
> > kernel for genericx86(-64)?
> 
> Send a patch against the main linux-yocto-rt recipe (not via this
> attached bbappend
> patch), and we can have a look.

Bruce, the genericx86 BSPs are not in oe-core, they are in
meta-yocto-bsp, so the bbappend is the right place to do this.

> 
> But adding the support is something that you can easily carry in your
> own layer,
> since by adding the support to the main recipe, we are implicitly agreeing that
> I'll build and boot test it with each update. And I don't have a large
> objection to that,
> but I add new supported boards with caution, in particular genericx86, since it
> doesn't have a tightly controlled platform or set of drivers.

For context, I met with Eric and suggested he send this patch. I would
be adding it myself if he didn't as genericx86* absolutely must support
PREEMPT_RT IMNSHO.

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel




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

* Re: [patch] linux-yocto-rt_3.10.bbappend recipe
  2013-11-07 18:35   ` Darren Hart
@ 2013-11-07 18:38     ` Bruce Ashfield
  2013-11-07 19:01       ` Darren Hart
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2013-11-07 18:38 UTC (permalink / raw)
  To: Darren Hart, Bruce Ashfield; +Cc: poky@yoctoproject.org

On 13-11-07 01:35 PM, Darren Hart wrote:
> On Tue, 2013-11-05 at 22:25 -0500, Bruce Ashfield wrote:
>> On Tue, Nov 5, 2013 at 6:06 PM, Eric Keller <keller.eric@gmail.com> wrote:
>>> Hi everyone,
>>>
>>> could you consider applying this patch so that we are able to build rt
>>> kernel for genericx86(-64)?
>>
>> Send a patch against the main linux-yocto-rt recipe (not via this
>> attached bbappend
>> patch), and we can have a look.
>
> Bruce, the genericx86 BSPs are not in oe-core, they are in
> meta-yocto-bsp, so the bbappend is the right place to do this.

Ah yes. Right you are.

>
>>
>> But adding the support is something that you can easily carry in your
>> own layer,
>> since by adding the support to the main recipe, we are implicitly agreeing that
>> I'll build and boot test it with each update. And I don't have a large
>> objection to that,
>> but I add new supported boards with caution, in particular genericx86, since it
>> doesn't have a tightly controlled platform or set of drivers.
>
> For context, I met with Eric and suggested he send this patch. I would
> be adding it myself if he didn't as genericx86* absolutely must support
> PREEMPT_RT IMNSHO.

Then I assume you'll be taking all the testing of it as well ? The
patch as it stands is still not properly formatted, but that's a
minor 'nit.

We should have cc'd the poky list on this as well, since it actually
isn't any changes to linux-yocto itself to support the type.

Bruce

>



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

* Re: [patch] linux-yocto-rt_3.10.bbappend recipe
  2013-11-07 18:38     ` Bruce Ashfield
@ 2013-11-07 19:01       ` Darren Hart
  0 siblings, 0 replies; 5+ messages in thread
From: Darren Hart @ 2013-11-07 19:01 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: poky@yoctoproject.org

On Thu, 2013-11-07 at 13:38 -0500, Bruce Ashfield wrote:
> On 13-11-07 01:35 PM, Darren Hart wrote:
> > On Tue, 2013-11-05 at 22:25 -0500, Bruce Ashfield wrote:
> >> On Tue, Nov 5, 2013 at 6:06 PM, Eric Keller <keller.eric@gmail.com> wrote:
> >>> Hi everyone,
> >>>
> >>> could you consider applying this patch so that we are able to build rt
> >>> kernel for genericx86(-64)?
> >>
> >> Send a patch against the main linux-yocto-rt recipe (not via this
> >> attached bbappend
> >> patch), and we can have a look.
> >
> > Bruce, the genericx86 BSPs are not in oe-core, they are in
> > meta-yocto-bsp, so the bbappend is the right place to do this.
> 
> Ah yes. Right you are.
> 
> >
> >>
> >> But adding the support is something that you can easily carry in your
> >> own layer,
> >> since by adding the support to the main recipe, we are implicitly agreeing that
> >> I'll build and boot test it with each update. And I don't have a large
> >> objection to that,
> >> but I add new supported boards with caution, in particular genericx86, since it
> >> doesn't have a tightly controlled platform or set of drivers.
> >
> > For context, I met with Eric and suggested he send this patch. I would
> > be adding it myself if he didn't as genericx86* absolutely must support
> > PREEMPT_RT IMNSHO.
> 
> Then I assume you'll be taking all the testing of it as well ? The
> patch as it stands is still not properly formatted, but that's a
> minor 'nit.

Yes, this needs to be part of our QA.

Eric, please have a look at the docs on
create-pull-request/send-pull-request or just using "git send-email" to
get your patches out in the appropriate format.

> 
> We should have cc'd the poky list on this as well, since it actually
> isn't any changes to linux-yocto itself to support the type.

Indeed it should have been. Takes some experience to get things to the
right list :-)

> 
> Bruce
> 
> >
> 

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel




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

end of thread, other threads:[~2013-11-07 19:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-05 23:06 [patch] linux-yocto-rt_3.10.bbappend recipe Eric Keller
2013-11-06  3:25 ` Bruce Ashfield
2013-11-07 18:35   ` Darren Hart
2013-11-07 18:38     ` Bruce Ashfield
2013-11-07 19:01       ` Darren Hart

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.