Re: [android-kernel] Re: Why does booting time reduce from 2 min to 1 min after just adding a printk(..) invoking?

2010-06-24 Thread radovan lekanovic
Hi You can use dmesg to see the printk logs. Just type "dmesg" or you can use adb like this: adb shell 'cat /proc/kmsg' BR Raso 2010/6/19 xlshe > Hi, Gary > > I am starting to do something in the kernel. But I don't know how to > read the information from the printk() in android phone OS. Beca

Re: [android-kernel] Re: Why does booting time reduce from 2 min to 1 min after just adding a printk(..) invoking?

2010-06-21 Thread Tim Bird
On 06/19/2010 03:37 AM, Gary wrote: > Hi,Tim and Greg > Thanks for your information. > I used Initcall_Debug flag and found that the initialization of FFUART > takes about 4 seconds. > By tracing step by step, found the time ran away in > release_console_sem() function, located at printk.c. > I am

Re: [android-kernel] Re: Why does booting time reduce from 2 min to 1 min after just adding a printk(..) invoking?

2010-06-19 Thread sanjeev sharma
on Android you should use dmesg after Android system boot's up and real time logs can be captured using connect to UART using minicom or hyperterminal. sanjeev sharma On Sat, Jun 19, 2010 at 2:08 PM, xlshe wrote: > Hi, Gary > > I am starting to do something in the kernel. But I don't know how

[android-kernel] Re: Why does booting time reduce from 2 min to 1 min after just adding a printk(..) invoking?

2010-06-19 Thread Gary
Hi, Longsheng I am using a special device by which capturing the log by UART and see log in Hyper - Terminal. and also you could try /var/log/dmesg. On 6月19日, 下午1时08分, xlshe wrote: > Hi, Gary > > I am starting to do something in the kernel. But I don't know how to > read the information from th

[android-kernel] Re: Why does booting time reduce from 2 min to 1 min after just adding a printk(..) invoking?

2010-06-19 Thread Gary
Hi,Tim and Greg Thanks for your information. I used Initcall_Debug flag and found that the initialization of FFUART takes about 4 seconds. By tracing step by step, found the time ran away in release_console_sem() function, located at printk.c. I am confused why release_console_sem() took so long ti

[android-kernel] Re: Why does booting time reduce from 2 min to 1 min after just adding a printk(..) invoking?

2010-06-18 Thread xlshe
Hi, Gary I am starting to do something in the kernel. But I don't know how to read the information from the printk() in android phone OS. Because I cann't find /var/log/syslog in the file system. Can you can me some sugesstion about how to read the log from printk(). Thank you very much. Longshen