rtems build and tsim-leon3

Sihyeong Park inputsh at gmail.com
Wed Dec 30 05:05:34 UTC 2015


Thank you very much.
I'm very appreciate to you.

When I connect with our leon board I used USB cable so, I'm using ./grmon
-usb -nb -u

And I will change toolchains and other environments then try again asap.


Thank you.
Happy new year!


2015-12-30 8:31 GMT+09:00 Jan Sommer <soja-lists at aries.uberspace.de>:

> Am Tuesday 29 December 2015, 15:37:15 schrieb Sihyeong Park:
> > Hello, Jan
> > Tanks for reply.
> >
> > I'm try to run using grmon.
> >
>
> Ok. Which options do you use for grmon?
> We use: grmon -ftdi -freq 40 -nosram -uuser
>
> > 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
> >
>
> Looks fine to me. An option would be to download the prebuilt toolchain
> from the gaisler website.
> It has only the old 4.4 gcc with rtems 4.10, but if you can run the ticker
> example created with this toolchain in grmon/tsim at least we can rule out
> a wrong configuration there.
> I won't be in the office until 7.1.2016, so I can't test anything with our
> leon until then.
>
> Best regards,
>
>    Jan
>
> > 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
> > >
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20151230/9f9365db/attachment.html>


More information about the users mailing list