Skip to content

Dasharo Compatibility: Firmware Update using fwupd

Test cases

Common

Test setup

  1. Proceed with the Generic test setup: firmware.
  2. Proceed with the Generic test setup: OS installer.
  3. Proceed with the Generic test setup: OS installation.
  4. Proceed with the Generic test setup: OS boot from disk.
  5. Install the dmidecode package: sudo apt install dmidecode.
  6. Make yourself familiar with Updating firmware using fwupd

FFF001.001 Firmware update by using fwupd

Test description

This test verify whether it is possible to update the firmware on the DUT by using fwupd demon.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Ubuntu 20.04

Test setup

  1. Proceed with the Common section.
  2. Disable Secure Boot.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Configure environment in accordance with the documentation
  5. Start firmware updating procedure by executing the following command in the terminal:

        sudo fwupdmgr update
    
  6. Reboot the DUT.

  7. Boot into the system.
  8. Log into the system by using the proper login and password.
  9. Open a terminal window and run the following command to verify results:

    sudo dmidecode -t bios
    

Expected result

The output of dmidecode command should contain information about current firmware. The current firmware version should be equal to the latest released firmware version.

Example output:

BIOS Information
        Vendor: 3mdeb
        Version: Dasharo (coreboot+UEFI) v1.1.0
        Release Date: 03/24/2022
        ROM Size: 16 MB
        Characteristics:
            PCI is supported
            PC Card (PCMCIA) is supported
            BIOS is upgradeable
            BIOS shadowing is allowed
            Selectable boot is supported
            ACPI is supported
            USB legacy is supported
            Targeted content distribution is supported
            UEFI is supported
        BIOS Revision: 1.1
        Firmware Revision: 0.0