From 4bae33b6e081010ef7f7c3e3aa1600240aacee88 Mon Sep 17 00:00:00 2001 From: Brian Woods Date: Wed, 13 May 2020 15:17:25 -0700 Subject: 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 Reviewed-by: Stefano Stabellini --- README.md | 5 +++-- scripts/uboot-script-gen | 2 +- 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:" -- cgit v1.2.3