From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Everett Wang <everteq@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] How to compile xenomai examples?
Date: Thu, 20 May 2010 12:17:58 +0200 [thread overview]
Message-ID: <4BF50C56.5040307@domain.hid> (raw)
In-Reply-To: <AANLkTil5O99TYi2HF9QsN2kz8em4pFiJXTAmteBoee1Z@mail.gmail.com>
Everett Wang wrote:
> Hi All,
>
> I am still new to learn to use xenomai. I have managed to compile and
> install xenomai to
> my beagleboard. It seems that the installation is OK since I can run
> the kernel/latency test
> fine. But I am still struggling to compile the examples comes with the xenomai.
>
> Here is hardware and software setup:
>
> Host: PC with Ubuntu 10.04, with code sourcery's cross compiler to
> 2010q1 installed. I followed
> the README.INSTALL from the xenomai 2.5.3 for arm installation. And my
> new kernel is
> 2.6.33.3
>
> This is the procedure I used for install xenomai
>
> 1) patch my linux kernel:
> ./scripts/prepare-kernel.sh --arch=arm
> --adeos=/usr/xenomai/ksrc/arch/arm/patches/adeos-ipipe-2.6.33-arm-*
> --linux=/usr/src/linux
>
> 2) Config the kernel
> make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_defconfig
> make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig
>
> 3) Compile and install the kernel and modules
> make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage modules
> then copied resulted uImage into my SD boot, copied my lib/modules/2.6.33.3
>
> 4) Configure xenomai
> ./configure --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi
> --enable-arm-mach=omap3 --enable-arm-tsc
>
> 5) Compile and install xenomai to my SD
> make DESTDIR=/media/Angstrom install
>
> Upon reboot to the new kernel using beagleboard, I can run
> testsuit/kernel/latency/ fine
>
> The problem happens when I try to compile the examples in xenomai. i
> issued this:
>
> cd xenomai-2.5.3/examples/rtdm/profiles/serial
> make XENO=/media/Angstrom/usr/xenomai/bin ARCH=arm
> KSRC=/home/everett/BB/xenomai-2.5.3/ksrc
I guess it should be XENO=/media/Angstrom/usr/xenomai
--
Gilles.
next prev parent reply other threads:[~2010-05-20 10:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-20 10:02 [Xenomai-help] How to compile xenomai examples? Everett Wang
2010-05-20 10:17 ` Gilles Chanteperdrix [this message]
2010-05-21 3:58 ` Everett Wang
2010-05-21 7:08 ` Gilles Chanteperdrix
2010-05-21 7:36 ` Everett Wang
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=4BF50C56.5040307@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.