![mangOH Red Manual Download Page 22](http://html.mh-extra.com/html/mangoh/red/red_manual_699547022.webp)
5.1: Build and Install Legato Platform and mangOH Red Platform on Target
Rev 3 9/21/17
22
3.
To use the Legato AF’s tools in the terminal window, you must configure it to work with the tools. To do this,
you will define a short ’alias’ in your ~/.bashrc file (the startup script that runs each time you open a new
terminal window) that you can use to run the required commands (instead of entering the commands manually
every time):
a.
Edit your ~/.bashrc file and add the following lines at the end of the file:
alias cfglegato=\
"pushd . && cd ~/legato_framework/legato && source ./bin/configlegatoenv ; popd"
b.
Save and close the file.
c.
Exit the window:
$ exit
d.
Open a new terminal window—This automatically executes the .bashrc script, which makes the cfglegato
shortcut available for use.
4.
Configure the terminal window to work with the Legato AF’s tools:
$ cfglegato # Set up the environment
5.
Update the target’s firmware to the latest available version:
a.
Go to
https://source.sierrawireless.com
and do the following:
i.
In the Devices section, click AirPrime.
ii.
Click WP series.
Important:
You must enter the ’cfglegato’ command n any terminal window that you open on the dev machine, if you
want to use the framework’s tools in that window.
Important: You MUST do the following step!
The Legato AF that you just installed, and the mangOH Red
platform apps that you are going to install, both require you to have the correct (latest) firmware installed on your
CF3 module. The platform apps will not install if you do not have the correct firmware.
Ignore these toolchain warnings.