Skip to content

Commit

Permalink
Adds basic instructions for compiling soc scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyman727 authored and tcr committed Apr 24, 2016
1 parent 582cbe3 commit 1b35e84
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions soc/README.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit 1b35e84

Please sign in to comment.