This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: changing ethernet driver
- To: Arif dot Abbas at combitechsystems dot com
- Subject: Re: [ECOS] changing ethernet driver
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 07 Sep 2001 23:05:19 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <2253171AF143D21185A60000F8FA748B0379B242@pluto.combitech.se>
Arif.Abbas@combitechsystems.com wrote:
>
> Hi!
>
> I am working on a platform that is very similiar to the eCos-supported
> nanoEngine platform.
> What I am trying to do now, is to remove the current Ethernetdriver (Intel
> I82559 and BSE nanoEngine ethernet driver)
> and instead use a "pseudo-driver". For now, I am trying SLIP, but am
> supposed to use PPP later on.
> (Since SLIP is much simpler and by doing this, I thought I would learn how
> to add new drivers and how to
> link them into the stack)
> What I have done so far, is to add the CDL to the directory
> devs/eth/slip/current/cdl and the c and h file to
> devs/eth/slip/current/src
> I have also modified the ecos.db and added the "slip package".
>
> But when I start from the nanoEngines template, and want to remove the
> default networkdrivers and instead use
> the SLIP using the config tool, I get an error which sais:
> "Add and remove hardware packages by selecting new hardware template".
>
> Is there any easy way to do this? Or should I manually change the .ecc file
> and add my slip package?
> How do I do this?
You can't unload "hardware" packages. Instead you should modify the
hardware description for your target in ecos.db (currently nanoengine for
you, but you may as well make a new section for your target) so that it
only lists the hardware packages you want.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine