Re: [android-porting] how do i redirect printk to adb shell?

2010-06-21 Thread Deva R
you can get android logs by adb logcat printk traces might be tricky., as its kernel side, 'm not sure if we can grab it over adb. try adb dmesg - it can give last kernel printk buffer copy., On Sun, Jun 20, 2010 at 4:49 PM, B.Y bubby...@gmail.com wrote: i have a device, and i want to port

Re: [android-porting] how do i redirect printk to adb shell?

2010-06-21 Thread Pavan Savoy
echo 7 /proc/sys/kernel/printk ? the kernel debug message level for shells ? On Mon, Jun 21, 2010 at 11:48 AM, Deva R r.deva...@gmail.com wrote: you can get android logs by adb logcat printk traces might be tricky., as its kernel side, 'm not sure if we can grab it over adb. try adb dmesg -

Re: [android-porting] how do i redirect printk to adb shell?

2010-06-21 Thread Pavan Savoy
not even cat /proc/kmsg ? hnm ... don't use much of adb .. have to check it out ... On Mon, Jun 21, 2010 at 12:39 PM, Deva R r.deva...@gmail.com wrote: echo 7 /proc/sys/kernel/printk how will this help for a device without serial port?? all bubbyyby got is adb connection., 'm also curious to

Re: [android-porting] how do i redirect printk to adb shell?

2010-06-21 Thread Abhishek Srivastav
We can use the following command to get dmesg print's over ADB. $adb shell dmesg ~ Abhishek On Mon, Jun 21, 2010 at 2:23 AM, Pavan Savoy pavan.sa...@gmail.com wrote: not even cat /proc/kmsg ? hnm ... don't use much of adb .. have to check it out ... On Mon, Jun 21, 2010 at 12:39 PM, Deva R

[android-porting] how do i redirect printk to adb shell?

2010-06-20 Thread B.Y
i have a device, and i want to port android to it. now i can boot android on this device, and connect to it with adb, but the device doesn't have a Serial output. so how do i make printk print debug messages to adb shell? thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com