[U-Boot-Users] s3c2440 -- serial_init
Harald Welte
laforge at gnumonks.org
Sun Apr 6 12:04:21 CEST 2008
On Fri, Mar 28, 2008 at 04:58:37PM +0530, Tiju wrote:
> Hi all
>
> I am trying to port u-boot to a s3c2440 samsung processor.
>
> I applied the smdk2440 boards patch (almost similar architecture) and
> trying to modify it for our board's requirement. But during the
> serial_init it goes to the _serial_putc and then after certain loops
> it goes to the hang function and hangs there.
this sounds like a flow control issue. The s3c24xx boards support
hardware flow control handling, i.e. their TX FIFO will not transmit any
more characters unless the RTS/CTS handshake allows it to.
Since the u-boot serial code does an endless loop waiting for the next
character, it will busy-wait there.
Please note that this is true even for UARTs that don't even have
RTS/CTS. Don't use hw flow control on them.
Another possible cause could be lack of proper GPIO configuration for
the RTS/CTS pins, missing connection on the board, broken serial cable.
Basically anthing that affects RTS/CTS from within the s3c24xx and the
PC on the other side.
--
- Harald Welte <laforge at gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080406/ba4eb1bf/attachment.pgp
More information about the U-Boot
mailing list