Difference between revisions of "Gumstix Verdex"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | ===To set up build environment=== | + | ===Compiling=== |
− | + | =====To set up build environment===== | |
+ | source ~/gumstix/gumstix-oe/extras/profile | ||
Executables for cross-compiling are stored in: | Executables for cross-compiling are stored in: | ||
− | + | /home/brian/gumstix/gumstix-oe/tmp/cross/arm-angstrom-linux-gnueabi/bin | |
+ | =====To compile===== | ||
+ | arm-angstrom-linux-gnueabi-g++ cgi.cpp vfatregister.cpp vfatedit.cpp vfati2c.cpp -o vfat$i.cgi -lcgicc | ||
+ | -I/home/brian/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3 | ||
+ | -L/home/brian/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/cgicc/.libs | ||
===Flashing the gumstix=== | ===Flashing the gumstix=== |
Revision as of 23:27, 22 July 2009
Compiling
To set up build environment
source ~/gumstix/gumstix-oe/extras/profile
Executables for cross-compiling are stored in:
/home/brian/gumstix/gumstix-oe/tmp/cross/arm-angstrom-linux-gnueabi/bin
To compile
arm-angstrom-linux-gnueabi-g++ cgi.cpp vfatregister.cpp vfatedit.cpp vfati2c.cpp -o vfat$i.cgi -lcgicc -I/home/brian/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3 -L/home/brian/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/cgicc/.libs
Flashing the gumstix
If the Gumstix won't boot, you can (rather slowly) flash the filesystem over serial.
If the gumstix will boot, then flashing from RAM disk over ssh is faster, but if the process fails or gets interrupted you'll have to fall back on the serial method. Remounting the filesystem read-only may not work, and the whole processed failed. Reflash over ssh
Changes necessary from the default image
In /etc/boa/boa.conf change the following lines:
From | To |
---|---|
User www-data | User root |
Group www-data | Group root |
#ServerName www.your.org.here | ServerName gumstix |
Stop and then start boa with:
/etc/init.d/boa stop /etc/init.d/boa start