This is the mail archive of the ecos-discuss@sourceware.org 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]

Re: Using a different network driver


On Mon, Dec 17, 2007 at 08:55:20AM +0100, Antoine Zen-Ruffinen wrote:
> Hi !
> 
> I am new to eCos. I want to use it on a soekris board
> (www.soekris.com), a single board PC, that have 3 NS DP83816 NIC. I
> have seen that a compatible driver for that NIC already exist in eCos
> tree.
> 
>  My question is how to incorporate it in my eCos configuration ?
> 
> I tried with the configtool, but it allways tell me "Add or remove
> hardware package by selecting a new hardware template".

You cannot add new hardware to an existing target. You need to add a
new target. Take a look at the pc_i82544 target as an example. You
need to replace the two CYGPKG_DEVS_ETH_* lines. One should be the
generic DP83816 package. The other will be a new package you need to
add.

You need a hardware dependent package which configures the hardware
independent DP83816 driver for your specific board. Take a look at
/devs/eth/powerpc/moab/current/ for an example of this.

         Andrew

-- 
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]