summaryrefslogtreecommitdiff
path: root/test/dfu
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2014-06-20 17:53:44 +0200
committerTom Rini <trini@ti.com>2014-08-09 11:17:00 -0400
commit50a35321287b476deb3335ed8cdff36771134855 (patch)
tree9d27b56540f8781041f691405a0a15dec210c4f6 /test/dfu
parent7ad67e5554730fb814c083d481b931d87f29dcbc (diff)
downloadu-boot-imx-50a35321287b476deb3335ed8cdff36771134855.zip
u-boot-imx-50a35321287b476deb3335ed8cdff36771134855.tar.gz
u-boot-imx-50a35321287b476deb3335ed8cdff36771134855.tar.bz2
test:dfu: README file update
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'test/dfu')
-rw-r--r--test/dfu/README11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/dfu/README b/test/dfu/README
index 4ea0b3b..5176aba 100644
--- a/test/dfu/README
+++ b/test/dfu/README
@@ -26,7 +26,12 @@ Example usage:
setenv dfu_alt_info dfu_test.bin fat 0 6\;dfudummy.bin fat 0 6
dfu 0 mmc 0
2. On the host:
- test/dfu/dfu_gadget_test.sh dfu_test.bin dfudummy.bin
+ test/dfu/dfu_gadget_test.sh X Y [test file name]
+ e.g. test/dfu/dfu_gadget_test.sh 0 1
+ or
+ e.g. test/dfu/dfu_gadget_test.sh 0 1 ./dat_960.img
-... where dfu_test.bin and dfudummy.bin are the names of the alt settings from
-$dfu_alt_info.
+... where X and Y are dfu_test.bin's and dfudummy.bin's alt setting numbers.
+They can be obtained from dfu-util -l or $dfu_alt_info.
+It is also possible to pass optional [test file name] to force the script to
+test one particular file.