Hi Vishal

 

With one of the file systems which I have (not a Linaro one) + a bridge, I have had to press CTRL+C on the host machine immediately after
running ADB SHELL. For some reason this worked and gave me a prompt on that configuration – if I had waited I would have received device offline.

 

I have no explanation for this and I am not going to try other combinations right now but this is working for the time being.

 

I will have to investigate Linaro file systems later.

 

 

Thanks

Rmain

 

 

From: Vishal Bhoj [mailto:vishal.bhoj@linaro.org]
Sent: 21 January 2013 11:58
To: Ramin Zaghi
Cc: Botao Sun; linaro-android@lists.linaro.org
Subject: Re: ADB connection to RTSM

 

 

 

On 21 January 2013 17:17, Ramin Zaghi <Ramin.Zaghi@arm.com> wrote:

Hi Vishal

 

The Internet connection works fine on the target and yes I did try this method but it doesn’t work.

 

Why do some people say ADBHOST=<target IP> and some others say ADBHOST=lo !?

 

ADBHOST=<TARGET IP>  is the right thing to do. If port forwarding is happening with the RTSM user networking mode then we just need to set TARGET IP=127.0.0.1 . If you have a bridged network or something then you need to set the target ip address. Are you able to ping the target from host ?

 

 

 

Ramin

 

From: Vishal Bhoj [mailto:vishal.bhoj@linaro.org]
Sent: 21 January 2013 11:45
To: Ramin Zaghi
Cc: Botao Sun; linaro-android@lists.linaro.org


Subject: Re: ADB connection to RTSM

 

 

On 21 January 2013 17:05, Ramin Zaghi <Ramin.Zaghi@arm.com> wrote:

These methods don’t work (not anymore!? or at least not with all versions or combinations).

 

Is it possible to share an ADB executable built with Linaro 12.12 so that I can test it without rebuilding from source?


There is no reason for having adb being built from source.Most of us use the prebuilt adb and works fine for us. Even LAVA uses a prebuilt adb and it works fine with other RTSM.

 

Can you make sure networking is working fine on the RTSM. Then restart adb on the target:

stop adbd

setprop service.adb.tcp.port 5555

start adbd

 

and then connect from the host (assuming you have user mode networking):

export ADBHOST=127.0.0.1

adb kill-server

adb shell

 

 

-- 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.

 


-- 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.