You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

fw_printenv/fw_setenv, a command line interface to U-Boot environment

usage: fw_printenv [-a key] [-n] [variable name]
fw_setenv [-a key] [variable name] [variable value]
fw_setenv -s [ file ]
fw_setenv -s - < [ file ]

The file passed as argument contains only pairs name / value
Example:
# Any line starting with # is treated as comment

netdev eth0
kernel_addr 400000
var1
var2 The quick brown fox jumps over the lazy dog

A variable without value will be dropped. It is possible
to put any number of spaces between the fields, but any
space inside the value is treated as part of the value itself.

  • No labels