From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4C765EF8.50500@domain.hid> Date: Thu, 26 Aug 2010 14:32:56 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <4C6BD747.1090304@domain.hid> <4C6D4BDE.1050605@domain.hid> <4C7260B4.4070100@domain.hid> <4C726911.6050201@domain.hid> <4C72749A.5000506@domain.hid> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] kernel compilation problem with a Cortex A8, AM3517 EVM List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: marc doz Cc: xenomai@xenomai.org marc doz wrote: > Actualy, I have got 2 versions : > 1) TI SDK : OMAP35x-PSP-SDK-03.00.00.05 with a kernel 2.6.32 which > comes from linux-omap-2.6.git with specific TI patch for EVM of AM3517 > 2) TI SDK : OMAP35x-PSP-SDK-03.00.00.02 with a kernel 2.6.31-rc7 which > comes from linux-omap-2.6.git with specific TI patch for EVM of AM3517 > > I am testing solution 2 with software examples for native skin. > > ./trivial-periodic > Time since last turn: 1000.024230 ms > Time since last turn: 999.991461 ms > Time since last turn: 999.991999 ms > Time since last turn: 999.999384 ms > Time since last turn: 999.998538 ms > Time since last turn: 1000.005999 ms > Time since last turn: 999.993538 ms > > ./rtprint > This triggers auto-init of rt_print for the calling thread. > A last switch to secondary mode can occure here, but future invocations of rt_pr > 401f0470: #1 Yet another RT printer - but to stderr. > 400221e0 Task 1: #1 Hello RT world! > 401f0470: #2 Yet another RT printer - but to stderr. > 401f0470: #3 Yet another RT printer - but to stderr. > > What do you think about this test ? > can you recommend me some measure points ? You want to run the latency test. But the latency on a system without load is meaningless. As part of validating Xenomai, we use a test called "dohell" to load the system. We provide a system to build a root filesystem for running these tests called mkrootfs, available through git: http://git.xenomai.org/?p=mkrootfs.git;a=summary It has a README which should help you generate the root filesystem. The procedure to run the test is: - in a telnet session connected to the board, run the latency test - in another telnet session, launch "dohell" - when this scripts displays "Listening on any address 5566" run netcat target 5566 > /dev/null Now wait a few hours. -- Gilles.