public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/6] bootstage: Add a number of new features
@ 2012-09-28 18:56 Simon Glass
  2012-09-28 18:56 ` [U-Boot] [PATCH 1/6] bootstage: Export bootstage_add_record() function Simon Glass
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Simon Glass @ 2012-09-28 18:56 UTC (permalink / raw)
  To: u-boot

It is useful to be able to communicate the bootstage information to another
program, such as the kernel, either by putting it in memory or the device
tree. This makes the information accessible after boot so that it can easily
be logged somewhere or perhaps reported back for diagnostics purposes.
This series includes a few patches to implement this.

Sometimes a peripheral is touched multiple times during boot, or a single
task is called repeatedly. Examples are reading from a device, which might
happen in several parts, or setting up an LCD display, which may involve
multiple steps to comply with backlight power sequences. This series adds a
new bootstage time accumulation feature to add up all the time spent in a
particular task.

This series also adds a new command 'bootstage' to provide access to the
above features.


Simon Glass (6):
  bootstage: Export bootstage_add_record() function
  bootstage: Add time accumulation feature
  bootstage: Store boot timings in device tree
  bootstage: Add feature to stash/unstash bootstage info
  bootstage: Add bootstage command
  bootstage: Add new bootstage IDs for board, LCD

 README                 |   25 ++++
 arch/arm/lib/bootm.c   |    3 +
 common/Makefile        |    1 +
 common/bootstage.c     |  306 +++++++++++++++++++++++++++++++++++++++++++++---
 common/cmd_bootstage.c |  116 ++++++++++++++++++
 include/bootstage.h    |   85 +++++++++++++
 6 files changed, 517 insertions(+), 19 deletions(-)
 create mode 100644 common/cmd_bootstage.c

-- 
1.7.7.3

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

end of thread, other threads:[~2012-10-03  0:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-28 18:56 [U-Boot] [PATCH 0/6] bootstage: Add a number of new features Simon Glass
2012-09-28 18:56 ` [U-Boot] [PATCH 1/6] bootstage: Export bootstage_add_record() function Simon Glass
2012-09-28 18:56 ` [U-Boot] [PATCH 2/6] bootstage: Add time accumulation feature Simon Glass
2012-09-28 18:56 ` [U-Boot] [PATCH 3/6] bootstage: Store boot timings in device tree Simon Glass
2012-09-28 18:56 ` [U-Boot] [PATCH 4/6] bootstage: Add feature to stash/unstash bootstage info Simon Glass
2012-09-28 18:56 ` [U-Boot] [PATCH 5/6] bootstage: Add bootstage command Simon Glass
2012-09-28 18:56 ` [U-Boot] [PATCH 6/6] bootstage: Add new bootstage IDs for board, LCD Simon Glass
2012-10-02 23:02 ` [U-Boot] [PATCH 0/6] bootstage: Add a number of new features Anatolij Gustschin
2012-10-03  0:07   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox