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.
kernel_file=zImage
console=ttyO0,115200n8
#video_res=video=720x480-16@60
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext4 rootwait fixrtc
loadkernel=load mmc ${mmcdev}:${mmcpart} 0x80200000 ${kernel_file}
loadfdt=load mmc ${mmcdev}:${mmcpart} 0x815f0000 /dtbs/${fdtfile}
boot_ftd=run loadkernel; run loadfdt
mmcargs=setenv bootargs consoleblank=0 androidboot.console=ttyO0 mem=512M
acpi=noirq vt.global_cursor_default=0 mpurate=1000 ${video_res} qemu=1
console=${console} root=${mmcroot} rootfstype=${mmcrootfstype} init=/init
ip=off g_ffs.idVendor=0x18d1 g_ffs.idProduct=0x4e26
g_ffs.iSerialNumber=BBBANDROID
uenvcmd=run boot_ftd; run mmcargs; bootz 0x80200000 - 0x815f0000
init.genericam33xx(flatteneddevicetr.rc
Description: Binary data
init.genericam33xx(flatteneddevicetr.usb.rc
Description: Binary data
