/ Documentation / Tests / Firmware reflashing
en | ru

Firmware reflashing (firmware)

This test is a part of rather complex Inquisitor’s firmware reflashing system. This part do following things: 1) Gets a list of components related only to this computer and need to be reflashed. There are needed firmware/flash version and corresponding reflashing image also; 2) Test parses each entity and, depending of component, tries to retrieve it’s version (BIOS version through DMI, disk controller’s through einarc, for example); 3) Compares it with retrieved from server needed value and if they are not differ – proceed with need component; else – there are two ways: either to reflash it under current GNU/Linux session (to reflash disk controllers with einarc for example), or to ask server to create network bootable file with needed reflasher image; then reboot. After reboot computer will boot up reflasher image (as a rule it is some kind of DOS with batch files and flashers). Server will delete it after boot, to allow Inquisitor booting again. Firmware test will test all of components again and again in cycle until everything’s versions will be equal to needed ones. After this test succeeds. Sometimes some component’s version can not be detected and human must manually somehow check it and allow test to continue.

  • Components tested: Mainboard, Disk Controller, BMC
  • Variables:
    • FORCE_FIRMWARES_LIST (string, default: empty) — Forced firmwares list over that sended by server. Newlines replaced by twice doubledots