<div dir="ltr">Hi all,<br><br>I am working on getting USB-uboot working on OSK5912.<br>from linux USB gadget &quot;device controller drivers&quot; (i.e. kernel/drivers/usb/gadget/) it looks like<br>USB core for omap1510 and OSK5912 is same..But not sure, please confirm<br>
<br>I done following steps.<br>1)make mrproper<br>2)make omap5912osk_config<br>3)go to include/configs/omap5912osk.h <br>&nbsp; and edit this file with following macros.<br>.<br>#define CONFIG_DOS_PARTITION&nbsp; 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
#define CONFIG_USB_OHCI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br>#define CONFIG_USB_OHCI_NEW&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br>#define CFG_USB_OHCI_MAX_ROOT_PORTS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br>#define CFG_USB_OHCI_SLOT_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;osk5912&quot;<br>#define CFG_USB_OHCI_REGS_BASE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp; <br>#define CONFIG_CMD_USB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br><br>4)after this, I am able to see USB command enabled on Uboot console.<br>
&nbsp; but I am not able to see Mass-storage detected after inserting pendrive and doing &quot;usb start&quot;<br><br>5) from docs/README.generic_usb_ohci, It looks like usb_board_init/stop and usb_cpu_init/stop<br>&nbsp;&nbsp; functions are missing and needs to be implemented.<br>
<br>for above all, I am using omap1510 code. but I am not sure will this code work or not?<br><br>also I am not sure, why &quot;usb_board_init/stop and usb_cpu_init/stop&quot; code is not included in git for<br>enabling USB uboot on omap1510 or is I am missing any thing?<br>
<br>Please, needs help/confirmation that I can make USB-Uboot work on OSK5912.<br><br>Thanks for any help..<br><br>Thanks and Regards,<br>Shivdas Gujare<br></div>