Stap 6: Run.zedboard
Wij gaan de run.zedboard -script gebruiken om te downloaden en uitvoeren van de toepassing en de bitfile. Dit script maakt deel uit van het Connectal -kader. U kunt het script installeren door het downloaden van alleen het script , of door het controleren van de connectal repo.
Gebruik de volgende opdrachten om te installeren het Connectal kader, als u dat nog niet hebt gedaan:
sudo apt-add-repository -y ppa:jamey-hicks/connectal sudo apt-get update
sudo apt-get install connectal
Het installatiescript schrijft de bron van Connectal naar /usr/share/connectal. U kunt testen dat het loopt:
jamey /usr/share/connectal/scripts/run.zedboard -h usage: Run Connectal apps on Android Zynq boards. [-h] [-t TIMELIMIT]<br> [-a IPADDR] [-u BUILDBOT_URL] [-p PROJECT] [-b BUILD_NUMBER] [bitfile] [androidexe] [file [file ...]] positional arguments: bitfile Gzipped binary bit file for the FPGA androidexe Android executable for the Zynq file Additional files to transfer to the target optional arguments: -h, --help show this help message and exit -t TIMELIMIT, --timelimit TIMELIMIT Time limit for jobs running on the zedboard. Defaults to value of environment variable RUNTIMELIMIT or 600 seconds. -a IPADDR, --ipaddr IPADDR IP address of target board -u BUILDBOT_URL, --buildbot-url BUILDBOT_URL Base URL of buildbot. -p PROJECT, --project PROJECT Name of project on buildbot. -b BUILD_NUMBER, --build-number BUILD_NUMBER Build number on buildbot. Will download the bit file and executable from buildbot if buildbot-url, project, and build-number are specified. The buildbot-url defaults to <a href="http://connectalbuild.qrclab.com/archive/.<br"> http://connectalbuild.qrclab.com/archive/.<br>></a>>>