Download and unpack Angstrom-2007.12-source.tar
Setup the environmnet variables in setup-env
bitbake task-base
bitbake nslu2-base-image
I had to however remove avahi from the distro as it was giving errors.
locative media, embedded programming and electronics
Download and unpack Angstrom-2007.12-source.tar
Setup the environmnet variables in setup-env
bitbake task-base
bitbake nslu2-base-image
I had to however remove avahi from the distro as it was giving errors.
Using python on a gumstix - not easy!
There isn’t normally enough space on a gumstix to install python, (unless you go the mmc-root route).
The python ipkg installer seems to trip up when installing to a card. It seems best to install python-core to root and then use -d destination for libraries.
Also there is a bug in the way gumstix openembedded installs the python bitbake recipe. Several .so files including array.so from the lib-dynload directory don’t make it into the ipkg. I fixed it by copying the compiled files manually to the /usr/lib/python2.5/lib-dynload directory.
And its working.
A quick mnemonic
ipkg install snd-usb-audio
ipkg install snd-pcm-oss
ipkg install alsa-lib
make an init script /etc/rcS.d/S90sound
#!/bin/sh
echo “Configuring sound…”
modprobe snd-usb-audio
modprobe snd-pcm-oss
echo “Finished configuring sound.”