All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: niklaus.giger@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Are these results running the xeno-test on a Sequoia board okay?
Date: Sat, 08 Dec 2007 11:32:58 +0100	[thread overview]
Message-ID: <475A72DA.5090008@domain.hid> (raw)
In-Reply-To: <200712072347.07847.niklaus.giger@domain.hid>

Niklaus Giger wrote:
> Hi
> 
> I ran xeno-test on my sequoia board and am puzzled about three points:
> 
> 1) When xeno-test was running the latency test, I loaded the system a little
> bit by pinging, then doing a login on /dev/ttyS0 the numbers suddenly
> changed to "inf"
> RTD|      -0.862|      -0.816|      12.962|       0|      -1.236|      29.857
> RTD|         inf|         inf|         inf|       0|         inf|         inf
> 
> 2) Running switchtest I got
> Error after context switch from task 8(rtup-8) to task 10(rtup_ufpp-10),
> FPU registers were set to 1000 (maybe task sleeper_ufps-0)
> RTT|  00:00:00
> RTH|ctx switches|-------total
> RTD|          28|          28
> 
> 3) I had to recompile my C++-testsuite adding mhard-float to CXXFLAGS to
> make it work correctly. Though it seems to me that setting CXX=ppc_4xxFP-g++
> was not enough. I have no idea whether this has a something to do with the
> problems spotted above.
> 
> I attach the used .config and xeno-test.log.
> 
> I built it like this using the DENX-kernel
> cd /home/hcu/celsius/linux-2.6-xenomai
> /home/hcu/celsius/xenomai-trunk/scripts/prepare-kernel.sh --linux=/home/hcu/celsius/linux-2.6-xenomai --adeos=/home/hcu/celsius/xenomai-trunk/ksrc/arch/powerpc/patches/adeos-ipipe-2.6.23-powerpc-DENX-2.0-03.patch --arch=powerpc

You need to use adeos-ipipe-2.6.23-ppc-1.6-00.patch for the sequoia
since it still depends on the ppc/ tree, on top of DENX-v2.6.23.8.
Passing --arch=ppc to prepare-kernel.sh instead of --arch=powerpc
without specifying an Adeos patch would pre-select the right one.

> make  ARCH=powerpc CROSS_COMPILE=ppc_4xxFP- O=/home/hcu/celsius/build-xeno-sequoia-powerpc-DENX-v2.6.23.9 oldconfig
> make  ARCH=powerpc CROSS_COMPILE=ppc_4xxFP- O=/home/hcu/celsius/build-xeno-sequoia-powerpc-DENX-v2.6.23.9 zImage modules
> sudo make  ARCH=powerpc CROSS_COMPILE=ppc_4xxFP- O=/home/hcu/celsius/build-xeno-sequoia-powerpc-DENX-v2.6.23.9 PATH=$/usr/local/bin:/opt/eldk/4_1/usr/bin:/usr/bin:/bin INSTALL_MOD_PATH=/opt/eldk/4_1/ppc_4xxFP modules_install
> sudo cp -v /home/hcu/celsius/build-xeno-sequoia-powerpc-DENX-v2.6.23.9/arch/powerpc/boot/zImage /tftpboot/buildbot/zImage-sequoia
> sudo cp -v /home/hcu/celsius/build-xeno-sequoia-powerpc-DENX-v2.6.23.9/arch/powerpc/boot/zImage /tftpboot/sequoia/zImage
> cd /home/hcu/celsius/build-xeno-sequoia-powerpc-DENX-v2.6.23.9
> /home/hcu/celsius/xenomai-trunk/configure --build=i686-linux --host=powerpc CROSS_COMPILE=ppc_4xxFP CC=ppc_4xxFP-gcc CXX=ppc_4xxFP-g++ LD=ppc_4xxFP-ld
> make  clean
> make
> sudo make  PATH=/usr/local/bin:/opt/eldk/4_1/usr/bin:/usr/bin:/bin  DESTDIR=/opt/eldk/4_1/ppc_4xxFP install
> cd /home/hcu/celsius
> 
> Best regards
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help


-- 
Philippe.


  reply	other threads:[~2007-12-08 10:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-07 22:47 [Xenomai-help] Are these results running the xeno-test on a Sequoia board okay? Niklaus Giger
2007-12-08 10:32 ` Philippe Gerum [this message]
2007-12-08 15:51   ` Niklaus Giger
2007-12-08 16:44     ` Philippe Gerum
2007-12-08 17:29       ` Niklaus Giger
2007-12-08 17:40         ` Philippe Gerum

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=475A72DA.5090008@domain.hid \
    --to=rpm@xenomai.org \
    --cc=niklaus.giger@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.