...
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 -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 |
For selection of the target OS the bootselect
tool should be called with the regular
parameter:
Code Block |
---|
|
FLASH-N-GO:/ bootselect regular
regular |
For selection of Flash-N-Go System the bootselect
tool should be called with the alternative
parameter:
Code Block |
---|
|
FLASH-N-GO:/ bootselect alternative
alternative |
...
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. |
...
Code Block |
---|
breakoutMode | wide |
---|
language | bash |
---|
|
export TFTP=tftp://<TFTP-Server IP> ; curl $TFTP/GUF-Yocto-15.0-r4523-9-SANTARO-fng-install.sh | sh |
...
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 |
...