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: Problem with adding new packages in windows configuration tool


Hmm... It sounds like the hardware property should be there (the package
will probably only work on an ISA PC), but there are more changes required
to ecos.db. How come I didn't have any trouble with ecosconfig on Unix? Does
it do different checks to the windows config tool?

When I tried doing simple things with the Windows config tool, such as
removing the Intel I82559 driver, I get the same errors that AL was getting.
Using ecosconfig I can simply do...

ecosconfig remove CYGPKG_DEVS_ETH_INTEL_I82559
ecosconfig remove CYGPKG_DEVS_ETH_I386_PC_I82559
ecosconfig add CYGPKG_DEVS_ETH_NS_DP83902A
ecosconfig add CYGPKG_DEVS_ETH_RLTK_ISA8019AS

Why isn't this possible? I don't understand what checks are being made.

Chris.

----- Original Message -----
From: "Bart Veer" <bartv@ecoscentric.com>
To: <al_chane@issc.com.tw>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Monday, August 19, 2002 9:36 PM
Subject: Re: [ECOS] Problem with adding new packages in windows
configuration tool


> >>>>> "AL" == AL Chane <al_chane@issc.com.tw> writes:
>
>     AL> I followed the steps at http://www.edesix.com/ecos/ to add a
>     AL> new package. In configuration tool, "Build"->"Packages", the
>     AL> new RealTek package is in grouup of "Available Packages". When
>     AL> trying to add into "Use those Packages", it shows "Add or
>     AL> Remove hardware packages by selecting new hardware template".
>     AL> The template I chosed is i386 with new_net package.
>
>     AL> The configuration tools i use is 1.3.net ( I tried 2.11 as
>     AL> well, it's same)
>
> The edesix instructions don't seem quite right. You need to either
> remove the "hardware" property from the ecos.db entry for this
> package, i.e. the entry should read just:
>
>     package CYGPKG_DEVS_ETH_RLTK_ISA8019AS {
>         alias { "RealTek 8019AS ISA PC Board ethernet driver" isa8019as }
>         directory devs/eth/rltk/isa8019as
>         script rltk_isa8019as_eth_drivers.cdl
>         description     "Ethernet drivers for RealTek 8019AS based PC ISA
boards."
>     }
>
> or alternatively you can update the ecos.db entry for "target pc",
> adding CYGPKG_DEVS_ETH_RLTK_ISA8019AS  to the list of packages
> supported on this target.
>
> The "hardware" property specifies that this package is only
> appropriate for certain targets, so you could not add it to a
> configuration for e.g. an SA1110-based iPAQ. The package needs to be
> listed explicitly for every target where it can be supported. Removing
> the property would mean that you can add the package to any
> configuration, irrespective of the hardware.
>
> Adding the package to "target pc" will cause that package to be loaded
> automatically whenever you select that target. I have not looked at
> the package itself, so it is possible that it may clash with one of
> the other PC ethernet packages. If so you could define a new target
> my_pc, cloned from the standard pc target, listing just the drivers
> for the hardware actually present.
>
> Bart
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>


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