public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] cyg_io_read blocking
@ 2005-04-11  5:10 Raghu
  2005-04-11  8:00 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Raghu @ 2005-04-11  5:10 UTC (permalink / raw)
  To: ecos-discuss

>>>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.

Regards,
Raghu.



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] cyg_io_read blocking
  2005-04-11  5:10 [ECOS] cyg_io_read blocking Raghu
@ 2005-04-11  8:00 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2005-04-11  8:00 UTC (permalink / raw)
  To: Raghu; +Cc: eCos Discussion

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-11  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-11  5:10 [ECOS] cyg_io_read blocking Raghu
2005-04-11  8:00 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).