...
The resulting uImage should be built in arch/arm/boot. Modules will be installed by the script that makes the SD card.
Software setup
If it isn't already, mount /dev in the chroot:
Code Block |
---|
# host
sudo mount -o bind /dev ~/duovero/rootfs/dev |
Enter the chroot and start by installing some additional Install some specific packages.
Code Block |
---|
# chroot apt-get install module-init-tools openssh-server |
Add the main user to the dialout group so it can access serial ports.
Code Block |
---|
# chroot
usermod -a -G dialout mit |
Follow the steps at Software Installation to install MOOS, MOOS-IvP, Goby, and the hovergroup applications. You . Make sure you perform these steps as the user account you created, not root. You may wish to install distcc first to speed up compiling - see next section for instructions. Even if compiling inside the chroot, you may still want to set the compiler to distcc to avoid completely recompiling later. Distcc will complain about not being able to distribute the compile job but will revert to using local compilation just fine.
Setup Distcc
First on the gumstix/chroot side. The debian wheezy image we built includes g++-4.6 by default, but Ubuntu 14.04 only has the cross compiler for 4.7, so we'll install 4.7 along with distcc.
...