[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Execution time different
- Date: Mon, 7 Apr 2008 18:31:37 +0200
- From: stephane.arquer at c-s.cnes.fr (Arquer Stephane)
- Subject: Execution time different
The cache is enabled in both configuration:
CCR = 0xF501800F with Grmon
0xF501003F with Redboot
The difference is with the freeze on IT.
> -----Message d'origine-----
> De : Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
> Envoy? : lundi 7 avril 2008 17:04
> ? : Arquer Stephane
> Cc : rtems-users at rtems.com
> Objet : Re: RE : 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.
>
> --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
>
>
>