From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31936 invoked by alias); 17 Dec 2007 16:03:02 -0000 Received: (qmail 31924 invoked by uid 22791); 17 Dec 2007 16:03:01 -0000 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; Mon, 17 Dec 2007 16:02:55 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1J4IQd-0002N1-00; Mon, 17 Dec 2007 17:02:51 +0100 Date: Tue, 18 Dec 2007 09:19:00 -0000 From: Andrew Lunn To: Antoine Zen-Ruffinen Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20071217160251.GL3998@lunn.ch> Mail-Followup-To: Antoine Zen-Ruffinen , ecos-discuss@ecos.sourceware.org References: <2cbbd8de0712162355j1b251fddv8a654b1c4db9bee8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2cbbd8de0712162355j1b251fddv8a654b1c4db9bee8@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Using a different network driver X-SW-Source: 2007-12/txt/msg00103.txt.bz2 On Mon, Dec 17, 2007 at 08:55:20AM +0100, Antoine Zen-Ruffinen wrote: > Hi ! > > I am new to eCos. I want to use it on a soekris board > (www.soekris.com), a single board PC, that have 3 NS DP83816 NIC. I > have seen that a compatible driver for that NIC already exist in eCos > tree. > > My question is how to incorporate it in my eCos configuration ? > > I tried with the configtool, but it allways tell me "Add or remove > hardware package by selecting a new hardware template". You cannot add new hardware to an existing target. You need to add a new target. Take a look at the pc_i82544 target as an example. You need to replace the two CYGPKG_DEVS_ETH_* lines. One should be the generic DP83816 package. The other will be a new package you need to add. You need a hardware dependent package which configures the hardware independent DP83816 driver for your specific board. Take a look at /devs/eth/powerpc/moab/current/ for an example of this. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss