2010-01-28 04:44:53 USB not working wirh Renesas USB HC(R8A66597) interfaced with BF527 Ezkit
John Peter (INDIA)
We have a Custom board where Renesas USB Host Controller( R8A66597 Chip) is interfaced with Blackfin BF527 Ezkit. We are currently using u-boot-2008.10-2009R1-rc2 for our working.
We have compiled the Renesas USB HC(R8A66597 Chip) in the uBOOT & did the necessary HW modifications.
We have included the config information in BF527-ezkit needed for Renesas USB HC to be configured. It is as follows
/* R8A66597 */
#define CONFIG_R8A66597_BASE_ADDR 0x20200000 // AMS Bank Address
#define CONFIG_R8A66597_XTAL 0x4000 // 0x4000 - 24MHZ 0x0000 /* 12MHz */
#define CONFIG_R8A66597_LDRV 0x8000 /* 3.3V */
#define CONFIG_R8A66597_ENDIAN 0x0000 /* little */
#define CONFIG_MUSB_TIMEOUT 100000
The AMS Bank Register settings are also taken care
We observe that USB device is not getting enumerated.
Note : With the same HW modifications for the driver in the Kernel ( Linux ) in the same HW it works fine.
1. May I know whether this Renesas USB HC ( R8A66597 ) is tested in uboot by any one ?
2. Can any one help/provide inputs to resolve this ?
2010-01-28 14:45:05 Re: USB not working wirh Renesas USB HC(R8A66597) interfaced with BF527 Ezkit
Mike Frysinger (UNITED STATES)
we've never tested that USB controller, nor do we have plans to, nor do we have the hardware to even think of trying it out. we didnt have anything to do with the development of the driver etiher. you might want to talk to the authors of the driver and/or Renesas.
you also enabled the MUSB defines which doesnt make much sense.
2010-02-01 04:14:06 Re: USB not working wirh Renesas USB HC(R8A66597) interfaced with BF527 Ezkit
Santhosh Raghavan (INDIA)
Thanks for the reply. We will try to get the help of the concerned person/ Renesas.
Regarding the MUSB we are not using it & that's why we have commented it in the config settings.
We feel it would be useful if anyone can provide info on how to integrate an external USB HC driver in the uboot for Blackfin BF527. If anyone has a link for this please provide us the same.
We wanted to know whether the initialization done in our config files for Renesas USB HC is correct or not & whether these settings are enough for any USB HC ?
As such we have validated the hardware (Renesas USB HC + BF527 Ezkit) with the latest uClinux distribution & kernel successfully. It also included Mass Storage Class (MSC) driver support & FAT Filesystem support.
Apart from Renesas Driver perspective, we want confirmation on whether the MSC behaviour & FAT Filesystem behaviour (File Read/Write, RAW Read/Write) is equivalent to that of the uClinux Kernel Distribution. Whether all of these have been validated & documented?
As we are planning to add all these module support in u-boot in our final product, we would like to know whether there are any known limitations or issue which still needs to be addressed so as to avoid any last moment risk to be popped up. Please lead us to the link which shows the limitations & issues in this regard.
Please let me know, which u-boot to be used where most of the USB related issues are resolved.
Thank you in advance.
2010-02-01 11:35:35 Re: USB not working wirh Renesas USB HC(R8A66597) interfaced with BF527 Ezkit
Robin Getz (UNITED STATES)
Please read the source: drivers/usb/host/sl811-hcd.c or drivers/usb/host/isp116x-hcd.c
Then check the docs:
2010-02-01 23:48:49 Re: USB not working wirh Renesas USB HC(R8A66597) interfaced with BF527 Ezkit
Mike Frysinger (UNITED STATES)
the config file you posted did not comment out the Blackfin MUSB defines. i still see CONFIG_USB_BLACKFIN and CONFIG_MUSB_TIMEOUT.
as Robin said, if you read the documentation, you'll see that mass storage and fat works perfectly fine on a variety of USB controllers.
we have no advice for any Renesas USB-specific questions.