All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Didenko Sergey <didenkos@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Support for ARCH_MV88F6290
Date: Wed, 14 Oct 2009 09:25:23 +0200	[thread overview]
Message-ID: <4AD57CE3.4050206@domain.hid> (raw)
In-Reply-To: <1f3e02580910132319v3ce08b2frb811d749def9f17@domain.hid>

Didenko Sergey wrote:
> Dear Gilles
> 
> when I did change the HW Timer interrupt number (__ipipe_mach_timerint) from
> 0 to 1
> Patched kernel is able to boot up...but I'm not sure whether Xenomai is
> running or not even I can see the messages that it is started...
> To verify whether it is running or not I want to do latency test ..for
> that..I'm following the HOWTO which says that I have to
> 1) configure Xenomai
> $ ./configure --build=i686-pc-linux-gnu --host=arm-linux
> --enable-arm-mach=generic --enable-arm-tsc
> 
> 2) make Install
> When I do "make DESTDIR=/nfs install" where /nfs - is the NFS path to rootfs
> mounted by board.
> I have next situation...
> 
> ===
> 
> [d.sergey@domain.hid xenomai-2.4.9.1]$ make DESTDIR=/nfs install
> Making install in src
> make[1]: Entering directory `/home/d.sergey/xemomai/xenomai-2.4.9.1/src'
> Making install in include
> make[2]: Entering directory
> `/home/d.sergey/xemomai/xenomai-2.4.9.1/src/include'
> make[3]: Entering directory
> `/home/d.sergey/xemomai/xenomai-2.4.9.1/src/include'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory
> `/home/d.sergey/xemomai/xenomai-2.4.9.1/src/include'
> make[2]: Leaving directory
> `/home/d.sergey/xemomai/xenomai-2.4.9.1/src/include'
> Making install in rtdk
> make[2]: Entering directory
> `/home/d.sergey/xemomai/xenomai-2.4.9.1/src/rtdk'
> /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../../src/include  -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -march=armv4
> -D__XENO__ -D__IN_XENO__ -Wstrict-prototypes -I../../include    -MT
> librtdk_la-init.lo -MD -MP -MF .deps/librtdk_la-init.Tpo -c -o
> librtdk_la-init.lo `test -f 'init.c' || echo './'`init.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src/include -O2
> -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -march=armv4 -D__XENO__ -D__IN_XENO__
> -Wstrict-prototypes -I../../include -MT librtdk_la-init.lo -MD -MP -MF
> .deps/librtdk_la-init.Tpo -c init.c  -fPIC -DPIC -o .libs/librtdk_la-init.o
> init.c:1: error: bad value (armv4) for -march= switch
> init.c:1: error: bad value (armv4) for -mtune= switch
> make[2]: *** [librtdk_la-init.lo] Error 1
> make[2]: Leaving directory `/home/d.sergey/xemomai/xenomai-2.4.9.1/src/rtdk'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/d.sergey/xemomai/xenomai-2.4.9.1/src'
> make: *** [install-recursive] Error 1
> [d.sergey@domain.hid xenomai-2.4.9.1]$

Your problem here is that you are trying to use gcc (that is probably an
x86 gcc) with options for an ARM gcc. It does not work. You have to
ensure that the build system uses your cross-compiler.

> 
> ====
> 
> What is wrong?
> How can I patch the rootfs with Xenomai libraries correctly?

I have no idea. But I can tell you that you do not need to patch
anything. It should work out of the box.

-- 
					    Gilles.


  reply	other threads:[~2009-10-14  7:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-14  6:19 [Xenomai-help] Support for ARCH_MV88F6290 Didenko Sergey
2009-10-14  7:25 ` Gilles Chanteperdrix [this message]
2009-10-16  5:26   ` Didenko Sergey
2009-10-16  7:43     ` Gilles Chanteperdrix
2009-10-16  8:30       ` Didenko Sergey
2009-10-16  8:46         ` Gilles Chanteperdrix
2009-10-16  8:56           ` Didenko Sergey
2009-10-16  9:30             ` Didenko Sergey
  -- strict thread matches above, loose matches on Subject: below --
2009-10-08  8:27 Didenko Sergey
2009-10-08  8:41 ` Gilles Chanteperdrix
2009-10-09  2:09   ` Didenko Sergey
2009-10-09  9:12     ` Gilles Chanteperdrix
2009-09-25  6:12 Didenko Sergey
2009-09-25  8:37 ` Gilles Chanteperdrix
     [not found]   ` <1f3e02580909250400r7595efw769fedac12b71fce@domain.hid>
     [not found]     ` <4ABCA99D.1040206@domain.hid>
     [not found]       ` <1f3e02580909250526v52a0408ex455cc22191f3802@domain.hid>
     [not found]         ` <4ABCC977.6010500@domain.hid>
     [not found]           ` <1f3e02580909280458ubf3f610he5e52aab1efa1cc6@domain.hid>
2009-09-29 16:27             ` 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=4AD57CE3.4050206@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=didenkos@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.