From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junior Subject: Re: RT example Date: Thu, 25 Jan 2007 07:11:30 -0800 Message-ID: References: <20070125070133.gy28808@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Cc: linux-rt-users@vger.kernel.org To: Robert Schwebel Return-path: Received: from wm28.inbox.com ([208.50.6.28]:2091 "HELO WM28.inbox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S965375AbXAYPLh convert rfc822-to-8bit (ORCPT ); Thu, 25 Jan 2007 10:11:37 -0500 Received: from inbox.com (127.0.0.1:25) by inbox.com with [InBox.Com SMTP Server] id <701250071894.WM28> for from ; Thu, 25 Jan 2007 7:11:31 AM -0800 In-Reply-To: Sender: linux-rt-users-owner@vger.kernel.org List-Id: linux-rt-users.vger.kernel.org > On Wed, Jan 24, 2007 at 10:58:41AM -0800, Junior wrote: >> Does anyone have example code using the PREEMPT_RT patch? > > You could for example start with cyclictest. It is also a good example > for how to write cyclic realtime programs on Linux. Thanks, I will start there. Where do I get the rt library? (-lrt in makefile)? cyclictest.c: In function `timerthread': cyclictest.c:153: error: `SIGEV_THREAD_ID' undeclared (first use in this function) Someone got this before but no solution on how to fix it. > Note that realtime is not about running fast, but running "in time". > That may often mean that the overall system performance goes down. > >> PS. I'm using an ARM9 platform > > Do you have clocksource/clockevent support for your ARM9 chip? Aparently I don't. It's set as IS_TICK_BASED. How does this affect the system? Thanks, --Jr.