[U-Boot] [RFC 0/3] Enhance env tools

Steve Sakoman steve at sakoman.com
Sat Dec 4 05:28:50 CET 2010


There are circustances where it is desirable to run the environment tools
on your build machine in order to create an environment image that can
be written to the target machine at a later time.

This patch series introduces a number of enhancements to the tools that
make this possible.

The first patch allows allows one to override the default location of
the tool config file by setting a FW_CONFIG_FILE environment variable.

The second patch allows the environment to be written to a regular file.

The third patch increases the devname length to 4096 in order to support
writing to normal files in addition to mtd devices.



Loïc Minier (3):
  tools/env: Default to the config specified in FW_CONFIG_FILE
  tools/env: Support writing to files
  tools/env: Bump devname length to PATH_MAX for filenames

 tools/env/fw_env.c |  107 ++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 74 insertions(+), 33 deletions(-)



More information about the U-Boot mailing list