Rockbox Development > Starting Development and Compiling
Compiling with USB stack enabled
zajacattack:
How do I enable the new USB stack so that I can use it and run some tests with it? I have cygwin and the source code, I just need to know what to define and where to put it.
linuxstb:
http://www.rockbox.org/twiki/bin/view/Main/PortalPlayerUsb
zajacattack:
OK, I got it. So now, how can I run the tests described at http://www.rockbox.org/twiki/bin/view/Main/WebHome?topic=UsbPerformance on cygwin?
cool_walking_:
You can't, that's why it says GNU/Linux*. I don't think Cygwin even gives you device nodes, and if it did, they'd just be wrappers to something else, so it wouldn't be a reliable measure.
*Although I can't see a reason OS X/BSD/Solaris aren't specified, unless they only want to specifically test against the Linux USB stack, for consistency's sake.
gevaerts:
The main reason it specifies linux is because that line was put there by a linux user, so feel free to add info on how to do it on other OSes (I guess the main difference will be device naming).
Another reason is that at least my focus is not so much performance right now. At the time that page was created we only had full speed working, so getting every last bit of performance out of it was felt important. Since then we got high speed somewhat working and we found the sansa sd write bug that gets triggered by usb, and in my view, both change the picture completely.
I think it is very likely that with working high speed, performance limitatiuons will come mostly from the disk drivers and not so much from the usb stack, and moreover right now reliability is more important than performance.
All this doesn't mean that performance numbers aren't welcome though, so if you can do them, go ahead.
Navigation
[0] Message Index
[#] Next page
Go to full version