Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

The Flash-N-Go infrastructure (or FnG infrastructure) is a software product for NXP i.MX Edge devices created by SECO. Consisting of three parts: Flash-N-Go Boot, Flash-N-Go System and Flash-N-Go Update; it provides a convenient way of booting, flashing, testing and updating edge devices. FnG Infrastructure is available on the following series of devices:

  • Products of the SAN* family of devices with i.MX6: SANTARO, SANTOKA, SANTINO,…

  • NALLINO with i.MX6ULL

  • TANARO with i.MX8MM

...

Alternatively, the bootselect tool can be used, available modes are regular for normal target OS and alternative for Flash-N-Go System.

Info

The bootmode switch needs to be held on each boot process. The selection made with bootselect is persistent.

...

Expand
titleUsing bootselect tool
Code Block
languagebash
FLASH-N-GO:/ bootselect -h
Usage: bootselect [-qv] [<bootmode>]
When called without parameters, bootselect reads the
current boot-mode setting from the RTC-register
Options:
  <bootmode>  Writes the given boot-mode into the RTC-register
              May be one of: initialized regular regularB alternative invalid
  -v Turns on debug messages on stderr
  -vv Turns on info messages on stderr
  -q Turns off warning messages on stderr
  -qq Turns off all messages on stderr

It is also possible to use abbreviation such as a for alternative and so on.

Code Block
languagebash
root@santaro:~# bootselect a
alternative
root@santaro:~# bootselect r
regular

...

The installation of target OSes, and Flash-N-Go System and Flash-N-Go Boot should work via console one- or two-liners. All device partitioning, deployment actions should be done by shell scripts executed by the simple command. See Booting Flash-N-Go System for instructions on how to boot into the management system.

...

To do that, simply download and copy the installation script as well as the corresponding files to a an USB stick. After that, simply boot the device into FnG System, mount the USB stick and directly call the script.

Example 3: Install Yocto Kirkstone 27.0 via USB stick on Tanaro 7.0”(seco-mx8mm )

Copy the files related to your specific hardware (e.g. seco-mx8mm) from the release page Yocto-kirkstone-27.0 to an USB update script.

Install Script

Image

Device Trees files (choose the right ones or just copy all files if you are not sure)

Boot into Flash-N-Go System as descibed above, plug in the USB stick and execute the update script.

Depending on the FnG-Sytem Version you might need to mount the device first

Code Block
breakoutModewide
mount /dev/sda1 /mnt/

Start the update process

Code Block
breakoutModewide
sh /mnt/fng-install.sh -d seconorth-tanaro-fg0700w0dsswagl1.dtb
Info

The -d parameter is optional for i-MX6 devices.

...

Security Considerations

The Flash-N-Go System is designed as a management system to install and update target operating systems and change the device configurations. Thus it runs with root privileges. This may be a concern for some scenarios. Therefore some security considerations are necessary.

...