From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32016 invoked by alias); 11 Jun 2008 17:32:15 -0000 Received: (qmail 31989 invoked by uid 22791); 11 Jun 2008 17:32:14 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_43 X-Spam-Check-By: sourceware.org Received: from s200aog16.obsmtp.com (HELO s200aog16.obsmtp.com) (207.126.144.130) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Jun 2008 17:31:38 +0000 Received: from source ([167.4.1.35]) (using TLSv1) by eu1sys200aob016.postini.com ([207.126.147.11]) with SMTP; Wed, 11 Jun 2008 17:31:32 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.80.115]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id 33881DB01; Wed, 11 Jun 2008 17:31:32 +0000 (GMT) Received: from mail1.phx.st.com (mail1.phx.st.com [167.4.198.60]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id B221048C56; Wed, 11 Jun 2008 17:31:31 +0000 (GMT) Received: from [167.4.196.118] (cea05.phx.st.com [167.4.196.118]) by mail1.phx.st.com (MOS 3.7.5a-GA) with ESMTP id CPH31510 (AUTH "paul thacker"); Wed, 11 Jun 2008 10:31:30 -0700 (MST) Message-ID: <48500CA7.3080201@st.com> Date: Wed, 11 Jun 2008 17:32:00 -0000 From: Paul J THACKER User-Agent: Thunderbird 1.5.0.7 (X11/20060909) MIME-Version: 1.0 To: Andrew Lunn Cc: ecos-devel@ecos.sourceware.org Subject: Re: How do I add a serial driver? References: <484EE45D.6040407@st.com> <20080610214551.GJ8456@lunn.ch> <484EFC97.1050207@st.com> <20080611065454.GK8456@lunn.ch> <484FFD64.10307@st.com> <20080611164820.GA523@lunn.ch> In-Reply-To: <20080611164820.GA523@lunn.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2008-06/txt/msg00009.txt.bz2 Andrew Lunn wrote: > So you need to look at your configuration and work out why your serial > driver package is not active. > > eg the top of the AT91 driver has: > > cdl_package CYGPKG_IO_SERIAL_ARM_AT91 { > display "Atmel AT91 serial device drivers" > > parent CYGPKG_IO_SERIAL_DEVICES > active_if CYGPKG_IO_SERIAL > active_if CYGPKG_HAL_ARM_AT91 cdl_package CYGPKG_IO_SERIAL_ARM_CARTESIO { display "Cartesio serial device drivers" parent CYGPKG_IO_SERIAL_DEVICES active_if CYGPKG_IO_SERIAL active_if CYGPKG_HAL_ARM_CARTESIO requires CYGPKG_ERROR include_dir cyg/io include_files ; # none _exported_ whatsoever description " This option enables the serial device drivers for the Cartesio." compile -library=libextras.a cartesio_serial.c define_proc { puts $::cdl_system_header "/***** serial driver proc output start *****/" puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER " puts $::cdl_system_header "/***** serial driver proc output end *****/" } > > We know you have CYGPKG_IO_SERIAL_DEVICES enabled. Does your > configuration have CYGPKG_IO_SERIAL enabled? Not sure how to tell. It doesn't say one way or the other in configtool. Does your package still > require CYGPKG_HAL_ARM_AT91 which is not true for your hardware? Have > you made a typo in the name of the replacement? Don't think so. I've looked it over pretty carefully. > > Look at your ecos.ecc file. You can learn a lot from that. Don't have an ecos.ecc. Do you mean ecos.db? > > Andrew Thanks, Paul