To personalize your firmware you need to use SDK from svn server, so read SDK for information to install it.
The SDK is documented within README on top directory.
Here follows some remarks and useful information on openwrt/crisos feeds.
Inside SDK you can add or remove buildin kernel driver using:
~/darwinfox$ make kernel_menuconfig
In this configuration page you can add support for RTC or additional serial port such as ttyS2 and ttyS3 needed for FOXGM expansion board.
Click on image to enlarge.
BEWARE:
There are some know issues related to serial port on crisos alpha version.
For more information see FAQ e NOTE.
You can also add more package inside image using:
~/darwinfox$ make menuconfig
and select the needed packages.
In the figure example the packages lighttpd and maradns will be only compile, and packages miau and matrixtunnel will be compile and includes inside firmware.
If you like to add more programs to SDK you need to extract a separate branch of svn and make symbolic links. Agains there are some difference between alpha and darwinfox release.
Inside OpenWrt you should use ./script/feed to manage the installation/removal of package. Type ./script/feed help inside openwrt directory for info. Here an example (suppose you want install gphoto2):
darwinfox$ cd openwrt/ darwinfox/openwrt$ ./scripts/feeds update darwinfox/openwrt$ ./scripts/feeds search gphoto Search results in feed 'packages': gphoto2 Gphoto Digital Camera Control libgphoto2 The basic library of the gphoto2 program. libgphoto2-drivers Gphoto2 drivers for various cameras darwinfox/openwrt$ ./scripts/feeds install gphoto2 Collecting package info: done Installing package 'gphoto2' Installing package 'libexif' Installing package 'libgphoto2' Installing package 'libusb' Installing package 'jpeg' Installing package 'popt'
Now you can enable gphoto2 inside make menuconfig and compile it with make.
A specific crisos feed can be configured inside openwrt/feed.conf. You should add this line:
src-svn crisos svn://svn.tuxfamily.org/svnroot/crisos/svn/target/package
The alpaha packages are available under crisos svn, type:
$ cd ~/crisos ~/crisos$ svn co svn://svn.tuxfamily.org/svnroot/crisos/svn/packages ~/crisos$ ln -s `pwd`/packages/*/*/ trunk/package/
You can compile your new firmware using make:
$ make
If something goes wrong type:
$ make V=99
that explain you the problem.
Finished the compiler process you can flash you board using image inside bin directory:
~/crisos/trunk$ cd bin ~/crisos/trunk/bin$ sudo ./boot_linux -F -d <ethernet_device> -i <firmware_name>
where <firmware_name> is one of the file tailed with:
crisos-alpha_<flash_dimension><ram_dimension>
or
crisos-darwinfox-<version>