Spanish Version

+ Introduction

+ About Us

+ Downloads

+ Source Code

+ Dev. Environment

+ SODIUM Developer Kit

+ Configuration

+ Testing & Installation

+ Try SODIUM Online


Once the Development Environment has been set up and you have downloaded SODIUM's source code from the SVN server, you should first create an initial configuration before you can compile or run SODIUM,

This following configuration tutorial has been written upon using a SDK environment, but should work just as fine as with a home-made environment.

The first step in configuring SODIUM is to open a new console, by clicking in the upper-right part of the SDK interface:

Once the console is open, SODIUM Developer Kit will automatically set the user as root and output a welcome message:

    Bienvenido al Sodium Developer Kit



    Welcome to SODIUM Developer Kit


Once in the console, you must head to where SODIUM's code is located. Once there, we can observe its file and folders distribution:

root@sodium:/home/sodium# cd /home/sodium/SodiumUNLaM/sodium/trunk
root@sodium:/home/sodium/SodiumUNLaM/sodium/trunk# ls -o
drwxr-xr-x 3 root  4096 2013-09-20 04:50 boot
drwxrwxrwx 3 root  4096 2013-09-20 04:50 build
drwxrwxrwx 3 root  4096 2013-09-20 04:50 common
drwxrwxrwx 3 root  4096 2013-09-19 10:02 docs
drwxrwxrwx 3 root  4096 2013-09-20 04:50 herramientas
drwxrwxrwx 6 root  4096 2013-09-19 10:02 include
drwxrwxrwx 8 root  4096 2013-09-20 04:50 kernel
drwxrwxrwx 6 root  4096 2013-09-20 04:50 usr
-rwxrwxrwx 1 root 28052 2013-09-20 04:49
-rwxrwxrwx 1 root  5667 2013-09-20 04:50 Makefile

In the root folder of SODIUM, there are only two files that whose only purspose is to indicate the SODIUM's configuration. Such configuration is determined by the user (which is local to each copy of SODIUM) and saved in a new Makefile.cfg file. This file is necessary for the compilation of SODIUM and therefore it has to be generated beforehand.

In order to generate the Makefile.cfg file, it is necessary to run the script:

root@sodium:/home/sodium/SodiumUNLaM/sodium/trunk# ./

This menu contains by-default values for each item with the most frequently used configuration. However, any changed made by the user will be saved and stored in the Makefile.cfg and will be recovered next time is ran.

After running you can see SODIUM's configuration menu:

    Menu de ConfiguraciĆ³n de SODIUM

1) Configuracion de Pruebas
2) Configuracion de Instalacion en Dispositivo Fisico
3) Configuracion de Compilacion
4) Configuracion de Kernel

x) Guardar y Salir


    SODIUM Configuration Menu

1) Tests Settings
2) Installation Settings
3) Compilation Settings
4) Kernel Settings

x) Save & Exit

This interactive menu allows the user navigating the sub-menus and easily configure each aspect of SODIUM's compilation, testing and installation.