rtems build and tsim-leon3

Sihyeong Park inputsh at gmail.com
Tue Dec 29 06:37:15 UTC 2015


Hello, Jan
Tanks for reply.

I'm try to run using grmon.

grlib> load ~/hello.exe
section: .text at 0x40000000, size 113840 bytes
section: .rtemsroset at 0x4001bcb0, size 32 bytes
section: .data at 0x4001bcd0, size 1616 bytes
total size: 115488 bytes (1.2 Mbit/s)
read 670 symbols
entry point: 0x40000000
grlib> run
IU in error mode (tt = 0x2b)
 400008a0  a1480000   mov  %psr, %l0
grlib>


but, it seems same error 'IU in error mode'

Should I re-build for leon3 ?
or did I mistake when I build that..?

I followed this procedure:
bootstrap
configure (--enable-rtemsbsp=leon3)
make
make install

best regards.

2015-12-28 23:33 GMT+09:00 Jan Sommer <soja-lists at aries.uberspace.de>:

> Am Monday 28 December 2015, 23:09:59 schrieb 박시형:
> > Hello, again me..
> >
> > Finally, I succeed in build rtems for leon3 follow this:
> >
> > # ../rtems4.11/configure  --target=sparc-rtems4.11
> --enable-rtemsbsp=leon3 \
> >   --enable-tests=samples --enable-posix
> >
> > Then I get the samples like cdtest, fileio, hello, iostream, etc..
> > (In sparc-rtems4.11/c/leon3/testsuites/samples)
> >
> > And I tried to run hello example using tsim-leon3 (evaluation version)
> >
> > tsim> load hello.exe
> > section: .text, addr: 0x40000000, size 113840 bytes
> > section: .rtemsroset, addr: 0x4001bcb0, size 32 bytes
> > section: .data, addr: 0x4001bcd0, size 1616 bytes
> > read 1283 symbols
> > tsim> go 0x40000000
> > resuming at 0x40000000
> >
>
> Have you tried to use "run" or "run 0x40000000" instead of go?
> I don't have tsim available anymore, but when I use GRMON I usually simply
> use run for rtems binaries.
>
> Best regards,
>
>    Jan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20151229/bd9b1c90/attachment-0002.html>


More information about the users mailing list