From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot - timestamp
Date: Tue, 18 Feb 2014 07:33:29 +0100 [thread overview]
Message-ID: <20140218063329.59D15380407@gemini.denx.de> (raw)
In-Reply-To: <FE7ADED5C2218B4786C09CD97DC4C49FDAE7C6@exchbj02.viatech.com.bj>
Dear TigerLiu at via-alliance.com,
In message <FE7ADED5C2218B4786C09CD97DC4C49FDAE7C6@exchbj02.viatech.com.bj> you wrote:
> Hi, Denk:
> > [1] ftp://ftp.denx.de/pub/tools/time_log
> How to produce the below format's serial terminal log message?
> Which marco definition needed to be turn on when compiling u-boot code?
Argh... Is that not obvious? There are O changes needed to U-Boot.
You can use anr running U-Boot (or any oter code that produces output
on a file descriptor you can pipe through the script).
> ----------------------------
> # 6.357 ## Booting image at 00200000 ...
> # 6.357 Image Name: Linux-2.4.4
> # 6.367 Created: 2004-03-12 19:07:58 UTC
> # 6.367 Image Type: PowerPC Linux Kernel Image (gzip compressed)
> # 6.367 Data Size: 711745 Bytes = 695.1 kB
> # 6.377 Load Address: 00000000
> # 6.377 Entry Point: 00000000
> # 6.687 Verifying Checksum ... OK
> # 8.438 Uncompressing Kernel Image ... OK
> # 9.238 Linux version 2.4.4 (wd at atlas.denx.de) (gcc version 3.2.2
> 20030217 (Yellow Dog Linux 3.0 3.2.2-2a_1)) #2 Fri Mar 12 20:07:49 MET
> 2004
> # 0.000 I2C uCode patch installed
> # 0.010 MPC823 LCD memory at C01CE000
> # 0.010 On node 0 totalpages: 4096
> # 0.011 zone(0): 4096 pages.
You copied this from the comment of the "time_log" tool on our FTP
server, and this is ALL you need to produce such logs. It even
includes an example command how to do that (which you omitted here):
...
# Used to provide a log with timestamps.
#
# For example run as: kermit -c 2>&1 | /tmp/time_log "Linux version"
# This might create a listing like this:
...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The scientists of today think deeply instead of clearly. One must be
sane to think clearly, but one can think deeply and be quite insane.
- Nikola Tesla
next prev parent reply other threads:[~2014-02-18 6:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-10 11:25 [U-Boot] u-boot - timestamp Abdullah YILDIZ
2014-02-10 12:08 ` Albert ARIBAUD
2014-02-10 12:48 ` Abdullah YILDIZ
2014-02-10 16:22 ` James Chargin
2014-02-10 18:32 ` Wolfgang Denk
[not found] ` <1392582412.49443.YahooMailNeo@web140303.mail.bf1.yahoo.com>
2014-02-16 22:00 ` Wolfgang Denk
2014-02-18 5:37 ` TigerLiu at via-alliance.com
2014-02-18 6:33 ` Wolfgang Denk [this message]
2014-02-18 8:16 ` TigerLiu at via-alliance.com
2014-02-18 12:45 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140218063329.59D15380407@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox