<div dir="ltr">Hi Markus,<br><br>Thanks for the valuable Help.<br><br>Thanks and Regards,<br>Shivdas Gujare<br><br><br><br><div class="gmail_quote">On Mon, Jul 21, 2008 at 4:15 PM, Markus Klotzbücher <<a href="mailto:mk@denx.de">mk@denx.de</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">"Shivdas Gujare" <<a href="mailto:shivdas.gujare@gmail.com">shivdas.gujare@gmail.com</a>> writes:<br>
<br>
> I am working on getting USB-uboot working on OSK5912.<br>
> from linux USB gadget "device controller drivers" (i.e.<br>
> kernel/drivers/usb/gadget/) it looks like<br>
> USB core for omap1510 and OSK5912 is same..But not sure, please confirm<br>
<br>
</div>No idea. You will have to RTFM.<br>
<div class="Ih2E3d"><br>
> I done following steps.<br>
> 1)make mrproper<br>
> 2)make omap5912osk_config<br>
> 3)go to include/configs/omap5912osk.h<br>
> and edit this file with following macros.<br>
> .<br>
> #define CONFIG_DOS_PARTITION 1<br>
><br>
> #define CONFIG_USB_OHCI 1<br>
<br>
</div>Drop this. This would enable the old OHCI support.<br>
<div class="Ih2E3d"><br>
> #define CONFIG_USB_OHCI_NEW 1<br>
> #define CFG_USB_OHCI_MAX_ROOT_PORTS 1<br>
> #define CFG_USB_OHCI_SLOT_NAME "osk5912"<br>
> #define CFG_USB_OHCI_REGS_BASE 0xfffba000<br>
> #define CONFIG_USB_STORAGE 1<br>
><br>
> #define CFG_USB_OHCI_BOARD_INIT 1<br>
> #define CFG_USB_OHCI_CPU_INIT 1<br>
<br>
</div>You *might* have to implement these in order to enable power, clocks ...<br>
<div class="Ih2E3d"><br>
> #define CONFIG_CMD_USB 1<br>
><br>
> 4)after this, I am able to see USB command enabled on Uboot console.<br>
> but I am not able to see Mass-storage detected after inserting pendrive<br>
> and doing "usb start"<br>
<br>
</div>You probably missed some initialization. Carefully check the<br>
documentation of you CPU and implement it in the functions above.<br>
<div class="Ih2E3d"><br>
> 5) from docs/README.generic_usb_ohci, It looks like usb_board_init/stop and<br>
> usb_cpu_init/stop<br>
> functions are missing and needs to be implemented.<br>
<br>
</div>Exactly.<br>
<br>
Best regards<br>
<br>
Markus Klotzbuecher<br>
<font color="#888888"><br>
--<br>
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel<br>
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany<br>
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: <a href="mailto:office@denx.de">office@denx.de</a><br>
</font></blockquote></div><br></div>