<div dir="ltr">Dear<font face="arial, sans-serif"><span style="white-space:nowrap"><b> </b>Valdis,</span></font><div><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div style><font face="arial, sans-serif"><span style="white-space:nowrap">Thank you for your quick reply, but what i need is "<b>time in bootloader print output</b>". Kernel i already enabled and i am getting the time, </span></font></div>
<div style><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div style><font face="arial, sans-serif"><span style="white-space:nowrap">So i need time information like </span></font></div>
<div style><div><font face="arial, sans-serif"><span style="white-space:nowrap"><b><br></b></span></font></div><div><div><font face="arial, sans-serif"><span style="white-space:nowrap">[ Time XXXX ] <b>U-Boot 1.1.4-gedeced79 (Feb 6 2012 - 09:27:11)</b></span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><b><br></b></span></font></div><div><span style="font-family:arial,sans-serif;white-space:nowrap">[ Time XXX2 ] </span><font face="arial, sans-serif"><span style="white-space:nowrap"><b>Load address: 0x80e80000</b></span></font></div>
<div><span style="font-family:arial,sans-serif;white-space:nowrap">[ Time XXX3 ] </span><font face="arial, sans-serif"><span style="white-space:nowrap"><b>DRAM: 1024 MB</b></span></font></div><div><br></div><div><font face="arial, sans-serif"><span style="white-space:nowrap"><b>Hit any key to stop autoboot: 0 </b></span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><b>kernel @ 80008000 (3728760)</b></span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap"><b>ramdisk @ 81000000 (295902)</b></span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><b>I2C read: I/O error</b></span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap"><b><br></b></span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap"><b>Starting kernel ...</b></span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><b><br></b></span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap"><b>Uncompressing Linux... done, booting the kernel.</b></span></font></div>
</div><div><br></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">[ 0.000000] Initializing cgroup subsys cpu ===> Kernel I am already getting timing information with </span></font><span style="font-family:arial,sans-serif;font-size:13px">CONFIG_PRINTK_TIME=y</span></div>
<div><br></div><div style>Thanks & Regards </div><div style>Dhyan </div></div><div style><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, May 20, 2013 at 1:19 PM, <span dir="ltr"><<a href="mailto:Valdis.Kletnieks@vt.edu" target="_blank">Valdis.Kletnieks@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, 20 May 2013 12:37:25 +0530, Dhyan said:<br>
<br>
> Is there any uboot config option in to print boot sequence with time<br>
> prefixes similar to kernel option CONFIG_PRINTK ?<br>
<br>
</div>I think you meant CONFIG_PRINTK_TIME there - and if that kernel option is<br>
set, all your printks will show up with that, even stuff coming out of<br>
early_printk().<br>
<br>
Getting userspace to do it as well is a userspace problem, not a kernel<br>
problem. You'll have to fix multiple pieces - everything from your<br>
syslog daemon (whichever one you use) to sysvinit/systemd/upstart or<br>
whatever you boot with to output the right stuff on the console. There's<br>
almost certainly other stuff lurking as well, but your syslog and init<br>
packages are going to be about 90% of it.<br>
</blockquote></div><br></div>