<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I've successfully installed RTEMS 4.11 in my development PC a few
days ago, by performing the following steps:<br>
<br>
<i> > >>> cd
</i><i><br>
</i><i> > >>> mkdir -p development/rtems/src
</i><i><br>
</i><i> > >>> cd development/rtems/src
</i><i><br>
</i><i> > >>> sudo apt-get install git
</i><i><br>
</i><i> > >>> git clone
git://git.rtems.org/rtems-source-builder.git
</i><i><br>
</i><i> > >>> cd rtems-source-builder
</i><i><br>
</i><i> > >>> sudo apt-get install bison cvs g++
texinfo flex
</i><i><br>
</i><i> > >>> sudo apt-get install build-essential
vim zlib1g-dev libncurses5-dev python-dev
</i><i><br>
</i><i> > >>> source-builder/sb-check
</i><i><br>
</i><i> > >>> cd rtems
</i><i><br>
</i><i> > >>> ../source-builder/sb-set-builder
--log=l-sparc.txt
</i><i><br>
</i><i> > >>> --prefix=$HOME/development/rtems/4.11
4.11/rtems-sparc
</i><i><br>
</i><i> > >>>
$HOME/development/rtems/4.11/bin/sparc-rtems4.11-gcc -v
</i><i><br>
</i><i> > >>> git clone git://git.rtems.org/rtems.git
</i><i><br>
</i><i> > >>> cd rtems
</i><i><br>
</i><i> > >>> export
PATH=/development/rtems/4.11/bin:$PATH
</i><i><br>
</i><i> > >>> ./bootstrap
</i><i><br>
</i><i> > >>> cd ..
</i><i><br>
</i><i> > >>> mkdir leon2</i><i><br>
</i><i> > >>> cd leon2
</i><i><br>
</i><i> > >>> ../rtems/configure
--target=sparc-rtems4.11 --enable-rtremsbsp=leon2
--enable-tests=samples --disable-posix</i><i><br>
</i><i> > >>> make</i><i><br>
</i><i> > >>> sudo
PATH=${HOME}/development/rtems/4.11/bin:${PATH} make install</i><br>
<br>
I've then used Eclipse Helios, along with CDT, Zylin and RTEMS
plugin, to create some simple applications on my target hardware.
All aplications compiled and linked without errors. However, upon
launching the debug configuration on Eclipse, I'm noticing the
following error:<br>
<br>
<blockquote><i>trap_table () at
../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon2/../../sparc/shared/start/start.S:96</i><i><br>
</i><i>96 RTRAP( 0, SYM(hard_reset) ); ! 00
reset trap</i><i><br>
</i><i>load</i><i><br>
</i><i>Loading section .text, size 0x14520 lma 0x40000000</i><i><br>
</i><i>Loading section .data, size 0x680 lma 0x40014520</i><i><br>
</i><i>Start address 0x40000000, load size 84896</i><i><br>
</i><i>Transfer rate: 7 KB/sec, 3858 bytes/write.</i><i><br>
</i><i>run</i><i><br>
</i><i>../../gdb-7.9/gdb/thread.c:89: internal-error:
inferior_thread: Assertion `tp' failed.</i><i><br>
</i><i>A problem internal to GDB has been detected,</i><i><br>
</i><i>further debugging may prove unreliable.<br>
</i></blockquote>
After reading some documentation, I realised that my target hardware
uses RTEMS 4.8. Can this be caused by some sort of backward
incompatibility?<br>
I would easily replicate my installation steps for 4.8, but
apparently the Git repositories don't have a 4.8 branch.<br>
<br>
Any help is appreciated.<br>
Thanks in advance.<br>
<br>
<br>
</body>
</html>