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]

Re: changing ethernet driver


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


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