From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Wed, 3 Oct 2012 01:02:41 +0200 Subject: [U-Boot] [PATCH 0/6] bootstage: Add a number of new features In-Reply-To: <1348858600-7095-1-git-send-email-sjg@chromium.org> References: <1348858600-7095-1-git-send-email-sjg@chromium.org> Message-ID: <20121003010241.6905506b@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Fri, 28 Sep 2012 11:56:34 -0700 Simon Glass 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 > > 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