public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] [Redboot] USB configuration in redboot (version redboot_200732) to make IMX31 ADS as USB client.
@ 2008-05-29  8:09 praveen koduru
  2008-05-29 21:32 ` Frank Pagliughi
  0 siblings, 1 reply; 4+ messages in thread
From: praveen koduru @ 2008-05-29  8:09 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Tehn-Yit.Chin, gary, ysato

Hai,
 I am using Redboot on imx31 ADS board (ARM11 core), which has USB
host and USb slave support. The board has to be detected as USB slave
when it is connected to host (typically PC) through USB slave port in
bootloader stage itself, without OS i.e. we need to achieve USB client
detection in bootloader stage itself. Can you pls let me know what are
the configuration changes I need to make so as to achieve this.
 I have observed that SA111x0 cdl's has each and every endpoint
defined and i dint find the same in mx31ads cdl.  I am currently using
redboot version redboot_200732. I am a new bie to Redboot & ecos.

Please Help

Thanks a lot for the time.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] [Redboot] USB configuration in redboot (version redboot_200732)  to make IMX31 ADS as USB client.
  2008-05-29  8:09 [ECOS] [Redboot] USB configuration in redboot (version redboot_200732) to make IMX31 ADS as USB client praveen koduru
@ 2008-05-29 21:32 ` Frank Pagliughi
  2008-05-30  3:54   ` praveen koduru
  0 siblings, 1 reply; 4+ messages in thread
From: Frank Pagliughi @ 2008-05-29 21:32 UTC (permalink / raw)
  To: praveen koduru; +Cc: ecos-discuss

praveen koduru wrote:
> Hai,
>  I am using Redboot on imx31 ADS board (ARM11 core), which has USB
> host and USb slave support. The board has to be detected as USB slave
> when it is connected to host (typically PC) through USB slave port in
> bootloader stage itself, without OS i.e. we need to achieve USB client
> detection in bootloader stage itself. Can you pls let me know what are
> the configuration changes I need to make so as to achieve this.
>  I have observed that SA111x0 cdl's has each and every endpoint
> defined and i dint find the same in mx31ads cdl.  I am currently using
> redboot version redboot_200732. I am a new bie to Redboot & ecos.
>
> Please Help
>
> Thanks a lot for the time.
>
>   
What are you trying to do? You want to add USB slave support to Redboot? 

You would need to write a USB (slave) device driver for your board, add 
it and the generic USB slave package to your configuration, and then add 
USB descriptors to your Redboot build.  For Redboot, I think you might 
also have to make sure your USB device is polled.

Frank

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] [Redboot] USB configuration in redboot (version redboot_200732) to make IMX31 ADS as USB client.
  2008-05-29 21:32 ` Frank Pagliughi
@ 2008-05-30  3:54   ` praveen koduru
  2008-05-30 15:34     ` Frank Pagliughi
  0 siblings, 1 reply; 4+ messages in thread
From: praveen koduru @ 2008-05-30  3:54 UTC (permalink / raw)
  To: Frank Pagliughi; +Cc: ecos-discuss

Dear Frank,
     I Have added USB slave device driver & Common USB slave USB
pakage to configuration. and when I make, in build/usb directory i am
able to find io_usb_slave_usbs.o , usbs.o.d , libtarget.a.deps ,
libtarget.a.stamp files . I have downloaded the Redboot.bin through
TFTP to my board and once i got the Redboot prompt in minicom running
on Linux host, I have connected USB slave port to Windows Test PC. but
nothing was detected.

Frank,
 Can u please tell,
How to add USB descriptors to your Redboot build?
How to make USB device to be polled?

Thank you very much for the time.

On 5/30/08, Frank Pagliughi <fpagliughi@mindspring.com> wrote:
> praveen koduru wrote:
>> Hai,
>>  I am using Redboot on imx31 ADS board (ARM11 core), which has USB
>> host and USb slave support. The board has to be detected as USB slave
>> when it is connected to host (typically PC) through USB slave port in
>> bootloader stage itself, without OS i.e. we need to achieve USB client
>> detection in bootloader stage itself. Can you pls let me know what are
>> the configuration changes I need to make so as to achieve this.
>>  I have observed that SA111x0 cdl's has each and every endpoint
>> defined and i dint find the same in mx31ads cdl.  I am currently using
>> redboot version redboot_200732. I am a new bie to Redboot & ecos.
>>
>> Please Help
>>
>> Thanks a lot for the time.
>>
>>
> What are you trying to do? You want to add USB slave support to Redboot?
>
> You would need to write a USB (slave) device driver for your board, add
> it and the generic USB slave package to your configuration, and then add
> USB descriptors to your Redboot build.  For Redboot, I think you might
> also have to make sure your USB device is polled.
>
> Frank
>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] [Redboot] USB configuration in redboot (version redboot_200732)  to make IMX31 ADS as USB client.
  2008-05-30  3:54   ` praveen koduru
@ 2008-05-30 15:34     ` Frank Pagliughi
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Pagliughi @ 2008-05-30 15:34 UTC (permalink / raw)
  To: praveen koduru; +Cc: ecos-discuss

praveen koduru wrote:
> Dear Frank,
>      I Have added USB slave device driver & Common USB slave USB
> pakage to configuration. and when I make, in build/usb directory i am
> able to find io_usb_slave_usbs.o , usbs.o.d , libtarget.a.deps ,
> libtarget.a.stamp files . I have downloaded the Redboot.bin through
> TFTP to my board and once i got the Redboot prompt in minicom running
> on Linux host, I have connected USB slave port to Windows Test PC. but
> nothing was detected.
>
> Frank,
>  Can u please tell,
> How to add USB descriptors to your Redboot build?
> How to make USB device to be polled?
>
> Thank you very much for the time.
>
>   
>
You have to program those things in yourself. There are no more 
configuration options to set, and unfortunately, there aren't any good 
examples in the eCos sources. What you need at this point is a more 
basic look at USB itself, and then you need to decide how Redboot will 
present itself to the host (as a serial device, a mass-storage device, 
etc), and how the host will talk to the device. Google for some USB 
tutorials.

For general questions on USB, try the developer's forum on usb.org:
    http://www.usb.org/developers/forum/

The eCos reference manual describes the USB slave API's that are 
specific to eCos.

Frank


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-30 15:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-29  8:09 [ECOS] [Redboot] USB configuration in redboot (version redboot_200732) to make IMX31 ADS as USB client praveen koduru
2008-05-29 21:32 ` Frank Pagliughi
2008-05-30  3:54   ` praveen koduru
2008-05-30 15:34     ` Frank Pagliughi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).