Dasharo Compatibility: Logo customization functionality
Test cases common documentation
Test setup
- Proceed with the Generic test setup: firmware.
- Get familiar with Logo customization procedure
LCM001.001 Replace logo in existing image and flashing firmware
Test description
The test aims to verify whether replacing the logo in the existing image is possible and, whether after flashing the DUT with the new image, the new logo will be shown properly.
Test configuration data
FIRMWARE
= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
- Current Dasharo firmware dedicated for the platform.
Test steps
- Power on the DUT.
- Hold the
BOOT_MENU_KEY
to enter the boot menu. - Select the
iPXE Network boot
option using the arrow keys and pressEnter
. - Select the
iPXE Shell
option using the arrow keys and pressEnter
. -
Configure communication interface by using the following command:
dhcp
-
Connect to the DTS ipxe menu by using the following command:
chain http://boot.3mdeb.com/dts.ipxe
-
Wait for
Enter an option:
. - Type in
S
and pressEnter
. - Based on the dedicated documentation replace the logo in an existing image.
- Reboot the DUT and observe the boot logo.
Expected result
During the DUT booting process, custom logo should appear on the screen.
LCM002.001 Build image with custom logo and flashing firmware
Test description
This test aims to verify whether building an image with the custom logo is possible and, whether after flashing the DUT with the new image, the new logo will be shown properly.
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 with the custom logo.
-
Flash the firmware by using the internal programmer and
flashrom
tool. If DUT is already flashed with the Dasharo firmware and only the logo should be replaced, the following command should be used:sudo flashrom -p internal --fmap -i BOOTSPLASH -w [path]
If also the procedure of Dasharo firmware updating should be performed, the following command should be used:
flashrom -p internal -w [path-to-binary] --fmap -i RW_SECTION_A
In any other cases, the following command should be used:
flashrom -p internal -w [path-to-binary] --ifd -i bios
-
Reboot DUT.
Expected result
During the DUT booting process, custom logo should appear on the screen.
LCM003.001 Attempt to flash firmware with improper image
Test description
This test aims to verify whether the attempt to flash the DUT with firmware with an improper logo is possible but will result in a fallback to the default logo.
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 with the logo, that that does not meet the Quality criteria.
-
Flash the firmware by using the internal programmer and
flashrom
tool. If DUT is already flashed with the Dasharo firmware and only the logo should be replaced, the following command should be used:sudo flashrom -p internal --fmap -i BOOTSPLASH -w [path]
If also the procedure of Dasharo firmware updating should be performed, the following command should be used:
flashrom -p internal -w [path-to-binary] --fmap -i RW_SECTION_A
In any other cases, the following command should be used:
flashrom -p internal -w [path-to-binary] --ifd -i bios
-
Reboot DUT.
Expected result
During the DUT booting process, the default logo should appear on the screen.
LCM004.001 Custom logo persists after firmware update
Test description
This test aims to verify whether after updating the platform's firmware with
the fwupd
command, the custom added logo remains unaffected and continues to
display.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot
Dasharo Tools Suite
- Type in
9
to gain shell access. - Basing on the dedicated documentation replace the logo in an existing image.
- Run
dasharo-deploy update
- Reboot the DUT and observe the boot logo.
Expected result
During the DUT booting process, the custom logo replacement should be displayed.