All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Interpreting the ksrc/arch/arm/patches directory
@ 2010-02-23 21:16 Bob Feretich
  2010-02-24  7:24 ` Philippe Gerum
  2010-02-24 14:05 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 10+ messages in thread
From: Bob Feretich @ 2010-02-23 21:16 UTC (permalink / raw)
  To: xenomai

The ksrc/arch/arm/patches directory for xenomai-2.5.git shows entries
for Linux 2.6.28.10, 2.6.29, and 2.6.30 kernels. The release news for
xenomai-2.5.1 states that its "preparing support for the upcoming 2.6.33
kernel", implying that 2.6.32 is the latest kernel supported.

Am I correct as interpreting this to mean xenomai-2.5.1 supports 2.6.32
on some architectures, but for the arm architecture 2.6.30 is the latest
supported level?

Also the patches README file doesn't list the BeagleBoard as being
supported, however other news states that BeagleBoard support was added
in xenomai-2.5. Is BeagleBoard support still in xenomai-2.5.1?

Regards,
Bob



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

* Re: [Xenomai-help] Interpreting the ksrc/arch/arm/patches directory
  2010-02-23 21:16 [Xenomai-help] Interpreting the ksrc/arch/arm/patches directory Bob Feretich
@ 2010-02-24  7:24 ` Philippe Gerum
  2010-02-24 14:05 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 10+ messages in thread
From: Philippe Gerum @ 2010-02-24  7:24 UTC (permalink / raw)
  To: Bob Feretich; +Cc: xenomai

On Tue, 2010-02-23 at 13:16 -0800, Bob Feretich wrote:
> The ksrc/arch/arm/patches directory for xenomai-2.5.git shows entries
> for Linux 2.6.28.10, 2.6.29, and 2.6.30 kernels. The release news for
> xenomai-2.5.1 states that its "preparing support for the upcoming 2.6.33
> kernel", implying that 2.6.32 is the latest kernel supported.

No, nothing of this kind is implied. Kernel releases may be skipped and
lack I-pipe support.

> 
> Am I correct as interpreting this to mean xenomai-2.5.1 supports 2.6.32
> on some architectures, but for the arm architecture 2.6.30 is the latest
> supported level?

Yes.

> 
> Also the patches README file doesn't list the BeagleBoard as being
> supported, however other news states that BeagleBoard support was added
> in xenomai-2.5. Is BeagleBoard support still in xenomai-2.5.1?
> 

There is no reason to remove board support. 

> Regards,
> Bob
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help


-- 
Philippe.




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

* Re: [Xenomai-help] Interpreting the ksrc/arch/arm/patches directory
  2010-02-23 21:16 [Xenomai-help] Interpreting the ksrc/arch/arm/patches directory Bob Feretich
  2010-02-24  7:24 ` Philippe Gerum
@ 2010-02-24 14:05 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 10+ messages in thread
From: Gilles Chanteperdrix @ 2010-02-24 14:05 UTC (permalink / raw)
  To: Bob Feretich; +Cc: xenomai

Bob Feretich wrote:
> The ksrc/arch/arm/patches directory for xenomai-2.5.git shows entries
> for Linux 2.6.28.10, 2.6.29, and 2.6.30 kernels. The release news for
> xenomai-2.5.1 states that its "preparing support for the upcoming 2.6.33
> kernel", implying that 2.6.32 is the latest kernel supported.
> 
> Am I correct as interpreting this to mean xenomai-2.5.1 supports 2.6.32
> on some architectures, but for the arm architecture 2.6.30 is the latest
> supported level?

Yes, ARM support lags behind. I need to work on that. We will probably
skip 2.6.31 et go to 2.6.32 directly.

> 
> Also the patches README file doesn't list the BeagleBoard as being
> supported, however other news states that BeagleBoard support was added
> in xenomai-2.5. Is BeagleBoard support still in xenomai-2.5.1?

The beagle is supported. That is a mistake in the README, and in fact,
the README should not mention any board name at all, because this is the
kind of file we always forget.

> 
> Regards,
> Bob
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 
					    Gilles.


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

* [Xenomai-help] Interpreting the ksrc/arch/arm/patches directory
@ 2010-02-24 18:07 Bob Feretich
  2010-02-24 20:07 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 10+ messages in thread
From: Bob Feretich @ 2010-02-24 18:07 UTC (permalink / raw)
  To: xenomai

Lately I have been using the OpenEmbedded bitbake tool to build my Linux 
systems (Angstrom for BeagleBoard based).  Has anyone created a recipe 
set to build Xenomai under OpenEmbedded?

What I really want to do is install Xenomai into the BeagleBoard 
Angstrom kernel.

Regards,
Bob




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

* Re: [Xenomai-help] Interpreting the ksrc/arch/arm/patches directory
  2010-02-24 18:07 [Xenomai-help] Interpreting the ksrc/arch/arm/patches directory Bob Feretich
@ 2010-02-24 20:07 ` Gilles Chanteperdrix
  2010-02-25  2:38   ` [Xenomai-help] Xenomai built by OpenEmbedded Bob Feretich
  0 siblings, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2010-02-24 20:07 UTC (permalink / raw)
  To: Bob Feretich; +Cc: xenomai

Bob Feretich wrote:
> Lately I have been using the OpenEmbedded bitbake tool to build my Linux 
> systems (Angstrom for BeagleBoard based).  Has anyone created a recipe 
> set to build Xenomai under OpenEmbedded?
> 
> What I really want to do is install Xenomai into the BeagleBoard 
> Angstrom kernel.

Yes, recently someone reported using this method. However, he had issues
with -Wl,--as-needed which we did not elucidate completely.

> 
> Regards,
> Bob
> 
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 
					    Gilles.


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

* [Xenomai-help] Xenomai built by OpenEmbedded
  2010-02-24 20:07 ` Gilles Chanteperdrix
@ 2010-02-25  2:38   ` Bob Feretich
  2010-02-25  7:09     ` Stefan Kisdaroczi
  0 siblings, 1 reply; 10+ messages in thread
From: Bob Feretich @ 2010-02-25  2:38 UTC (permalink / raw)
  To: xenomai; +Cc: Jeff Stutzman

[-- Attachment #1: Type: text/plain, Size: 2068 bytes --]

Sorry, I reused an old e-mail and forgot to change the subject line last 
time. The subject line is more accurate on this e-mail.

How can I locate this previous report?  (identified below)
I am willing to spend some time pushing Xenomai forward on this front, 
but I will probably need some help. I have been involved with Linux 
system building just long enough to be dangerous. Installing a co-kernel 
is a new frontier for me.

Normally, when I need to attach a new module to the Angstrom kernel, I...

   1. bitbake the Linux system. (Kernel source is deleted upon completion.)
   2. bitbake the Angstrom kernel using the "-c compile" option, which
      leaves the kernel source and intermediate files in place.
   3. Build my kernel modules within the context of the kernel.

My theory is that the below sequence may work for Xenomai...

   1. bitbake the Linux system. (Kernel source is deleted upon completion.)
   2. bitbake the Angstrom kernel using the bitbake "-c compile" option,
      which leaves the kernel source and intermediate files in place.
   3. Apply the appropriate Adios kernel patches.
   4. Rebuild the Angstrom kernel using the "-c compile" option, which
      should use the patched  kernel source.
   5. Add the Xenomai sub-tree to the root file system.
   6. Build my modules as before.

Does this make sense?

Regards,
Bob Feretich

On 2/24/2010 12:07 PM, Gilles Chanteperdrix wrote:
> Bob Feretich wrote:
>   
>> Lately I have been using the OpenEmbedded bitbake tool to build my Linux 
>> systems (Angstrom for BeagleBoard based).  Has anyone created a recipe 
>> set to build Xenomai under OpenEmbedded?
>>
>> What I really want to do is install Xenomai into the BeagleBoard 
>> Angstrom kernel.
>>     
>
> Yes, recently someone reported using this method. However, he had issues
> with -Wl,--as-needed which we did not elucidate completely.
>   
>> Regards,
>> Bob
>> _______________________________________________
>> Xenomai-help mailing list
>> Xenomai-help@domain.hid
>> https://mail.gna.org/listinfo/xenomai-help
>>
>>     

[-- Attachment #2: Type: text/html, Size: 2801 bytes --]

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

* Re: [Xenomai-help] Xenomai built by OpenEmbedded
  2010-02-25  2:38   ` [Xenomai-help] Xenomai built by OpenEmbedded Bob Feretich
@ 2010-02-25  7:09     ` Stefan Kisdaroczi
  2010-02-25  7:42       ` Gilles Chanteperdrix
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Kisdaroczi @ 2010-02-25  7:09 UTC (permalink / raw)
  To: Bob Feretich; +Cc: xenomai

Hi Bob,

Bob Feretich schrieb:
> Sorry, I reused an old e-mail and forgot to change the subject line last
> time. The subject line is more accurate on this e-mail.
> 
> How can I locate this previous report?  (identified below)

https://mail.gna.org/public/xenomai-help/2010-02/msg00069.html
https://mail.gna.org/public/xenomai-help/2009-08/msg00047.html

regards
kisda

> I am willing to spend some time pushing Xenomai forward on this front,
> but I will probably need some help. I have been involved with Linux
> system building just long enough to be dangerous. Installing a co-kernel
> is a new frontier for me.
> 
> Normally, when I need to attach a new module to the Angstrom kernel, I...
> 
>    1. bitbake the Linux system. (Kernel source is deleted upon completion.)
>    2. bitbake the Angstrom kernel using the "-c compile" option, which
>       leaves the kernel source and intermediate files in place.
>    3. Build my kernel modules within the context of the kernel.
> 
> My theory is that the below sequence may work for Xenomai...
> 
>    1. bitbake the Linux system. (Kernel source is deleted upon completion.)
>    2. bitbake the Angstrom kernel using the bitbake "-c compile" option,
>       which leaves the kernel source and intermediate files in place.
>    3. Apply the appropriate Adios kernel patches.
>    4. Rebuild the Angstrom kernel using the "-c compile" option, which
>       should use the patched  kernel source.
>    5. Add the Xenomai sub-tree to the root file system.
>    6. Build my modules as before.
> 
> Does this make sense?
> 
> Regards,
> Bob Feretich
> 
> On 2/24/2010 12:07 PM, Gilles Chanteperdrix wrote:
>> Bob Feretich wrote:
>>   
>>> Lately I have been using the OpenEmbedded bitbake tool to build my Linux 
>>> systems (Angstrom for BeagleBoard based).  Has anyone created a recipe 
>>> set to build Xenomai under OpenEmbedded?
>>>
>>> What I really want to do is install Xenomai into the BeagleBoard 
>>> Angstrom kernel.
>>>     
>>
>> Yes, recently someone reported using this method. However, he had issues
>> with -Wl,--as-needed which we did not elucidate completely.
>>   
>>> Regards,
>>> Bob
>>> _______________________________________________
>>> Xenomai-help mailing list
>>> Xenomai-help@domain.hid
>>> https://mail.gna.org/listinfo/xenomai-help
>>>
>>>     
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help



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

* Re: [Xenomai-help] Xenomai built by OpenEmbedded
  2010-02-25  7:09     ` Stefan Kisdaroczi
@ 2010-02-25  7:42       ` Gilles Chanteperdrix
  2010-02-25  9:27         ` [Xenomai-help] OpenEmbedded (bitbake) recipes for Xenomai? Bob Feretich
  0 siblings, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2010-02-25  7:42 UTC (permalink / raw)
  To: Stefan Kisdaroczi; +Cc: xenomai, Bob Feretich

Stefan Kisdaroczi wrote:
> Hi Bob,
> 
> Bob Feretich schrieb:
>> Sorry, I reused an old e-mail and forgot to change the subject line last
>> time. The subject line is more accurate on this e-mail.
>>
>> How can I locate this previous report?  (identified below)
> 
> https://mail.gna.org/public/xenomai-help/2010-02/msg00069.html
> https://mail.gna.org/public/xenomai-help/2009-08/msg00047.html

Ah, thanks. The 2009 issue with Xenomai compiled with -O2 should be
solved now.

A little note, the Xenomai mailing list has archives, which you can find
here:
https://gna.org/mail/?group=xenomai

To search them, simply pass the proper arguments to your favorite search
engine to restrict the search to a particular site. If you do not mind
using google, the xenomai website provides a search page which does the
work for you:
http://www.xenomai.org/index.php/Special:Google

-- 
					    Gilles.


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

* [Xenomai-help] OpenEmbedded (bitbake) recipes for Xenomai?
  2010-02-25  7:42       ` Gilles Chanteperdrix
@ 2010-02-25  9:27         ` Bob Feretich
  2010-02-25 18:10           ` Felipe Brandão Cavalcanti
  0 siblings, 1 reply; 10+ messages in thread
From: Bob Feretich @ 2010-02-25  9:27 UTC (permalink / raw)
  To: xenomai

The xenomai-help archives show that some people are using OpenEmbedded 
to build Xenomai into various Linux distributions. (I am most interested 
in Angstrom, but other distributions would also be of interest.)

Does anyone know where the bitbake recipes for this can be found?

Thanks,
Bob Feretich


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

* Re: [Xenomai-help] OpenEmbedded (bitbake) recipes for Xenomai?
  2010-02-25  9:27         ` [Xenomai-help] OpenEmbedded (bitbake) recipes for Xenomai? Bob Feretich
@ 2010-02-25 18:10           ` Felipe Brandão Cavalcanti
  0 siblings, 0 replies; 10+ messages in thread
From: Felipe Brandão Cavalcanti @ 2010-02-25 18:10 UTC (permalink / raw)
  To: Bob Feretich; +Cc: xenomai


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

I've actually made my recipes for Xenomai before - they are very
straightforward. All I do is to patch the kernel (using the
prepare-kernel.sh script included in Xenomai), build and configure it, and
than build a separate .ipk for the Xenomai user-space.

Anyway, I've done this in the Gumstix Verdex and in the IGEPv2. For the
Gumstix, I made a *very* unclean solution, which meant copying the compiled
files from the temporary directory to the board once everything was
compiled. Someone made a cleaner solution, and it is described in the
Gusmtix wiki:
http://www.gumstix.net/wiki/index.php?title=Xenomai_-_Mini_Howto

I am attaching my bitbake file as well. I've also attached my
Xenomai-exercises bitbake recipes/code, which compile cleanly on my machine
because of some very weird links I've made.

As for the IGEP, I had to make some modifications in the configuration
files, as described in a previous thread here in the mailing list (see
http://www.mail-archive.com/xenomai@xenomai.org). I am
attaching it as well, but I also transferred the files and ran ldconfig
manually.

If possible, I would like some feedback on how well Xenomai runs in the
Beagleboard - we are trying it on the IGEPv2 here, but some Beagleboards and
Gumstix Overos are on the way so we can evaluate their use in different
embedded systems.

Hope this helps!
      -Felipe Brandão Cavalcanti
      LARA - Robotics and Automation Laboratory
      Department of Electrical Engineering
      UnB - University of Brasília, Brazil
      http://www.lara.unb.br/~fbcavalcanti/

On Thu, Feb 25, 2010 at 6:27 AM, Bob Feretich
<bob.feretich@domain.hid>wrote:

> The xenomai-help archives show that some people are using OpenEmbedded
> to build Xenomai into various Linux distributions. (I am most interested
> in Angstrom, but other distributions would also be of interest.)
>
> Does anyone know where the bitbake recipes for this can be found?
>
> Thanks,
> Bob Feretich
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
>

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

[-- Attachment #2: xenomai.bb --]
[-- Type: application/octet-stream, Size: 431 bytes --]

DESCRIPTION = "Xenomai 2.4.6.1"

PR = "r0"

DEPENDS = ""

FILES_${PN}-dbg = "/usr/xenomai /dev"

SRC_URI = " http://download.gna.org/xenomai/stable/xenomai-2.4.6.1.tar.bz2 \
 "

S = "${WORKDIR}/xenomai-2.4.6.1"

inherit autotools

do_configure () {
	./configure --enable-arm-mach=pxa3xx --host=arm-linux
}

do_compile() {
	oe_runmake
}

fakeroot do_install() {
	oe_runmake "DESTDIR=${D}" install
#	rm -rf ${D}/xenomai/share/doc/
}

[-- Attachment #3: xenomai_exercises.tar.gz --]
[-- Type: application/x-gzip, Size: 2892 bytes --]

[-- Attachment #4: xenomai_igep.bb --]
[-- Type: application/octet-stream, Size: 600 bytes --]

SECTION = "base"
DESCRIPTION = "xenomai"
LICENSE = "xenomai"
PN = "xenomai"
PV = "2.5.1"

inherit autotools

SRC_URI = "http://download.gna.org/xenomai/stable/xenomai-${PV}.tar.bz2"

S = "${WORKDIR}/xenomai-2.5.1"

do_configure() {
	./configure --prefix=/usr --includedir=/usr/include/xenomai --enable-arm-mach=omap3 --enable-arm-eabi --enable-arm-tsc --disable-dox-doc --disable-dbx --host=arm-none-linux-gnueabi
}

do_compile() {
	oe_runmake
}

do_install() {
    oe_runmake 'DESTDIR=${D}' 'SUDO=/bin/true' install
}

PACKAGES = "${PN}"
FILES_${PN} = "/dev/* /usr/bin/* /usr/lib/* /usr/include/*"


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

end of thread, other threads:[~2010-02-25 18:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-24 18:07 [Xenomai-help] Interpreting the ksrc/arch/arm/patches directory Bob Feretich
2010-02-24 20:07 ` Gilles Chanteperdrix
2010-02-25  2:38   ` [Xenomai-help] Xenomai built by OpenEmbedded Bob Feretich
2010-02-25  7:09     ` Stefan Kisdaroczi
2010-02-25  7:42       ` Gilles Chanteperdrix
2010-02-25  9:27         ` [Xenomai-help] OpenEmbedded (bitbake) recipes for Xenomai? Bob Feretich
2010-02-25 18:10           ` Felipe Brandão Cavalcanti
  -- strict thread matches above, loose matches on Subject: below --
2010-02-23 21:16 [Xenomai-help] Interpreting the ksrc/arch/arm/patches directory Bob Feretich
2010-02-24  7:24 ` Philippe Gerum
2010-02-24 14:05 ` Gilles Chanteperdrix

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.