Skip to content

Instantly share code, notes, and snippets.

@cpmpercussion
Created January 23, 2015 06:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cpmpercussion/bdc0f4d34fa44d350312 to your computer and use it in GitHub Desktop.
Save cpmpercussion/bdc0f4d34fa44d350312 to your computer and use it in GitHub Desktop.
Intel Galileo Pure Data music process

Setting up SD card

download galileo-1.2.img from <galileodebian.sourceforge.net>

used rpi-sd-card-builder to dd the image to the card.

Connect serial in terminal

something like:

 screen /dev/tty.PL2303-0000103D 115200

Login

username: root password: root

!!! not the same as the website!

Time Zone

dpkg-reconfigure tzdata

Locales

 apt-get install locales

New kernal

 apt-get update
 apt-get dist-upgrade

— broke the install...

Repatch libpthread

http://sourceforge.net/p/galileodebian/wiki/SetupSDCard/

Need to run this line to patch libpthread in place:

 for i in `/usr/bin/find /lib -type f -name \*pthread\*so`; do cp ${i} ${i}.bak; sed -i "s/\xf0\x0f\xb1\x8b/\x90\x0f\xb1\x8b/g" ${i}; done

totally insane.

Expand filesystem

http://sourceforge.net/p/galileodebian/wiki/How%20to%20expand%20the%20root%20filesystem%20to%20use%20the%20entire%20SD%20card/

Installing sound drivers

 apt-get install alsa-base alsa-utils

fix the /etc/modprobe.d/alsa-base.conf

The alsa-base.conf file forces snd-usb-audio from being loaded in slot 0 so it’s hard to get to! just comment out the line.

 # options snd-usb-audio index=-2

run pd command

apt-get install pd

 pd -nogui -outchannels 2 -inchannels 1 -verbose -listdev test.pd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment