dts: add fusing tests for ADL laptops, update profiles

Signed-off-by: Danil Klimuk <daniil.klimuk@3mdeb.com>
This commit is contained in:
Danil Klimuk
2026-04-24 12:39:53 +02:00
committed by Filip Gołaś
parent 305c109fcc
commit 43099af8df
20 changed files with 82 additions and 51 deletions
+3 -2
View File
@@ -305,7 +305,7 @@ E2E008.004 Enable Sending Logs UI Option Should Enable DTS Log Sending
SSHLibrary.Read Until Sending logs...
################################################################################
# DTS extentions tests:
# DTS extensions tests:
################################################################################
E2E009.001 DTS extensions are installed and can be used
@@ -776,7 +776,7 @@ E2E019.003 DTS should continue update in case ME is neither HAP disabled or enab
E2E019.004 DTS must stop update in case ME operation mode was not detected
[Documentation] When the ME operation mode is not detected DST must
... assume it is enabled and ask whether to stop update or
... update without flashing ME. This is because assumming ME is enabled
... update without flashing ME. This is because assuming ME is enabled
... is the safest assumption for the end user in such a case.
Export Shell Variables For Emulation
... UEFI Update
@@ -797,6 +797,7 @@ E2E019.004 DTS must stop update in case ME operation mode was not detected
${out}= Wait For Checkpoint ${DTS_ME_WARN}
Should Contain ${out} Can not determine if ME is disabled, assuming enabled.
*** Keywords ***
# robocop: disable:0919
${platform} ${workflow} - ${release}
@@ -38,7 +38,6 @@ flashrom -p internal 0
ifdtool -d /tmp/biosupdate 0
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
@@ -39,6 +39,7 @@ flashrom -p internal 0
ifdtool -d /tmp/biosupdate 1
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
@@ -38,6 +38,7 @@ flashrom -p internal 0
ifdtool -d /tmp/biosupdate 0
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
@@ -38,7 +38,6 @@ flashrom -p internal 0
ifdtool -d /tmp/biosupdate 0
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
@@ -37,6 +37,7 @@ ifdtool -d /tmp/biosupdate 1
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
@@ -33,18 +33,16 @@ flashrom -p internal -r /tmp/dasharo_dump.rom --fmap -i FMAP -i BOOTSPLASH 0
cbfstool /tmp/dasharo_dump.rom extract -r BOOTSPLASH -n logo.bmp -f /tmp/logo.bmp 1
cbfstool /tmp/biosupdate extract -r COREBOOT -n config -f /tmp/biosupdate_config 0
flashrom -p internal 0
ifdtool -d /tmp/biosupdate 1
ifdtool -d /tmp/biosupdate 0
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
futility show /tmp/biosupdate 0
flashrom -p internal --ifd -i bios -r /tmp/bios.bin 0
futility show /tmp/bios.bin 0
flashrom -p internal --ifd -i bios -w /tmp/biosupdate 0
flashrom -p internal --ifd -i bios -w /tmp/biosupdate 0
flashrom -p internal -N --ifd -i fd -w /tmp/biosupdate 0
flashrom -p internal --ifd -i bios -i fd -i me -w /tmp/biosupdate 0
flashrom -p internal --ifd -i bios -i fd -i me -w /tmp/biosupdate 0
dasharo_ectool flash /tmp/ecupdate 0
reboot 0
dmidecode 0
@@ -37,6 +37,7 @@ ifdtool -d /tmp/biosupdate 1
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
@@ -33,18 +33,16 @@ flashrom -p internal -r /tmp/dasharo_dump.rom --fmap -i FMAP -i BOOTSPLASH 0
cbfstool /tmp/dasharo_dump.rom extract -r BOOTSPLASH -n logo.bmp -f /tmp/logo.bmp 1
cbfstool /tmp/biosupdate extract -r COREBOOT -n config -f /tmp/biosupdate_config 0
flashrom -p internal 0
ifdtool -d /tmp/biosupdate 1
ifdtool -d /tmp/biosupdate 0
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
futility show /tmp/biosupdate 0
flashrom -p internal --ifd -i bios -r /tmp/bios.bin 0
futility show /tmp/bios.bin 0
flashrom -p internal --ifd -i bios -w /tmp/biosupdate 0
flashrom -p internal --ifd -i bios -w /tmp/biosupdate 0
flashrom -p internal -N --ifd -i fd -w /tmp/biosupdate 0
flashrom -p internal --ifd -i bios -i fd -i me -w /tmp/biosupdate 0
flashrom -p internal --ifd -i bios -i fd -i me -w /tmp/biosupdate 0
dasharo_ectool flash /tmp/ecupdate 0
reboot 0
dmidecode 0
@@ -37,6 +37,7 @@ ifdtool -d /tmp/biosupdate 1
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
@@ -37,6 +37,7 @@ ifdtool -d /tmp/biosupdate 1
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
@@ -33,18 +33,16 @@ flashrom -p internal -r /tmp/dasharo_dump.rom --fmap -i FMAP -i BOOTSPLASH 0
cbfstool /tmp/dasharo_dump.rom extract -r BOOTSPLASH -n logo.bmp -f /tmp/logo.bmp 1
cbfstool /tmp/biosupdate extract -r COREBOOT -n config -f /tmp/biosupdate_config 0
flashrom -p internal 0
ifdtool -d /tmp/biosupdate 1
ifdtool -d /tmp/biosupdate 0
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
futility show /tmp/biosupdate 0
flashrom -p internal --ifd -i bios -r /tmp/bios.bin 0
futility show /tmp/bios.bin 0
flashrom -p internal --ifd -i bios -w /tmp/biosupdate 0
flashrom -p internal --ifd -i bios -w /tmp/biosupdate 0
flashrom -p internal -N --ifd -i fd -w /tmp/biosupdate 0
flashrom -p internal --ifd -i bios -i fd -i me -w /tmp/biosupdate 0
flashrom -p internal --ifd -i bios -i fd -i me -w /tmp/biosupdate 0
dasharo_ectool flash /tmp/ecupdate 0
reboot 0
dmidecode 0
@@ -35,6 +35,7 @@ flashrom -p internal 0
ifdtool -d /tmp/biosupdate 0
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
@@ -73,6 +73,7 @@ ifdtool -d /tmp/biosupdate 1
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 1
cbmem -1 1
cbmem -1 1
cbfstool /tmp/biosupdate extract -r COREBOOT -n config -f /tmp/biosupdate_config 0
dmidecode -s system-uuid 0
dmidecode -s baseboard-serial-number 0
@@ -29,7 +29,6 @@ flashrom -p internal 0
ifdtool -d /tmp/biosupdate 1
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
@@ -73,6 +73,7 @@ ifdtool -d /tmp/biosupdate 1
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 1
cbmem -1 1
cbmem -1 1
cbfstool /tmp/biosupdate extract -r COREBOOT -n config -f /tmp/biosupdate_config 0
dmidecode -s system-uuid 0
dmidecode -s baseboard-serial-number 0
@@ -29,7 +29,6 @@ flashrom -p internal 0
ifdtool -d /tmp/biosupdate 1
fsread_tool test -d /sys/class/pci_bus/0000:00/device/0000:00:16.0 1
cbmem -1 0
cbmem -1 0
flashrom -p internal -N --ifd -i bios -r /tmp/bios.bin 0
cbfstool /tmp/bios.bin layout -w 0
cbfstool /tmp/biosupdate layout -w 0
+25 -13
View File
@@ -5,21 +5,33 @@ Resource include/novacustom-common.robot
*** Variables ***
# CPU
${CPU}= Intel(R) Core(TM) i5-1240P
${CPU}= Intel(R) Core(TM) i5-1240P
# Test configuration
${3_MDEB_WIFI_NETWORK}= 3mdeb_abr
${CLEVO_BATTERY_CAPACITY}= 3200*1000
${CLEVO_USB_C_HUB}= 4-port
${DEVICE_NVME_DISK}= Non-Volatile memory controller
${DEVICE_USB_KEYBOARD}= Logitech, Inc. Keyboard K120
${DMIDECODE_PRODUCT_NAME}= NS5x_NS7xPU
@{EXTERNAL_HEADSETS}= USB PnP Audio Device
${USB_DEVICE}= Kingston
${USB_MODEL}= USB Flash Memory
${CPU_MAX_FREQUENCY}= 4500
${CPU_MIN_FREQUENCY}= 300
${3_MDEB_WIFI_NETWORK}= 3mdeb_abr
${CLEVO_BATTERY_CAPACITY}= 3200*1000
${CLEVO_USB_C_HUB}= 4-port
${DEVICE_NVME_DISK}= Non-Volatile memory controller
${DEVICE_USB_KEYBOARD}= Logitech, Inc. Keyboard K120
${DMIDECODE_PRODUCT_NAME}= NS5x_NS7xPU
@{EXTERNAL_HEADSETS}= USB PnP Audio Device
${USB_DEVICE}= Kingston
${USB_MODEL}= USB Flash Memory
${CPU_MAX_FREQUENCY}= 4500
${CPU_MIN_FREQUENCY}= 300
${OPTIONS_LIB}= options-lib_dcu
${OPTIONS_LIB}= options-lib_dcu
# DTS E2E variables
&{DTS_TEST_VERSIONS}=
... &{DTS_TEST_VERSIONS_BASE}
... Fuse Platform=Dasharo (coreboot+UEFI) 1.8.0
@{DTS_TEST_WORKFLOWS}=
... Initial Deployment
... UEFI Update
... Fuse Platform
@{DTS_TEST_WORKFLOW_PROFILES}=
... ${{ ("UEFI Update", "DCR") }}
&{DTS_TEST_EXPORTS_PER_FULL_WORKFLOW}=
... ${{ ("UEFI Update", "DCR") }}=${{ { "TEST_ME_DISABLED": "true", "TEST_ME_OP_MODE": "3", "TEST_DIFFERENT_FMAP": "true" } }}
... ${{ ("Fuse Platform", "DCR") }}=${{ { "TEST_ME_HAP_DISABLED": "true", "TEST_ME_OP_MODE": "2", "TEST_IS_COREBOOT": "true" } }}
+25 -13
View File
@@ -5,21 +5,33 @@ Resource include/novacustom-common.robot
*** Variables ***
# CPU
${CPU}= Intel(R) Core(TM) i7-1260P
${CPU}= Intel(R) Core(TM) i7-1260P
# Test configuration
${3_MDEB_WIFI_NETWORK}= 3mdeb_abr
${CLEVO_BATTERY_CAPACITY}= 3200*1000
${CLEVO_USB_C_HUB}= 4-port
${DEVICE_NVME_DISK}= Non-Volatile memory controller
${DEVICE_USB_KEYBOARD}= Logitech, Inc. Keyboard K120
${DMIDECODE_PRODUCT_NAME}= NS5x_NS7xPU
@{EXTERNAL_HEADSETS}= USB PnP Audio Device
${USB_DEVICE}= Kingston
${USB_MODEL}= USB Flash Memory
${CPU_MAX_FREQUENCY}= 4500
${CPU_MIN_FREQUENCY}= 300
${3_MDEB_WIFI_NETWORK}= 3mdeb_abr
${CLEVO_BATTERY_CAPACITY}= 3200*1000
${CLEVO_USB_C_HUB}= 4-port
${DEVICE_NVME_DISK}= Non-Volatile memory controller
${DEVICE_USB_KEYBOARD}= Logitech, Inc. Keyboard K120
${DMIDECODE_PRODUCT_NAME}= NS5x_NS7xPU
@{EXTERNAL_HEADSETS}= USB PnP Audio Device
${USB_DEVICE}= Kingston
${USB_MODEL}= USB Flash Memory
${CPU_MAX_FREQUENCY}= 4500
${CPU_MIN_FREQUENCY}= 300
${OPTIONS_LIB}= options-lib_dcu
${OPTIONS_LIB}= options-lib_dcu
# DTS E2E variables
&{DTS_TEST_VERSIONS}=
... &{DTS_TEST_VERSIONS_BASE}
... Fuse Platform=Dasharo (coreboot+UEFI) 1.8.0
@{DTS_TEST_WORKFLOWS}=
... Initial Deployment
... UEFI Update
... Fuse Platform
@{DTS_TEST_WORKFLOW_PROFILES}=
... ${{ ("UEFI Update", "DCR") }}
&{DTS_TEST_EXPORTS_PER_FULL_WORKFLOW}=
... ${{ ("UEFI Update", "DCR") }}=${{ { "TEST_ME_DISABLED": "true", "TEST_ME_OP_MODE": "3", "TEST_DIFFERENT_FMAP": "true" } }}
... ${{ ("Fuse Platform", "DCR") }}=${{ { "TEST_ME_HAP_DISABLED": "true", "TEST_ME_OP_MODE": "2", "TEST_IS_COREBOOT": "true" } }}
+8 -1
View File
@@ -67,10 +67,17 @@ ${OPTIONS_LIB}= options-lib_dcu
&{DTS_TEST_VERSIONS}=
... &{DTS_TEST_VERSIONS_BASE}
... UEFI->Heads Transition=Dasharo (coreboot+UEFI) 1.7.2
@{DTS_TEST_WORKFLOWS}= Initial Deployment UEFI Update UEFI->Heads Transition
... Fuse Platform=Dasharo (coreboot+UEFI) 1.8.0
@{DTS_TEST_WORKFLOWS}=
... Initial Deployment
... UEFI Update
... UEFI->Heads Transition
... Fuse Platform
@{DTS_TEST_WORKFLOW_PROFILES}=
... ${{ ("UEFI Update", "DCR") }}
... ${{ ("UEFI->Heads Transition", "DPP") }}
&{DTS_TEST_EXPORTS_PER_FULL_WORKFLOW}=
... ${{ ("UEFI->Heads Transition", "DPP") }}=${{ {"TEST_ME_HAP_DISABLED": "false", "TEST_ME_DISABLED": "true"} }}
... ${{ ("UEFI Update", "DCR") }}=${{ { "TEST_ME_DISABLED": "true", "TEST_ME_OP_MODE": "3", "TEST_DIFFERENT_FMAP": "true" } }}
... ${{ ("Fuse Platform", "DCR") }}=${{ { "TEST_ME_HAP_DISABLED": "true", "TEST_ME_OP_MODE": "2", "TEST_IS_COREBOOT": "true" } }}