[U-Boot] Serail console interface "functions/datastructures"

Ayewin Oung ayewinoung at googlemail.com
Wed May 5 10:57:28 CEST 2010


Thats cool thanks.

On 5 May 2010 09:25, Mike Frysinger <vapier at gentoo.org> wrote:

> On Wednesday 05 May 2010 04:08:20 Ayewin Oung wrote:
> > Could someone point to me which doc/examples I should follow, to
> implement
> > serail console?  I'm assuming there is a "well" defined interface,
> > functions/datastructes one has to implement specific to a particular
> board.
>
> there are no docs unfortunately.  this is one thing people tend to
> implement
> once and forget about, and so no one has bothered documenting it.
>
> look at include/common.h.  you have to implement
> serial_{set_baud,setbrg,init,putc,puts,getc,tstc}.
>
> grep the tree for those functions to find examples, but the names should be
> pretty self-explanatory.
> -mike
>


More information about the U-Boot mailing list