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]

Re: building RedBoot for a PC with an NIC other than 82559or 82544


Mike at VirginNet wrote:

I've now edited ecos.db and replicated the package
CYGPKG_DEVS_ETH_I386_PC_I82544 as CYGPKG_DEVS_ETH_I386_PC_I21143 with
appropriate changes in the text.  I'm sure there is more to it than that,
but I don't have a clue what!

When I run configtool on /tmp/redboot_FLOPPY/ecos.ecc and select the
menuitem build>packages,  I see the 82559 driver.  When I try to remove it,
I get a dialogue that says 'Add and remove hardware packages by selecting a
new hardware template'.  When I select the menuitem 'build>templates' I get
a description of the makeup of the build, but no mechanism to change it or
create a new template. Please explain.

You need to create a new hardware template that includes the packages you want. The easiest way to do this is to take the existing template (with the 82559 driver), create a copy, rename it, remove the 82559 package and add your CYGPKG_DEVS_ETH_I386_PC_I21143 package.

P.S.: if the driver was not originally written for the PC, you may run
into caching issues (i.e. the driver needs to access uncached memory,
but the PC target doesn't define any uncached address space or have
cache manipulation instructions).
--
--------------------------------------------------------------------
|     Eric Doenges              |     DynaPel Laboratories GmbH    |
|     Tel: +49 89 962428 23     |     Fraunhoferstrasse 9/2        |
|     Fax: +49 89 962428 90     |     D - 85737 Ismaning, Germany  |
--------------------------------------------------------------------


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


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