Hi, I've been trying (without much success) to get USB working on both a custom DM355 based board and the DM355 EVM using the latest git kernel (plus recent patches to fix compilation errors in cppi_dma.c).
Loading the musb_hdrc module (with musb_debug=5 fifo_mode=[0123]) and a USB mass storage device attached gives some VBUS errors, then a continuous stream of: musb_bus_suspend 2185: trying to suspend as a_wait_vfall is_active=1 I'd like to know whether USB on DM355 is expected to work with the git kernel at this stage. If not, is anyone working on this. I'd be quite happy to help testing some WIP patches or a git tree, and would very much like not to be forced back to the 2.6.10 kernel. Thanks in advance for any help/suggestions. A snippet of dmesg output (since loading the musb_hdrc module): musb_hdrc: version 6.0, cppi-dma, host, debug=5 DaVinci OTG revision 00147900 phy 1d0 control 00 musb_hdrc: ConfigData=0x06 (UTMI-8, dyn FIFOs, SoftConn) musb_hdrc: MHDRC RTL version 1.300 musb_hdrc: setup fifo_mode 3 musb_hdrc: 7/9 max ep, 3648/4096 memory musb_hdrc: hw_ep 0shared, max 64 musb_hdrc: hw_ep 1tx, doublebuffer, max 512 musb_hdrc: hw_ep 1rx, doublebuffer, max 512 musb_hdrc: hw_ep 2tx, max 512 musb_hdrc: hw_ep 2rx, max 512 musb_hdrc: hw_ep 3shared, max 256 musb_hdrc: hw_ep 4shared, max 256 musb_hdrc: USB Host mode controller at c58da000 using DMA, IRQ 12 musb_hdrc musb_hdrc: MUSB HDRC host driver drivers/usb/core/inode.c: creating file 'devices' drivers/usb/core/inode.c: creating file '001' musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1 usb usb1: default language 0x0409 usb usb1: uevent usb usb1: usb_probe_device usb usb1: configuration #1 chosen from 1 choice usb usb1: adding 1-0:1.0 (config #1, interface 0) usb 1-0:1.0: uevent hub 1-0:1.0: usb_probe_interface hub 1-0:1.0: usb_probe_interface - got id hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected hub 1-0:1.0: standalone hub hub 1-0:1.0: individual port power switching hub 1-0:1.0: no over-current protection hub 1-0:1.0: power on to power good time: 10ms hub 1-0:1.0: local power source is good hub 1-0:1.0: enabling power on all ports musb_start 865: <== devctl 80 musb_hub_control 414: set feature 8 davinci_interrupt 282: IRQ 01000000 davinci_interrupt 342: VBUS on (a_wait_vrise), devctl 01 drivers/usb/core/inode.c: creating file '001' usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: MUSB HDRC host driver usb usb1: Manufacturer: Linux 2.6.28-rc6-davinci1 musb-hcd usb usb1: SerialNumber: musb_hdrc musb_init_controller 2040: HOST mode, status 0, devctl 01 A musb_hub_control 344: port status 00000100 hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000 davinci_interrupt 282: IRQ 01800000 davinci_interrupt 320: VBUS error workaround (delay coming) davinci_interrupt 342: VBUS off (a_wait_vfall) ERROR, devctl 80 hub 1-0:1.0: hub_suspend usb usb1: bus auto-suspend musb_bus_suspend 2185: trying to suspend as a_wait_vfall is_active=1 usb usb1: bus suspend fail, err -16 hub 1-0:1.0: hub_resume musb_hub_control 344: port status 00000100 hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000 davinci_interrupt 282: IRQ 00800000 musb_interrupt 1531: ** IRQ peripheral usb0080 tx0000 rx0000 musb_stage0_irq 392: <== Power=e0, DevCtl=80, int_usb=0x80 musb_stage0_irq 559: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 00000100 davinci_interrupt 282: IRQ 01000000 davinci_interrupt 342: VBUS on (a_wait_vrise), devctl 01 davinci_interrupt 282: IRQ 01800000 davinci_interrupt 320: VBUS error workaround (delay coming) davinci_interrupt 342: VBUS off (a_wait_vfall) ERROR, devctl 80 hub 1-0:1.0: hub_suspend usb usb1: bus auto-suspend -- Chris Sykes Next Step Solutions Limited Unit K6 Liners Industrial Estate, Pitt Road Freemantle, Southampton, UK, SO15 3FQ Email: [EMAIL PROTECTED] Tel: 02380 224200 Mob: 07726 305061
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
