FOTA baseline Legato System

@cchenry

I’m looking at migrating to Leaf to manage builds for multiple targets but I’m concerned that option 1 you detailed won’t work because the according to the Leaf docs

"The version of Legato that you install is pre-built for your module, meaning that there is no need to run make, or set-up the toolchain and other configuration tasks. "

Our release process right now updates the LEGATO_VERSION to be a concatenation of the current Legato version and our overall version number.

How can I achieve this functionality using Leaf?

Thanks,

Hi @dbeckwith,
Leaf gives you the option of building the legato framework from source as well. You don’t have to use the pre-built legato image.
BR,
Chris

@cchenry

Thank you for the reply! Do need to use the Legato’s Gerrit server to build from source?

Thanks,
Darren

Hi Darren,
Leaf uses repo underneath and will pull from the Legato Gerrit server.

For the FX30 build, when you issue the “make” command, the Legato source will be pulled and linked to the yocto workspace.

The full bundle build artifacts are located in:
/build_bin/images/public

The cwe files here are a concatenation of:

  • radio module Carrier firmware
  • bootloader, RFS, kernel
  • legato

There are 2 FX30 Legato applications that included with the yocto build. For an official FX30 release such as R11.0.0.007, these applications are built directly into the framework. However, when you build from Leaf source, they are installed at run-time on first boot. Once installed, the functionality is identical.

BR,
Chris