From 4f53c7af211f919f34651828b97cae84cd00d7e7 Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Thu, 5 Mar 2020 13:16:55 -0800 Subject: Introduce a -o option to specify output filename Introduce a -o command line option for uboot-script-gen to be able to easily specify the output filename for the uboot script and the uboot script source. Signed-off-by: Stefano Stabellini Signed-off-by: Brian Woods Reviewed-by: Stefano Stabellini --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 98da5e8..388b252 100644 --- a/README.md +++ b/README.md @@ -68,10 +68,14 @@ Where: - DOMU_PASSTHROUGH_DTB[number] specifies the device assignment configuration, see xen.git:docs/misc/arm/passthrough.txt +- UBOOT_SOURCE and UBOOT_SCRIPT specify the output. They are optional + as you can pass -o FILENAME to uboot-script-gen as a command line + parameter + Then you can invoke uboot-script-gen as follows: ``` -$ bash ./scripts/uboot-script-gen -c /path/to/config-file -d . -t tftp +$ bash ./scripts/uboot-script-gen -c /path/to/config-file -d . -t tftp -o bootscript ``` Where:\ @@ -81,6 +85,7 @@ Where:\ -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.\ +-o specifies the output filename for the uboot script and its source.\ ## Stand-alone Usage: scripts/disk\_image -- cgit v1.2.3