From 5206bcd72f52bece3ff35268a2284ec4e84c6109 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 3 May 2015 23:15:33 -0400 Subject: Initial commit of my silly build script collection. --- Build-Xilinx.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 Build-Xilinx.sh (limited to 'Build-Xilinx.sh') diff --git a/Build-Xilinx.sh b/Build-Xilinx.sh new file mode 100755 index 0000000..c9ac7f3 --- /dev/null +++ b/Build-Xilinx.sh @@ -0,0 +1,28 @@ +#!/bin/sh - + +# Wrapper script for building Xilinx images on Caerbannog (32-bit Debian Wheezy VM). + +# Pick a target: + +#TARGET=core/platform/novena/i2c/build +TARGET=core/platform/novena/eim/build + +# Pull fresh copies of all the repositories + +$HOME/http-sync-repos.py + +# Move to the target's build area + +cd $HOME/Cryptech/$TARGET + +# Run command line version of the Xilinx build environment (thanks, Paul!) +# +# Since Paul was developing this on a 64-bit VM and I'm using a 32-bit +# VM, I need to override a few settings on the make command line. + +make isedir='/opt/Xilinx/14.7/ISE_DS' xil_env='. $(isedir)/settings32.sh' + +# At this point, if all went well, there should be a .bit file, which +# I can now move to my Novena board. + +scp -p novena_eim.bit tym: -- cgit v1.2.3