From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10587 invoked by alias); 22 Dec 2007 17:19:56 -0000 Received: (qmail 10550 invoked by uid 22791); 22 Dec 2007 17:19:55 -0000 X-Spam-Check-By: sourceware.org Received: from 204-133-123-27.dia.static.slbbi.com (HELO mail.chez-thomas.org) (204.133.123.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 22 Dec 2007 17:19:51 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 2AD1F1950106; Sat, 22 Dec 2007 10:19:50 -0700 (MST) Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id 3FB04195019E; Sat, 22 Dec 2007 10:19:47 -0700 (MST) Message-ID: <476D4732.2030402@mlbassoc.com> Date: Sun, 23 Dec 2007 08:28:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: Gregg Levine CC: ecos-discuss@ecos.sourceware.org References: <18d205ed0712211848y3e537308gd4257986b153338b@mail.gmail.com> <476CEE07.5010303@mlbassoc.com> <18d205ed0712220724p47766c8fi99cdf9d426c61286@mail.gmail.com> <476D459E.10402@mlbassoc.com> In-Reply-To: <476D459E.10402@mlbassoc.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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] creating a new template X-SW-Source: 2007-12/txt/msg00146.txt.bz2 Gary Thomas wrote: > Gregg Levine wrote: >> On Dec 22, 2007 5:59 AM, Gary Thomas wrote: >>> Gregg Levine wrote: >>>> Hello! >>>> In the collections of templates I see three Intel386 based PC ones. I >>>> would like to create one that contains everything except networking by >>>> means of the preselected devices. >>>> >>>> Can anyone suggest the steps needed? >>>> >>> Firstly, you probably mean "target", not "template". >>> Targets are ways of instantiating a particular hardware >>> platform (architecture, 'motherboard', devices, etc). >>> Templates describe collections of software packages >>> and are hardware neutral. >>> >>> For example, the 'pc_i82559' target describes a generic >>> PC which has, in particular, hardware support for the >>> Intel 82559 PCI ethernet controller. If you build eCos >>> like this: >>> % ecosconfig new pc_i82559 minimal >>> % ecosconfig tree >>> % make >>> the resulting eCos kernel will run on that PC [box], but >>> since the template used (minimal) does not include any >>> networking support packages, the fact that the target >>> specified the i82559 driver is irrelevant. In fact, >>> you would get an identical eCos kernel from >>> % ecosconfig new pc_i82544 minimal >>> % ecosconfig tree >>> % make >>> >>> Given the way that CDL is used to enable/disable the >>> building of drivers, etc, the ethernet drivers in either >>> of these examples won't even be built. >>> >>> If you don't want networking, then don't use a template >>> which includes network support. If you examine the templates, >>> you'll see that only 'net', 'lw_ip' and 'all' include networking. >>> If you start with any other template, you have to explicitly >>> add network support, regardless of what hardware device >>> drivers the particular target may support. >>> >> Hello! >> I see. >> My basic problem is that my test device, doesn't use the normal >> methods of supplying a networking device. It uses PCMCIA cards to >> supply them. >> >> And when I instruct the basic PC one to add both PCMCIA things to it, >> the first one goes in, that's for storage it seems, the second one, >> for networking does not. >> >> What I want to do is to produce a PC one, without the I82544 included >> in it. Equivalent to a bare PC board that was created without the >> embedded networking and perhaps even USB that was popular at the start >> of the time period. > > Just create a new _target_ which has the characteristics > that you need. Note that in general adding hardware drivers > is done in templates and not by adding additional packages ^^^^^^^^^ targets [even I had to be careful with the terms!] > (in fact, the config tool won't even let you try!) > -- ------------------------------------------------------------ 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