[uClinux-dev] Re: JTAG UART console question
On Mon, Dec 20, 2010 at 10:34 PM, Drasko DRASKOVIC wrote: > Hi all, > I saw that uClinux has a possibility to use JTAG serial console. I > enabled low-level debugging via JTAG and in OpenOCD I can observe > low-level information (machine, ATGAS addr, etc). I am using ARM9 > processor. > > I also enabled Linux kernel JTAG UART console driver, but I did not > succeeded to redirect kernel messages to this console and observe > output in OpenOCD. > > How this should be done ? Would the kernel command-line argument > console=ttyJ work, or there is something else (some kernel > configuration ?) to be done. Hi all, I tried both passing console=ttyJ0 and using CONFIG_SERIAL_DCC_STDSERIAL in order to force printk's going to ttyS0 to go via JTAG DCC but no success. I can see that tty_write() calls directly uart_write(), and not dcc_console_write(). I am suspecting that my UART port is not working correctly, so I want to use JTAG DCC instead. How to force tty_write() to call JTAG DCC routines ? Did anyone had success with redirectiong std serial to JTAG DCC ? Best regards, Drasko ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
Re: [uClinux-dev] JTAG UART console question
Hi, Were you able to find out a way to make it work?? i'll try to look this out after holiday. I have SEGGER JTAG tough!! With SEGGER i can use a console debugg by typing "console" but i didn't send message wet because i use UART port...but for sure you have to change the console command line so the early console can start out. Hugo On Mon, Dec 20, 2010 at 4:34 PM, Drasko DRASKOVIC < drasko.drasko...@gmail.com> wrote: > Hi all, > I saw that uClinux has a possibility to use JTAG serial console. I > enabled low-level debugging via JTAG and in OpenOCD I can observe > low-level information (machine, ATGAS addr, etc). I am using ARM9 > processor. > > I also enabled Linux kernel JTAG UART console driver, but I did not > succeeded to redirect kernel messages to this console and observe > output in OpenOCD. > > How this should be done ? Would the kernel command-line argument > console=ttyJ work, or there is something else (some kernel > configuration ?) to be done. > > Best regards, > Drasko > ___ > uClinux-dev mailing list > uClinux-dev@uclinux.org > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by uclinux-dev@uclinux.org > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > > ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev