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]

RE: Driver interface to eCos


Ok, thanks.  Now I have couple of other questions problem.

If trying to add the package to my current configuration using the
Windows Config Tool v1.3.1.2 I get an error saying "Add and remove
packages by selecting a new hardware template."  How do I resolve this?

My ecos.db entry is below.  I copied it from the assabet one.  What are
the pcmcia_edb7xxx, edb7xxx_pcmcia, etc for?

package CYGPKG_DEVS_PCMCIA_EDB7xxx {
	alias 		{ "CL-PS6700/EDB7xxx PCMCIA support"
pcmcia_edb7xxx edb7xxx_pcmcia edb7xxx_cf io_edb7xxx_pcmcia}
	directory	devs/pcmcia/arm/edb7xxx
	script		pcmcia_edb7xxx.cdl
	hardware
        description "
           This package contains hardware support for PCMCIA
           devices on the Cirrus Logic EDB7xxx board using a CL-PS6700
           PCMCIA controller chip."
}




> -----Original Message-----
> From: jlarmour@cambridge.redhat.com 
> [mailto:jlarmour@cambridge.redhat.com] On Behalf Of Jonathan Larmour
> Sent: Tuesday, June 19, 2001 10:11 AM
> To: Trenton D. Adams
> Cc: 'eCos'
> Subject: Re: [ECOS] Driver interface to eCos
> 
> 
> "Trenton D. Adams" wrote:
> > 
> > Is the following CDL sufficient?
> > cdl_package CYGPKG_DEVS_PCMCIA_EDB7xxx {
> >     display       "CL-PS6700/EDB7xxx PCMCIA support"
> > 
> >     parent        CYGPKG_IO_PCMCIA
> >     active_if     CYGPKG_IO_PCMCIA
> >     active_if     CYGPKG_HAL_ARM_EDB7XXX
> > 
> >     implements    CYGHWR_IO_PCMCIA_DEVICE
> > 
> >     include_dir   .
> >     include_files ; # none _exported_ whatsoever
> >     description   "PCMCIA device support for CL-PS6700/EDB7xxx"
> >     compile       edb7xxx_pcmcia.c
> > }
> > 
> > I basically used the same directory structure as the assabet pcmcia 
> > driver and modified all the files for my driver.  My driver isn't 
> > ready, but I want to make sure it's selectable as a package in the 
> > Config Tool. How do I make it appear in the tool?
> 
> Looks fine. You need to add an ecos.db entry for the package 
> and list it in the "target edb7xxx" section of ecos.db.
> 
> Jifl
> -- 
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 
> (1223) 271062 Maybe this world is another planet's Hell 
> -Aldous Huxley || Opinions==mine Come to the Red Hat 
> TechWorld open source conference in Brussels!
> Keynotes, techie talks and exhibitions    
> http://www.redhat-techworld.com/
> 


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