Personal tools
You are here: Home Members gillesgigan gumstix Tips and tricks
Document Actions

Tips and tricks

by Gilles Gigan last modified 2009-02-19 14:42

Various tips and tricks to make the OE / gumstix environment a better place :)

MMC card reader

To use the MMC card reader, load pxamci and mmc_block

Fixing poweroff /  reboot

edit /etc/init.d/alsa-state and replace "modprobe snd-soc-gumstix" with "modprobe snd-pxa2xx-ac97"

Installing tools to compile C/C++ code

ipkg -d mmc install make gcc gcc-symlinks binutils binutils-symlinks
ipkg-link add make
ipkg-link add gcc
ipkg-link add gcc-symlinks
ipkg-link add binutils
ipkg-link add binutils-symlinks
rm /media/card/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/libgcc_s.so
ln -s /lib/libgcc_s.so.1 /media/card/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/libgcc_s.so
The last two lines are required because symlink to libgcc_s arent created properly and linking will fail later on otherwise.

Installing C dev files
ipkg -d mmc install libc6-dev
ipkg-link add libc6-dev
ipkg-link add linux-libc-headers-dev
ipkg-link add libthread-db1
ipkg-link add glibc-extra-nss
To install libjpeg dev files:
ipkg -d mmc install libjpeg-dev
ipkg-link add libjpeg-dev
ipkg-link add libjpeg62




Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: