beautypg.com

Bsp operations – Artesyn COMX-P4080 Installation and Use (August 2014) User Manual

Page 84

background image

BSP Operations

COMX-P4080 COM Express Module Installation and Use (6806800L20C)

84

printenv [vn]

Displays the value of the environment variable "vn".
If "vn" is not specified, U-Boot will display the values for all of the envi-
ronment variables.

setenv [vv]

Sets the value of the environment variable "vn" to "vv". If "vv" is not spec-
ified, U-Boot will not define the environment variable "vn".
If "vv" includes spaces, it should be enclosed within single quote marks.
For example: setenv manufacturer ’Emerson Network
Power’

saveenv

Saves all the environment variables persistently to the U-Boot env sec-
tion on NOR Flash.

run eraenv

Erases all the environment variables stored in the U-Boot env section on
NOR Flash.

Protect off EFEE0000 +00020000; erase EFEE0000 +00020000

Protect on EFEE0000 +00020000

A reset must be performed after "run eraenv".

tftpboot

Downloads image through network using TFTP protocol.

tftpboot [loadAddress] [[hostlPaddr:]bootfilename]

Exampe: tftpboot $loadaddr $ubootfile

bootm

Boots application image from memory.

bootm [addr [arg ...]]

Example: bootm $norbootaddr $norfsaddr $norfdtaddr

Example: bootm $loadaddr - $fdtaddr

Table 7-1 Basic U-Boot Commands (continued)

Command

Description