Skip to contentSkip to conversation

s3c2416 usb ohci issue

U-Boot Zoltan Gyarmati 2 participants 2 messages Sep 4, 2013 – Sep 24, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

i'm trying to bring up the current mainline u-boot version on a SOM2416II board, which based on the s3c2416 SOC. Already the base booting had some challenges and required some patching (mostly based on Jos? Miguel Gon?alves' patchset from September 2012), so now the booting, the serial console and the ethernet works well, but unfortunately i got blocked with the OHCI support. I'm using the "new" general ohci support (ohci-hcd.c), and as the CPU init function i use the appropriate functions from ohci-s3c24xx.c.
After the u-boot succesfully started, and calling the 'usb start' command, it recognizes succesfully only the root hub, and when trying to init the USB storage device, it fails with a DEVICENOTRESPONDING error. Please find the full boot log here: http://pastebin.com/APrDJ0GR , the config (among with the full tree) here:
https://github.com/Cimitech/uboot/blob/v2013.07-2416/include/configs/mini2416.h

Is there anybody else who was recently trying to make this work? Any hints which way i should start with the debugging? What i found similar issues were mostly related to slow, or not proper USB memory sticks, so i tried with several devices, and also played around with the related timeouts, without any success.

Thanks for any hints in advance, best regards

-- br,
Zoltan Gyarmati
mail: mr.zoltan.gyarmati at gmail.com
freenode nick: zgyarmati

#1 lore raw

Hi Zoltan,

Did not try this myself on the MINI2416 board, so I can not give you any hints on that.
But I'm curious, why do you need u-boot's OHCI support for that board?

Best regards,
Jos? Gon?alves