Skip to content
campbellsan edited this page Jan 16, 2014 · 47 revisions

This looks like a lot, but it doesn't take long. Please note that these directions are for Raspbian, the most commonly used operating system on the Raspberry Pi, but with some slight modifications you should be able to get Guzunty running on other distributions. For Arch Linux for example, there are a few small modifications, please see issue #23.

Install needed packages

  • sudo apt-get install git
  • sudo apt-get install libncurses5-dev libncursesw5-dev (for building and running the core test/demo executables)
  • sudo apt-get install geany (optional, code editor for tinkering)
  • sudo apt-get install doxygen (optional, for nice library documentation. Warning: requires just under a GB of storage)
  • sudo apt-get install arduino (optional, if you want to run the arduino i/f core)
  • sudo apt-get install openjdk-7-jdk (optional, for working on the experimental Logic Analyser project)

Download and install the bcm2835 library

Download the bcm2835 library from http://www.open.com.au/mikem/bcm2835/bcm2835-1.17.tar.gz

  • gunzip bcm2835-1.17.tar.gz
  • tar -xvf bcm2835-1.17.tar
  • cd bcm2835-1.17
  • ./configure
  • make
  • sudo make check
  • sudo make install

Get the Guzunty Pi example code and cores

Make a folder for your Guzunty projects and change to it.

  • mkdir Guzunty
  • cd Guzunty
  • git clone https://github.com/Guzunty/Pi.git

Make and install the Guzunty loader

  • cd Pi/src/gz_load
  • make
  • sudo chmod a+x gz_load
  • sudo cp gz_load /usr/bin

Make and install the Guzunty library (gzlib)

  • cd ../gzlib/src
  • make
  • sudo make install

Enable SPI (optional, but needed for almost all cores)

Edit (as root) /etc/modprobe.d/raspi-blacklist.conf Insert # in front of the line: blacklist spi-bcm2708 Save and reboot

  • sync
  • sync
  • sudo shutdown -r now