ecos-discuss  

RE: [ECOS] How to enable USB on IXP425 GRG

Navya S Kamath
Sun, 25 Nov 2007 21:40:41 -0800

Hi,

I have the code compiling now. The cdl_option for EP0 was taking the default
value of CYGINT_IO_USB_SLAVE_CLIENTS which was 0.I changed this value to 1
with this the USB code gets compiled.

Thank you so much for the information.

Regards,
Navya

-----Original Message-----
From: [EMAIL PROTECTED]
[EMAIL PROTECTED] On Behalf Of Andrew Lunn
Sent: Saturday, November 24, 2007 1:48 AM
To: Navya S Kamath
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] How to enable USB on IXP425 GRG

On Fri, Nov 23, 2007 at 05:57:25PM +0530, Navya S Kamath wrote:
> Hi,
> 
> I created a driver package for USB on IXP425. I have modified the ecos.db
to
> include the USB package. Similarly I have edited the .ecm files for the
> board. But while compiling the image the driver source is not compiled.Is
> there any other change to be made?

Nope. 

The linker may through the driver away if it is not used, but you say
it is not even being compiled. So this is a different issue. Does your
packages CDL have any enable/disable logic? Does you ecos.ecc file
contain the driver package and any options it make include. Do you get
a makefile for it in the build tree? Does the Makefile list the source
file?

        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



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