...
Alternatively the bootselect
tool can be used, which is usually provided by Flash-N-Go compatible operating systems using Flash-N-Go System as well as by Flash-N-Go System itself.
Info |
---|
The boomode switch needs to be pressed on each boot process. The selection made with |
Configuration tools
Several tools on the Flash-N-Go System solution are provided for configuring, testing and flashing the devices.
bootselect
Anchor | ||||
---|---|---|---|---|
|
This tool offers the possibility to switch the boot target between the flashed operation system (e.g. Linux, Windows Embedded) on the device and Flash-N-Go System itself. The following code block shows a list of all possible parameters:
...
Code Block |
---|
FLASH-N-GO:/ bootselect alternative alternative |
Noteinfo |
---|
The |
Anchor | ||||
---|---|---|---|---|
|
sconfig
is a small command line tool which offers functionalities for device configurations like network settings, screen rotation etc. The following code block shows a list of all possible parameters.
...
The manual system update considers a manual operating system (OS) installation via a console. The progress can be done locally using mass storage devices or using a network connection. The update process described here requires an Ethernet connection of the device to a development PC, either directly or via intranet. Also a TFTP-Server or HTTP-Server is required on the development PC. There are several, also free, TFTP-Servers and HTTP-Servers online available. Please make sure that the timeout settings of the TFTP-Server are set to 60 seconds at minimum. 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 how to boot into the management system.
...
From the very first moment when the target is powered, you should see debug messages in the terminal if the standard configuration is set.
Establish a network connection
The Ethernet can be set up with the sconfig command line tool, see also sconfig.
To set the IP address to the static IP 192.168.1.1 with the submask 255.255.255.0 use the following commands:
Code Block |
---|
FLASH-N-GO:/ sconfig ip 192.168.1.1
FLASH-N-GO:/ sconfig mask 255.255.255.0
FLASH-N-GO:/ sconfig dhcp off
|
To set DHCP and reboot the system to apply the network configuration:
Code Block |
---|
FLASH-N-GO:/ sconfig dhcp on
FLASH-N-GO:/ reboot |
Note |
---|
It is also necessary to install a TFTP-server or HTTP-server on a host PC. |
Installation via network
The common concept of the installation is allays similar.
Set the download source variable
TFTP
(or URL for newer installation script versions)Download the installation script (with
curl
) andExecute the installation script (with
sh
).
These concatenating these steps the installation can be done in one-liner commands.
Example 1: Install Yocto Daisy 15.0
Download all files within the Linux-Yocto/Releases/Yocto-15.0-r4523-9/prebuilt_images
folder of the SECO Nothern Europe support server (formerly known as Garz & Fricke FTP server).
GUF-Yocto-15.0-r4523-9-SANTARO-boot.cfg
GUF-Yocto-15.0-r4523-9-SANTARO-fng-install.sh
GUF-Yocto-15.0-r4523-9-SANTARO-imx6-santaro-x1.dtb
GUF-Yocto-15.0-r4523-9-SANTARO-imx6-santaro-x2.dtb
GUF-Yocto-15.0-r4523-9-SANTARO-linuximage.bin
GUF-Yocto-15.0-r4523-9-SANTARO-modules.tgz
GUF-Yocto-15.0-r4523-9-SANTARO-pkg.py
GUF-Yocto-15.0-r4523-9-SANTARO-root.tar.gz
To start the upgrade process use:
Code Block | ||
---|---|---|
| ||
export TFTP=tftp://<TFTP-Server IP> ; curl $TFTP/GUF-Yocto-15.0-r4523-9-SANTARO-fng-install.sh | sh
|
Info |
---|
Replace |
Example 2: Upgrade to Flash-N-Go System 8.0
Download the Flash-N-Go System files listed bellow from the Flash-N-Go/FNGSystem/FNGSystem8.0
folder of the support server.
Flash-N-Go-System-8.0-python-3.1.4.ext2
Flash-N-Go-System-8.0-self-init.sh
Flash-N-Go-System-8.0-self-update.sh
Flash-N-Go-System-8.0.cpio.gz
GF_Bootlogo_Flash-N-Go-System.png
boot-alt.cfg
fng_wipe_emmc.sh
Additionally download the Kernel Files files listed bellow from the Flash-N-Go/FNGSystem/FNGSystem-8.0/GUFYocto-35.0-r5982-0
directory of the support server. Place them in a subfolder of the TFTP-Server root folder named GUF-Yocto-35.0-r5982-0
GUF-Yocto-35.0-r5982-0-IMX6GUF-imx6dl-santaro.dtb
GUF-Yocto-35.0-r5982-0-IMX6GUF-imx6dl-santino-lt.dtb
GUF-Yocto-35.0-r5982-0-IMX6GUF-imx6dl-santino.dtb
GUF-Yocto-35.0-r5982-0-IMX6GUF-imx6dl-santoka.dtb
GUF-Yocto-35.0-r5982-0-IMX6GUF-imx6q-santaro.dtb
GUF-Yocto-35.0-r5982-0-IMX6GUF-imx6q-santoka.dtb
GUF-Yocto-35.0-r5982-0-IMX6GUF-linuximage.bin
GUF-Yocto-35.0-r5982-0-IMX6GUF-modules.ext4
ParamFile.txt
md5sums.txt
To start the upgrade process use the following lines
Code Block | ||
---|---|---|
| ||
export TFTP=<TFTP-Server IP>
curl tftp://$TFTP/Flash-N-Go-System-8.0-self-update.sh | -s -- --ParamFile=GUF-Yocto-35.0-r5982-0/ParamFile.txt
|
Info |
---|
Replace |
Example 3: Upgrade Flash-N-Go Boot to version 13.0
Download the Flash-N-Go Boot files listed bellow from the Flash-N-Go/FNGBoot/FNGBoot-v13.0r3476/
directory of the support server.
GF_iMX6x-FNGBoot-v13.0r3797_26-09-2019.bin
fng_boot_update.sh
md5sums.txt
Code Block |
---|
export TFTP=<TFTP-Server IP>; curl tftp://$TFTP/fng_boot_update.sh | sh |
Info |
---|
Replace |
Security Considerations
The Flash-N-Go System is designed as 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.