[ECOS] Hi,

Eric Doenges Eric.Doenges@DynaPel.com
Tue Oct 14 12:01:00 GMT 2003


Dhawal Mer wrote:
> Hi,
> Thanx for your URL info. 
> 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 shown below.
> —-------------------------------------------------------------------------------------------
> eCos.db
> —------------------------------------------------------------------------------------------
> 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."
> }
> - - - — - — - - — - — — — — - —- —- — —---- — —---- —- — — —- — - — — 
> 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."
> }
> 
> —-------------------------------------------------------------------------------------------
> After adding above statements, The RTL8139 driver get added to the package list as 'PC RealTek 8139 ethernet driver'.I have also added RTL8139 macro in the default list of i386 & removed the 82559 macro. 
> 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 Configuration 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 for adding above rltk8139 driver into the eCos Configtool 2.1/eCos Configtool 1.3.
> Please also note that i have onboard ethernet , do i need to change anything 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.
-- 
--------------------------------------------------------------------
|     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



More information about the Ecos-discuss mailing list