aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Woods2020-05-13 15:17:25 -0700
committerStefano Stabellini2020-05-13 16:37:46 -0700
commit4bae33b6e081010ef7f7c3e3aa1600240aacee88 (patch)
tree935230fc055cc511941cba45d637ccc4f46903c8
parenta1dd51b3aa7b498f37ead3da74a9d3fb7fd7a965 (diff)
Update doc for uboot-script-gen -d
The -d option for uboot-script-gen was poorly worded. The -d option isn't a working directory but rather the "root" directory for where the tftp or other root directory would be in relation to the files. Any files generated in the created of the boot.src/source files are in /tmp and are deleted afterwards. Signed-off-by: Brian Woods <brian.woods@xilinx.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
-rw-r--r--README.md5
-rwxr-xr-xscripts/uboot-script-gen2
2 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 388b252..dacd131 100644
--- a/README.md
+++ b/README.md
@@ -80,8 +80,9 @@ $ bash ./scripts/uboot-script-gen -c /path/to/config-file -d . -t tftp -o bootsc
Where:\
-c specifies the path to the config file to use\
--d specifies the working directory (path in the config file are relative
- to it)\
+-d specifies the "root" directory (paths in the config file are relative
+ to it), this is not a working directory (any output file locations
+ are specified in the config and any temporary files are in /tmp)\
-t specifies the u-boot command to load the binaries. "tftp" and "sd"
are shorthands for "tftpb" and "load scsi 0:1", but actually any
arbitrary command can be used, for instance -t "fatload" is valid.\
diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
index 9393602..0bf5c90 100755
--- a/scripts/uboot-script-gen
+++ b/scripts/uboot-script-gen
@@ -198,7 +198,7 @@ function print_help
echo " sd - alias for \"scsi load 0:1\" for uboot load commands"
echo " tftp - alias for \"tftpb\" for uboot load cammnds"
echo " < > - used for uboot load commands"
- echo " DIRECTORY - root directory of where the files of CONFIG_FILE"
+ echo " DIRECTORY - root directory where the files of CONFIG_FILE are located"
echo " FILE - output filename for the uboot script and its source, overrides option in CONFIG_FILE"
echo " -h - prints out the help message and exits "
echo "Defaults:"