From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26023 invoked by alias); 10 Jun 2008 21:46:27 -0000 Received: (qmail 26014 invoked by uid 22791); 10 Jun 2008 21:46:26 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Jun 2008 21:45:56 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1K6Bf5-0002hQ-00; Tue, 10 Jun 2008 23:45:51 +0200 Date: Tue, 10 Jun 2008 21:46:00 -0000 From: Andrew Lunn To: Paul J THACKER Cc: ecos-devel@ecos.sourceware.org Subject: Re: How do I add a serial driver? Message-ID: <20080610214551.GJ8456@lunn.ch> References: <484EE45D.6040407@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <484EE45D.6040407@st.com> User-Agent: Mutt/1.5.18 (2008-05-17) 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/msg00004.txt.bz2 On Tue, Jun 10, 2008 at 01:30:21PM -0700, Paul J THACKER wrote: > I'm porting ECOS to a new platform, based on the ARM926. I cloned an > existing platform and got everything to compile, but I can't figure out > how to add the serial driver. > > I cloned an existing driver and added it to my cdl files. It shows up in > Build->Packages, but when I try to add it, I get a message that says > "Add and remove hardware packages by selecting a new hardware template". > > I tried a couple of other platforms with the same result. I'm clearly > not understanding this process. Can anybody help? Hardware packages should be part of the basic target template: target h8max { alias { "H8MAX" } packages { CYGPKG_HAL_H8300 CYGPKG_HAL_H8300_H8300H CYGPKG_HAL_H8300_H8300H_H8MAX CYGPKG_IO_SERIAL_H8300_SCI CYGPKG_DEVS_ETH_H8300_H8MAX CYGPKG_DEVICES_WATCHDOG_H8300_H8300H } description " The h8max target provides the packages need to run eCos in the strawberry-linux.com H8MAX board." } Andrew