Hi Ramin,

There are 2 ways to let ADB to connect a target: "ADB over USB" & "ADB over Ethernet".

When you try ADB over USB, please ensure you run command with "sudo" prefix, like:

$ sudo adb devices

When you try ADB over Ethernet, then the procedures are (assume Ethernet works on your target):

On Target (Serial Console):
# stop adbd
# setprop service.adb.tcp.port 6565
# start adbd

On Host (PC):
$ export ADBHOST=<Target_IP>
$ sudo adb start-server
$ sudo adb connect <Target_IP>:6565
$ sudo adb shell

You can get target IP by run this command in target serial console:

# busybox ifconfig -a

Hopefully it helps.

Thanks.


Best Regards
Botao Sun

On Mon, Jan 21, 2013 at 10:17 PM, Ramin Zaghi <Ramin.Zaghi@arm.com> wrote:

 

Hi Guys

 

I was told the only way Android ADB can connect to the RTSM is using the ADB that is built/paired with the same build running on RTSM.

 

I am trying to run Linaro ICS 12.12 on different versions of the RTSM but all of them give me “device offline”.

It is proving a bit difficult so I am wondering if anyone has been able to do this, and I like to know which versions of ADB
or SDK works?

 

I have tried the few methods that are described on Linaro web pages including ADBHOST=<...> but they are not working.

 

Thanks

Ramin

 

 

------------------------------

Ramin Zaghi

Software Engineer

Processor Division / PDCS

------------------------------

ARM Ltd.

110 Fulbourn Road

Cambridge

CB1 9NJ, UK

------------------------------

Tel: +44 1223 406347

[Extn 22347]

------------------------------

 

 


-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

_______________________________________________
linaro-android mailing list
linaro-android@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-android