[U-Boot-Users] serial does not work

my card use powerpc 440gx, i use u-boot OCOTEA board. when i arrive the prompt "=>", i can input no char. at last i find that cpu always loops in the function of serial_getc() whatever i press any button. i have no error. cpu-->ppc4xx-->serial.c status = in8 (ACTING_UART0_BASE + UART_LSR); if ((status & asyncLSRDataReady1) != 0x0) { break; } the result of (status & asyncLSRDataReady1) always is zero. i do not know why.

On Tue, 2004-08-31 at 05:31, 刘勇 wrote:
my card use powerpc 440gx, i use u-boot OCOTEA board. when i arrive the prompt "=>", i can input no char. at last i find that cpu always loops in the function of serial_getc() whatever i press any button. i have no error. cpu-->ppc4xx-->serial.c status = in8 (ACTING_UART0_BASE + UART_LSR); if ((status & asyncLSRDataReady1) != 0x0) { break; } the result of (status & asyncLSRDataReady1) always is zero. i do not know why.
What communications settings are you using? Ensure flow control is set to NONE.
Please read the DULG.
Stock 'out-of-the-box' u-boot on the ocotea should be: 115200,None,8,1, No flow control
-travis

In message 20040831094238.3A4BCFB047@gatekeeper.ncic.ac.cn you wrote:
my card use powerpc 440gx, i use u-boot OCOTEA board. when i arrive the prompt "=>", i can input no char. at last i find that cpu always loops in the function of serial_getc() whatever i press any button. i have no error. cpu-->ppc4xx-->serial.c status = in8 (ACTING_UART0_BASE + UART_LSR); if ((status & asyncLSRDataReady1) != 0x0) { break; } the result of (status & asyncLSRDataReady1) always is zero. i do not know why.
Disable flow-control in your terminal emulation program.
Best regards,
Wolfgang Denk
participants (3)
-
Travis Sawyer
-
Wolfgang Denk
-
刘勇