This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: cyg_io_read blocking
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Raghu <raghu_dk at yahoo dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 11 Apr 2005 02:00:44 -0600
- Subject: Re: [ECOS] cyg_io_read blocking
- Organization: MLB Associates
- References: <20050411050959.73470.qmail@web40429.mail.yahoo.com>
On Sun, 2005-04-10 at 22:09 -0700, Raghu wrote:
> >>>Finally, this thread really should be on ecos-
> >>> discuss
>
> Just wanted to put this here as suggested by Gary.
>
> >>> * If you want to do threaded operations, you'll
> >>> need to use a serial device driver that supports
> >>> this - not /dev/ttydiag which does not.
> >>> It's not clear what driver/device your I/O
> >>> channel is connected to,but it needs to be
> >>> a "standard serial" driver, e.g. /dev/ser0
>
> I have a IXDP425 eval board, and I think there is no
> standard serial driver that registers as "/dev/ser0"
> for this board. Do we have to write one ?? I think
> there is only "ixp425_diag.c" in
> platforms/hal/arm/xscale/ixp425 directory.
Yes, you'll need to write one. It should be straight forward
since the serial ports are 16550 compatible.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss