beautypg.com

2 environment variables, U-boot – Artesyn ATCA-8310 Installation and Use (May 2014) User Manual

Page 164

background image

U-Boot

ATCA-8310 Installation and Use (6806800M72E)

164

6.2.1.2

Environment Variables

U-Boot uses environment variables to both control the behavior of various U-Boot components
and to report information to user applications.

The working set of the u-boot environment variables is stored in memory and can be accessed
using the setenv and getenv commands. The values of environment variables can have several
origins:

The content of the NVRAM (an I2C EEPROM), OR (if the NVRAM's CRC is invalid) a set of
compiled-in defaults.

The content of the IPMI boot parameter storage.

Dynamic variables set during the boot-up phase.

Variables set by the user via the u-boot shell.

The above listing basically describes the order of precedence, i.e. a variable stored in the
NVRAM can potentially being overridden, modified or deleted by a variable of the same name
stored in the IPMI boot parameter storage, and later on by dynamic variables declared during
the boot process or by the user from the shell prompt.

SRIO1

0x0.d000.0000
0x0.e000.0000

0xd0000000

Connected to SRIO port 1
on TSI572 switch

SRIO2

0x0.e000.0000
0x0.f000.0000

0xe0000000

Connected to SRIO port 0
on TSI572 switch

FPGA

0x0.f000.0000
0x0.f100.0000

0xf0000000

64K offset between each
16-bit register

BMAN

0x0.f400.0000

0xf4000000

P4080 BMAN resources

QMAN

0x0.f420.0000

0xf4200000

P4080 QMAN resources

P4080 CCSR

0x0.fe00.0000

0xfe000000

P4080 CCSR space

Boot image in L3 Cache

0x0.fff0.0000
0x0.ffff.ffff

0xfff0.0000

Disabled/reconfigured as
L3 cache during boot.
Contents loaded from SPI
boot flash.

Table 6-1 P4080 Address Mode (continued)

Device

Physical Address Range

Virtual Start address

Note

This manual is related to the following products: