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
- Obtain
FIRMWARE
binary:- you can download it from
release
document dedicated for platform which is used by you. - or you can build one yourself as shown in the
building
document dedicated for platform which is used by you.
- you can download it from
- Flash
FIRMWARE
binary to the DUT. Device flashing procedure should be carried out in accordance with the guidelines inFlashing
document dedicated for platform which is in use.
OS installer
- Download
OPERATING_SYSTEM
installer image. - Attach USB stick to the PC.
- Flash
OPERATING_SYSTEM
image to the USB stick. - Attach the USB stick to the
DUT
.
OS installation
- Power on the DUT
- Enter the boot menu using the
BIOS_SETUP_KEY
. - Select the
Boot Menu
and pressEnter
. - Select the USB stick and press
Enter
.- In case of the
Ubuntu 22.04
, select theUbuntu (safe graphics)
in the GRUB menu.
- In case of the
- Wait for the
OPERATING_SYSTEM
installer to start. - Install
OPERATING_SYSTEM
on the disk. - Power off the DUT.
- Remove the installation media (USB stick with installer).
NVIDIA drivers - Ubuntu 22.04
- Power on the DUT.
- Wait until the
OPERATING_SYSTEM
boots from disk. - Login into the
OPERATING_SYSTEM
. - Open a terminal window and execute the following commands:
sudo apt update
sudo apt install nvidia-driver-470
- A password prompt for secure boot configuration will appear. Choose a
password (you can use your system password) and press
Enter
. - Reboot the DUT.
- Upon entry into MOKUtil, select
Enroll MOK
and enter the password you chose during driver installation. - Select the option
Continue boot
. - Wait until the
OPERATING_SYSTEM
boots from disk. - Login into the
OPERATING_SYSTEM
. - Open the
NVIDIA X Server Settings
application. - Open the
PRIME Profiles
section. - Select
NVIDIA On-demand
and apply. - Enter the
OPERATING_SYSTEM
password when prompted.
OS boot from disk
- Power on the DUT.
- Wait until the
OPERATING_SYSTEM
boots from disk. - Login into the
OPERATING_SYSTEM
.