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 - Flash
FIRMWARE
binary to the DUT- If coreboot is not yet installed: Refer to Flashing with external programmer
- If coreboot is already installed: Refer to Flashing with internal programmer
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 20.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 - In case of
Ubuntu 20.04
onNV41MB
: Follow the steps outlined in NVIDIA drivers - Ubuntu 20.04 - Power OFF the DUT
- Remove the installation media (USB stick with installer)
NVIDIA drivers - Ubuntu 20.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