Usage: flx-init [OPTIONS] [<yelc-file1>] [<yelc-file2>]
Initializes an FLX card.
Options:
  -c <number>         Use card indicated by <number> (default: 0).
  -h                  Display help.
  -V                  Display the version number.
  -v                  Display verbose output.
  -E                  Execute the command even if resources are locked.
  -L                  Set clock to 'Local' (default: leave-as-is).
  -T                  Set clock to 'TTC' (default: leave-as-is).
  -s <secs>           If necessary wait up to <secs> seconds for locks to be freed
                      when attempting to open the card (default: 5 secs).
GBT calibration options:
  -a ONE|CONTINUOUS   Select alignment type (default: ONE).
  -t FEC|WideBus      Select transmission mode (default: FEC).

Clock configuration options:
  -I <input_sel>      The value given is written to register HK_CTRL_FMC_SI5345_INSEL
                      before Si5345 initialisation;
                      valid <input_sel> values are (default: 0):
                        0: FPGA (LA01), 1: FMC OSC, 2: FPGA (LA18)
  -G                  Read and display Si53xx chip registers (does not init anything),
                      i.e. Si5324 (for a 709) and/or Si5345 (2x for a 182 or 155)

E-link configuration with .yelc files <yelc-fileX>:
  Provide a filename per FLX device to configure.
  Example: to initialize and then configure both devices of the *second* FLX-712 card
  in a system (first file for 1st device of the FLX-712, second file for the 2nd device):
       flx-init -c1 lpGBT-8bit.yelc lpGBT-16bit.yelc
  To configure only the first device, provide a single file name.
