Hi, I have enabled the adb debugging with target via USB OTG. On enabling the following configuration
Device Drivers-> USB Support-> USB Gadget support -> USB Gadget Drivers -> Android Gadget I got the android.c file compiled including f_adb.o (drivers/usb/ gadget/android.c) and it also depends on /drivers/switch which has switch_gpio Once this Android gadget is enabled, adb connection is established which can be viewed while booting android. Further on connecting USB you can login to adb shell, view dalvik debug manager and lots more.... Regards Fasil On Dec 18 2009, 11:48 am, Fasil Mohamed <mfasi...@gmail.com> wrote: > Hi, > > I want to debug an application crash with adb for the target OMAP > platform running Android donut. At present I m having USB_OTG support > in my kernel for my target platform OMAP which has only storage > support. The kernel I m using is 2.6.29 for OMAP3530. > > I need to understand the role of the file android.c in /drivers/ > usb/gadgets and what are all kernel support it requires to use adb > for debugging. I m also not sure of how to use USB gadget drivers for > debugging with adb for the Target platform(connectivity with the > target). As the application we are testing depends entirely on the > hardware , we cannot use emulator to debug. > Kindly help me to fix this issue. > > Thanks and Regards > Fasil
-- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel