set BOARD_KERNEL_CMDLINE to no_console_suspend=1 console=<Serial TTY device> <Baud rate of serial port> <loglevel=8>
Regards On Wed, Jul 14, 2010 at 2:38 PM, Vishnu Pratap Singh <vishu13...@gmail.com>wrote: > Dear Jie, > > Can you make clear, how you are going to boot prompt, are you using jig box > for getting boot prompt or serial logs ? > > > On Wed, Jul 14, 2010 at 2:28 PM, Jie <cn.fyo...@gmail.com> wrote: > >> But Tattoo device booted with a TATTOO logo screen and no ttys will >> appear to check out the dmesg. It seems like a paradox for android >> devices. >> >> I've changed the CMDLINE for mkbootimg command but no luck. The >> bootloader on HTC Tattoo hasn't been hacked so far. Any suggestions? >> >> >> PS, I'll try it on emulators. >> >> Regards, >> >> On Jul 14, 3:54 pm, Vishnu Pratap Singh <vishu13...@gmail.com> wrote: >> > actually if you want you can change the debug level in boot parameters >> also, >> > this should be present in your bootloader code. >> > >> > On Wed, Jul 14, 2010 at 1:20 PM, Vishnu Pratap Singh >> > <vishu13...@gmail.com>wrote: >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > yes, you can try it out. >> > >> > > On Wed, Jul 14, 2010 at 12:24 PM, Jie <cn.fyo...@gmail.com> wrote: >> > >> > >> 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> >> <android-kernel%2bunsubscr...@googlegroups.com<android-kernel%252bunsubscr...@googlegroups.com> >> > >> > >> <android-kernel%2bunsubscr...@googlegroups.com<android-kernel%252bunsubscr...@googlegroups.com> >> <android-kernel%252bunsubscr...@googlegroups.com<android-kernel%25252bunsubscr...@googlegroups.com> >> > >> > >> > >> > > website:http://groups.google.com/group/android-kernel >> > >> > >> -- >> > >> unsubscribe: >> > >> android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com> >> <android-kernel%2bunsubscr...@googlegroups.com<android-kernel%252bunsubscr...@googlegroups.com> >> > >> > >> website:http://groups.google.com/group/android-kernel >> > >> > > -- >> > > Vishnu Pratap Singh >> > >> > -- >> > Vishnu Pratap Singh >> >> -- >> unsubscribe: >> android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com> >> website: http://groups.google.com/group/android-kernel >> > > > > -- > Vishnu Pratap Singh > > -- Vishnu Pratap Singh -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel