ts-7000
[Top] [All Lists]

Re: [ts-7000] TS7200 Real Time Programming

To:
Subject: Re: [ts-7000] TS7200 Real Time Programming
From: Ronald Gomes <>
Date: Thu, 17 Nov 2005 19:37:31 +0000 (GMT)
Hi,

If you are able to run all the RTAI kernel and user space examples, then you succeed on the RTAI installation step.

However, to build RTAI application you will also need the rt-kernel header files. You can patch the ts8 kernel with the Adeos patch provided at ftp://oz.embeddedarm.com/rt/arm-ts8/ and build it. All the needed information for this step is provided by the "Getting Started with RTAI" guide, developper section.

After building the rt-kernel, use the new linux-include dir when compiling your RTAI application, for example:

gcc -Wall -I/usr/src/linux-2.4.26-ts8-rt/include -I/usr/realtime/include -c test.c -o test.o

Anyway, I will place a tarball with the rt-kernel header files at the ftp server soon... I let you know when done.

Regards,
Ronald.

Cliff Blackburn <> escreveu:
Hi,

I am trying to setup my ARM board to execute some control code every 1ms so I decied to use the RTAI kernel provided. I have been able to install the rt kernel load the modules and run the test programs successfully. Where I am having a problem is trying to compile a program which uses the header
#include <rtai_lxrt.h>
This header includes others which eventually always comes down to missing a file.
I have tried setting up the system using TS8 and TS9 files sets have the same issue.
gcc -Wall -I /usr/realtime/include -c test.c -o test.o
In file included from /usr/realtime/include/asm/rtai_hal.h:116,
                 from /usr/realtime/include/asm/rtai.h:42,
                 from /usr/realtime/include/rtai.h:26,
                 from /usr/realtime/include/rtai_sched.h:22,
                 from /usr/realtime/include/rtai_lxrt.h:69,
                 from test.c:12:
/usr/realtime/include/asm-arm/arch/rtai_arch.h:28: asm/arch/ep93xx_tsc.h: No such file or directory
I have looked in the TS9 and TS8 files and niether tar files supplied contain this file.
ls usr/realtime/include/asm/arch/
 -l

-rw-r--r--  1 cliff users 2564 Aug 15 17:18 rtai_arch.h
-rw-r--r--  1 cliff users 1084 Aug 15 17:18 rtai_exports.h
-rw-r--r--  1 cliff users 1994 Aug 15 17:18 rtai_timer.h
I've even tried downloading the RTAI-3.2 tar file and it is not contained in there.
Am I doing somthing wrong?

Thank you,
Cliff Blackburn


Yahoo! Acesso Grás: Internet ráda e grás.
Instale o discador agora!

SPONSORED LINKS
Computer internet security Linux os Computer internet business
Computer internet access Computer internet privacy securities Computer internet help


YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU