[ECOS] Problem with adding new packages in windows configuration tool
Chris Paulson-Ellis
kelsall@dsl.pipex.com
Tue Aug 20 01:48:00 GMT 2002
You need to add the NS 83902a driver package as well. It is the low level
driver that the 83902AS ISA driver uses.
Chris.
----- Original Message -----
From: "AL Chane" <al_chane@issc.com.tw>
To: "eCos discuss" <ecos-discuss@sources.redhat.com>
Sent: Tuesday, August 20, 2002 5:05 AM
Subject: Re: [ECOS] Problem with adding new packages in windows
configuration tool
> After removing "hardware" property from ecos.db, I am able to add and
> configure new
> realtek package in configuration tool for windows.
>
> But I got building errors:
>
****************************************************************************
> *******************************************
>
/ecos-c/ecos/ecos_repository_skynet/ecos/packages/devs/eth/rltk/isa8019as/cu
> rrent/src/if_isa8019as.c:76: cyg/io/dp83902a.h: No such file or directory
>
/ecos-c/ecos/ecos_repository_skynet/ecos/packages/devs/eth/rltk/isa8019as/cu
> rrent/src/if_isa8019as.c:117: #error "We don't support 8 bit mode. So
> there!"
> make[1]: *** [src/if_isa8019as.o.d] Error 1
> make[1]: Leaving directory
>
`/ecos-c/ecos/ecos.build.realtek/realtek_build/devs/eth/rltk/isa8019as/curre
> nt'
> make: *** [build] Error 2
> make: Leaving directory `/ecos-c/ecos/ecos.build.realtek/realtek_build'
>
****************************************************************************
> *********************************************
>
> Line #76 -> #include <cyg/io/dp83902a.h>
>
> I guess dp83902a.h has not been built into ".....install/include/cyg" and
> Line #117 error results from #76 ?
>
> what did I miss?
>
> thanks,
>
> AL
>
> ----- Original Message -----
> From: "Chris Paulson-Ellis" <kelsall@dsl.pipex.com>
> To: <al_chane@issc.com.tw>; "Bart Veer" <bartv@ecoscentric.com>
> Cc: <ecos-discuss@sources.redhat.com>
> Sent: Tuesday, August 20, 2002 4:08 AM
> Subject: Re: [ECOS] 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
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list