Running RTEMS on a LEON2 from ROM

Jiri Gaisler jiri at gaisler.se
Mon Jul 31 13:48:17 UTC 2017



On 07/26/2017 01:34 AM, Chris Johns wrote:
> 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

I have added a page on basic debugging with sis. Feel free to review and
provide feedback for improvements ...

Jiri.


More information about the users mailing list