Forwarded email 1/2 - usermode networking in android on fast models.  This should cover 99% of what we want, unfortunately if you ever want to ping something, it will not work.

---------- Forwarded message ----------
From: Chris Redpath <Chris.Redpath@arm.com>
Date: Thu, Mar 29, 2012 at 5:24 AM
Subject: [Linaro-big-little] RTSM user networking support
To: "linaro-big-little@lists.linaro.org" <linaro-big-little@lists.linaro.org>


Hi all,

 

I don’t know if its generally known about, but you can use user mode networking with models from v 7 onwards. There are some limitations and (at least in my experience so far) connections occasionally drop, but personally I could not configure TAP and a bridge without my desktop locking up, so it was a vast improvement for me. When it connects, ADB works over this connection and you can use that to set up other forwarding tunnels as necessary.

 

More details at the arm infocenter here: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.arn0001a/index.html

 

This is the setup I’ve been using:

 

additional model command line options:

-C motherboard.hostbridge.userNetworking=true -C motherboard.hostbridge.userNetPorts="5555=6565" -C motherboard.smsc_91c111.enabled=1

 

adb options on guest os:

(taken from https://wiki.linaro.org/Platform/Android/SetupAdbOverTcp - can be added to the init script too)

stop adbd

setprop service.adb.tcp.port 6565

start adbd

 

adb options on host OS:

export ADBHOST=127.0.0.1

sudo android-sdk-linux_x86/platform-tools/adb start-server

adb connect localhost

 

 

Best Regards,

Chris


-- 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-big-little mailing list
linaro-big-little@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-big-little