Hi,
this is a first impression of what you can do with a 40 Euro Odroid-C1 computer, some metal and plastic and a 5 Euro stepper motor.
There are some nice libraries availbale for this platform to access the GPIO pins of the odroid.
Change it all. Now. Fast. Realtime.
Hi,
this is a first impression of what you can do with a 40 Euro Odroid-C1 computer, some metal and plastic and a 5 Euro stepper motor.
There are some nice libraries availbale for this platform to access the GPIO pins of the odroid.
Hi,
this is just an update for those who use the older Wolfson Audio Card. You can download it here or simply fire up your Raspberry Pi and install it directly. The kernel sources are from Cirrus Logic’s 3.12.33 kernel. This kernel is patched with the realtime preemption patches from https://www.kernel.org/pub/linux/kernel/projects/rt/ So now you should have a realtime linux system running on your Raspberry Pi for making LIVE MUSIC or other things.
THIS WON’T WORK FOR THE NEW RASPBERRY PI 2!
The kernel is running on a standard Raspberry Pi Debian Wheezy image 2015-02-16 which you can download from http://www.raspberrypi.org/downloads/
On Raspberry Pi, open a shell and type
Then install it with
dpkg -i linux-image-3.12.33-rt47-georg_3.12.33-rt47-georg-1_armhf.deb
sudo mv /boot/vmlinuz-3.12.33-rt47-georg /boot/kernel-rt-georg.img
Thanks for Ragnar Jensen’s patch for memory mapped I/O support to the Wolfson/Cirrus card.
A slightly modified version of this patch can be found here.
Change boot options in /boot/config.txt with
sudo nano /boot/config.txt
and change OR add this line:
kernel=kernel-rt-georg.img
Open /etc/modules with
sudo nano /etc/modules
and change OR add these lines:
spi-bcm2708
i2c-bcm2708
arizona-spi
snd-soc-wm5102
snd-soc-pcm5102a
snd-soc-wm8804
snd-soc-rpi-wsp
snd-soc-rpi-wsp
bcm2708-rng
snd-bcm2835
gpio_arizona
arizona_micsupp
snd_soc_bcm2708_i2s
snd-soc-arizona
snd-soc-wm-adsp
snd-soc-wm5102
snd-soc-rpi-wsp
Open /etc/modprobe.d/raspi-blacklist.conf with
1 2 3 4 |
<strong>sudo nano /etc/modprobe.d/raspi-blacklist.conf</strong> and change OR add these lines: |
1 2 3 4 5 6 7 8 9 |
<strong><code>#blacklist spi-bcm2708 #blacklist i2c-bcm2708 blacklist snd-soc-pcm512x #blacklist snd-soc-wm8804 softdep arizona-spi pre: arizona-ld </code></strong><code>Op</code><code>en /boot/cmdline.txt</code><code> with</code><code> </code><code><strong>sudo nano </strong></code><strong><code>/boot/cmdline.txt </code></strong> |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
and change OR add this line to the other boot params</code><code> <strong>sdhci_bcm2708.enable_llm=0</strong> Reboot with </code><code><strong>sudo shutdown -r now </strong> If everything runs o.k. <strong>uname -r</strong> should show <strong>3.12.33-rt47-georg</strong> Have fun. |
1 |
Das Düsseldorf Festival hat mich in diesem Jahr ganz besonders begeistert. Vor allem war es eine Veranstaltung: Ganz junge Menschen aus einem Slum-Viertel bauen Instrumente wie Geigen, Saxophon, Querflöte und Schlagzeug aus Müll. Ja, richtig gelesen: aus Abfall. Und dann spielen sie auf diesen Instrumenten Klassik, Pop und Rock in einer ungeahnten Qualität. Das Orchester heißt Orquesta de Instrumentos Reciclados de Cateura und ist hier auch auf Youtube zu finden.
Das hat mich zum Nachdenken gebracht: Muss es immer etwas „Neues“ sein, damit es im Leben Spaß macht? Nein!!!
Wie man mit wenig Geld ein Midipad baut und am Computer anschließt, kann man in folgenden Video sehen.
Viel Spaß!
The easy way:
# Download the binaries from here:
sha1sum kernelAndFirmware_wolfson_rt.tar.bz2 is
76c3b38f588f09ae6a557f3065ce9dc30674615b kernelAndFirmware_wolfson_rt.tar.bz2
mkdir kernelAndFirmware_wolfson_rt
Extract:
tar -xvjf kernelAndFirmware_wolfson_rt.tar.bz2 -C kernelAndFirmware_wolfson_rt
and copy to root of the Raspberry pi.
sudo nano /boot/config.txt
change
kernel=kernel.img
to
# kernel=kernel.img
kernel=kernel_new.img
sudo sync
sudo reboot
or do it the hard way 😉
Read Compile and install as described here -> http://elinux.org/RPi_Kernel_Compilation
# Download the sources
# RPI-Kernel
Download rpi-3.12.y_rt_wlfsn.tar.bz2
sha1sum rpi-3.12.y_rt_wlfsn.tar.bz2 is
523f06ab89088e9cf8384c7dd9551c2fc74b2598 rpi-3.12.y_rt_wlfsn.tar.bz2
tar -xvjf rpi-3.12.y_rt_wlfsn.tar.bz2 -C rpi-3.12.y_rt_wlfsn
cd rpi-3.12.y_rt_wlfsn
Download rpi-3.12.y_rt_wlfsn.config into rpi-3.12.y_rt_wlfsn directory and change it to .config
export ARCH=arm
export CROSS_COMPILE=/path/to/your/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-
export INSTALL_MOD_PATH=/your/modules/dir/path
mv config.txt .config
make -j4 ARCH=arm CROSS_COMPILE=${CROSS_COMPILE} mrproper
make -j4 ARCH=arm CROSS_COMPILE=${CROSS_COMPILE} xconfig
# make your changes here
make -j4 ARCH=arm CROSS_COMPILE=${CROSS_COMPILE}
make -j4 ARCH=arm CROSS_COMPILE=${CROSS_COMPILE} modules
make -j4 ARCH=arm CROSS_COMPILE=${CROSS_COMPILE} modules_install
# Have fun.