Dasharo compatibility: Device tree
Test cases common documentation
Test setup
- Proceed with the Generic test setup: firmware.
- Proceed with the Generic test setup: OS installer.
- Proceed with the Generic test setup: OS installation.
- Proceed with the Generic test setup: OS boot from disk.
DVT001.001 Node with coreboot exists
Test description
This test aims to verify whether the node with the coreboot exists in the Device Tree.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Debian
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and run the following command:
xxd /sys/firmware/devicetree/base/firmware/coreboot/compatible
-
Note the result.
Expected result
The output of the command should contain information about memory sectors dedicated for coreboot. Example output:
00000000: 636f 7265 626f 6f74 00 coreboot
DVT002.001 Memory for coreboot is reserved (Ubuntu)
Test description
This test aims to verify that in the system exists reserved memory for coreboot.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Debian
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and run the following command:
xxd /sys/firmware/devicetree/base/firmware/coreboot/reg
-
Note the results.
-
Run the following command in the terminal:
xxd /sys/firmware/devicetree/base/reserved-memory/ranges
Expected result
- Output of the first command should contain information about memory ranges for corebotot.
- Output of the second command should contain information about reserved ranges.
- All memory range for coreboot (output from command 1) should be reserved (output from command 2).