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

Rommel G Custodio sessyargc+u-boot at gmail.com
Tue Feb 18 00:14:38 CET 2014


Dear Abdullah Yıldız,

Abdullah Yıldız <ayildiz <at> cse.yeditepe.edu.tr> writes:

> 
> 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.

If you are looking for timestamps before each logged message in the console, 
then _NO_ BOOTSTAGE will not add those. It does give a report later on (or 
when you explicitly execute 'bootstage report').

Did you read the README file? Did you check the configuration of other 
boards using the BOOTSTAGE? For example coreboot.h or sandbox.h?

All the best,
Rommel



More information about the U-Boot mailing list