Logi-pi setup

See for details: http://valentfx.com/wiki/index.php?title=Logi-Pi_Quick_Start_Guide
Section: Creating your own Raspberry Pi image compatible with Logi-tools

Activate spi support and i2c support in your image
>sudo vi /etc/modprobe.d/raspi-blacklist.conf
Uncomment the blacklisted spi and i2c interface lines

Installing the logi_loader tool to load bitstreams to the FPGA
>sudo atp-get update
>sudo apt-get install gcc make git
>git clone https://github.com/fpga-logi/logi-tools.git Note: execute this from your home dir !!
>cd ~/logi-tools/logipi_loader
>sudo make install

Adding python support for the Logi-Pi (optional, you can also use C/C++, whatever you prefer)
>sudo apt-get install python-dev
>cd ~/logi-tools/python/logipi
>python2 setup.py build
>sudo python2 setup.py install

Download the demo applications
>git clone -b https://github.com/fpga-logi/logi-apps.git
This has created the directory ~/logi-apps

Run one of the demo applications: blinking LEDs
>cd ~/logi-apps/blink_led_app
>sudo ./make_demo.sh
The two leds on the logi board should blink.

Content of the make_demo.sh file:
logi_loader ./logipi_blink.bit

If you want to download directly (without the script):
>sudo logi_loader <.bit file>