fw_setenv(8)

fw_setenv8

Tool for modifying the environment for the bootloader u-boot

Usage

fw_setenv name [value]

Overview

fw_setenv is a simple tool for modifying the environment for the bootloader U-Boot. The variable name is updated to hold value if it is already set in the environment, else it is created and set. If only the name argument is given, the corresponding variable is deleted. 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.

Options

-h

print a help message

-c, --config <filename>

configuration file (old fw_env.config)

-f, --defenv <filename>

default environment if no one found

-V

print program's version

-s, --script <filename>

read variables to be set from a script

Files

/etc/fw_env.config

Configuration file for fw_setenv. Default value of the --config option.

/etc/u-boot-initial-env

Default U-Boot environment. Default value of the --defenv option.

Releases

8 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0–10
  2. 12–13

--config since Debian 12 (Bookworm); --defenv since Debian 12 (Bookworm); --script since Debian 12 (Bookworm); -V since Debian 12 (Bookworm); -c since Debian 12 (Bookworm); -f since Debian 12 (Bookworm); -h since Debian 12 (Bookworm); -s since Debian 12 (Bookworm).

From libubootenv-tool 0.3.5-0.1+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.