Dasharo: coreboot base port
Test cases common documentation
Test setup
- Proceed with the Generic test setup: firmware.
- Connect to the UART debug interface and open a serial console.
CBP001.001 Boot into coreboot stage bootblock
Test description
This test aims to verify that DUT during booting procedure reaches stage bootblock. The bootblock is the first stage executed after CPU reset, its main task is to set up everything for a C-environment.
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power ON the DUT.
- By using the serial console read the booting procedure stage.
Test steps
- Power on the DUT.
- Read the booting procedure stage.
Expected result
-
The console output should contain string with the phrase:
bootblock starting
CBP002.001 Boot into coreboot stage romstage
Test description
This test aims to verify that DUT during booting procedure reaches stage romstage. The romstage initializes the DRAM and prepares everything for device init.
Test configuration data
FIRMWARE
= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power ON the DUT.
- By using the serial console read the booting procedure stage.
Expected result
-
The console output should contain string with the phrase:
romstage starting
CBP003.001 Boot into coreboot stage postcar
Test description
This test aims to verify that DUT during booting procedure reaches stage postcar. The postcar tears down CAR and loads the ramstage.
Test configuration data
FIRMWARE
= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power ON the DUT.
- By using the serial console read the booting procedure stage.
Expected result
-
The console output should contain string with the phrase:
postcar starting
CBP004.001 Boot into coreboot stage ramstage
Test description
This test aims to verify that DUT during booting procedure reaches stage ramstage. The ramstage does the main device init.
Test configuration data
FIRMWARE
= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power ON the DUT.
- By using the serial console read the booting procedure stage.
Expected result
-
The console output should contain string the with phrase:
ramstage starting
CBP005.001 Resource allocator v4 - gathering requirements
Test description
This test aims to verify that DUT reaches the gathering requirements
stage for Resource Allocator v4 during booting procedure.
Test configuration data
FIRMWARE
= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power ON the DUT.
- By using the serial console read the booting procedure stage.
Expected result
-
The console output should contain a string with the phrase:
Pass 1 (gathering requirements)
CBP006.001 Resource allocator v4 - allocating resources
Test description
This test aims to verify that DUT reaches the allocating resources
stage for
Resource Allocator v4 during booting procedure.
Test configuration data
FIRMWARE
= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power ON the DUT.
- By using the serial console read the booting procedure stage.
Expected result
-
The console output should contain a string with the phrase:
Pass 2 (allocating resources)