[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Execution time different
- Date: Mon, 7 Apr 2008 10:04:02 -0500
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- Subject: Execution time different
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.
>> -----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:
>>> 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?
>>> Thanks for help.
>>> rtems-users mailing list
>>> rtems-users at rtems.com
>> 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
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