Re: Bootloader sequence with time prefix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Valdis,

Thank you for your quick reply, but what i need is "time in bootloader print output". Kernel i already enabled and i am getting the time, 

So i need time information like  

[  Time XXXX  ] U-Boot 1.1.4-gedeced79 (Feb  6 2012 - 09:27:11)

[  Time XXX2  ] Load address: 0x80e80000
[  Time XXX3  ] DRAM:  1024 MB

Hit any key to stop autoboot:  0 
kernel   @ 80008000 (3728760)
ramdisk  @ 81000000 (295902)
I2C read: I/O error

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

[    0.000000] Initializing cgroup subsys cpu   ===> Kernel I am already getting timing information with CONFIG_PRINTK_TIME=y

Thanks & Regards 
Dhyan 



On Mon, May 20, 2013 at 1:19 PM, <Valdis.Kletnieks@xxxxxx> wrote:
On Mon, 20 May 2013 12:37:25 +0530, Dhyan said:

> Is there any uboot config option in to print boot sequence with time
> prefixes similar to kernel option CONFIG_PRINTK ?

I think you meant CONFIG_PRINTK_TIME there - and if that kernel option is
set, all your printks will show up with that, even stuff coming out of
early_printk().

Getting userspace to do it as well is a userspace problem, not a kernel
problem.  You'll have to fix multiple pieces - everything from your
syslog daemon (whichever one you use) to sysvinit/systemd/upstart or
whatever you boot with to output the right stuff on the console.  There's
almost certainly other stuff lurking as well, but your syslog and init
packages are going to be about 90% of it.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux