I am currently trying to build both adb and gadget support into an
Android kernel.
Kernel was originally 2.6.27.10 but I believe it has been patched by a
third party and therefore I'm unsure where it is now.

I have tried building the g_serial.ko and g_android.ko modules to be
loaded dynamically into the kernel.
> The Gadget module (g_serial.ko) works ok this way and I can connect 
> successfully to a PC.
> The adb module (g_android.ko) doesn't seem to load and I cannot connect to 
> PC. (This is without the g_serial modules running, so there's no conflict 
> issue)

I then tried building adb statically into the kernel.
> Adb works and I can connect to PC and access logging, shell, etc..

The problem is that when Adb is built statically into the kernel there
doesn't seem to be any way to also build Gadget support into the
kernel. Loading the g_serial.ko module dynamically into an Adb built
kernel doesn't seem to work either.

Does anyone know either how to build both Adb and Gadget support into
kernel statically or how to get both the Adb and Gadget modules to
load correctly together?

Thanks in advance
Jon

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to