[U-Boot] [PATCH 0/4] Accurate boot time measurement

Simon Glass sjg at chromium.org
Fri May 20 03:48:05 CEST 2011


On Thu, May 19, 2011 at 1:36 AM, Detlev Zundel <dzu at denx.de> wrote:
> Hi Simon,
>
> [...]
>
>> I believe I have covered this ground very thoroughly and would like
>> advice please on what to do next. The options I can see are:
>
> As Graeme points out, you got enough positive feedback that I encourage
> you to continue and address the comments.

OK, it would be nice to have a note from Wolfgang since without his OK
it won't make it in, right?

>
>> - change the code to use a fallback when a microsecond timer is not
>> available
>
> Excuse me for not diving into that too deep, but from my top-level
> overview, it would seem like a good idea that if an architecture _has_ a
> microsecond timer, it could use generic code to massage that into the
> HZ=1000 API that we currently use with the addition of offering the
> extended precision.  Your code then would need such a fallback and could
> work with the best precision offered by the architecture.  New
> architectures with microsecond timers would need to only implement the
> new microsecond timer infrastructure and be done with it.

Yes I suggested that a few emails ago but didn't get a response.

>> - integrate with boot progress
>
> The current boot progress to me seems pretty ugly and could do with a
> make-over.  So if it is possible to merge those two logical functions,
> we would have a win-win situation.

OK fair enough. I will do this if there is agreement that this type of
boot timing is worth having.

Wolfgang can you please chime in here?

Regards,
Simon


>
>> - something else? drop it?
>
> No, please don't - I think you created enough interest to carry on.
>
> Cheers
>  Detlev
>
> --
> Perfecting oneself is as much unlearning as it is learning.
>                                        -- Edsger Dijkstra
> --
> DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
>


More information about the U-Boot mailing list