Starting out with the FX30S and questions abound


#1

I am evaluating the FX30S and trying to get everything setup.

I have tried steps from several different sources but nothing seems quite right yet, so here are some questions:

1. What is the “best” method for getting set up for development for the FX30S?

I tried manually doing things like described in the mangOH_Red tutorial, but that didn’t work. I got closer by using the legato-spm tool. Then I was able to build the helloWorld app, but it didn’t run on the FX30S. The FX30S rebooted several times and then when it was stable, the app wasn’t there.

2. What are the “correct” versions of things to use with the FX30S?"

the legato-spm appears to load packages newer than those listed on https://source.sierrawireless.com/resources/airlink/software_downloads/fx30-firmware/fx30-firmware/ I suspect that mixing versions of things won’t work well and that is why my FX30S kept rebooting.

3. How do you modify the Yocto build?

I found and tried to use “FX30_WP8548_full_R14.0.4.002.tar.gz”, but I am not sure what “image” to specify to be built. Is there any documentation for this or is there a better way to modify the Yocto Linux? I need to replace openSSL with the FIPS version.

I think that is enough questions for now.

Thanks,
Mark


#2

Hi Mark,

  1. There is no one “best” method for FX30/FX30S development setup. It really depends on what you need to develop.

If you only need to develop a Legato application, then Developer Studio would be quickest and easiest. You would need to ensure you’re using the correct toolchain and building for the correct target.

If you want to modify the kernel or root file system, then you’ll likely want to use the Yocto build. (but be aware there is a way to build kernel modules via Legato as well).

As far as I know, the legato-spm tool is not up to date with the R14.0.4.002 FX30 release.

The mangOH tutorials are specific for the mangOH boards so they won’t apply directly to the FX30. We do have plans to release an Application Note to clarify some of the issues you’re experiencing with the FX30 build.

  1. The correct version to use for the FX30S is referenced by the link you provided, R14.0.4.002 with Legato version 16.10.1.m3. Note, this version of Legato is actually a maintenance branch off version 16.10.3 even though it appears to be based off 16.10.1.

Download the Source code tarfile and the Legato tarfile. Extract the Source tarfile first, then extract the Legato tarfile into main directory of the Source code. If all is done correctly, you should see a bunch of folders such as kernel, lk, meta-columbia-x and a legato folder as well (You might need to rename the legato folder to just “legato”).

You can also insert your Legato application into the legato folder of the Yocto build and have it as part of the Legato image. You can browse through the legato folders for the right location.

  1. To build the image, just type “make”
    The binary image generated is a CWE file located at:
    build_bin/tmp/deploy/images/swi-mdm9x15/

Look for “boot-yocto-legato_wp85.cwe”. This image will contain the bootloader, kernel, RFS and Legato. The Legato image only is “legato-image.wp85.cwe”. You can also install the swicwe tool (https://source.sierrawireless.com/resources/airprime/software/swicwe/) to parse the CWE files and view their contents.

To replace openSSL, try modifying the recipe:
poky/meta/recipes-connectivity/openssl/openssl.inc

Note however, it’s not good practice to edit existing recipes, it would be preferable to create an openssl.bbappend file in your own custom layer.

BR,
Chris