--- In "andygal76" <> wrote:
>
> Hi Frederic,
>
> --- In "fredolamainfroide"
> <fredericfiquet@> wrote:
> > I try to run 'helloworld' sample program on a TS-7370,
> > I followed all instructions and when I run it, I get an "invalid
> > instruction" error message.
>
> I'm having the same 'illegal instruction' issue with the TS-7370.
> Since I also have a TS-7800 by hand, I did the same test with this
> board too and it worked correctly.
The two processors have slightly different instruction sets. Please
read the (whole) thread at:
http://tech.groups.yahoo.com/group/ts-7000/message/12984
>
> I don't have a clear vision of what the EABI vs OABI thing is in fact
http://wiki.debian.org/ArmEabiPort
Although a little dated and maybe a little too detailed, the above
page has some good background info and links.
> (I'm new to ARM architecture), but I'm suspecting the helloworld
> example is setup for the 7800 board which comes with an EABI kernel
> (see
>
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7370-linux/cross-toolchains/README.EABIvsOABI)
>
>
> I still don't know if this also applies to TS-7370. Could anybody
> there clarify if TS-7370 is able to run statically linked EABI code?
EABI vs OABI does not depend on the board or processor, but depends on
the kernel being run. EABI requires a modern 2.6 kernel, and that
kernel must be configured to use EABI. It can be configured to run
only EABI binaries, only OABI binaries, or EABI binaries and OABI
binaries in a compatibility mode.
I believe that the 7370 runs a 2.6 kernel, and I see in the TS kernel
2.6.21 source, the default TS-7350 config is for EABI with OABI
compatibility.
So, you should be able to run a statically linked EABI program, but I
don't have a 7370 though, so I can't confirm it for you. If you
cannot, it is probably an instruction set issue.
regards, ......... Charlie
>
> TIA
> Andrea
>
------------------------------------
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/
|