diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74be0cc..51c5c5e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -107,16 +107,28 @@ jobs: echo "Using DTS config hash: ${DTS_CONFIG_HASH}" echo "::add-mask::$DPP_EMAIL" echo "::add-mask::$DPP_PASSWORD" + echo "::add-mask::$DPP_EMAIL_FW_ONLY" + echo "::add-mask::$DPP_PASSWORD_FW_ONLY" + echo "::add-mask::$DPP_EMAIL_EXTENSIONS_ONLY" + echo "::add-mask::$DPP_PASSWORD_EXTENSIONS_ONLY" + echo "::add-mask::$DPP_EMAIL_NO_ACCESS" + echo "::add-mask::$DPP_PASSWORD_NO_ACCESS" RTE_IP="127.0.0.1" CONFIG="qemu" ./scripts/run.sh dts/dts-e2e.robot -- \ -L TRACE \ -v snipeit:no \ -v dpp_email:$DPP_EMAIL \ -v dpp_password:$DPP_PASSWORD \ + -v dpp_email_fw_only:$DPP_EMAIL_FW_ONLY \ + -v dpp_password_fw_only:$DPP_PASSWORD_FW_ONLY \ + -v dpp_email_extensions_only:$DPP_EMAIL_EXTENSIONS_ONLY \ + -v dpp_password_extensions_only:$DPP_PASSWORD_EXTENSIONS_ONLY \ + -v dpp_email_no_access:$DPP_EMAIL_NO_ACCESS \ + -v dpp_password_no_access:$DPP_PASSWORD_NO_ACCESS \ -v boot_dts_from_ipxe_shell:True \ -v dts_config_ref:"${DTS_CONFIG_REF}" \ -v dts_ipxe_link:http://${ip_addr}:4321/dts.ipxe 2>&1 \ - | tee ${{ env.LOG_DIR }}/dts-tests.log | grep --line-buffered "| PASS |\|| FAIL |\|\[ WARN \]" + | tee ${{ env.LOG_DIR }}/dts-tests.log | grep --line-buffered "| PASS |\|| FAIL |\|| SKIP |\|\[ WARN \]" - name: Copy log shell: bash diff --git a/CHANGELOG.md b/CHANGELOG.md index f0f46b4..a1f01d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,46 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). + +## 2.7.0 - 2025-09-18 + +### Added +- Add advanced Dasharo Pro Package credentials testing into the automated CI/CD + workflow. New test cases include: +- Added test cases for the basic DTS UI commands: reboot, power off, SSH, etc.. +- **Added a fix** for the Dasharo (coreboot+UEFI) v0.9.x issue with **no + internet over iPXE boot** on NovaCustom V540TU and Novacustom V560TU. Now you + can easily update your firmware that will fix the issue. +- **Added a fix** for the Dasharo (coreboot+UEFI) v0.9.0 issue with **no + internet over iPXE boot** on NovaCustom V540TU and Novacustom V560TU. Now you + can easily update your firmware that will fix the issue. +- **Dasharo (coreboot+UEFI) v1.0.0 for NovaCustom V540TU and Novacustom V560TU + DTS Update** is now officially supported! +- **Dasharo (coreboot+UEFI) v1.1.5 for both DDR4 and DDR5 variants of MSI PRO + Z690-A DTS Update** is now officially supported! +- **Dasharo (coreboot+UEFI) v0.9.3 for both DDR4 and DDR5 variants of MSI PRO + Z790-A DTS Update** is now officially supported! +- **A completely new DTS workflow** for fusing device **is now officially + supported** for **Dasharo (coreboot+UEFI) v1.0.0 for NovaCustom V540TU and + Novacustom V560TU**. Now you can fuse your device, and no other firmware, + except the one released by a trusted vendor, can be launched on your laptop! + + +### Changed +- Now the automated CI/CD DTS testing workflow shows SKIP for the skipped tests. + Assuring fewer issues will get into the DTS release image. + + +### Fixed +- Fixed HCL report showing UNKNOWN for all components. Now there will be less + confusion. [#1304](https://github.com/Dasharo/dasharo-issues/issues/1304) +- Fixed an issue with DTS going into the update workflow when there is no update + available. [#1424](https://github.com/Dasharo/dasharo-issues/issues/1424) +- Fixed a confusing typo during Dasharo (coreboot+UEFI) DTS Update workflow that + showed the Heads payload instead of + UEFI. [#1373](https://github.com/Dasharo/dasharo-issues/issues/1373) + + ## 2.6.1 - 2025-09-04 ### Added diff --git a/meta-dts-distro/conf/distro/dts-distro.conf b/meta-dts-distro/conf/distro/dts-distro.conf index 4d12ef8..c9df6a1 100644 --- a/meta-dts-distro/conf/distro/dts-distro.conf +++ b/meta-dts-distro/conf/distro/dts-distro.conf @@ -4,7 +4,7 @@ DISTRO = "dts-distro" # distro name DISTRO_NAME = "Dasharo Tools Suite" -DISTRO_VERSION = "2.6.1" +DISTRO_VERSION = "2.7.0" SDK_VENDOR = "-dtssdk" MAINTAINER = "3mdeb Sp. z o. o. " diff --git a/meta-dts-distro/recipes-dts/dts-scripts/dts-scripts_git.bb b/meta-dts-distro/recipes-dts/dts-scripts/dts-scripts_git.bb index f2f2184..5e93775 100644 --- a/meta-dts-distro/recipes-dts/dts-scripts/dts-scripts_git.bb +++ b/meta-dts-distro/recipes-dts/dts-scripts/dts-scripts_git.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSES/Apache-2.0.txt;md5=c846ebb396f8b174b10ded477 PV = "0.1+git${SRCPV}" SRC_URI = "git://github.com/Dasharo/dts-scripts;protocol=https;branch=main" -SRCREV = "a230c496e2566c37a3808ba6bb44c3e5f626edcd" +SRCREV = "b43ab58df36dbe6fa55f044b45860c9565a2c1ea" S = "${WORKDIR}/git" diff --git a/meta-dts-distro/recipes-dts/firmware-binaries/firmware-binaries_1.0.bb b/meta-dts-distro/recipes-dts/firmware-binaries/firmware-binaries_1.0.bb new file mode 100644 index 0000000..888e3bf --- /dev/null +++ b/meta-dts-distro/recipes-dts/firmware-binaries/firmware-binaries_1.0.bb @@ -0,0 +1,68 @@ +SUMMARY = "Local firmware binaries" +HOMEPAGE = "https://dl.3mdeb.com" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +FW_STORE_URL ?= "https://dl.3mdeb.com/open-source-firmware/Dasharo" +BINARIES = " \ + novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v540tu_mtl/uefi/v1.0.0/novacustom_v54x_mtl_igpu_v1.0.0_btg_provisioned.rom;name=v540tu \ + novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v540tu_mtl/uefi/v1.0.0/novacustom_v54x_mtl_igpu_v1.0.0_btg_provisioned.rom.sha256;name=v540tu-sha \ + novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v540tu_mtl/uefi/v1.0.0/novacustom_v54x_mtl_igpu_v1.0.0_btg_provisioned.rom.sha256.sig;name=v540tu-sha-sig \ + novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v540tu_mtl/uefi/v1.0.0/novacustom_v54x_mtl_igpu_ec_v1.0.0.rom;name=v540tu-ec \ + novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v540tu_mtl/uefi/v1.0.0/novacustom_v54x_mtl_igpu_ec_v1.0.0.rom.sha256;name=v540tu-ec-sha \ + novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v540tu_mtl/uefi/v1.0.0/novacustom_v54x_mtl_igpu_ec_v1.0.0.rom.sha256.sig;name=v540tu-ec-sha-sig \ + novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v560tu_mtl/uefi/v1.0.0/novacustom_v56x_mtl_igpu_v1.0.0_btg_provisioned.rom;name=v560tu \ + novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v560tu_mtl/uefi/v1.0.0/novacustom_v56x_mtl_igpu_v1.0.0_btg_provisioned.rom.sha256;name=v560tu-sha \ + novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v560tu_mtl/uefi/v1.0.0/novacustom_v56x_mtl_igpu_v1.0.0_btg_provisioned.rom.sha256.sig;name=v560tu-sha-sig \ + novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v560tu_mtl/uefi/v1.0.0/novacustom_v56x_mtl_igpu_ec_v1.0.0.rom;name=v560tu-ec \ + novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v560tu_mtl/uefi/v1.0.0/novacustom_v56x_mtl_igpu_ec_v1.0.0.rom.sha256;name=v560tu-ec-sha \ + novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v560tu_mtl/uefi/v1.0.0/novacustom_v56x_mtl_igpu_ec_v1.0.0.rom.sha256.sig;name=v560tu-ec-sha-sig \ +" + +DEPENDS = "tar" + +SRC_URI = "git://github.com/Dasharo/dts-configs.git;name=dts-configs;protocol=https;branch=develop" +SRCREV = "d4fe961c6caa7b1a38ab6489180b8ba7ea331031" + +SRC_URI[v540tu.sha256sum] = "d18c4677cf488f69e9caa33a307a4f580eea14b4addb27a2857b2669327708c9" +SRC_URI[v540tu-sha.sha256sum] = "34f4ec1f4cc81c41f4b5bbcda97651b9f5a0394e616a399118fc1a337fb4c480" +SRC_URI[v540tu-sha-sig.sha256sum] = "baebc234f4e89803447068492712978463f5ba019ff11a66a9de84cec170ad96" +SRC_URI[v540tu-ec.sha256sum] = "6b86617e25510a2289f29d1146e2c1d4f5875f21755e910877e07b27ce0a6b8a" +SRC_URI[v540tu-ec-sha.sha256sum] = "0c30d0aea622ae551cfefaba2778ffc2a7cc88389ac0a7ce4f9de3e0da147609" +SRC_URI[v540tu-ec-sha-sig.sha256sum] = "f0418bb0bd2a161813cb38072bae5057b7b781562add45627a4158f575963a09" +SRC_URI[v560tu.sha256sum] = "22c644a19d7f883bcf19ca42943c62afe81b2ead697ae883d89200ff5bf23fc0" +SRC_URI[v560tu-sha.sha256sum] = "57b3fedc9367bc89189dde5a105eca9c282dfb10c4295821c59be0b7fbafd736" +SRC_URI[v560tu-sha-sig.sha256sum] = "581747d46347bfc90f0056b09d9525857f41c36607b89d09dd44b0ea7e129835" +SRC_URI[v560tu-ec.sha256sum] = "4f5a2c3a9023b47a9a4e39b539d34689419c48e31abaa310db7db330c4999eb4" +SRC_URI[v560tu-ec-sha.sha256sum] = "fc3885764248f9627b2157f48b4ad6077b9e96545189f88d109afc54f3db91cf" +SRC_URI[v560tu-ec-sha-sig.sha256sum] = "254a2833822ae22f6b8d65d18874dfb8ec37e0cd0a64bf95e192acaad8ad3aff" + +S = "${WORKDIR}/git" +FILES:${PN} += "/firmware" + +# Add BINARIES to SRC_URI with prepended ${FW_STORE_URL} +# nooelint: oelint.task.noanonpython +python() { + import os + binaries = d.getVar('BINARIES') + for binary in binaries.split(): + binary_src_uri = f" ${{FW_STORE_URL}}/{binary}" + bb.debug(1, f"Appending {binary_src_uri} to SRC_URI") + d.appendVar('SRC_URI', binary_src_uri) +} + +do_install(){ + install -d "${D}/firmware" + stripped_binaries=$(echo "${BINARIES}" | sed 's/;[^ ]*//g') + for binary in $stripped_binaries; do + binary_dir=$(dirname "$binary") + binary_name=$(basename "$binary") + install -Dm 0644 "${WORKDIR}/$binary_name" "${D}/firmware/$binary_dir/$binary_name" + done + tar czvf "${D}/firmware/dts-configs.tar.gz" -C "$(dirname "${S}")" "$(basename "${S}")" +} + +INHIBIT_DEFAULT_DEPS = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" +INHIBIT_PACKAGE_STRIP = "1" diff --git a/meta-dts-distro/recipes-dts/packagegroups/packagegroup-dts.bb b/meta-dts-distro/recipes-dts/packagegroups/packagegroup-dts.bb index 4c4dd74..bf8ba37 100644 --- a/meta-dts-distro/recipes-dts/packagegroups/packagegroup-dts.bb +++ b/meta-dts-distro/recipes-dts/packagegroups/packagegroup-dts.bb @@ -53,6 +53,7 @@ RDEPENDS:${PN}-tools-dts = " \ bg-suite \ dasharo-configuration-utility \ dts-scripts \ + firmware-binaries \ " RDEPENDS:${PN}-python = " \