Dasharo Compatibility: Firmware locally building and flashing
Test cases common documentation
Test setup
- Proceed with the Generic test setup: firmware.
- Proceed with the Generic test setup: OS installer.
- Proceed with the Generic test setup: OS installation.
- Make yourself familiar with Building manual procedure dedicated for the relevant platform:
FLB001.001 Firmware locally build
Test description
This test aims to verify whether there is a possibility to build firmware
on the local machine, based on Build manual
procedure dedicated to the
platform.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
=Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Based on the dedicated documentation build firmware.
- Check if the binary file, after finishing the building process, is available
in the
build
location.
Expected result
The build
location should contain the binary file, which size is equal to the
flash chip size.
FLB002.001 Flash locally built firmware
Test description
This test aims to verify whether there is a possibility to flash the locally built firmware to the DUT.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
=Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Localize the firmware, which was built in the
FLB001.001
test case. -
Flash the firmware by using the internal programmer and
flashrom
tool. If DUT is already flashed with the Dasharo firmware, the following command should be used:flashrom -p internal -w [path-to-binary] --fmap -i RW_SECTION_A
Otherwise, the following command should be used:
flashrom -p internal -w [path-to-binary] --ifd -i bios
-
Reboot the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and run the following command to verify the results:
sudo dmidecode -t bios | grep Version
Expected result
The output of dmidecode
command should contain information about the current
firmware. The current firmware version should be equal to the latest released
firmware version.
Example output:
Version: Dasharo (coreboot+UEFI) v1.1.0