Skip to content

bootstage: Add a number of new features

Anatolij Gustschin u-boot 1 version New

Get series with b4
b4 am 20121003010241.6905506b@wker

Versions newest first

  1. v1 Latest0 of 6 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/6] bootstage: Add a number of new features

Hi Simon,

Quoted 25 lines · On Fri, 28 Sep 2012 11:56:34 -0700 Simon Glass <[email protected]> wrote:

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

Quoted 8 lines
 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

Applied this series to u-boot-staging/agust at denx.de-next, thanks!

I've dropped "BRANCH=snow,link" in commit log of the patches 4 and 5, hope this is okay?

Thanks,
Anatolij