diff options
author | rickard evertsson <rickard.evertsson@stericsson.com> | 2010-09-22 19:52:53 +0200 |
---|---|---|
committer | Michael BRANDT <michael.brandt@stericsson.com> | 2010-09-27 11:25:48 +0200 |
commit | 796065411dc8fc77b87bfdb0cf9eacdab40c31dc (patch) | |
tree | a8b96cebaea0080e3904ee75099f72a08a50e22f /tools/mk_envimg/README | |
parent | 0f6be09b5e6e121430dcce554bbd56b9f24c3c75 (diff) |
Host tool to create an environment image
This is a host tool that creates a 4 KB environment
variable image. The environment image is by default
built with U8500 environment settings (file u8500.h is
included in the tool) but individual variables can be
removed, added and / or modified by specifying an
input configuration file containing such.
ST-Ericsson ID: WP272737
Change-Id: Ia5d79f72c9607ad25ed3d2e05795a7a616af9cf9
Signed-off-by: rickard evertsson <rickard.evertsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/5409
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Diffstat (limited to 'tools/mk_envimg/README')
-rw-r--r-- | tools/mk_envimg/README | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/mk_envimg/README b/tools/mk_envimg/README new file mode 100644 index 000000000..97406ab14 --- /dev/null +++ b/tools/mk_envimg/README @@ -0,0 +1,30 @@ + +This is a small tool that creates an environment image for U-boot. +It can be compiled both as a part of U-boot (using host compiler) and +stand alone. The tool is intended to run on the host and not the target. + +Syntax: +./mk_envimg [-d] output_file [input_file] + +When invoking the program, input arguments can be specified. +* -d : debug mode, adds debug printouts +* output_file : specify the name and location of the outpout +* input_file : input configuration file (optional) + +The output file is an ordinary environment binary with a crc32 sum +followed by the environment variables + +By default this tool will create an image with the default environment +variables as built-in in U-boot. +If an input file is specified it will remove, modify and/or remove +default environment variables. + +Input file examples: +* Add a new variable: +an_new_variable=a_new_value + +* Remove the variable bootargs +bootargs + +* Modify the variable bootargs +bootargs=a_new_value
\ No newline at end of file |