Execution time different
Joel Sherrill
joel.sherrill at OARcorp.com
Mon Apr 7 15:04:02 UTC 2008
Arquer Stephane wrote:
> How is it enabled ?
> Is ir done by Trtems or by the bootloader ?
>
>
Depends on the BSP and configuration.
If the boot ROM usually enables, it then the BSP
developer might have trusted that setting.
I would guess that the best thing to do is
read whatever register indicates it is enabled
once you get to the first application.
--joel
>
>> -----Message d'origine-----
>> De : Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
>> Envoyé : vendredi 4 avril 2008 18:19
>> À : Arquer Stephane
>> Cc : rtems-users at rtems.com
>> Objet : Re: Execution time different
>>
>>
>> Arquer Stephane wrote:
>>
>>> Hello,
>>>
>>> I use a leon2 cpu and I have two way to load the code.
>>> The first one is grmon and the other is Redboot with a binary file
>>> generated by sparc-rtems4.7-objcopy -O binary file.elf file.bin. I
>>> don't have the same behaviour with the same code. With
>>>
>> grmon, a calcul
>>
>>> function last 120ms With redboot, this function last 340ms
>>>
>>> I check MCFG2 :
>>> Grmon: 03801460
>>> Redboot: B0801460
>>>
>>> And I modified it in grmon but the time is always 120ms.
>>>
>>> Does anyone know what is initialise by grmon which is not done by
>>> Redboot ?
>>>
>>>
>>>
>> Is caching enabed in both configurations?
>>
>> --joel
>>
>>> Thanks for help.
>>>
>>>
>>> sa
>>>
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.com
>>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>>
>>>
>> --
>> 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
>>
>>
>>
>>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>
--
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 users
mailing list