some question about serial.c

Dennis.Yxun dennis.yxun at gmail.com
Wed Jul 30 16:07:34 CEST 2008


i think it won't work to adjust the divider
because the root problem is the incorrect clock setting
value MPLL (reg 0x4c00010), which lead to incorrect PCLK
(here we generate uart clock from PCLK)

On Wed, Jul 30, 2008 at 7:55 PM, Andy Green <andy at openmoko.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Somebody in the thread at some point said:
> | Hi Andy:
> | i dig into board_init(gta02.c) and set ubrdiv=0x11
> | finally i got something output from serial console. :-D
> | but it is not always correct!
>
> Nice work!
>
> | something like this:
> | ---------------------------------
> | hello world
> | hello world
> | hello world
> | hello world
> | �hello wo��dhello world
> | hello world
> | hello world
> | hello world
> | helho world
> | hello world
> |  ello worl`
> | ---------------------------------
> |
> | i am try to make minicom display 16 HEX
>
> Can it be our baud rate division is slightly off?  Try to change
> division by +1 or -1.
>
> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkiQVpwACgkQOjLpvpq7dMqs4wCdFbVKUuDWBnHdwWJcrFd0cK6Q
> Rb0An0y7ozoJDwhZks2axaJKKRxM9Xo6
> =Bqkr
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080730/4ac1fbcc/attachment.htm 


More information about the openmoko-kernel mailing list