s3c2440 -- serial_init
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.
What could be the problem? Or am I doing some wrong initializations?
Thanks in advance.
Tiju
Now you can chat without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080328/b635a576/attachment.htm
Quoted 12 lines · Tiju
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_initit goes to the_serial_putcand then after certain loops it goes to the hang function and hangs there.What could be the problem? Or am I doing some wrong initializations?
Are you sure that the memory inizializzation is correct?
Regards Michael
Quoted 8 lines · Tiju
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_initit goes to the_serial_putcand 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.
Signature · 11 lines
- Harald Welte <[email protected]> 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