[ECOS] How to enable USB on IXP425 GRG

Navya S Kamath navya@coreel.com
Tue Nov 27 06:47:00 GMT 2007


Hi,

I could successfully compile the redboot with USB drivers for IXP425, but
when I load the image I am not able to get the initialization code running.
I have enabled the diagnostic message in the USB in usbs_ixp425_init ()
function which is the entry point. How can I proceed? Please help

Regards,
Navya

-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Navya S Kamath
Sent: Monday, November 26, 2007 11:10 AM
To: 'Andrew Lunn'
Cc: ecos-discuss@ecos.sourceware.org
Subject: RE: [ECOS] How to enable USB on IXP425 GRG

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: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] 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



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



More information about the Ecos-discuss mailing list