This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Real Tek 8139


Hello 
Because there are no Intel ethenet card in our market.
I have the Realtek 8139 ethernet card (RLTK8139) and I
did not find its driver in the eCos v2.0 source code.
So, i look on the eCos mailing list and I found the
RLTK8139.tgz file that have the rltk8139 driver.

I follow the following steps to add this driver to the
source code:
1- extract the rltk8139.tgz and i have the dev
directory that contains the /dev/eth/i386/pc/rlt8139
and /dev/eth/rltk directories.
2- Edit the ecod.db file 
   A- enabling the packges as shown:
      
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."
}

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."
}

B- define the 'pc_8139 target' in ecos.db as shown:

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)."
}

3- then I'm trying to re build the redboot
(redboot-rltk) as shown:

ecosconfig new pc_8139 redboot
 
a message appear " the target specification lists a
package 'CYGPKG_DEVS_ETH_I386_PC_RLTK8139' which is
not present in the component repository"

I dont know what is missing ? could you tell me?

                              thanks
                              Muna



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]