Manually Install Dev Environment

How to manually build, install and remove the Legato Application Framework:

To install and get started with the Legato Application Framework you need to install and configure:

  • The Legato Application Framework on a development PC(host) running an LTS version of Ubuntu
  • A toolchain that corresponds to the Linux Distro installed on your target.
  • Configure the Legato Application Framework for your target.
Section Description
Install the Application Framework Install the Application Framework on a Linux development machine
Install the Toolchain Install a toolchain for your target
Configure the Application Framework Configure your environment and update your target
KConfig Modify the framework configuration

If you wish to upgrade to a new version of the Framework or to uninstall existing versions:

Section Description
Update the Application Framework Update the Application Framework to a new version
Uninstall the Application Framework Uninstall the Application Framework from a development machine
Note
Installing Legato through Leaf takes care of all the above steps and configuration, and provides an upgrade path for installing new versions of the Legato Application Framework.

Verify Target

To check the version of Legato installed on your target:

# legato version

Example Output:

17.11.0_31b9a1260bc1e45310ccf15491352a01

To check the version of Firmware and Linux Distribution on your target:

# fwupdate query

Example Output:

Firmware Version: SWI9X07Y_02.10.01.00 000000 jenkins 2017/12/03 03:05:33
Bootloader Version: SWI9X07Y_02.10.01.00 000000 jenkins 2017/12/03 03:05:33
Linux Version: 3.18.44 #2 PREEMPT Thu Dec 21 22:18:24 UTC 2017