]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
test:dfu: README file update
authorLukasz Majewski <l.majewski@samsung.com>
Fri, 20 Jun 2014 15:53:44 +0000 (17:53 +0200)
committerTom Rini <trini@ti.com>
Sat, 9 Aug 2014 15:17:00 +0000 (11:17 -0400)
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
test/dfu/README

index 4ea0b3b64547754b8aa6d477a941d1a02525f539..5176aba632cedc96f364e8ac47ac8db04d0edaea 100644 (file)
@@ -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.