Skip to content

OSFV for systems without UEFI Shell + Netboot autoboot update #696

@SebastianCzapla

Description

@SebastianCzapla

The problem you're addressing (if any)

Currently, OSFV relies on UEFI shell for variety of keywords and tests. Systems where UEFI shell is disabled require additional work for OSFV compatibility.

Describe the solution you'd like

  • Add minimal support for disable UEFI Shell, and for disable Net-autoboot

    Update uefi-shell.robot to test that expected state of UEFI Shell is there, if it is disabled in config, it must not appear in the boot options.
    USH001.001 UEFI Shell
    Do not skip this test on lack of UEFI_SHELL_SUPPORT, instead verify that no "UEFI Shell" appears in the menu constructions.
    Update network-boot.robot to test scenario where autoboot is disabled. Update config with flag that conveys expected state of autoboot, and run either PXE003.001 or new test:
    PXE008.001 Autoboot option is properly disabled
    To detect and verify no autoboot, we first verify that autoboot string does not appear in submenu construction, and then we can wait 60-120 seconds and read for expected output, to verify that we did not boot during last minute.

  • Create list of all affected tests cases

  • Resolve dependency issues for affected tests, e.g provide uefi shell from network

List of affected tests

USB002.001 USB keyboard detected in FW
Resolution: Use external UEFI Shell

TXE001.001 Check if platform is not fused
Resolution: Removed

STB001.001 Verify if no reboot occurs in the firmware
Resolution: Use external UEFI Shell

SBO003.001 Attempt to boot file with the correct key from Shell (firmware)
Resolution: #725

SBO004.001 Attempt to boot file without the key from Shell (firmware)
Resolution: #725

SBO005.001 Attempt to boot file with the wrong-signed key from Shell (firmware)
Resolution: #725

SBO007.001 Attempt to boot the file after restoring keys to default (firmware)
Resolution: #725

Majority of dasharo-stability/capsule-update.robot
Resolution: Out of scope for this issue, tracked separately

self-tests/terminal.robot: Execute UEFI Shell Command
Resolution: Removed

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions