Flsw command, Kboardinfo comm – Kontron COMe-bP5020 User Manual
Page 50

www.kontron.com
50
User Guide
COMe-bP5020
Table 43: flsw Command
flsw
Indicates the currently selected SPI boot flash or selects either the standard or
recovery SPI boot flash for flash operations other than booting
SYNTAX:
flsw [s|r]
flsw
command
Issuing the command without arguments will indicate the currently selected SPI
flash
Also returns “true” or “false” depending on the currently selected flash
s
option:
Selects the standard SPI boot flash for flash operations
r
option:
Selects the recovery SPI boot flash for flash operations
DESCRIPTION: This command is used to determine the currently selected SPI boot flash or to select either the standard
SPI boot flash or the recovery SPI boot flash for flash operations other than booting
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.
To select the recovery SPI boot flash for booting use the DIP Switch SW1, switch 2. For further
information, refer to Chapter 3.1, Table 13 and Chapter 6.8.
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 for flash operations:
=> flsw s
=>
Table 44: kboardinfo Command
kboardinfo
Displays a summary of board and conf iguration information
SYNTAX:
kboardinfo
kboardinfo
command
DESCRIPTION: This command compiles information from various board sources and provides a summary listing of this
information:
USAGE: 1. Display board information:
=> kboardinfo
Board id: 0xd0c8
Hardware rev.: 0xf
Logic rev.: 0x4
Boot flash: Standard Flash
In system slot: na
Geographic address: na
Material number: na
Serial number: 0400168722
U-Boot article name: SK-FIRM-UBOOT-D0C01
U-Boot material num: 1052-6335
=>