rtems head broken for leon3 smp

Joel Sherrill joel.sherrill at oarcorp.com
Thu Oct 30 14:48:59 UTC 2014


On 10/30/2014 9:32 AM, Andreas Larsson wrote:
> 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".
Thanks for the information.

We will work offlist to get the new version when it is available.
> 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

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the devel mailing list