From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4702 invoked by alias); 14 Oct 2003 12:01:22 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 4694 invoked from network); 14 Oct 2003 12:01:18 -0000 Received: from unknown (HELO mail.idtinc.de) (195.30.47.34) by sources.redhat.com with SMTP; 14 Oct 2003 12:01:18 -0000 Received: from DynaPel.com (unknown [10.0.2.109]) by mail.idtinc.de (Postfix on SuSE Linux eMail Server 3.0) with ESMTP id 6AF103E06; Tue, 14 Oct 2003 14:09:48 +0200 (CEST) Message-ID: <3F8BE5CB.7080909@DynaPel.com> Date: Tue, 14 Oct 2003 12:01:00 -0000 From: Eric Doenges User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030626 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dhawal Mer Cc: andrew@lunn.ch, ecos-discuss@sources.redhat.com References: In-Reply-To: X-Enigmail-Version: 0.76.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=TIS-620; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [ECOS] Hi, X-SW-Source: 2003-10/txt/msg00219.txt.bz2 Dhawal Mer wrote: > Hi, > Thanx for your URL info.=20 > As per your mentioned URL, i have downloaded the rltk8139.tgz . > I tried to added the rltk driver as one of the package in eCos.db as show= n below. > =97----------------------------------------------------------------------= --------------------- > eCos.db > =97----------------------------------------------------------------------= -------------------- > package CYGPKG_DEVS_ETH_RLTK_8139 { > alias { "RLTK 8139 ethernet driver" > devs_eth_rltk_8139 8139_eth_driver } > hardware > directory devs/eth/rltk/8139 > script rltk_8139_eth_drivers.cdl > description "Ethernet driver for RLTK 8139 NIC." > } > - - - =97 - =97 - - =97 - =97 =97 =97 =97 - =97- =97- =97 =97---- =97 =97= ---- =97- =97 =97 =97- =97 - =97 =97=20 > package CYGPKG_DEVS_ETH_I386_PC_RLTK8139 { > alias { "Standard PC with EtherPro 10/100 ethernet device" > devs_eth_i386_pc_8139 pc_etherpro } > hardware > directory devs/eth/i386/pc/rltk8139 > script i386_pc_rltk8139_eth_drivers.cdl > description "Ethernet driver for standard PC with Intel 8139 = NIC. This is > essentially support for a EtherPro 10/100 PCI card." > } >=20 > =97----------------------------------------------------------------------= --------------------- > After adding above statements, The RTL8139 driver get added to the packag= e list as 'PC RealTek 8139 ethernet driver'.I have also added RTL8139 macro= in the default list of i386 & removed the 82559 macro.=20 > But when I try to configure i386 as target with RTL8139 as a NIC( Redboot= as a Package ),the Option 'PC RealTek 8139 ethernet driver' in the Configu= ration windows remains disabled (It was showing all sub-options in disable = mode too..). > Please mail me where i am wrong & if possible send me, brief procedure f= or adding above rltk8139 driver into the eCos Configtool 2.1/eCos Configtoo= l 1.3. > Please also note that i have onboard ethernet , do i need to change anyth= ing in above driver for the same. You will also need a 'target' in ecos.db somewhat like this: target pc_8139 { alias { "i386 PC target with RealTek 8139 ethernet" } packages { CYGPKG_HAL_I386 CYGPKG_HAL_I386_GENERIC CYGPKG_HAL_I386_PC CYGPKG_HAL_I386_PCMB CYGPKG_IO_PCI CYGPKG_IO_SERIAL_GENERIC_16X5X CYGPKG_IO_SERIAL_I386_PC CYGPKG_DEVS_ETH_RLTK_8139 CYGPKG_DEVS_ETH_I386_PC_RLTK8139 CYGPKG_DEVICES_WALLCLOCK_DALLAS_DS12887 CYGPKG_DEVICES_WALLCLOCK_I386_PC } description "The pc target provides the packages needed to run eCos binaries on a standard i386 PC motherboard (with RealTek 8139 NIC)." } Then, in the configtool choose the menu item 'Build->Templates', and select the pc_8139 target and the 'net' package in the dialog. It shouldn't matter if the 8139 is onboard or not to the driver. Please note that I don't have an i386 PC target to test so I can't really help you much further if there are PC-specific problems. --=20 -------------------------------------------------------------------- | Eric Doenges | DynaPel Laboratories GmbH | | Tel: +49 89 962428 23 | Fraunhoferstrasse 9/2 | | Fax: +49 89 962428 90 | D - 85737 Ismaning, Germany | -------------------------------------------------------------------- -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss