如何获取引导日志中的时间戳,如下所示?
[Tue Mar 19 13:46:28.140 2013] U-Boot 1.4.0XXXXXX (Mar 04 2013 - 08:41:02)MPC83XX
[Tue Mar 19 13:46:28.156 2013]
[Tue Mar 19 13:46:28.156 2013] Reset Status:
[Tue Mar 19 13:46:28.156 2013]
[Tue Mar 19 13:46:28.156 2013] CPU: e300c3, MPC8308, Rev: 1.0 at 333.333 MHz, CSB: 133.333 MHz
[Tue Mar 19 13:46:28.187 2013] Board: XXXXX
[Tue Mar 19 13:46:28.187 2013] I2C: ready
[Tue Mar 19 13:46:28.187 2013] ZDRAM: 256 MiB (DDR2, 32-bit, ECC off, 266.667 MHz)
[Tue Mar 19 13:46:28.203 2013] ZDRAM Test Started ... DRAM Test Passed.
[Tue Mar 19 13:46:28.312 2013] ZFlash: 4 MiB
[Tue Mar 19 13:46:28.312 2013] ZNAND: 512 MiB
[Tue Mar 19 13:46:28.312 2013] Using default environment
.
.
[Tue Mar 19 13:49:58.640 2013] Jan 1 04:41:28 localhost kernel: device xxxx-1 entered promiscuous mode
[Tue Mar 19 13:49:58.656 2013] Jan 1 04:41:28 localhost kernel: device xxxx-2 entered promiscuous mode
[Tue Mar 19 13:49:58.671 2013] Jan 1 04:41:28 localhost kernel: device xxxx-3 entered promiscuous mode
[Tue Mar 19 13:49:58.687 2013] Jan 1 04:41:28 localhost kernel: device xxxx-4 entered promiscuous mode
[Tue Mar 19 13:49:58.703 2013] Jan 1 04:41:32 localhost kernel: linux-xxx_port_mode(0, 2)
[Tue Mar 19 13:49:58.734 2013] Jan 1 04:41:32 localhost kernel: linux-xxx interface [2]
[Tue Mar 19 13:49:58.750 2013] Jan 1 04:41:48 localhost kernel: xxxx_ioctl(284): xxx.
[Tue Mar 19 13:49:58.765 2013] root@localhost:/root>
如何在登录提示之前获取引导日志和内核初始化日志?
一些专家早些时候在我的项目中使用了上述日志作为产品。
有人可以帮助这需要如何完成吗?