rtems head broken for leon3 smp

Andreas Larsson andreas at gaisler.com
Thu Oct 30 14:32:13 UTC 2014


On 2014-10-30 15:09, Sebastian Huber wrote:
> On 30/10/14 15:05, Joel Sherrill wrote:
>> On 10/30/2014 8:56 AM, Sebastian Huber wrote:
>>> On 23/10/14 19:46, Jennifer Averett wrote:
>>>> Running the leon3 with grsim fails due to the patch
>>>>
>>>> bsp/sparc: Ensure that data cache snooping is enabled
>>>>
>>>> It looks like cache snooping is disabled when it is ran for all
>>>>
>>>> the tests.  Where is this supposed to be set at with this change?
>>> The simulator should set the right Cache Control Register settings.
>>> If this is
>>> not the case, then AG should fix this in their simulator.
>>>
>> It is disabled at the point Jennifer checks it in the code. Is it not
>> this
>> way on real hardware?
>>
>> I am not doubting the possibility of a simulator bug. This is complex.
>
> The simulator, boot loader or GRMON must setup the Cache Control
> Register correctly.  The bits in this register depend on the particular
> LEON implementation, so it is easier to deal with it in the boot loader,
> etc.

Currently GRSIM does not turn on snooping on run, so for now it has to 
be set up by a boot loader. From the next GRSIM release, snooping will 
be turned on when using "run".

Best regards,

Andreas Larsson
Software Engineer
Aeroflex Gaisler AB
Aeroflex Microelectronic Solutions – HiRel
Kungsgatan 12
SE-411 19 Gothenburg, Sweden
andreas at gaisler.com
www.Aeroflex.com/Gaisler


More information about the devel mailing list