This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Using a different network driver
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Antoine Zen-Ruffinen <antoine dot zen at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 17 Dec 2007 17:02:51 +0100
- Subject: Re: [ECOS] Using a different network driver
- References: <2cbbd8de0712162355j1b251fddv8a654b1c4db9bee8@mail.gmail.com>
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