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

Simon Glass sjg at chromium.org
Wed Feb 19 05:34:59 CET 2014


Hi,

On 18 February 2014 00:30, Abdullah Yıldız <ayildiz at cse.yeditepe.edu.tr> wrote:
> 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?

Suggest #define CONFIG_BOOTSTAGE_REPORT also so you get an automatic
report before booting the kernel.

Regards,
Simon


More information about the U-Boot mailing list