2 fru command, Fru comm, U-boot usage am4140 u-boot bootloader – Kontron AM4140 U-Boot Bootloader User Manual

Page 16

Advertising
background image

U-Boot Usage

AM4140 U-Boot Bootloader

Page 16

ID 1052-0281, Rev. 1.0

P R E L I M I N A R Y

3.2

fru Command

fru

FUNCTION:

Provides read/write access to the board’s FRU repository as well as
displaying FRU data

SYNTAX:

fru info <FRU nr>|…

read <FRU nr> <address> <size>|…

write <FRU nr> <address> <size>

where:

fru

command

info

option:
displays FRU data for <FRU nr> specified

<FRU nr>

parameter: hexadecimal
<0, 1, … n>
identification number of FRU device for option speci-
fied

read

option:
reads FRU data for <FRU nr> specified

<address>

parameter: hexadecimal
<[x … ]x>
address where data is to be stored or read from

<size>

parameter: hexadecimal
<[x … ]x>
length of data in bytes to be read or written

write

option:
writes FRU data to <FRU nr> specified

DESCRIPTION:

This command can be used to display basic information about the FRU
repository, read out the repository content to RAM, and, if required, to
update the contents of the FRU repository.

WARNING!

Writing incorrect FRU data to the FRU repository can result in an
inoperable board (E-Keying information incorrect). Users requiring
modification to the board’s FRU data are requested to contact Kontron
for assistance before making any changes.

USAGE:

Query FRU data for FRU 0

COMMAND / RESPONSE:

=> fru info 0

FRU 0 size is 0x1000 bytes

=>

Advertising