All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Everett Wang <everteq@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] install xenomai for beagleboard
Date: Wed, 05 May 2010 08:07:59 +0200	[thread overview]
Message-ID: <4BE10B3F.20708@domain.hid> (raw)
In-Reply-To: <n2k633455b31005041938k29ad6c0br4e8092c19232ed68@domain.hid>

Everett Wang wrote:
> (...)
> It runs fine. But I have some random questions.
> 
> where is the bzImage it made and modules I just made? 

bzImage is an x86 thing. Your questions is not really specific to
Xenomai, it is about compiling a Linux kernel for ARM. There are a lot
of resources on internet which will answer this question. For instance,
this is answered by Linux arm kernel FAQ #1:
http://www.arm.linux.org.uk/mailinglists/faq.php#f1
Or, Beagle specific instructions on Beagle wiki:
http://elinux.org/BeagleBoard#Linux_kernel

> Should I use a
> newer version of Code Sourcery's cross compiler? I am using
> arm-2009q1-203-arm-none-linux-gnueabi and there is an
> arm-2010q1-202-arm-none-linux-gnueabi. I have difficult to follow
> in compiling xenomai. 

Any version should be almost Ok. Except one of the 2008 version if you
want to enable stack unwinding.


> The instruction reads:
> 
> "cd $build_root
> $ $xenomai_root/configure --build=i686-pc-linux-gnu --host=arm-linux
> --enable-arm-mach=at91rm9200 --enable-arm-tsc"
> 
> I have not defined a $build_root directory and what is the right name
> to replace at91rm9200 and tsc?

the instructions also read:
--enable-arm-mach   Select ARM machine for the       none
                    current build tree, check
                    configure --help for a list
                    of valid values.
                    Passing this option is
                    mandatory when compiling
                    Xenomai for ARM

and:
# $linux_tree = path to the target kernel sources
# $xenomai_root = path to the Xenomai sources
# $build_root = path to a clean build directory
# $staging_dir = path to a directory that will hold the installed file

Again, the issue here is about compiling a package using the autotools,
there is nothing specific about Xenomai. There is a lot of resources
about this on the web. For instance:
http://sources.redhat.com/autobook/autobook/autobook_13.html#SEC13
I even wrote a tutorial for the autotools some time ago:
http://sisyphus.hd.free.fr/~gilles/pub/autotools/

-- 
					    Gilles.


  reply	other threads:[~2010-05-05  6:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-05  2:38 [Xenomai-help] install xenomai for beagleboard Everett Wang
2010-05-05  6:07 ` Gilles Chanteperdrix [this message]
2010-05-05 12:36   ` Everett Wang
2010-05-05 13:48     ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BE10B3F.20708@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=everteq@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.