Hi Andrew, I will test it out and let you know the result. Thanks! -lei

On Monday, October 6, 2014 9:14:09 PM UTC-4, Andrew Henderson wrote:
>
> I accidentally attached an incorrect .rc file with some additional testing 
> material in it.  I'm attaching the proper one now.
>
> On Tuesday, October 7, 2014 1:10:50 AM UTC, Andrew Henderson wrote:
>>
>> I have not made a new premade image with USB ADB, but I have it working.  
>> In your current BBBAndroid image, replace your uEnv.txt (/boot partition) 
>> with the one I have attached.  Replace your two init.genericam33xx*.rc 
>> files (/rootfs partition) with the two I have attached.  In addition to 
>> getting USB ADB up and running, the main .rc file also changes some 
>> permissions to make them more relaxed.  Now, i2c-tools work without 
>> superuser privileges and it "wakes up" all four GPIO banks in case you need 
>> to mmap() the GPIO registers.
>>
>> If you watch the FTDI output from the BBB (when the USB is plugged in at 
>> boot), you'll see something like the following:
>>
>> [    5.784087] CAUTION: musb: Babble Interrupt Occurred
>> [    5.854604] CAUTION: musb: Babble Interrupt Occurred
>> [    6.048723] CAUTION: musb: Babble Interrupt Occurred
>> [    6.119724] CAUTION: musb: Babble Interrupt Occurred
>> [    6.341756]  gadget: high-speed config #1: FunctionFS
>>
>> On your dev system side, use ADB to list the devices:
>>
>> $ adb devices
>> List of devices attached
>> BBBANDROID      device
>>
>> $ adb logcat
>> ...
>> D/AlarmScheduler(  917): No events found starting within 1 week.
>> I/ActivityManager(  592): Waited long enough for: ServiceRecord{a5fb0900 
>> u0 com.android.calendar/.alerts.InitAlarmsService}
>> D/InitAlarmsService(  917): Clearing and rescheduling alarms.
>> D/ConnectivityService(  592): Sampling interval elapsed, updating 
>> statistics ..
>> D/ConnectivityService(  592): Done.
>> D/ConnectivityService(  592): Setting timer for 720seconds
>>
>>
>> On Sunday, October 5, 2014 5:24:27 PM UTC, Andrew Henderson wrote:
>>>
>>> USB ADB is currently being worked on.  The image I provided builds in 
>>> FunctionFS support, but I have not yet made the modifications to the .rc 
>>> files to point ADB to FunctionFS.  I'm currently working on a few 
>>> modifications to the .rc files to make the image a bit more "BBB friendly" 
>>> for those interested in using it for Android hardware interfacing practice.
>>>
>>> On Sunday, October 5, 2014 12:31:33 PM UTC-4, Lei Wang wrote:
>>>>
>>>> May I ask if ADB over USB is supported in this release? Thanks very 
>>>> much! -lei
>>>
>>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to