some question about serial.c

dennis.yxun dennis.yxun at
Fri Jul 25 01:46:29 CEST 2008

Hash: SHA1

i thought it would be quite easy to bring up the serial console
(as the uart output);
but unfortuntely, i was stalled here, it's annoy

can anyone who have experience about this shed some light for me.

following is what i've tried.
0. all interrupt is mask off
1. configure MPLL, to 96Mhz, PCLK to 16Mhz (FCLK:HCLK:PCLK=1:3:6)
	can't configure FLCK to 400Mhz with jtag debug, don't know why.
2. config uart clock source as PCLK, 16Mhz,
3. enable uart output pin output (GPHCON)
4. config uart register 115200,8n1,divider value is 8
5. send data out, just poll UTRSTAT bit (transmitter buffer empty)
host side, using minicom, setting  115200, 8n1

i thought neofreeruner use Uart 2 as serial output,
but no success, neither with UART0, UART1 port

xiangfu wrote:
> Dennis.Yxun wrote:
>> you can follow this
>> use minicom, configure it properly
>> setting may like /dev/ttyUSB0, 7N1, 115200? (host and neo must match)
>> this could be wrong, correct me!
>> you may have to dig the s3c2442 data sheet to see
>> if the UART is configured correctly (register , clock settings..)
> i download the commi but when i make :
> iangfu at xiangfu-laptop:~/Software/commi-0.3.2$ make
> /usr/bin/uic-qt4 commimainform.ui -o .ui/ui_commimainform.h
> uic: File generated with too old version of Qt Designer
> File 'commimainform.ui' is not valid
> make: *** [.ui/ui_commimainform.h] Error 1
> seems the qt version.
> so i use:
> sudo modprobe ftdi_sio vendor=0x1457 product=0x5118
> sudo chown uucp.uucp /dev/ttyUSB0
> sudo cu -s 115200 -l /dev/ttyUSB0
> but i receive nothing! is that seems the configure of UART  is not star
> or the command is not correct?
> the code:

Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla -

-------------- next part --------------
A non-text attachment was scrubbed...
Name: serial_kboot_0724.patch
Type: text/x-patch
Size: 86192 bytes
Desc: not available
Url : 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serial_kboot_0724.patch.sig
Type: application/octet-stream
Size: 65 bytes
Desc: not available
Url : 

More information about the openmoko-kernel mailing list