Commit fd49d550 authored by Bruno Miguel da Silva Paz Gomes's avatar Bruno Miguel da Silva Paz Gomes Committed by Bruno Gomes

Update README.md

refs #201957
parent d5bb8670
......@@ -4,7 +4,7 @@ AIR has a user manual at https://gmvdrive.gmv.com/index.php/s/eScXCAybbecmT9b
To install AIR after cloning from git, you should do the following:
1) Install RTEMS toolchain for RTEMS 5
## 1 - Install RTEMS toolchain for RTEMS 5
Execute the following:
......@@ -16,36 +16,74 @@ $ ./source-builder/sb-check
$ cd rtems
$ ../source-builder/sb-set-builder --prefix=/opt/rtems/5 5/rtems-sparc
2) Configure and build AIR
## 2 - Configure and build AIR
AIR configure requires python-mako, if not installed execute (in case of Debian)
Add the air_repo/air to the PATH env variable, we recommend doing the following way in .bashrc file:
sudo apt-get install python-mako
- export AIR=/home/taste/work/air/air
- export PATH=$PATH:$AIR
Clone AIR repo for example in */home/taste/work/*
git clone https://spass-git-ext.gmv.com/AIR/AIR.git
AIR configure requires python-mako, if not installed execute (in case of Debian)
- sudo apt-get install python-mako
Add the *air_repo/air* to the PATH env variable, we recommend doing the following way in .bashrc file:
export AIR=/home/taste/work/air/air
export PATH=$PATH:$AIR
AIR supports the following paravirtualized RTOS versions
- RTEMS 4.8i
- RTEMS 5
AIR paravirtualized RTOS are obtained via git submodules. For example to use AIR
RTEMS 5 version please execute in *air_repo/air*
git submodule init air/pos/rtems5
git submodule update
### Using AIR configurator tool
On *air_repo/air* execute
Go to the folder air_repo/air”
Run “configure” and set the following options (for SPARC LEON4 with FPU enable)
./configure
Configurator interface will enquire the user for options (architecture, BSP, FPU, Cache, Debugger, RTOS). For example
Press 0 for sparc
Press 2 for leon4
Press 0 for fpu enabled
Then write “make clean” then next do a “make all”.
...
A) To build an example ready to run on a target board
After configurator finishes execute
make
### To build an example ready to run on a target board
Then go to any example inside *air_repo/air/examples*
Execute
../../configure
This generate the makefiles taking as input the XML configuration file.
Then go to any example inside air/example.
Run “configure” on the example and it will generate the makefiles taking as input the XML configuration file.
It generates a parent makefile and then a makefile per partition inside the respective partition folder.
Running make all at the example will create the respective binary.
Executing
make all
will create the respective binary in the created *executables* folder.
B) Support
## Support
Email to dtms@gmv.com or raise issue at our Gitlab
## Updating AIR repo to AIR v5.3 and configurator v4.2
Since configurator v4.2 the RTOS paravirtualized versions are obtained via git submodules.
Pulling new AIR content into old AIR repo will generate conflicts. To get a new clean
AIR repo please execute (please backup any working folder)
git fetch
git reset origin/master --hard
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment