RobertCNelson / linux-dev

MIT License
151 stars 96 forks source link

Kernel 3.2 for BeagleBone Black needed. Can it be used? #10

Closed ghost closed 11 years ago

ghost commented 11 years ago

I'm experiencing the same issue mentioned by this fellow here: https://groups.google.com/forum/#!searchin/beaglebone/3.8$203.2$20kernel/beaglebone/Bl4UbhIXNfY/1SBLKeovzxEJ

Meaning that trying to capture video through USB will fail unless very low-speed (transfer) methods are used.

The person says it used to work with kernel 3.2, and the CircuitCo person confirms.

I would change my current 3.8 for 3.2 kernel right away if it could solve the issue, but I can't find an image for BB-Black with 3.2.

Also, I could custom-compile my 3.2 kernel, but the instructions on elinux.org say to use 3.8 for BB-Black.

So I'm asking you since you would know better: should I even try to compile a 3.2 kernel for my BB-Black? Could it work?

Any hints and help are appreciated as 3.8 has serious issues with BB-Black when it comes to USB video capture (which is what many hobbyists are doing).

RobertCNelson commented 11 years ago

I have no plans on back-porting bbb support to the v3.2 kernel... As far as usb not working for you in v3.8, I have nothing yet for for you to test, as usb is currently broken in work in progress v3.11 branch... Regards,

ghost commented 11 years ago

Thanks for your answer (and for your great work)!

To fully understand this (and know my options), could you tell me where the issue with USB lies? The person in that board said he's waiting for Texas Instruments to fix it. Is this issue in a kernel component that is maintained by Texas Instruments?

Otherwise, I guess I will just keep installing new kernel releases from you to see if they fix the issue. If you know of a better way to keep track of the advancements regarding this issue, please let me know.

Thanks!

RobertCNelson commented 11 years ago

The usb driver used with our current v3.8 tree was a quick hack to just make most devices work. Some out-of-spec/random devices have issues with it. It is still way better then all the problems we had with the v3.2.x usb driver. Anywho, an offical driver looks to be finally pushed in v3.12-rc0...

seanaedmiston commented 11 years ago

Hi there,

I write the Google Groups entry about USB/DMA problems.

So I never found a way to get the high frame rates I wanted from the 3.8+ kernels. I did however find a small patch that got the 3.2 kernels running ok on the BBB. (From somewhere on the interwebs, the 'standard' 3.2 kernel for the BBW does a comparison with a version string in the board/am33......c file. This version string needs to be updated to also allow BBBs to boot.)

Other than that everything runs ok for me - using the 3.2 kernel - but I have a pretty limited use case (i.e. I am not using the NAND, nor the HDMI, nor any Capes etc that may have differences between 3.2 and 3.8 kernels). But for a headless device with a webcam and network connected - the 3.2 kernel works well. (But you have to build your own.)

@RobertCNelson - I am curious though about the changes you allude to in 3.12-rc0. Any idea where I could find more info about them? Also - what are your plans re: kernel support. According to this page: http://www.eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel it seems you are still working on/supporting 3.8 kernels for BBB. Do you have any post-3.8 plans yet?