Thursday, June 3, 2010

Connected to Beagleboard

The beagleboard has an adb server running once it boot up. To connect to the beagleboard, you can use the adb commend on the host computer.

===============
adb connect 134.129.xxx.xxx:5555
adb devices
===============

Once it shows a device, you can use that device name. For example,

===============
adb -s 134.129.xxx.xxx:5555 shell
===============

will open up a shell on the beagleboard.

To install a package to the beagleboard, you can use the following command.
===============
adb -s 134.129.xxx.xxx:5555 install -r Entertainment1.5.apk
===============

If success, the terminal will show something like:

===============
210 KB/s (12897 bytes in 0.059s)
pkg: /data/local/tmp/Entertainment1.5.apk
Success
===============

If that device is the only device, you can copy file to the beagleboard by the following command, that will copy the current nano to beagleboard /system/bin directory.

===============
adb push nano /system/bin/nano
===============

No comments:

Post a Comment