On Sat, May 14, 2011 at 4:34 AM, Mike Frysinger <vap...@gentoo.org> wrote:
> On Friday, May 13, 2011 16:51:59 Simon Glass wrote: > > This defines the basics of a new boot time measurement feature. This > allows > > logging of very accurate time measurements as the boot proceeds, by using > > an available microsecond counter. > > > > To enable the feature, define CONFIG_BOOTSTAGE in your board config file. > > Also available is CONFIG_BOOTSTAGE_REPORT which will cause a report to be > > printed just before handing off to the OS. > > this seems to overlap the existing show_boot_progress() code. any chance > we > can look at these being merged ? > -mike > Hi Mike, Yes I did look at this a few weeks ago. It would be a pretty invasive change. That code just uses a whole lot of numbers which presumably are approximately how far through the boot process we are. Bootstage is intended as a debugging tool for performance tune-up rather than a user display tool. I could imagine adding a table to bootstage with the progess number for each bootstage id, but then people are going to complain that the bootstage report is far to long and includes uninteresting things. I suppose I could fix that by including a flag as to whether to report each item or not...but it any case as you can see it is not a clear win. If there is a strong appetite for that sort of patch I'm happy to do it. Regards, Simon
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot