Hacking b2g on Raspberry Pi: Difference between revisions

Line 128: Line 128:
Note: you must run minicom in a "smart terminal".  minicom doesn't work when run inside an emacs shell, and it errors out with a somewhat cryptic message ("No cursor motion capability (cm)").   
Note: you must run minicom in a "smart terminal".  minicom doesn't work when run inside an emacs shell, and it errors out with a somewhat cryptic message ("No cursor motion capability (cm)").   


You must create an adb connection for your RPi.  adb is the "android debug bridge" over which diagnostic output is received and development commands are sent.  Usually an adb connection is made over USB, but this hasn't been tested with the RPi.  (The RPi's USB ports are intended to be used in master mode, and it's not yet known whether they will go into slave mode if connected to a host machine through a full-sized USB male-to-male connectorThese cables are also somewhat hard to find.)
You must create an adb connection for your RPi.  adb is the "android debug bridge" over which diagnostic output is received and development commands are sent.  Usually an adb connection is made over USB, but the RPi's USB ports can't be configured for slave mode.  (On Models B and newer.)


You can connect adb through the RPi's ethernet port, however.  To connect adb over ethernet, you need to find out your RPi's IP address on your LAN.  You can do this by either looking at your network router's client table, or running the following command on your RPi's serial console
You can connect adb through the RPi's ethernet port, however.  To connect adb over ethernet, you need to find out your RPi's IP address on your LAN.  You can do this by either looking at your network router's client table, or running the following command on your RPi's serial console
Confirmed users
699

edits