...
The resulting uImage should be built in arch/arm/boot. Modules will be installed by the script that makes the SD card.
Software setup
Install some specific packages.
Code Block |
---|
apt-get install module-init-tools |
Add the main user to the dialout group so it can access serial ports.
Code Block |
---|
usermod -a -G dialout mit |
Setup Distcc
First on the gumstix/chroot side
Code Block |
---|
#chroot
apt-get install distcc |
There should be some symlinks in /usr/lib/distcc as follows:
Code Block |
---|
#chroot
arm-linux-gnueabi-g++-4.6 -> ../../bin/distcc
arm-linux-gnueabi-gcc-4.6 -> ../../bin/distcc |
The cross compiler on the host machine will need to match the g++/gcc version listed in your symlinks. To make distcc the default compiler add the following lines to your ~/.bashrc file:
Code Block |
---|
#chroot
export CC=/usr/lib/distcc/arm-linux-gnueabi-gcc-4.6
export CXX=/usr/lib/distcc/arm-linux-gnueabi-g++-4.6
export DISTCC_HOST=192.168.1.100 # default remote host to use |
On the machine you want to distribute the compile jobs too (host) install distcc and the cross compiler.
Code Block |
---|
#host
sudo apt-get install distcc g++-4.6-arm-linux-gnueabi |
#
Deploy to SD card
Copy the required files from the hovergroup svn:
...