fuptest version 21092900
Uploads test data to every E-link of the given width of the given FLX-device in turn;
optionally select a single GBT (-G).
Checks whether the e-link is valid and configured on the FLX-device,
unless option -c is given.

Expects to receive the data in a loopback on the same e-link number,
unless option -e is given.
The data is checked byte-for-byte for correctness.

Usage: fuptest [-h|V] [-d <devnr>] [-b <size>] | [-G <gbt>] [-g <group>] [-I] [-i <dma]
               [-s <bytes>] [-r <chunks>] [-P <patt>] [-w <width]
               [-c] [-e] [-f <speed>] [-R] [-x <size>] [-X] [-y|Y]
  -h         : Show this help text.
  -V         : Show version.
  -b <size>  : DMA (cmem_rcc) memory buffer size to use, in MB (default 32, max 4096).
  -c         : Do not check whether e-link is configured on FLX-device.
  -d <devnr> : FLX-device to use (default: 0).
  -e         : Loopback not necessarily on the same e-link number (default: receive=upload e-link).
  -f <speed> : Speed up default upload rate of about 8MB/s by factor <speed> (default: 1)
  -G <gbt>   : GBT-link number (default: all).
  -g <group> : Group number (default: all groups).
  -I         : use interrupt to receive data (default: polling)
  -i <dma>   : FLX-device DMA controller to receive data (default: 0).
  -P <patt>  : Test data pattern: 0=incr, 1=0x55/0xAA, 2=0xFF,
               3=incr-per-chunk, 4=val-per-elink (default: 0).
  -r <chunks>: Test data chunk count: upload <chunks>*<bytes> bytes of data (default: 30).
  -R         : Do not receive data (use e.g. 'fedump' for that).
  -s <bytes> : Number of bytes per chunk to upload (default: 32).
  -w <width> : E-link width in bits (2, 4, 8 or 16, default: 2).
  -x <size>  : Size of single-shot DMA transfers, in KByte (default: 1).
  -X         : Use continuous-mode DMA for upload (default: single-shot).
  -y         : Include EC and IC 'E-links' in the test.
  -Y         : Only EC, IC and SCA-AUX 'E-links' in the test (LTDB firmware test).

