DOKK / manpages / debian 12 / libubootenv-tool / fw_printenv.8.en
fw_printenv(8) System Manager's Manual fw_printenv(8)

fw_printenv - Tool for printing the environment for the bootloader U-Boot

fw_printenv [ name ... ]

fw_printenv is a simple tool for printing the environment for the bootloader U-Boot. All environment variables matching the names given as arguments are shown. If fw_printenv is called without any arguments the entire environment is printed. This version of fw_printenv stems from libubootenv and does not hold a built-in default environment. Instead, the default environment is read from a file.

print a help message
configuration file (old fw_env.config)
default environment if no one found
print program's version
do not print variable name

/etc/fw_env.config
Configuration file for fw_printenv. Default value of the --config option.
/etc/u-boot-initial-env
Default U-Boot environment. Default value of the --defenv option.

fw_setenv(8)

2021-06-23