port forwarding and run.android (formerly run.zedboard)

16 views
Skip to first unread message

John Ankcorn

unread,
Mar 25, 2015, 12:39:28 PM3/25/15
to connectal
Today's fun trick:
If you are ssh'ing into a build server from a laptop from behind a
firewall and have a zedboard on your local network, you can port
forward the local zedboard's adb port to the build server, making it
easy to run programs.

From your laptop:
ssh -R 4000:zedboard_local_ip_address:5555 build_server_ip_address

Then on the remote server (through your ssh connection):
RUNPARAM=localhost:4000 make -C examples/echo/zedboard run

Quick, easy!
jca

John Ankcorn

unread,
Mar 25, 2015, 5:35:06 PM3/25/15
to connectal
Followup trick for people working with PCIe:
If you port forward port 22 from a PCIe target machine, you can say:
RUNPARAM=localhost:4002 make -C examples/memread/vc707 run
(it works for run.pcietest as well as run.android)

jca
Reply all
Reply to author
Forward
0 new messages