Dasharo Compatibility: Heads bootloader support
Test cases common documentation
Test setup
- Proceed with the Generic test setup: firmware.
HDS001.001 Heads installation
Test description
This test aims to verify that Heads could be installed on the DUT.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Flash bootkernel partition with Heads in accordance with the documentation.
Expected result
The output of the pflash command should contain information, that flashing
procedure has been ended without any errors.
Example output:
Programming & Verifying...
[==================================================] 100% ETA:0s
HDS002.001 Boot into Heads
Test description
This test aims to verify that the DUT during the booting procedure reaches Heads bootloader.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
Headsto boot and note the result.
Expected result
The Heads bootloader screen should be displayed.
HDS003.001 Boot from USB option is available and works correctly
Test description
This test aims to verify that the Boot from USB option in the
Default boot menu is available (if there is no option to boot OS from the
Hard Disk) and allows to boot system mounted on the USB.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
USB storagewith the installed OS.
Test steps
- Plug the
USB storageinto DUT. - Power on the DUT.
- Wait for the
Default boot menuappears. - Select
Boot from USBoption using the arrow keys and Enter. - Select a partition from the
USB storagefrom which the system will be booted. - Note the results.
Expected result
The operating system from USB storage should boot properly.
HDS004.001 Continue to the main menu option is available and works correctly
Test description
This test aims to verify that the Continue to the main menu option in the
Default boot menu is available and works correctly.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Note the results.
Expected result
After selecting Continue to the main menu, the Heads Boot Menu should be
displayed.
HDS005.001 Exit to recovery shell option is available and works correctly
Test description
This test aims to verify that the Exit to recovery shell option in the
Default boot menu is available and works correctly.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Exit to recovery shelloption using the arrow keys and Enter. - Note the results.
Expected result
After selecting Exit to recovery shell, the recovery shell should be shown.
Example output:
!!!!! User requested recovery shell
!!!!! Starting recovery shell
~ #
HDS006.001 Default boot option is available and works correctly
Test description
This test aims to verify that the Default boot option in the Heads boot menu
is available and works correctly.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Default bootoption in theHeads boot menu. - Note the results.
Expected result
After selecting Default boot, the Default boot menu should be displayed.
HDS007.001 Options submenu is available and works correctly
Test description
This test aims to verify that the Options --> option in the Heads boot menu
is available and works correctly.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Note the results.
Expected result
After selecting Options -->, the HEADS Options menu should be displayed.
Example view of HEADS Options:
b Boot Options -->
t TPM/TOTP/HOTP Options -->
u Update checksums and sign all files in /boot
c Change configuration settings -->
f Flash/Update the BIOS -->
g GPG Options -->
F OEM Factory Reset -->
x Exit to recovery shell
r <-- Return to main menu
HDS008.001 System info option is available and works correctly
Test description
This test aims to verify that the System Info option in the Heads boot menu
allows displaying all basic system information.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
System Infooption in theHeads boot menu. - Note the results.
Expected result
After selecting System Info, the basic system information should be displayed.
Example output:
┌─────────────────────┤ System Info ├──────────────────────┐
│ │
│ Talos 2 Server │
│ │
│ FW_VER: v0.5.0 │
│ Kernel: Linux 5.5.0-openpower1 │
│ │
│ CPU: IBM POWER9 “Sforza” │
│ RAM: 8 GB │
│ │
│ Disk /dev/nvme0n1: 477 GB │
│ │
│ │
│ <Ok> │
│ │
└──────────────────────────────────────────────────────────┘
HDS009.001 Power off option is available and works correctly
Test description
This test aims to verify that the Power Off option in the Heads boot menu
allows turning off the DUT.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Power Offoption in theHeads boot menu. - Note the results.
Expected result
After selecting Power Off, the DUT should be turned off without any
complications.
HDS010.001 OEM Factory Reset option is available and works correctly
Test description
This test aims to verify that the OEM Factory Reset / Re-Ownership --> option
in the HEADS Options submenu is available and works correctly.
Test configuration data
FIRMWARE= DasharoUSB Security Dongle- Previously installed OS
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Plug the
USB Security Dongleinto DUT. - Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Select the
OEM Factory Reset / Re-Ownership -->option in theHEADS Optionssubmenu. - Choose
<Continue>in the displayedOEM Factory Reset / Re-Ownershipwindow using the arrow keys and Enter. - Go through the installation process by answering the questions.
- Note the results.
Expected result
- The
Provisioned Security Components Secretsshould be displayed at the end of the installation. - The new GPG keys should be placed on the
USB Security Dongle.
HDS011.001 Add GPG key to running BIOS and reflash
Test description
This test aims to verify that the Add GPG key to running BIOS and reflash
option in the GPG Management Menu is available and works correctly.
Test configuration data
FIRMWARE= Dasharo- Additional
USB storage- at least 1GB, with GPG public key
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Plug the
USB storageinto DUT. - Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Select the
GPG Options -->option in theHEADS Optionssubmenu. - Select the
Add GPG key to running BIOS and reflashoption in theGPG Management Menu. - Choose
<Yes>in the displayedGPG public key requiredwindow using the arrow keys and Enter. - Choose GPG public key from the
USB storageand press Enter. - Select the
Options -->option in theHeads boot menu. - Select the
GPG Options -->option in theHEADS Optionssubmenu. - Select the
List GPG keys in your keyringoption in theGPG Management Menu. - Note the results.
Expected result
The GPG Keyring window should contain information about the given GPG key.
HDS012.001 Add GPG key to standalone BIOS image and flash
Test description
This test aims to verify that the
Add GPG key to standalone BIOS image and flash option in the
GPG Management Menu is available and works correctly.
Test configuration data
FIRMWARE= Dasharo- Additional
USB storage- at least 1GB, with GPG public key and BIOS image
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Plug the
USB storageinto DUT. - Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Select the
GPG Options -->option in theHEADS Optionssubmenu. - Select the
Add GPG key to standalone BIOS image and flashoption in theGPG Management Menu. - Choose
<Yes>in the displayedGPG public key requiredwindow using the arrow keys and Enter. - Choose GPG public key from the
USB storageand press Enter. - Choose BIOS image(*.rom) from the
USB storageand press Enter. - Choose
<Yes>in the displayedFlash ROM?window using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Select the
GPG Options -->option in theHEADS Optionssubmenu. - Select the
List GPG keys in your keyringoption in theGPG Management Menu. - Note the results.
Expected result
The GPG Keyring window should contain information about the given GPG key.
HDS013.001 Replace GPG key(s) in the current ROM and reflash
Test description
This test aims to verify that the
Replace GPG key(s) in the current ROM and reflash option in the
GPG Management Menu is available and replaces GPG keys correctly.
Test configuration data
FIRMWARE= Dasharo- Additional
USB storage- at least 1GB, with GPG public key
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Plug the
USB storageinto DUT. - Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Select the
GPG Options -->option in theHEADS Optionssubmenu. - Select the
Replace GPG key(s) in the current ROM and reflashoption in theGPG Management Menu. - Choose
<Yes>in the displayedGPG public key requiredwindow using the arrow keys and Enter. - Choose GPG public key from the
USB storageand press Enter. - Select the
Options -->option in theHeads boot menu. - Select the
GPG Options -->option in theHEADS Optionssubmenu. - Select the
List GPG keys in your keyringoption in theGPG Management Menu. - Note the results.
Expected result
The GPG Keyring window should contain information about the given GPG key.
HDS014.001 List GPG keys in your keyring
Test description
This test aims to verify that the List GPG keys in your keyring option in the
GPG Management Menu is available and listed GPG keys correctly.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Select the
GPG Options -->option in theHEADS Optionssubmenu. - Select the
List GPG keys in your keyringoption in theGPG Management Menu. - Note the results.
Expected result
-
The
GPG Keyringwindow should contain information about the GPG key if any was added.Example information in the
GPG Keyringwindow://.gnupg/pubring.kbx -------------------- pub rsa3072 2022-11-22 [SC] AFA824E4660A265253BA1571B640E02380808C34 uid [ultimate] OEM Key (OEM-generated key) <oem-20221122083831@example.co sub rsa3072 2022-11-22 [A] sub rsa3072 2022-11-22 [E] -
The
GPG Keyringwindow should be empty if no key has been added.
HDS015.001 Export public GPG key to USB drive
Test description
This test aims to verify that the Export public GPG key to USB drive option in
the GPG Management Menu is available and exports GPG keys correctly.
Test configuration data
FIRMWARE= Dasharo- Additional
USB storage- at least 1GB
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Select the
GPG Options -->option in theHEADS Optionssubmenu. - Select the
Export public GPG key to USB driveoption in theGPG Management Menu. - Choose
<Yes>in the displayedExport Public Key(s) to USB drive?window using the arrow keys and Enter. - Note the results.
Expected result
The GPG Key Copied Successfullywindow should be displayed.- The
public-key.ascfile should be onUSB storage.
HDS016.001 Generate GPG keys manually on a USB security token
Test description
This test aims to verify that the
Generate GPG keys manually on a USB security token option in the
GPG Management Menu is available and works correctly.
Test configuration data
FIRMWARE= DasharoUSB Security Dongle
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Plug the
USB Security Dongleinto DUT. - Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Select the
GPG Options -->option in theHEADS Optionssubmenu. - Select the
Generate GPG keys manually on a USB security tokenoption in theGPG Management Menu. - Confirm that the
USB Security Dongleis inserted, typeYand press Enter. - Wait for
gpg/card>prompt is appeared. - Type
adminand press Enter. - Type
generateand press Enter. - Answer
yto questionReplace existing keys?. - Note the results.
Expected result
- Information about the successful generation of GPG keys should be displayed.
- The new GPG keys are on the
USB Security Dongle.
HDS017.001 Clear GPG key(s) and reset all user settings
Test description
This test aims to verify that the
Clear GPG key(s) and reset all user settings option in the
Config Management Menu is available and works correctly.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Select the
Change configuration settings -->option in theHEADS Optionssubmenu. - Select the
Clear GPG key(s) and reset all user settingsoption in theConfig Management Menu. - Choose
<Yes>in the displayedReset Configuration?window using the arrow keys and Enter. - Reboot the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Select the
GPG Options -->option in theHEADS Optionssubmenu. - Select the
List GPG keys in your keyringoption in theGPG Management Menu. - Note the results.
Expected result
The GPG Keyring window should be empty.
HDS018.001 Reset TPM option is available and works correctly
Test description
This test aims to verify that the Reset TPM option in the
TPM/TOTP/HOTP Options submenu is available and works correctly.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Select the
TPM/TOTP/HOTP Options -->option in theHEADS Optionssubmenu. - Select the
Reset the TPMoption in theTPM/TOTP/HOTP Optionssubmenu. - Choose
<Yes>in the displayedReset the TPMwindow using the arrow keys and Enter. - Set the TPM owner password.
- Scan the QR code using a mobile application to add the new TOTP secret and press Enter.
- Reboot the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter.
Expected result
After selecting the Continue to the main menu option, should be prompted for
the TPM owner password.
HDS019.001 Generate new TOTP/HOTP secret
Test description
This test aims to verify that the Generate new TOTP/HOTP secret option in the
TPM/TOTP/HOTP Options submenu is available and works correctly.
Test configuration data
FIRMWARE= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter. - Select the
Options -->option in theHeads boot menu. - Select the
TPM/TOTP/HOTP Options -->option in theHEADS Optionssubmenu. - Select the
Generate new TOTP/HOTP secretoption in theTPM/TOTP/HOTP Optionssubmenu. - Scan the QR code using a mobile application to add the new TOTP secret and press Enter.
- Reboot the DUT.
- Wait for the
Default boot menuappears. - Select the
Continue to the main menuoption using the arrow keys and Enter.
Expected result
After selecting the Continue to the main menu option, should be prompted for
the TOTP password.