All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Xenomai support for pre and post patches
       [not found] <CAEbDrgmqihPwKwxhr-WGQmAShN2Ahr7SsovCXgLgbtDUz+RWgg@mail.gmail.com>
@ 2014-03-28  9:42 ` Gregory Dymarek
  2014-03-28 11:09   ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Gregory Dymarek @ 2014-03-28  9:42 UTC (permalink / raw)
  To: buildroot

The following patch adds support for pre- and post- adeos patches to Xenomai.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xenomai-patches-support.patch
Type: text/x-patch
Size: 2384 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140328/f48c3542/attachment.bin>

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

* [Buildroot] Xenomai support for pre and post patches
  2014-03-28  9:42 ` [Buildroot] Xenomai support for pre and post patches Gregory Dymarek
@ 2014-03-28 11:09   ` Thomas Petazzoni
  2014-03-28 13:31     ` Gregory Dymarek
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2014-03-28 11:09 UTC (permalink / raw)
  To: buildroot

Dear Gregory Dymarek,

Thanks for your contribution!

On Fri, 28 Mar 2014 09:42:19 +0000, Gregory Dymarek wrote:

> The following patch adds support for pre- and post- adeos patches to
> Xenomai.

Can you explain why this is needed? You can already apply patches on
any package using the BR2_GLOBAL_PATCH_DIR option. See
http://buildroot.org/downloads/manual/manual.html#packages-custom for
details about it.

Basically, you can do:

	BR2_GLOBAL_PATCH_DIR=board/<company>/<project>/

and then, in:

	board/<company>/<project>/xenomai/

you put your patches, and then will be applied to Xenomai before it is
being built.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] Xenomai support for pre and post patches
  2014-03-28 11:09   ` Thomas Petazzoni
@ 2014-03-28 13:31     ` Gregory Dymarek
  2014-03-28 13:37       ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Gregory Dymarek @ 2014-03-28 13:31 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

Thanks for the information.

With your instructions I can see how to define the PRE patch (one that
is applied to kernel before Xenomai Adeos patch). However, there are
number of boards that require POST patch. A post patch is one that has
to be applied to kernel after Xenomai Adeos patch.

The examples are: raspberry, zynq, beaglebone, mxc

Is there a way to stage global patches?

Regards,
Gregory

On 28 March 2014 11:09, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Gregory Dymarek,
>
> Thanks for your contribution!
>
> On Fri, 28 Mar 2014 09:42:19 +0000, Gregory Dymarek wrote:
>
>> The following patch adds support for pre- and post- adeos patches to
>> Xenomai.
>
> Can you explain why this is needed? You can already apply patches on
> any package using the BR2_GLOBAL_PATCH_DIR option. See
> http://buildroot.org/downloads/manual/manual.html#packages-custom for
> details about it.
>
> Basically, you can do:
>
>         BR2_GLOBAL_PATCH_DIR=board/<company>/<project>/
>
> and then, in:
>
>         board/<company>/<project>/xenomai/
>
> you put your patches, and then will be applied to Xenomai before it is
> being built.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com

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

* [Buildroot] Xenomai support for pre and post patches
  2014-03-28 13:31     ` Gregory Dymarek
@ 2014-03-28 13:37       ` Thomas Petazzoni
  2014-03-31 21:37         ` Gregory Dymarek
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2014-03-28 13:37 UTC (permalink / raw)
  To: buildroot

Dear Gregory Dymarek,

On Fri, 28 Mar 2014 13:31:31 +0000, Gregory Dymarek wrote:

> With your instructions I can see how to define the PRE patch (one that
> is applied to kernel before Xenomai Adeos patch). However, there are
> number of boards that require POST patch. A post patch is one that has
> to be applied to kernel after Xenomai Adeos patch.
> 
> The examples are: raspberry, zynq, beaglebone, mxc

Make a patch that applies to the Xenomai sources, and which adds the
necessary bits *inside* the kernel patches that Xenomai is applying to
the kernel. So you'll need a patch of a patch :-)

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] Xenomai support for pre and post patches
  2014-03-28 13:37       ` Thomas Petazzoni
@ 2014-03-31 21:37         ` Gregory Dymarek
  2014-04-11  8:00           ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Gregory Dymarek @ 2014-03-31 21:37 UTC (permalink / raw)
  To: buildroot

Hi,

Having reconciled this on Xenomai mailing list, I agree :-)

Attached is a new patch that basically adds support for additional
arguments for Xenomail installator. If specified, these will be passed
over to the Xenomai when installing.

Regards,
Gregory

On 28 March 2014 13:37, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Gregory Dymarek,
>
> On Fri, 28 Mar 2014 13:31:31 +0000, Gregory Dymarek wrote:
>
>> With your instructions I can see how to define the PRE patch (one that
>> is applied to kernel before Xenomai Adeos patch). However, there are
>> number of boards that require POST patch. A post patch is one that has
>> to be applied to kernel after Xenomai Adeos patch.
>>
>> The examples are: raspberry, zynq, beaglebone, mxc
>
> Make a patch that applies to the Xenomai sources, and which adds the
> necessary bits *inside* the kernel patches that Xenomai is applying to
> the kernel. So you'll need a patch of a patch :-)
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot-xenomai-opt.patch
Type: text/x-patch
Size: 1658 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140331/365c7824/attachment.bin>

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

* [Buildroot] Xenomai support for pre and post patches
  2014-03-31 21:37         ` Gregory Dymarek
@ 2014-04-11  8:00           ` Thomas Petazzoni
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2014-04-11  8:00 UTC (permalink / raw)
  To: buildroot

Dear Gregory Dymarek,

On Mon, 31 Mar 2014 22:37:33 +0100, Gregory Dymarek wrote:

> Having reconciled this on Xenomai mailing list, I agree :-)
> 
> Attached is a new patch that basically adds support for additional
> arguments for Xenomail installator. If specified, these will be passed
> over to the Xenomai when installing.

Thanks. Can you submit a proper patch, with a description, and sent
with git send-email, not as an attachment?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2014-04-11  8:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAEbDrgmqihPwKwxhr-WGQmAShN2Ahr7SsovCXgLgbtDUz+RWgg@mail.gmail.com>
2014-03-28  9:42 ` [Buildroot] Xenomai support for pre and post patches Gregory Dymarek
2014-03-28 11:09   ` Thomas Petazzoni
2014-03-28 13:31     ` Gregory Dymarek
2014-03-28 13:37       ` Thomas Petazzoni
2014-03-31 21:37         ` Gregory Dymarek
2014-04-11  8:00           ` Thomas Petazzoni

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.