1 flsw command, Am4140 u-boot bootloader u-boot usage – Kontron AM4140 U-Boot Bootloader User Manual

Page 15

Advertising
background image

AM4140 U-Boot Bootloader

U-Boot Usage

ID 1052-0281, Rev. 1.0

Page 15

P R E L I M I N A R Y

3.1

flsw Command

flsw

FUNCTION:

Indicates or selects the currently active SPI boot flash

SYNTAX:

flsw [s|r]

where:

flsw

command:
issuing the command without arguments will indicate
the currently active SPI boot flash
(also returns “true” or “false” depending on the cur-
rently 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 either via the DIP Switch SW2, switch 2, or the “Set Control
State” IPMI OEM command. For further information, refer to the
AM4140 User Guide and to the AM4140 IPMI User Guide, respectively.

The output of this command always shows the current state.

USAGE:

Query flash status

COMMAND / RESPONSE:

=> flsw

standard boot flash active

=>

Select the standard SPI boot flash as currently active flash

COMMAND / RESPONSE:

=> flsw s

=>

Advertising