Running RTEMS on a LEON2 from ROM

Mike Looijmans mike.looijmans at
Mon Jul 31 08:47:57 UTC 2017

On 31-07-17 09:57, Jiri Gaisler wrote:
> On 07/31/2017 09:38 AM, Mike Looijmans wrote:
>> On 27-07-17 13:07, Jiri Gaisler wrote:
>>> ... Meanwhile, I will fix the VMA/LVA problem in sis -
>>> thanks for spotting this...
>> Concerning that, did you make any progress there?
>> As a workaround, is it possible to detect (runtime) whether we're
>> running in the sis simulator? I could adapt the code to skip the
>> routine that copies the .data segment into RAM to workaround this.
>> Currently I patch the elf file using objcopy and set the VMA address
>> equal to the LMA (which the debugger probably doesn't like much).
> I have fixed this, it was *very* simple .. :-). I posted a patch to RSB
> on the list yesterday. You can apply that and just rebuild RSB fully. If
> you want to build gdb separately, there are updated patches for gdb-7.12
> and 8.0 here:

I couldn't find anything resembling a patch for sis on the devel mail list, 
nor in Git. I only found your last commits moving gdb from 7.11 to 7.12 but 
that's a lot more than just the address fix.

I'm actually looking for something that I can apply to the 4.11 RTEMS because 
that's what we're stuck with...

Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans at

Please consider the environment before printing this e-mail

More information about the users mailing list