1 DFU TEST CASE DESCRIPTION:
3 The prerequisites for running this script are assured by
4 dfu_gadget_test_init.sh, which is automatically invoked by dfu_gadget_test.sh.
5 In this file user is able to generate their own set of test files by altering
6 the default set of TEST_FILES_SIZES variable.
7 The dfu_gadget_test_init.sh would generate test images only if they are not
10 On the target device, environment variable "dfu_alt_info" must contain at
13 dfu_test.bin fat 0 6;dfudummy.bin fat 0 6
15 Depending on your device, you may need to replace "fat" with
16 "ext4", and "6" with the relevant partition number. For reference please
17 consult the config file for TRATS/TRATS2 devices
18 (../../include/configs/trats{2}.h)
20 One can use fat, ext4 or any other supported file system supported by U-Boot.
21 These can be created by exporting storage devices via UMS (ums 0 mmc 0) and
22 using standard tools on host (like mkfs.ext4).
26 setenv dfu_alt_info dfu_test.bin fat 0 6\;dfudummy.bin fat 0 6
29 test/dfu/dfu_gadget_test.sh dfu_test.bin dfudummy.bin
31 ... where dfu_test.bin and dfudummy.bin are the names of the alt settings from