[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[openap-cvs] : alios alios.S,1.2,1.3
From: |
David Kimdon <address@hidden> |
Subject: |
[openap-cvs] : alios alios.S,1.2,1.3 |
Date: |
Tue, 21 May 2002 00:07:30 -0400 |
Update of /cvsroot/openap/alios
In directory subversions:/tmp/cvs-serv31990/alios
Modified Files:
alios.S
Log Message:
patch thanks to Keith Smith <address@hidden>
Serial console changed from 9600 to 4800 default speed. This makes the port
usable on more boards. Many boards can't handle 9600 without often missing
some bits and yielding bad chars.
alios/alios.S : set uart speed to 4800
misc/build_flash.pl : tell Linux to run serial console at 4800
Index: alios.S
===================================================================
RCS file: /cvsroot/openap/alios/alios.S,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- alios.S 7 May 2002 19:21:53 -0000 1.2
+++ alios.S 21 May 2002 04:07:28 -0000 1.3
@@ -209,7 +209,7 @@
# UART registers:
.word (UART_BASE+3), 0x80 # set DLAB
- .word (UART_BASE+0), 0x0C # divisor LSB =12 (for 9600 bps)
+ .word (UART_BASE+0), 0x18 # divisor LSB =24 (for 4800 bps)
.word (UART_BASE+1), 0x00 # divisor MSB =0 (for all bps)
.word (UART_BASE+3), 0x03 # reset DLAB, clear BRK, use 8N1
.word (UART_BASE+4), 0x03 # set DTR, RTS
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [openap-cvs] : alios alios.S,1.2,1.3,
David Kimdon <address@hidden> <=