rtems head broken for leon3 smp

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Oct 30 14:09:55 UTC 2014


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.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list