From 7908ae1760ae5bc5c2055a528a1ad658c87938ca Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 11 Apr 2016 18:33:56 +0200 Subject: [PATCH] Adds basic instructions for compiling soc scripts --- soc/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 soc/README.md diff --git a/soc/README.md b/soc/README.md new file mode 100644 index 0000000..032ea72 --- /dev/null +++ b/soc/README.md @@ -0,0 +1,15 @@ +## Compiling USB Daemon and SPI Daemon +``` + +vagrant init hashicorp/precise64 +git clone https://github.com/tessel/t2-firmware.git +vagrant up +vagrant ssh +cd /home/vagrant +wget https://s3.amazonaws.com/builds.tessel.io/t2/OpenWRT+SDK/OpenWrt-SDK-ramips-mt7620_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2 +tar -xvf OpenWrt-SDK-ramips-mt7620_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2 +export STAGING_DIR=/home/vagrant/OpenWrt-SDK-ramips-mt7620_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/staging_dir +export PATH=$PATH:$STAGING_DIR/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin +cd /vagrant/t2-firmware/soc +make +```