Table 6-8: vpd command – Kontron COMe-cP2020 User Manual

Page 89

Advertising
background image

www.kontron.com

COMe-P2020 User Guide

89

Table 6-8:

vpd Command

vpd

Provides functions for configuration of external interfaces

SYNTAX:

vpd print [<name>]|import (<name>|all_params)

vpd

command

print

option:

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

<name>

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 active SPI boot flash environment
area are overwritten.

USAGE: 1. Display all VPD entities:

=> vpd print
<response: displays all VPD entities>
=>

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

<response: displays all imported VPD entities; format for each
imported VPD entity as follows:>

import <name> = <value> to environment
.
.
.
import <name> = <value> to environment
=>

Advertising