* [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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ messages in thread
end of thread, other threads:[~2010-02-25 18:10 UTC | newest] Thread overview: 7+ 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
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.