github ↗
docs menu

Module Rig_bin.Firmware

rig firmware: a directory filled with a driver's pinned firmware images.

Each image is downloaded by running curl, and checked against its pin with Rig_pci.Firmware.digest before it is written.

#val fetch : string -> string option -> 'a

fetch list dir fills dir, or Rig_pci.Firmware.directory if None, with the images of list, a driver's firmware.tsv as Images holds it: a line per image, its path, digest and URL separated by tabs, after comment lines starting with #. It exits with the status the page of rig firmware gives.