From a2b5ba41fed282f50b34f80e72e1a3d6c8ee3b4d Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Fri, 16 Apr 2021 13:36:20 -0700 Subject: Add LOAD_CMD parsing to disk_image Signed-off-by: Stefano Stabellini Reviewed-by: Brian Woods --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index c9a9850..4adb9dc 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,8 @@ script, disk_image is run as follows: ``` $ sudo bash ./scripts/disk_image -c /path/to/config-file -d . \ -w /path/to/tmp/dir \ - -o /path/to/output/disk.img + -o /path/to/output/disk.img \ + -t "sd" ``` Where:\ @@ -140,3 +141,7 @@ Where:\ -w specifies the temporary working directory that the script uses for building the disk image, and if not set, one is created in /tmp\ -o specifies the output disk image file name\ +-t specifies the u-boot command to load the binaries. "tftp", "sd" and + "scsi" are shorthands for "tftpb", "load mmc 0:1" and + "load scsi 0:1", but actually any arbitrary command can be used, for + instance -t "fatload" is valid. -- cgit v1.2.3