How to patch the SDK with foXServe patch

BEFORE START:
Now is possible to join the foXServe system to ACME SYSTEMS SDK!

This tutorial will guide you in the process of installing foXServe under your SDK, so that you can create your own firmware foXServe based.

In this way you can create YOUR OWN CUSTOM fimage foXServe based. Obviously the uptodate feature is not present or you will lost your custom kernel on upgrade.

With this patch you can add new features to foXServe that are not yet implemented in the standard release as for example OWFS, bluetooth, but already available under the main SDK tree.

First of all you need to install a fresh SDK following the guide at: http://foxlx.acmesystems.it/?id=714

Update your SDK to the last release (release 238 at the time this tutorial was written) http://foxlx.acmesystems.it/?id=701

# cd /home/fox/devboard-R2_01
# ./sdk_update
                     ########### WARNING ###########
An update will revert the settings of the sdk to the defaults that we provide.
If you have made any changes, that you do not want to loose, make sure to create a backup 

Now launch ./configure and then make to create the default fimage

# ./configure
### Selected product: "fox" ###
 * Using previously fetched packages... done
 * Using compiler "/usr/local/cris/bin/cris-axis-linux-gnu-gcc" (revision "R63").
 * Using previously fetched packages... done
 * Generating "Makefile"... done
...

# make
...

Download the patch from here and untar it where do you prefer

# mkdir xspatch
# cd xspatch
# wget http://www.kdev.it/HTDOCS/xspatch.tar.gz
# tar xzvf xspatch.tar.gz
# cd ..

Now you need to patch the the SDK, substitute .config and kernelconfig-2.6 files with the files provided by the patch.

# cp .config .config_orig
# cp kernelconfig-2.6 kernelconfig-2.6_orig
# cp xspatch/.config .
# cp xspatch/kernelconfig-2.6 .

Launch ./configure so that the SDK will be reconfigured with the new parameters

# ./configure
### Selected product: "fox" ###
* Using previously fetched packages... done
* Using compiler "/usr/local/cris/bin/cris-axis-linux-gnu-gcc" (revision "R63").
* Using previously fetched packages... done
* Generating "Makefile"... done
...

Copy appsFoxserve.tar.gz under your devboard base path and untar it, a new application folder named foxserve should appear under devboard-R2_01/apps

# cp xspatch/appsFoxserve.tar.gz .
# tar xzvf appsFoxserve.tar.gz

Now we have to substitute the main Makefile under the devboard base dir with the one you have inside the patch

# cp Makefile Makefile.orig
# cp xspatch/Makefile .

Is now time to build your foXServe based firmware, launch make

# make

Your new foXServe custom firmware is ready, you can flash your fox LX 832 and point your web browser to http://192.168.0.90 to look at foXServe default pages.

THANK YOU TO ROBERTO ASQUINI FOR THE MAKEFILE AND TESTS INSIDE THE SDK


Hit Counter by Digits