rtems build and tsim-leon3

박시형 inputsh at gmail.com
Mon Dec 28 14:09:59 UTC 2015


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

IU in error mode (tt=0x80, trap instruction)
(In trap table for tt=0x2b, data store error)
    15147  400002b0  91d02000   ta 0x0


I think loader and linker work fine, but I can't running.
How can I fix it.
Help..

best regards.
Sean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20151228/7df5bf09/attachment.html>


More information about the users mailing list