From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29871 invoked by alias); 11 Apr 2005 08:00:52 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 29819 invoked from network); 11 Apr 2005 08:00:46 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (206.168.96.204) by sourceware.org with SMTP; 11 Apr 2005 08:00:46 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id 715E9100032; Mon, 11 Apr 2005 02:00:46 -0600 (MDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 49A4010000C; Mon, 11 Apr 2005 02:00:45 -0600 (MDT) From: Gary Thomas To: Raghu Cc: eCos Discussion In-Reply-To: <20050411050959.73470.qmail@web40429.mail.yahoo.com> References: <20050411050959.73470.qmail@web40429.mail.yahoo.com> Content-Type: text/plain Organization: MLB Associates Date: Mon, 11 Apr 2005 08:00:00 -0000 Message-Id: <1113206444.1985.355.camel@hermes> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=2.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.0 Subject: Re: [ECOS] cyg_io_read blocking X-SW-Source: 2005-04/txt/msg00117.txt.bz2 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