Skip to content

Dasharo Compatibility: Firmware flashing using Dasharo Tools Suite

Test cases

Common

Test setup

  1. Proceed with the Generic test setup: firmware.
  2. Wired network connection.
  3. Make yourself familiar with Bootable over network.

FDT001.001 Flash firmware by using Dasharo Tools Suite

Test description

This test aims to verify whether there is the possibility to flash the DUT firmware by using Dasharo Tools Suite (DTS).

Test configuration data

  1. FIRMWARE = coreboot
  2. {PATH} = individual path to a specific binary.

Test setup

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

Test steps

  1. Power on the DUT.
  2. Press BOOT_MENU_KEY to enter the boot menu.
  3. In the Boot Menu, select the iPXE Network Boot option.
  4. In the Network Boot menu, select the iPXE Shell option.
  5. Type in dhcp to obtain an IP address.
  6. Type in chain http://boot.3mdeb.com/dts.ipxe to load DTS.
  7. Wait for Enter an option.
  8. Type 9 and click Enter to launch Shell.
  9. Run the following command to obtain coreboot.rom binary:

    wget https://3mdeb.com/open-source-firmware/{PATH} -O /tmp/coreboot.rom
    

    This is not only way to obtain binary. For example you can use scp.

  10. Run the following command to flash firmware:

    flashrom -p internal -w /tmp/coreboot.rom
    
  11. Power off the DUT.

  12. Repeat steps 1-8.
  13. Run the following command to check firmware version:

    dmidecode -t 0
    
  14. Note the results.

Expected result

The output of dmidecode command should contain information about current firmware. The current firmware version should be equal to the binary version, which you were flashing.

Example output:

Version: Dasharo (coreboot+UEFI) v1.1.0

FDT002.001 Firmware update using fwupd in Dasharo Tools Suite

Test description

This test aims to verify whether there is the possibility to update the DUT firmware by using Dasharo Tools Suite (DTS).

Test configuration data

  1. FIRMWARE = coreboot

Test setup

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

Test steps

  1. Power on the DUT.
  2. Press BOOT_MENU_KEY to enter the boot menu.
  3. In the Boot Menu, select the iPXE Network Boot option.
  4. In the Network Boot menu, select the iPXE Shell option.
  5. Type in dhcp to obtain an IP address.
  6. Type in chain http://boot.3mdeb.com/dts.ipxe to load DTS.
  7. Wait for Enter an option.
  8. Type 9 and click Enter to launch into Shell.
  9. Run the following commands to update firmware to the latest version:

    fwupdmgr refresh
    fwupdmgr update
    
  10. Power off the DUT.

  11. Repeat steps 1-8.
  12. Run the following command to check firmware version:

    dmidecode -t 0
    
  13. Note the results.

Expected result

The output of dmidecode command should contain information about current firmware. The current firmware version should be equal to the binary version, which you were flashing.

Example output:

Version: Dasharo (coreboot+UEFI) v1.1.0