-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Allwinner A10/A20 devices #21
Comments
Hello Sören, On 12/07/14 17:40, Sören Gregor wrote:
Are you unable to find and fix the underlying issue? Just stopping the stack protector
Can you make some code to detect which file is present and should be used? In that case Maybe Dominic has other opinions... :) Kind regards, Jaap Crezee |
Hi Jaap, I spent some more time creating a patch that detects the gadget filename to use the right endpoints: I also could figure out where the stack smashing happens. There are two places where it happens: Cheers |
Sören, This is great stuff, thank you. Are you using the Olimex Lime board? I have one but I haven't used USBProxy with it yet. Do you want to send me pull requests for these changes? If you send them as separate requests then I can accept the first and we can discuss the second. Thanks, |
Both merged, thank you very much for taking the time to do this. |
Hi, I have patched USBProxy to add support for Allwinner A10/A20 based devices like Olimex lime. It obviously breaks support for all other platforms but I was not able to figure out how to do it properly.
I tested it on a cubieboard with sunxi 3.4 kernel as there seems to be no support for gadgetfs in the mainline kernel yet.
There are two patches the first one adds a compiler flag to remove "stack smashing detected" errors I got when compiling with "gcc (Ubuntu/Linaro 4.8.2-19ubuntu1) 4.8.2". The second one adds support for the sunxi based gadgetfs driver.
Patch 1: greso@a6c87a6
Patch 2: greso@6563ecf
I hope this information is useful for you even if it will become obsolete when you fix issue #1 :-)
Cheers
Sören
The text was updated successfully, but these errors were encountered: