RE: [PATCH] staging: dwc2: fix thinko in dwc2_hc_set_even_odd_frame()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Stephen Warren [mailto:swarren@xxxxxxxxxxxxx]
> Sent: Tuesday, July 02, 2013 7:41 PM
> 
> On 07/02/2013 07:47 PM, Stephen Warren wrote:
> > On 06/26/2013 02:20 PM, Paul Zimmerman wrote:
> ...
> >> I hope whoever is supporting the Pi in the mainline kernel will try adding
> >> dwc2 support now that it seems to be working. I'm not sure who that would
> >> be, though.
> >
> > Well, it appears to work! I tested it on both a model A and B (rev 2)
> > and devices enumerate on the bus OK now. I haven't actually tested data
> > transfer yet though.
> 
> ... although unfortunately, pretty much any use of the USB devices
> crashes or hangs the kernel:-( I guess due to the wildly varying
> symptoms, there is some random memory corruption going on.
> 
> I did manage to dd about 1MiB off an SD card in a USB->SD card adapter
> (with powered hub between the adapter and the Pi), but often just
> plugging in the card or having it plugged in during boot causes hangs
> and crashes. Similarly, I have a ZD1211 WiFi USB adapter, and having
> that plugged during boot in causes all kinds of oops within a few or
> tens of seconds after booting, in code unrelated to USB or networking.
> 
> Paul, are you able to try out upstream Linux and see what the issue
> might be? The following G+ post should outline the steps required:
> 
> https://plus.google.com/101715070573995136397/posts/gWkwrfNfYVm
> 
> although these days you might want to use u-boot.git not u-boot-arm.git
> (or perhaps git://github.com/swarren/u-boot.git rpi_dev), and
> git://github.com/swarren/linux-rpi.git rpi_dev to get the USB enabled.

Hi Stephen,

As I mentioned in private email, I was not able to get your
mainline-based kernel from git://github.com/swarren/linux-rpi.git
to boot. I would appreciate if you could send me your compiled
u-boot.bin and boot.scr.uimg, in case the problem is with compiling
u-boot. And also your kernel .config.

I suspect the majority of the issues you saw are due to missing dt
support for several of the module parameters that need to be set to
non-default values for the pi, like the DMA mode and the FIFO sizes.

I did some more extensive testing with the driver on the downstream
Pi kernel. Keyboard, mouse, hub, and mass-storage seem to be working
OK. I did see a driver crash with a wireless adapter, I will debug
that when I get some time.

-- 
Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux