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