[U-Boot] Regarding u-boot patch about accurate boot time measurement

Abdullah Yıldız ayildiz at cse.yeditepe.edu.tr
Tue Feb 18 09:30:21 CET 2014


Hi,

On Tue, Feb 18, 2014 at 12:16 AM, Simon Glass <sjg at chromium.org> wrote:
> Hi,
>
> On 17 February 2014 05:07,
abdullah

 Yıldız <ayildiz at cse.yeditepe.edu.tr> wrote:
>> Hi Albert,
>>
>> On Mon, Feb 17, 2014 at 1:58 PM, Albert ARIBAUD
>> <albert.u.boot at aribaud.net> wrote:
>>> Hi Abdullah,
>>>
>>> On Mon, 17 Feb 2014 13:10:52 +0200, Abdullah Yıldız
>>> <ayildiz at cse.yeditepe.edu.tr> wrote:
>>>
>>>> Hi Simon,
>>>>
>>>> On Mon, Feb 17, 2014 at 1:03 AM, Simon Glass <sjg at chromium.org> wrote:
>>>> > Hi Abdullah,
>>>> >
>>>> > On 16 February 2014 15:38, Abdullah Yıldız <ayildiz at cse.yeditepe.edu.tr> wrote:
>>>> >> Dear Glass,
>>>> >>
>>>> >> I've fount this
>>>> >> http://lists.denx.de/pipermail/u-boot/2011-May/092584.html while
>>>> >> searching about boot time measurement methods in u-boot. However, I
>>>> >> couldn't find a patch file regarding your post. Could you help me with
>>>> >> this about where to find the patch?
>>>> >
>>>> > This was merged into U-Boot in early 2012, so you don't need a patch.
>>>> > See bootstage.h for the API.
>>>> >
>>>> > Regards,
>>>> > Simon
>>>> >
>>>> > --
>>>>
>>>> Adding CONFIG_BOOTSTAGE option and then make didn't work.
>>>
>>> Can you give more detail, e.g. what exactly is the commit you're
>>> trying to build, what is the command line, and what is the error
>>> message?
>>>
>>> Amicalement,
>>> --
>>> Albert.
>>>
>>> --
>>
>> I'm working on u-boot version 2014-01.
>>
>> Actually, there is no error message, u-boot runs without any timestamp.
>
> bootstage is a way of measuring boot time and progress - what sort of
> timestamp are you looking for?
>
> Regards,
> Simon
>
> --

bootstage is exactly what I'm looking for. Is it enough to define
#define CONFIG_BOOTSTAGE to build u-boot with timestamping?

abdullah


More information about the U-Boot mailing list