Running RTEMS on a LEON2 from ROM

Chris Johns chrisj at rtems.org
Tue Jul 25 23:34:13 UTC 2017


On 26/07/2017 02:10, Jiri Gaisler wrote:
> On 07/25/2017 03:43 PM, Mike Looijmans wrote:
>> I'm looking for some document or website that explains how this should
>> work...
> 
> There are some README files in the gdb sources under sim/erc32. Here is
> how you do it with standalone sis:
> 
> $ sparc-rtems4.12-sis -leon2 application.exe
> 
>> hi 100
>> go
>> hi
>> reg
> 
> With gdb:
> 
> $ sparc-rtems4.12-gdb application.exe
> 
> $ target sim -leon2
> $ load
> $ run
> 
> The trace buffer does not work in gdb, so I would use standalone sis to
> debug the low-level boot problems. Once your application boots, you can
> use gdb + some front-end (e.g. ddd) for high-level debugging.
> 

It would be awesome if some of this could be captured in the wiki in a page
called something like LEON with SIS as a heading under:

https://devel.rtems.org/wiki/Debugging

In time TSIM could be added as another heading by those who use that tool and
have access to it.

Thanks
Chris



More information about the users mailing list