All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/4] Accurate boot time measurement
@ 2011-05-13 20:51 Simon Glass
  2011-05-13 20:52 ` [U-Boot] [PATCH 1/4] Add microsecond " Simon Glass
                   ` (5 more replies)
  0 siblings, 6 replies; 45+ messages in thread
From: Simon Glass @ 2011-05-13 20:51 UTC (permalink / raw)
  To: u-boot

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.

Example output is:

Timer summary in microseconds:
       Mark    Elapsed  Stage
          0          0  awake
  2,181,078  2,181,078  usb_start
 11,861,817  9,680,739  bootp_start
 11,884,610     22,793  bootp_stop
 11,884,689         79  tftp start
 15,271,536  3,386,847  tftp done
 15,271,568         32  bootm_start
 15,406,551    134,983  start_kernel

Simon Glass (4):
  Add microsecond boot time measurement
  Add bootstage progress report
  Add bootstage calls in places appropriate for network booting
  Add option to print boot stage report before starting kernel

 README               |   17 +++++++++
 arch/arm/lib/board.c |    2 +
 arch/arm/lib/bootm.c |    4 ++
 common/Makefile      |    1 +
 common/bootstage.c   |   97 ++++++++++++++++++++++++++++++++++++++++++++++++++
 common/cmd_bootm.c   |    2 +
 common/cmd_net.c     |    7 +++-
 common/cmd_usb.c     |    1 +
 include/bootstage.h  |   74 ++++++++++++++++++++++++++++++++++++++
 include/common.h     |    8 ++++
 net/bootp.c          |    3 ++
 net/net.c            |    1 +
 12 files changed, 216 insertions(+), 1 deletions(-)
 create mode 100644 common/bootstage.c
 create mode 100644 include/bootstage.h

-- 
1.7.3.1

^ permalink raw reply	[flat|nested] 45+ messages in thread

end of thread, other threads:[~2011-05-24 19:24 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-13 20:51 [U-Boot] [PATCH 0/4] Accurate boot time measurement Simon Glass
2011-05-13 20:52 ` [U-Boot] [PATCH 1/4] Add microsecond " Simon Glass
2011-05-14 11:19   ` Mike Frysinger
2011-05-14 11:31   ` Mike Frysinger
2011-05-13 20:52 ` [U-Boot] [PATCH 2/4] Add bootstage progress report Simon Glass
2011-05-14 11:42   ` Mike Frysinger
2011-05-13 20:52 ` [U-Boot] [PATCH 3/4] Add bootstage calls in places appropriate for network booting Simon Glass
2011-05-14 11:44   ` Mike Frysinger
2011-05-13 20:52 ` [U-Boot] [PATCH 4/4] Add option to print boot stage report before starting kernel Simon Glass
2011-05-14 11:46   ` Mike Frysinger
2011-05-14 11:34 ` [U-Boot] [PATCH 0/4] Accurate boot time measurement Mike Frysinger
2011-05-14 17:32   ` Simon Glass
2011-05-15 10:03     ` Graeme Russ
2011-05-15 21:34       ` Simon Glass
2011-05-15 22:56         ` Graeme Russ
2011-05-16  5:56           ` Wolfgang Denk
2011-05-16  6:10             ` Graeme Russ
2011-05-15 11:53 ` Wolfgang Denk
2011-05-15 21:58   ` Simon Glass
2011-05-15 22:36     ` Graeme Russ
2011-05-16  5:55       ` Wolfgang Denk
2011-05-16  6:11         ` Graeme Russ
2011-05-16 11:18           ` Wolfgang Denk
2011-05-16  2:59     ` Mike Frysinger
2011-05-16  5:48     ` Wolfgang Denk
2011-05-16  6:23       ` Graeme Russ
2011-05-16 11:40         ` Wolfgang Denk
2011-05-16 18:25           ` Scott Wood
2011-05-16 23:09           ` Graeme Russ
2011-05-16 14:23         ` Premi, Sanjeev
2011-05-16 16:00       ` Simon Glass
2011-05-16 18:32         ` Wolfgang Denk
2011-05-16 21:35           ` Simon Glass
2011-05-17  8:20         ` Detlev Zundel
2011-05-17 17:00           ` Simon Glass
2011-05-17 22:57             ` Graeme Russ
2011-05-19  8:36             ` Detlev Zundel
2011-05-20  1:48               ` Simon Glass
2011-05-20  2:28                 ` Graeme Russ
2011-05-20  2:29                   ` Graeme Russ
2011-05-23 15:22                 ` Detlev Zundel
2011-05-24  2:55                   ` Mike Frysinger
2011-05-24  7:18                     ` Wolfgang Denk
2011-05-24 18:22                       ` Mike Frysinger
2011-05-24 19:24                         ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.