Dear tiger...@via-alliance.com, In message <fe7aded5c2218b4786c09cd97dc4c49fdae...@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 (w...@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: w...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot