Get the kernel sources, unpack them. I've got everything stored in the folder DR800S-1.x. Get and unpack the attached archive. The main file is .config-DR800. To tackle put it to the DR800S-1.x folder under the name .config and launch ./setup-config, a dialog will appear, you will be able to drill down its branches. First browse around to understand what is where.
I've got this .config by starting from the standard one - copy one and paste it into the root directory as .config file. For me it was arch/arm/configs/er0200_dr800s_defconfig, I guess you have to start from *dr1000* file. I would say either er0200_dr1000s_defconfig or er0200_dr1000_recovery_defconfig.
Then get the patch file from Gregor, read it, understand more or less and search for about the same items in the configuration dialog. Use spacebar or mouse to select the item. Sometimes an item may have three states: yes, no and M, the latter is a Module, thus a .ko will be compiled.
Another script ./compile-ko does the compilation of only the needed modules, there's no need to compile the complete kernel. You'll find the g_ether.ko binary in drivers/usb/gadget folder.
Good luck, guys!
P.S. I'll search for the notes which I took during investigation of the kernel configuration changes. Hopefully they are smwhr on my hdd ..
Last edited by dima_tr; 03-02-2011 at 04:31 PM.
|