Hi, vishnu Thanks for quick reply. I've executed 'printenv' on my Tattoo device, 'CMDLINE' environment value isn't there. I guess it should be set in BoardConfig.mk file, right? There is an item named 'BOARD_KERNEL_CMDLINE' in this file. Right now, I set it to 'no_console_suspend=1 console=null' as Google did for other devices.
Is this correct? Regards, On Jul 14, 12:10 pm, Vishnu Pratap Singh <vishu13...@gmail.com> wrote: > Hi Jie, > > you can use serial port for getting the logs. on serail port go to boot > prompt and there you just change the log level from 4 to 8 like below > execute -> printenv > it will show the environment there you will see following > > CMDLINE=console=ttySAC2,115200 loglevel=4 > > then execute > setenv CMDLINE=console=ttySAC2,115200 loglevel=*8* > saveenv > * > * > reboot your target, you will get all printk logs. > > regards, > vishnu > > > > > > > > On Wed, Jul 14, 2010 at 9:21 AM, Jie <cn.fyo...@gmail.com> wrote: > > Hi, all > > > I've ported the HTC drivers for 2.6.29 to kernel-msm-2.6.32.9 on my > > HTC Tattoo. After a long time debugging, I completed the compilation > > without any errors. I've compared the .config files of both HTC(.29) > > and android(.32.9) carefully, nothing strange was found. However, the > > phone got stuck after the new boot.img flashed and the adbd had not > > started yet, so I couldn't find any useful debug messages from the new > > kernel. My question is how to debug the kernel on my HTC Tattoo > > without adb. Thanks a lot! > > > Regards, > > > -- > > unsubscribe: > > android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com> > > website:http://groups.google.com/group/android-kernel -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel