* BUILDING FRSH/FORB FRAMEWORK
-1) Initialize and download additional submodules:
-
- git submodule init
- git submodule update
-
-2) Install prerequisites. On Debian/Ubuntu:
+1) Install prerequisites. On Debian/Ubuntu:
apt-get install libidl-dev libcpufreq-dev libacpi-dev \
libcgroup-dev libncurses5-dev
apt-get install freeglut3-dev
-3) Go to build directory and configure the build:
+2) Go to build directory and configure the build:
cd build/aquosa
make default-config
CONFIG_CPUCG=y >> config.omk). Note, that cgroups support is not
well tested, but we plan to work on it.
-4) Compile it:
+3) Compile it:
make
-5) Test it:
+4) Test it:
./_compiled/bin/fcb &
./_compiled/bin/frm_dummy &
* OLD HOWTO - may be out of date
- Linux + AQuoSA
-
- * Install AQuoSA (http://aquosa.sourceforge.net)
- * $HOME/frescor/src/omk-build/aquosa
- * Adjust symlinks to FRESCOR modules (fosa, frsh, utils, ...) or use ./create-links script
- * Create config.omk containing (or use a shell variable in your .bashrc)
-
- AQUOSA_ROOT=/path/to/aquosa/install/path
-
- * Actually, my preferred way of working is adding the following
- variables in .bashrc:
-
- # AQuoSA environment
-
- export AQUOSA_ROOT=/usr/local/aquosa
- export PATH="$PATH:$AQUOSA_ROOT/bin"
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$AQUOSA_ROOT/lib"
-
- # FRESCOR environment
-
- export PLATFORM=AQuoSA
- export FOSA_ROOT=$HOME/path/to/fosa
- export FRSH_ROOT=$HOME/path/to/frsh
- export UTILS_ROOT=$HOME/path/to/utils
- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$FOSA_ROOT/lib:$FRSH_ROOT/lib:$UTILS_ROOT/lib"
-
- # OMK environment
-
- # Use `omk' for OMK-enabled sources
- alias omk="make -f $HOME/path/to/Makefile.rules"
- # link headers instead of copying them
- export LN_HEADERS=y
-
- * Create default-configuration by running
-
- make default-config
-
- * Run
-
- make
-
** Further remarks
- If we are not interested in compilation of some component (because