ts-7000
[Top] [All Lists]

[ts-7000] Re: RTAI on TS 7300 - From TS

To:
Subject: [ts-7000] Re: RTAI on TS 7300 - From TS
From: "automatisarg" <>
Date: Mon, 28 Apr 2008 22:11:05 -0000
Hello,

Our documentation for RTAI is the following:

http://www.embeddedarm.com/software/arm-linux-24-rtai.php
ftp://ftp.embeddedarm.com/misc/rt/rtaiguide.pdf
http://www.embeddedarm.com/documentation/software/arm-linux-ts72xx.pdf
- Section 6.2

Our RTAI documentation is old and needs to be updated. It was based on
the ts9 kernel and does not accommodate new boards TS-7300 and
TS-7400. However, the principles are the same.

RTAI is a complicated solution, even for x86 systems and experienced
Linux users. Therefore, RTAI is recommended for Kernel developers
only. Instead of using our pre-compiled packages, users demanding RTAI
should get into Kernel compilation using the RTAI patch we provide.
Even because later the user is going to have to learn about RTAI API
and Kernel modules in order to be able to write and compile an RTAI
application.  Usually, RTAI requires not only a new Kernel, but also
requires new Kernel modules and Linux filesystem modifications.

Another note is that users don't realize they don't need RTAI in most
of the cases. The plain Linux Kernel is able to meet the real-time
requirements of most applications. So, that is something you should
evaluate carefully before trying RTAI.

Anyway, I just re-tested the binaries Kernel we provided for the
TS-7300 and they worked if Jumper 6 is ON (booting to the fastboot
initrd). I just dd'ed the new image to the first partition of the SD
Card. However, the modules present on the initrd will not get loaded
because the kernel prefix is different (ts11-rt). The reason your
Kernel is not working must be because you are trying a full Debain
boot from the SD, but the SD Card cannot be loaded because it was
compiled for a different Kernel.

Again, I would recommend you to recompile a RT-Kernel yourself using
the RT patch, sources and documentation we provide. Also think through
the filesystems modifications you are going to need (as modules
updates or RTAI files installation). Frustration is something very
common in the Linux world (welcome to the club! :)), specially if you
are not experienced enough and you are trying complicated/advanced stuff.

In your case, contacting TS via email at  or a
phone call at 480-8375200 is the best thing to be done. I would like
to remind people in this mailing list that it is not TS responsibility
to answer the emails posted here. TS engineers participate of this
mailing list, but in most of the cases we are already busy enough
getting our job done here in the company (including direct support
calls and emails). This mailing list is an open-source community thing
and is independent from TS. We are very happy and thankful to have so
many users that contribute to make our products and support better.

In the RTAI case, I agree that TS should not be using the word
"support" in its documentation our website. "The Linux solution for
ARM is compatible with the RTAI real-time extension, " or "we can also
provide real-time Linux operating systems through RTAI" sounds fair
for me though. I will take care of changing our website and docs
regarding that.

Best Regards,
Ronald.



--- In  "Juerg Lehni" <> wrote:
>
> Hello,
>
> I am trying to get RTAI to work on a TS 7300. First I downloaded
rtai-3.2-magma-
> compiled.tar.gz from ftp.embeddedarm.com but could not execute the
testsuite
> applications since things were compiled for a different Kernel. E.g.
running /usr/realtime/testsuite/kern/latency/run leads to:
>
>         /usr/realtime/modules/rtai_hal.o was compiled for kernel
version 2.4.26-ts9-rt
>         while this kernel is version 2.4.26-ts11.
>
> I am confused now about the nature of the ts11 kernel. Does it come
with RTAI support
> built in or not? Is it a question of simply recompiling RTAI, or do
I need a new kernel too?
>
> On
http://www.embeddedarm.com/products/board-detail.php?product=TS-7300
under
> Software it clearly is stated:
>
> "The Linux solution for ARM is compatible with the RTAI real-time
extension"
>
> From this I would expect things to just work. But now I already
spend the 4th day trying to
> get this to work with now luck. The fact that there is very little
documentation about it
> does not help a bit.
>
> Here is what I've tried so far:
>
> I downloaded an alternative kernel and kernel modules from the ftp
server that state to
> have RT support built in (vmlinux-7300-ts11-rt.bin) and used
bootload to try to get it to
> load, but the system froze each time. I then wrote the kernel to the
first partition of the
> sdcard, but that did not boot either. I tried to compile my own
Kernel under Cygwin but
> failed since I did not manage to install modutils. Now I tried to
use bootload to load the
> kernel that the system already comes with, extracted from the first
partition of the default
> sdcard image just to see if bootload works at all, and even this
results in freezing.
>
> I am obviously not getting anywhere with this. There must be others
here who face similar
> problems. How can I get RTAI to work on this platform? Do I need a
new kernel at all? How
> am I supposed to use bootload on TS 7300 to get any results?
>
> I am very thankful for any help.
>
> Jürg
>



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

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