Table 6-3: flsw command – Kontron COMe-cP2020 User Manual
Page 82

www.kontron.com
COMe-P2020 User Guide
82
Table 6-3:
flsw Command
flsw
Indicates or selects the currently active SPI boot flash
SYNTAX:
flsw [s|r]
flsw
command
Issuing the command without arguments will indicate the currently active SPI boot
flash
Also returns “true” or “false” depending on the currently active flash
s
option: standard
Selects the standard SPI boot flash as the active flash
r
option: recovery
Selects the recovery SPI boot flash as the active flash
DESCRIPTION: This command is used to determine the currently active SPI boot flash or to select either the Standard SPI
boot flash or the Recovery SPI boot flash as the currently active flash.
In addition, this command returns “true” if the Standard SPI boot flash is selected or “false” if the
Recovery SPI boot flash is selected. This is used in the update scripts to prevent the Recovery SPI boot
flash from being updated.
Besides this command, the currently active SPI boot flash may also be selected by the DIP Switch SW1,
switch 2. For further information, refer to Chapter 3.1, Table xx.
The output of this command always shows the current state.
USAGE: 1. Query flash status:
=> flsw
standard boot flash active
=>
2. Select the standard SPI boot flash as currently active flash:
=> flsw s
=>