beautypg.com

Vpd command – Kontron COMe-bP5020 User Manual

Page 55

background image

www.kontron.com

55

User Guide

COMe-bP5020

Table 48: vpd Command

vpd

Provides functions for conf iguration of external interfaces

SYNTAX:

vpd print []|import (|all_params)

vpd

command

print

option:

displays VPD information (source: System EEPROM)
(if is not used, all VPD entities are displayed)

parameter: text string

<[x … ]x>
name of VPD entity addressed by option

import

option:

imports VPD information to the U-Boot environment
(source: System EEPROM; target: RAM)

all_params

parameter: text constant

all_params
selects all VPD entities for importing to the U-Boot environment

DESCRIPTION: Vital Product Data are information stored in the System EEPROM which are required for proper operation of

the board. With this command the VPD entities can be displayed or imported to the U-Boot environment in
RAM.
Among the VPD entities are, for example, the board serial number and the board’s Ethernet MAC addresses.
If the option “import” is invoked, existing VPD entities in the environment in RAM are overwritten. If a
“saveenv” is then invoked, the previously stored values in the currently selected SPI boot flash environ-
ment area are overwritten.

USAGE: 1. Display all VPD entities:

=> vpd print

=>

2. Display eth1addr entity

=> vpd print eth1addr

eth1addr=00:80:82:47:12:02

=>

3. Import eth1addr entity to environment

=> vpd import eth1addr

import eth1addr = 00:80:82:47:12:02 to … environment

=>

4. Import all VPD entities to environment

=> vpd import all_params

entity as follows:>

import = to environment

.

.

.

import = to environment

=>