[U-Boot-Users] serial does not work
Wolfgang Denk
wd at denx.de
Tue Aug 31 22:09:16 CEST 2004
In message <20040831094238.3A4BCFB047 at 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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
If a packet hits a pocket on a socket on a port,
And the bus is interrupted as a very last resort,
And the address of the memory makes your floppy disk abort,
Then the socket packet pocket has an error to report! - Ken Burchill?
More information about the U-Boot
mailing list