ts-7000
[Top] [All Lists]

[ts-7000] Re: RTAI on TS 7300

To:
Subject: [ts-7000] Re: RTAI on TS 7300
From: "Juerg Lehni" <>
Date: Mon, 28 Apr 2008 20:01:02 -0000
On the TS7300, the kernel is stored on the first partition of the sdcard. 
Various
documents say that it can simply be replaced there, and show how to do this. I 
extracted
the original kernel from that partition and compared it in a hex-editor with 
the others I
tried. The first few dozen bytes or so are the same, so I assume I am indeed 
dealing with
the right kind of files. But from all the files I tried dd-ing to the first 
partition of the
sdcard, only the original one works. I don't need to replace the whole card 
though, dd-ing
back the original is all it takes to bring things back up, so I don't think I 
am doing this
part wrong...

--- In   wrote:
>
> Sorry... yes I am using 72xx.  I am no means an expert on the product
> lines.
>
> That does rule out redboot, but I would think you could still run NFS
> root.  I only offered these options because as I had mentioned I could not
> get the nice bootload utility to work with my rtai enabled kernel.
>
> Anyway.... are you stating that nothing works for you, except dd'ing an
> entire image to flash?
>
> If that is the case, I would suggest you are doing something fundamentally
> wrong in transfering files over to the board.
>
> Unfortunately I don't have much experience in all the things that could go
> wrong or where to tell you to start debugging.    You might want to open a
> new thread with a new subject of just having trouble changing kernels on
> the 7300... that way you can get more attention from someone that maybe
> had similar problems (although not exactly related to rtai).  There appear
> to be a few people on the list that like to respond even when they don't
> have anything to say, but I think a lot of people take brief looks at the
> subject line and just delete it if they think they can't contribute... so
> you might get more nibbles without the RTAI reference.
>
> Hope you work it out.
>
>  wrote on 04/28/2008 12:21:09 PM:
>
> > Hi,
> >
> > Thanks for the feedback. In the meantime I installed Ubuntu on
> > Vmware and compiled my
> > own RT enabled kernel, but - who would have guessed - that does not
> > load either. I
> > followed all documents I found that describe the process for TS7300
> > as closely as
> > possible, and the compilation of both modules and kernel worked
> > without any problems.
> >
> > What's weird is that I cannot load any kernel using bootload, wether
> > it's RTAI enabled or
> > not.
> >
> > You mention redboot and nfs. Are you on a TS7300 yourself? As far as
> > I know this is for
> > 72xx only. These systems are quite different in terms of booting.
> >
> > Nothing happens before the freezes. The system does not even come up
> > when any other
> > kernel than the default one is written to part1 of the sdcard. And
> > when I use bootload, it
> > just halts and displays the text screen that I saw before hitting enter.
> >
> > I am really puzzled now. Why does my system not load any other
> > kernel, not even the ones
> > that come pre-compiled from the site? And why does it then still
> > work with the one that it
> > ships with as soon as I dd it back onto the sd card?
> >
> > This is the 6th day now, so frustrating.
> >
> > The system was not particularly cheap, and if a feature like RT
> > support is advertised on the
> > website I would expect it to be included, or at least easy to
> > install. I think the lack of
> > documentation and support is simply not acceptable...
> >
> > --- In  sjanisch@ wrote:
> > >
> > > For what it is worth, I have had trouble using bootload with
> rtai-enabled
> > > kernels...
> > > although I've never had an issue for the "normal" kernels.
> > >
> > > Have you tried to load the rtai-enabled kernel from redboot?  Or use
> nfs?
> > >
> > > It seems you are on the right track... downloading the kernel,
> modules,
> > > and rtai
> > > stuff with all the same reference (AFAIK, the ts11 shipped with the
> units
> > > does
> > > not support rtai, so you do have to download and install the stuff
> from
> > > the ftp site).
> > >
> > > Perhaps if you describe what happens immediately before the "freeze"?
> > >
> > >
> > >  wrote on 04/27/2008 09:50:42 AM:
> > >
> > > > 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-7300under
> > > > 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
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
>




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

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