]> git.dujemihanovic.xyz Git - u-boot.git/commit
dfu:tests: Modify dfu_gadget_test.sh to accept USB device vendor:product ID
authorLukasz Majewski <l.majewski@majess.pl>
Sat, 15 Aug 2015 09:23:45 +0000 (11:23 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 7 Sep 2015 11:41:03 +0000 (13:41 +0200)
commit33a6103578680ed41a946214462703df2c3646b2
tree8ee40626341dbf66cb49e59183b4f292d1381ca4
parent58f99df448501041a8092b281ff7adf0bd4f38ac
dfu:tests: Modify dfu_gadget_test.sh to accept USB device vendor:product ID

dfu-util allows filtering on USB device vendor:product ID by using
the -d flag (-d 0451:d022).
Such option is very handy when many DFU devices are connected to a single
host PC. This commit allows testing when above situation emerges.

Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Lukasz Majewski <l.majewski@majess.pl>
Test HW - AM335x Beagle Bone Black
NOTE: Max size of file to transfer: 2MiB
test/dfu/README
test/dfu/dfu_gadget_test.sh