Skip to content

Dasharo Compatibility: Generic test setup

Test setup

Test setup is a set of procedures to be executed before the test execution. Typically, the same setup can be reused by multiple test cases, so there is no need to execute the setup actions before each independent case.

Generic test setup

Firmware

  1. Obtain FIRMWARE binary:
    1. you can download it from release document dedicated for platform which is used by you.
    2. or you can build one yourself as shown in the building document dedicated for platform which is used by you.
  2. Flash FIRMWARE binary to the DUT. Device flashing procedure should be carried out in accordance with the guidelines in Flashing document dedicated for platform which is in use.

OS installer

  1. Download OPERATING_SYSTEM installer image.
  2. Attach USB stick to the PC.
  3. Flash OPERATING_SYSTEM image to the USB stick.
  4. Attach the USB stick to the DUT.

OS installation

  1. Power on the DUT
  2. Enter the boot menu using the BIOS_SETUP_KEY.
  3. Select the Boot Menu and press Enter.
  4. Select the USB stick and press Enter.
    1. In case of the Ubuntu 22.04, select the Ubuntu (safe graphics) in the GRUB menu.
  5. Wait for the OPERATING_SYSTEM installer to start.
  6. Install OPERATING_SYSTEM on the disk.
  7. Power off the DUT.
  8. Remove the installation media (USB stick with installer).

NVIDIA drivers - Ubuntu 22.04

  1. Power on the DUT.
  2. Wait until the OPERATING_SYSTEM boots from disk.
  3. Login into the OPERATING_SYSTEM.
  4. Open a terminal window and execute the following commands:
sudo apt update
sudo apt install nvidia-driver-470
  1. A password prompt for secure boot configuration will appear. Choose a password (you can use your system password) and press Enter.
  2. Reboot the DUT.
  3. Upon entry into MOKUtil, select Enroll MOK and enter the password you chose during driver installation.
  4. Select the option Continue boot.
  5. Wait until the OPERATING_SYSTEM boots from disk.
  6. Login into the OPERATING_SYSTEM.
  7. Open the NVIDIA X Server Settings application.
  8. Open the PRIME Profiles section.
  9. Select NVIDIA On-demand and apply.
  10. Enter the OPERATING_SYSTEM password when prompted.

OS boot from disk

  1. Power on the DUT.
  2. Wait until the OPERATING_SYSTEM boots from disk.
  3. Login into the OPERATING_SYSTEM.