ts-7000
[Top] [All Lists]

[ts-7000] Re: RTAI user-space issues with Ts7200

To:
Subject: [ts-7000] Re: RTAI user-space issues with Ts7200
From: "Fahad C" <>
Date: Thu, 18 Mar 2010 05:26:42 -0000
still stuck,

any idea?


--- In  "Fahad C" <> wrote:
>
> Hi all,
>    I am able to run example applications as well as compile user-applications 
> successfully. But the user files that I create by compiling are relatively 
> bigger in size and when I try to run then, it says "cannot execute binary 
> file"
> 
>    any idea?
> 
>    i am using headers of ts11 "linux24-ts11-rt-headers.tar.gz" for ts9 as 
> headers for ts9 are not available. 
>    if that is the problem?
>    can you provide/upload headers for ts9
> 
> 
> 
> in detail,
>    By following RTAIGuide by Ronald,
> 
>    I loaded "rt-zImage-7200-ts9" which is a compiled rt9 kernel and also 
> saved in flash and then executed. 
>    Then I downloaded from ftp and extracted ts72xx_rtai_full.tar.gz in / 
> (autoextract in /usr)
> and ts7200_rtkernelmodules.tar.gz in /lib/modules.
> 
>    Then I tried example applications of user-space by using ./run and it 
> worked successfully.
> 
>    Then I tried to compiled by this command,
> gcc -Wall -I /usr/realtime/include switches.c -o switches
> 
>    it failed so I tried to return to RTAIGuide and rechecked all things on 
> forum and then compiled with this command,
> gcc -Wall -I /usr/src/linux-2.4.26-ts9-rt/include -I /usr/realtime/include -c 
> latency.c -o latency
> 
> it again failed so I realized that I need linux-2.4.26-ts9-rt/include. I 
> tried to find but it was not available anywhere. so I decided to try provided 
> headers for ts11 "linux24-ts11-rt-headers.tar.gz"
> 
>  and renamed it as ts9.
> 
> am I doing wrong with headers, can you provide/upload actual headers or their 
> location.
> 
> then I tried to compile and it succeed without any error. but when I try to 
> run (after making executable), then it says "cannot execute binary file". I 
> copied source files in examples directry and tried ./run. Fo latency example, 
> it starts and halts as follows
> 
> :latency# ./run
> *
> *
> * Type ^C to stop this application.
> *
> *
> RTAI[hal]: mounted (PIPED).
> Adeos: Domain RTAI registered.
> RTAI[hal]: 3.2 mounted over Adeos 2.4r17c3/arm-ep9301.
> RTAI[hal]: compiled with gcc version 3.3.4.
> RTAI[malloc]: kmalloced extent c15a0000, size 131072.
> RTAI[malloc]: loaded (global heap size=131072 bytes).
> RTAI[sched_lxrt]: loaded (PIPED, UP, KERNEL/USER SPACE).
> RTAI[sched_lxrt]: timer=periodic (TIMER1),.
> RTAI[sched_lxrt]: standard tick=100 hz, CPU freq=983040 hz.
> RTAI[sched_lxrt]: timer setup=3052 ns, resched latency=3052 ns.
> /usr/realtime/bin/rtai-load: line 244: ./latency: cannot execute binary file
> /usr/realtime/bin/rtai-load: line 242: ./display: cannot execute binary file
> RTAI[malloc]: kfreed extent c15a0000, size 131072.
> RTAI[malloc]: unloaded.
> RTAI[sched_lxrt]: unloaded (forced hard/soft/hard transitions: traps 0, 
> syscalls
>  0).
> Adeos: Domain RTAI unregistered.
> RTAI[hal]: unmounted.
> :latency# ./latency
> -bash: ./latency: cannot execute binary file
> :latency# ./display
> -bash: ./display: cannot execute binary file
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<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