get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2230255/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2230255,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230255/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/swupdate/patch/20260429141857.616450-2-dario.binacchi@amarulasolutions.com/",
    "project": {
        "id": 58,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/58/?format=api",
        "name": "swupdate development",
        "link_name": "swupdate",
        "list_id": "swupdate.googlegroups.com",
        "list_email": "swupdate@googlegroups.com",
        "web_url": "https://github.com/sbabic/swupdate",
        "scm_url": "git://github.com/sbabic/swupdate",
        "webscm_url": ""
    },
    "msgid": "<20260429141857.616450-2-dario.binacchi@amarulasolutions.com>",
    "date": "2026-04-29T14:18:57",
    "name": "[meta-swupdate-boards,1/1] New board: STM32MP257F-EV1",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "590fc3d192fd6d45d54de4dd9bdc35bd0131152f",
    "submitter": {
        "id": 83038,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/83038/?format=api",
        "name": "Dario Binacchi",
        "email": "dario.binacchi@amarulasolutions.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/swupdate/patch/20260429141857.616450-2-dario.binacchi@amarulasolutions.com/mbox/",
    "series": [
        {
            "id": 502077,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502077/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/swupdate/list/?series=502077",
            "date": "2026-04-29T14:18:57",
            "name": "Add support for STM32MP257F-EV1",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502077/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230255/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230255/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<swupdate+bncBCQ4XFG47UFRB2FGZDHQMGQESZQVPYY@googlegroups.com>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=googlegroups.com header.i=@googlegroups.com\n header.a=rsa-sha256 header.s=20251104 header.b=Ht+/umJ3;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com\n (client-ip=2a00:1450:4864:20::339; helo=mail-wm1-x339.google.com;\n envelope-from=swupdate+bncbcq4xfg47ufrb2fgzdhqmgqeszqvpyy@googlegroups.com;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from mail-wm1-x339.google.com (mail-wm1-x339.google.com\n [IPv6:2a00:1450:4864:20::339])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5KDt3jLFz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 00:19:25 +1000 (AEST)",
            "by mail-wm1-x339.google.com with SMTP id\n 5b1f17b1804b1-488cc31ea57sf102790805e9.3\n        for <incoming@patchwork.ozlabs.org>;\n Wed, 29 Apr 2026 07:19:25 -0700 (PDT)",
            "by 2002:a05:600c:648a:b0:488:9454:b51 with SMTP id\n 5b1f17b1804b1-488f4a708aals57458255e9.0.-pod-prod-05-eu; Wed, 29 Apr 2026\n 07:19:19 -0700 (PDT)",
            "from mail-wm1-x330.google.com (mail-wm1-x330.google.com.\n [2a00:1450:4864:20::330])\n        by gmr-mx.google.com with ESMTPS id\n ffacd0b85a97d-447b659ea46si44506f8f.7.2026.04.29.07.19.19\n        for <swupdate@googlegroups.com>\n        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n        Wed, 29 Apr 2026 07:19:19 -0700 (PDT)",
            "by mail-wm1-x330.google.com with SMTP id\n 5b1f17b1804b1-488e1a8ac40so153824825e9.2\n        for <swupdate@googlegroups.com>; Wed, 29 Apr 2026 07:19:19 -0700 (PDT)",
            "from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it\n (host-82-56-22-134.retail.telecomitalia.it. [82.56.22.134])\n        by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a7c57b5fcsm59572785e9.5.2026.04.29.07.19.17\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Wed, 29 Apr 2026 07:19:17 -0700 (PDT)"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; t=1777472363; cv=pass;\n        d=google.com; s=arc-20240605;\n        b=Ij+VxUtL9wQ9PXSDTndHSVG1B74DqjVtFxYigOlVGpM+NzVKk9zoN1t10pyDQzHhA+\n         OFnh/UlQCAVYP4lxbbPjPp6sK/nhSWpIpdIWQCPUZfAquaWqgPlalmk0/oxGzmYOU1+B\n         BI0Eu0Kip9wXdtHvaqfQ0hJcK+sMxgbKZpDAMTM0lfe4ilMb29VJ8Krs3tnlRY1x2B3i\n         j71A28XNfqZXistdluDY6OIqaUcy9ikSfSUltER5UxYrpcka9clUhNqwtiEm2fR/k7uT\n         srz9kvPuqVAlXSW05MuH2vztcYOmUuzqsN5qO1KBSNihpWVTSF3aZ88TBmXqFGqjbIRj\n         h9XQ==",
            "i=1; a=rsa-sha256; t=1777472359; cv=none;\n        d=google.com; s=arc-20240605;\n        b=dU7Ik1SeU/4CsUgM7DdsjtO9FxRAlP4VLZtqc1+082viCcmALUpm4tLsoMgC4Kr7O4\n         StR+mHaJh6K+CsUdyxCQg7SB3nQfCqmTaeWrS1NIU2x0eYTmoKKesgVeYrMC2j6zRlYM\n         iVznQ3//CHaOQ3c/UICaLlU3hgvUkPIERHh9HSvKc8jre7/pW85muboSqHzbvmYpvkCb\n         lmvc4A16ljpKZ/KiZJkjtn2mb9RJ63LzecyLfbb+IPLoC0aQmSkWlWModcu1X6aXxXGc\n         UTDUUPkLpEfx5GMdNacGkfBSREUUWIYYpcKr3nmfhgncEgOYFEXvSaoerx555AQ3rPod\n         xosQ=="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n         :list-id:mailing-list:precedence:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:sender:dkim-signature;\n        bh=dUrmb8a1ihOEnLgT9kB30kH3MJDa1sJEV20tVLNWSfA=;\n        fh=R12DxsRoP9aR8aqiVslGwgmfCFIRp7PcgeO9/Y4ZWdY=;\n        b=BzTP15mv4q2qbC11HWVAyjXncxOc2gIW3eOzY6prkc0EkK2megTB31jpX57+Ma4j3i\n         sJSPEH/hSgzoiJsbg+tKuwPkP23XiVCZ78QfoBAlARf70OAMiWhp9uxPjMf4tk//NQ7j\n         ua3VVnk/T81vP0v3Sl098Ok3Q8qbLxB2xd0TO6r53XIHgWMPvHAKMb3TPJS4cTxrFmIc\n         Nlb6x9YVJAwh6btzwDqpsHmFsj+FDIMjBPBBPfJKraxv2oHqZ2cmI1VdAxJ2i5Hxb7cw\n         88DDPdGkQRspct54N3mSTp68vjwaba1+9zv7endqrt+rlVBTVaU8/gu40d+UQh57Ovyv\n         8YDg==;\n        darn=patchwork.ozlabs.org",
            "i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:dkim-signature;\n        bh=HEMHV0hdSHCnmEXd/zcUcgczA5P9RVz76BTISJhNaFE=;\n        fh=PVQ6qK/apE8apMCQLUsBZ5FgEk1zvaf7+lv3UFNLduQ=;\n        b=XQ3TMQd9kbAgG/zpghi/6A/LjIxwEo+RoFk6+HB15VNHkAtAsqpGofKrUwn9O+X3ZA\n         /FDM9y4JHrTrnCLrRKyPTbMIu92bNQLX4BTL0As3GijQDWpaLYUTC9EhWVqWgTZw1NTW\n         BI55R3fFD8dQl5Km65kIu0g33Wm42pnlEq4J/ThH+gsYtGQ8kwG4thsxu2+BcT1IqzHV\n         6JA3F/cxtVLPFn5xUHmylwzFpBFfUHibJLlK4PW5YVVptPmSvXMLAQwZ9QHiRUQoyO/9\n         dacjSIIpz7ecfNVVdl6Ax2a/KyVYR/DtIEMvtsYQX3iTfd4opKJNhM88UbmjUnWM2KdY\n         67nQ==;\n        dara=google.com"
        ],
        "ARC-Authentication-Results": [
            "i=2; gmr-mx.google.com;\n       dkim=pass header.i=@amarulasolutions.com header.s=google\n header.b=\"eBZ1jr/e\";\n       spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com\n designates 2a00:1450:4864:20::330 as permitted sender)\n smtp.mailfrom=dario.binacchi@amarulasolutions.com;\n       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;\n       dara=pass header.i=@googlegroups.com",
            "i=1; gmr-mx.google.com;\n       dkim=pass header.i=@amarulasolutions.com header.s=google\n header.b=\"eBZ1jr/e\";\n       spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com\n designates 2a00:1450:4864:20::330 as permitted sender)\n smtp.mailfrom=dario.binacchi@amarulasolutions.com;\n       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;\n       dara=pass header.i=@googlegroups.com"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=googlegroups.com; s=20251104; t=1777472363; x=1778077163;\n darn=patchwork.ozlabs.org;\n        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n         :list-id:mailing-list:precedence:x-original-authentication-results\n         :x-original-sender:mime-version:references:in-reply-to:message-id\n         :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id\n         :reply-to;\n        bh=dUrmb8a1ihOEnLgT9kB30kH3MJDa1sJEV20tVLNWSfA=;\n        b=Ht+/umJ3r81mKRBIm2nX8X8O1GDmLx/P/ZmixSVxIPImqTj/lYEdubXP/yU/BSO6ME\n         jLrgiTJDhXIY9e1xlERO7uZBssRnfbjNYO3Cm4XAo4RV+r6YYPBjd9UlLLkJmGldChob\n         s9kIpuBDdTq9epLRDQw6o3wRx2SaY2iIBG/jNPcxTgMehC9ympazVbTruEXUFRZKobcU\n         gv5lFaLE24TO35RKyXk+cvxDGrIPqJovf4ak7r8bd4oXv20L9osRKA9iYUBX1Ma1L9a2\n         2ezNejte/DhcqdCFqOgVVGyCyz8GP5yFICenRMJhgRxri9DAho1DQtL4Fxg43Kl43Zaw\n         REgg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1777472363; x=1778077163;\n        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n         :x-spam-checked-in-group:list-id:mailing-list:precedence\n         :x-original-authentication-results:x-original-sender:mime-version\n         :references:in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg\n         :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=dUrmb8a1ihOEnLgT9kB30kH3MJDa1sJEV20tVLNWSfA=;\n        b=D3M1edd8SZsf8ws5/d+2sfWlN9fItxv9NTackjoUtwXhZLVR9Zpk4jP/hlM1Azkwje\n         fUh1JX0kYOET8OZfLn3yczbkJMadshUmnuBIrspi3ZYFkdV8gCXhYsOhArcMwB8au/2H\n         GLPcc4t7QIZC2PEN22eH3zXW7yfWgR4/g+3cLvCZ93YioOCqZ2OAE74k3Oang6JhMbJA\n         8w0E3I3gh4z7F4+sxx2bhWBG0vvMszXs0JQjyFNRtlutUt94s4ilC8g7veCHnNmSI6qb\n         TW4AraLglTR8WDMfVbYSwn+ppUTw7+jskQJ7XxEQF5Y9aH9HKa65FozGtST1TYSAXnsV\n         +SIA==",
        "Sender": "swupdate@googlegroups.com",
        "X-Forwarded-Encrypted": "i=2;\n AFNElJ+hLu3EoijNSKZuhwTNz68IybI2ZHALkpQfLP0AkStlU3vzyYlhD9r5oy4neczFVDp47BtnIKiFAg==@patchwork.ozlabs.org",
        "X-Gm-Message-State": "AOJu0YyRLDnhU3ZVx1Poe+r4GKjE6N9SmWm+S6bpPXui2uSOgfSTPWTu\n\tzQZw83lrefObb2N3la6e0MM1muRPstP86RaTyofVPDUkerhuZFHJWOXo",
        "X-Received": [
            "by 2002:a05:600c:3b15:b0:489:1f3e:5f6f with SMTP id\n 5b1f17b1804b1-48a77ae5502mr132217005e9.12.1777472363140;\n        Wed, 29 Apr 2026 07:19:23 -0700 (PDT)",
            "by 2002:a05:600c:630a:b0:487:1fb4:7e1 with SMTP id\n 5b1f17b1804b1-48a77b0ee3emr150680235e9.22.1777472359155;\n        Wed, 29 Apr 2026 07:19:19 -0700 (PDT)",
            "by 2002:a05:600c:630f:b0:488:9fb7:376d with SMTP id\n 5b1f17b1804b1-48a77b1b815mr125561125e9.28.1777472358350;\n        Wed, 29 Apr 2026 07:19:18 -0700 (PDT)"
        ],
        "X-BeenThere": "swupdate@googlegroups.com;\n h=\"AUV6zMP0fU6HYK1CH3puHBq4DyQ8D62vZq6rBIyZgb71ae07WQ==\"",
        "Received-SPF": "pass (google.com: domain of dario.binacchi@amarulasolutions.com\n designates 2a00:1450:4864:20::330 as permitted sender)\n client-ip=2a00:1450:4864:20::330;",
        "X-Gm-Gg": "AeBDietZDM4QaRcnSuD6qLAqv520PI6gXRtL/nj0AHq+M/GZkvNEVVwOs2/TWyZDLli\n\tIJeMkVW70i+ygCw3X7fBUkqAiRmtv7FMg29KpjPN6z4RV4mCAHUFCmkjvrr6i5ZLjnbXBcPID8W\n\tdvhmW/RQ7X5RjksCUx00pk4WmtbZwNBCQdn0x7wkztSB8PsVcZ8dg+NacFntcI/H+C2f3UsHIji\n\tCy+Y+G9EYS9QhLslpe6P+2cbHxmgJxjL8YeGwBgNJ8hGwIMCIDUwNhC7lACbYPpjrMW5VJm5ksP\n\tWKQYbNoSr0iIsDeVyF3TNoeaRUO5oam3z05zhpBJyW1wyJgkAPJkO5nUN2xkPGLwAIYc9crIhCI\n\tv6Or78fadS3qjR5m1Otu2mWrjX9Rh/XPb1CRLnC/KSKCrXcJOmeohdKASqaTFr5ps9DA2cv4nA/\n\tnAFAepXpmxYNhIlR3VGohEh3cH2hMjJlqo/lvGw1WMpx3qKHd9/bxXwiVbxt8s9kB3emLngEubq\n\tGHSTkhvUlMUCiUZ9fQHAHOciRT+Ip116c5vfQNs1hw9fI6tCWO0TXR4Gk1DNE6zIW96lvjSrPVx\n\tCKEnpe6dDxLzIQ1wYVgufVw4BzUNUtTXOEUcJq4+DaxWfw==",
        "From": "Dario Binacchi <dario.binacchi@amarulasolutions.com>",
        "To": "swupdate@googlegroups.com",
        "Cc": "linux-amarula@amarulasolutions.com,\n\tDario Binacchi <dario.binacchi@amarulasolutions.com>",
        "Subject": "[swupdate] [meta-swupdate-boards][PATCH 1/1] New board:\n STM32MP257F-EV1",
        "Date": "Wed, 29 Apr 2026 16:18:57 +0200",
        "Message-ID": "<20260429141857.616450-2-dario.binacchi@amarulasolutions.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260429141857.616450-1-dario.binacchi@amarulasolutions.com>",
        "References": "<20260429141857.616450-1-dario.binacchi@amarulasolutions.com>",
        "MIME-Version": "1.0",
        "X-Original-Sender": "dario.binacchi@amarulasolutions.com",
        "X-Original-Authentication-Results": "gmr-mx.google.com;       dkim=pass\n header.i=@amarulasolutions.com header.s=google header.b=\"eBZ1jr/e\";\n       spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com\n designates 2a00:1450:4864:20::330 as permitted sender)\n smtp.mailfrom=dario.binacchi@amarulasolutions.com;\n       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;\n       dara=pass header.i=@googlegroups.com",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Precedence": "list",
        "Mailing-list": "list swupdate@googlegroups.com;\n contact swupdate+owners@googlegroups.com",
        "List-ID": "<swupdate.googlegroups.com>",
        "X-Spam-Checked-In-Group": "swupdate@googlegroups.com",
        "X-Google-Group-Id": "605343134186",
        "List-Post": "<https://groups.google.com/group/swupdate/post>,\n <mailto:swupdate@googlegroups.com>",
        "List-Help": "<https://groups.google.com/support/>,\n <mailto:swupdate+help@googlegroups.com>",
        "List-Archive": "<https://groups.google.com/group/swupdate",
        "List-Subscribe": "<https://groups.google.com/group/swupdate/subscribe>,\n <mailto:swupdate+subscribe@googlegroups.com>",
        "List-Unsubscribe": "\n <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n <https://groups.google.com/group/swupdate/subscribe>"
    },
    "content": "The STM32MP257F-EV1 is an evaluation board based on the STM32MP25\nmicroprocessor. More information can be found at:\nhttps://www.st.com/en/evaluation-tools/stm32mp257f-ev1.html\n\nUnlike other boards that typically rely on the U-Boot environment to\nselect the correct boot bank after an update, this board manages the\nboot selection process through the Firmware Update (FWU) metadata\nstored in dedicated partitions. This is achieved via the new fwumdata\nscript handler (CONFIG_FWUMDATA_HANDLER). Therefore, a version of\nswupdate and meta-swupdate including this feature is required.\n\nSigned-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>\n---\n README.md                                     |  10 ++\n .../update-image/stm32mp25-eval/emmcsetup.lua |  11 ++\n .../stm32mp25-eval/sw-description             |  43 +++++++\n .../swupdate/stm32mp25-eval/09-swupdate-args  |   9 ++\n .../swupdate/stm32mp25-eval/defconfig         | 110 ++++++++++++++++++\n .../swupdate/stm32mp25-eval/swupdate.cfg      |  41 +++++++\n 6 files changed, 224 insertions(+)\n create mode 100644 recipes-extended/images/update-image/stm32mp25-eval/emmcsetup.lua\n create mode 100644 recipes-extended/images/update-image/stm32mp25-eval/sw-description\n create mode 100644 recipes-support/swupdate/swupdate/stm32mp25-eval/09-swupdate-args\n create mode 100644 recipes-support/swupdate/swupdate/stm32mp25-eval/defconfig\n create mode 100644 recipes-support/swupdate/swupdate/stm32mp25-eval/swupdate.cfg",
    "diff": "diff --git a/README.md b/README.md\nindex 4348cf05c853..1b9930284e30 100644\n--- a/README.md\n+++ b/README.md\n@@ -61,6 +61,16 @@ Above will enable U-boot which Raspberry Pi does not default to, and\n instead boots straight to Linux. U-boot is required to do the \"swapping\"\n of partitions in the \"dual-copy\" layout.\n \n+For usage with STMicroelectronics STM32MP one must add the following to\n+`local.conf`:\n+\n+\tSWUPDATE_IMAGES_NOAPPEND_MACHINE[core-image-full-cmdline]=\"0\"\n+\tSWUPDATE_IMAGES_NOAPPEND_DISTRO[core-image-full-cmdline]=\"0\"\n+\n+Above will ensure that meta-swupdate can correctly locate the rootfs\n+artifacts, as OpenSTLinux appends both the distribution and machine\n+names to the image files.\n+\n Maintainer\n ----------\n \ndiff --git a/recipes-extended/images/update-image/stm32mp25-eval/emmcsetup.lua b/recipes-extended/images/update-image/stm32mp25-eval/emmcsetup.lua\nnew file mode 100644\nindex 000000000000..a619596ee5d4\n--- /dev/null\n+++ b/recipes-extended/images/update-image/stm32mp25-eval/emmcsetup.lua\n@@ -0,0 +1,11 @@\n+function preinst()\n+\tlocal out = \"Pre installed script called\"\n+\n+\treturn true, out\n+end\n+\n+function postinst()\n+\tlocal out = \"Post installed script called\"\n+\n+\treturn true, out\n+end\ndiff --git a/recipes-extended/images/update-image/stm32mp25-eval/sw-description b/recipes-extended/images/update-image/stm32mp25-eval/sw-description\nnew file mode 100644\nindex 000000000000..b530cac3d087\n--- /dev/null\n+++ b/recipes-extended/images/update-image/stm32mp25-eval/sw-description\n@@ -0,0 +1,43 @@\n+software =\n+{\n+\tversion = \"0.1.0\";\n+\n+\t@@MACHINE@@ = {\n+\t\thardware-compatibility: [ \"1.0\" ];\n+\t\tstable: {\n+\t\t\tcopy1: {\n+\t\t\t\timages: (\n+\t\t\t\t\t{\n+\t\t\t\t\t\tfilename = \"core-image-full-cmdline-@@DISTRO@@-@@MACHINE@@.rootfs.ext4.gz\";\n+\t\t\t\t\t\tsha256 = \"$swupdate_get_sha256(core-image-full-cmdline-@@DISTRO@@-@@MACHINE@@.rootfs.ext4.gz)\";\n+\t\t\t\t\t\tcompressed = \"zlib\";\n+\t\t\t\t\t\ttype = \"raw\";\n+\t\t\t\t\t\tdevice = \"/dev/mmcblk0p11\";\n+\t\t\t\t\t}\n+\t\t\t\t);\n+\t\t\t\tscripts: (\n+\t\t\t\t\t{\ttype = \"fwumdata\";\n+\t\t\t\t\t\tproperties: { active = \"1\"; }\n+\t\t\t\t\t}\n+\t\t\t\t);\n+\n+\t\t\t};\n+\t\t\tcopy2: {\n+\t\t\t\timages: (\n+\t\t\t\t\t{\n+\t\t\t\t\t\tfilename = \"core-image-full-cmdline-@@DISTRO@@-@@MACHINE@@.rootfs.ext4.gz\";\n+\t\t\t\t\t\tsha256 = \"$swupdate_get_sha256(core-image-full-cmdline-@@DISTRO@@-@@MACHINE@@.rootfs.ext4.gz)\";\n+\t\t\t\t\t\tcompressed = \"zlib\";\n+\t\t\t\t\t\ttype = \"raw\";\n+\t\t\t\t\t\tdevice = \"/dev/mmcblk0p12\";\n+\t\t\t\t\t}\n+\t\t\t\t);\n+\t\t\t\tscripts: (\n+\t\t\t\t\t{\ttype = \"fwumdata\";\n+\t\t\t\t\t\tproperties: { active = \"2\"; }\n+\t\t\t\t\t}\n+\t\t\t\t);\n+\t\t\t};\n+\t\t};\n+\t};\n+};\ndiff --git a/recipes-support/swupdate/swupdate/stm32mp25-eval/09-swupdate-args b/recipes-support/swupdate/swupdate/stm32mp25-eval/09-swupdate-args\nnew file mode 100644\nindex 000000000000..307e75c971c3\n--- /dev/null\n+++ b/recipes-support/swupdate/swupdate/stm32mp25-eval/09-swupdate-args\n@@ -0,0 +1,9 @@\n+rootfs=`swupdate -g`\n+\n+if [ $rootfs == '/dev/mmcblk0p11' ]; then\n+\tselection=\"-e stable,copy2\"\n+else\n+\tselection=\"-e stable,copy1\"\n+fi\n+\n+SWUPDATE_ARGS=\"-v -H @MACHINE@:1.0 ${selection} -f /etc/swupdate.cfg\"\ndiff --git a/recipes-support/swupdate/swupdate/stm32mp25-eval/defconfig b/recipes-support/swupdate/swupdate/stm32mp25-eval/defconfig\nnew file mode 100644\nindex 000000000000..98a5a429f90e\n--- /dev/null\n+++ b/recipes-support/swupdate/swupdate/stm32mp25-eval/defconfig\n@@ -0,0 +1,110 @@\n+#\n+# Automatically generated file; DO NOT EDIT.\n+# Swupdate Configuration\n+#\n+\n+#\n+# Swupdate Settings\n+#\n+\n+#\n+# General Configuration\n+#\n+CONFIG_SYSTEMD=y\n+CONFIG_DEFAULT_CONFIG_FILE=\"/etc/swupdate.cfg\"\n+CONFIG_SCRIPTS=y\n+CONFIG_HW_COMPATIBILITY=y\n+CONFIG_HW_COMPATIBILITY_FILE=\"/etc/hwrevision\"\n+CONFIG_SW_VERSIONS_FILE=\"/etc/sw-versions\"\n+\n+#\n+# Socket Paths\n+#\n+CONFIG_SOCKET_CTRL_PATH=\"\"\n+CONFIG_SOCKET_PROGRESS_PATH=\"\"\n+CONFIG_SOCKET_REMOTE_HANDLER_DIRECTORY=\"/tmp/\"\n+# CONFIG_MTD is not set\n+CONFIG_LUA=y\n+CONFIG_LUAPKG=\"lua\"\n+# CONFIG_FEATURE_SYSLOG is not set\n+\n+#\n+# Build Options\n+#\n+CONFIG_CROSS_COMPILE=\"\"\n+CONFIG_SYSROOT=\"\"\n+CONFIG_EXTRA_LDLIBS=\"\"\n+\n+#\n+# Debugging Options\n+#\n+# CONFIG_DEBUG is not set\n+# CONFIG_WERROR is not set\n+# CONFIG_NOCLEANUP is not set\n+# CONFIG_BOOTLOADER_EBG is not set\n+# CONFIG_UBOOT is not set\n+# CONFIG_BOOTLOADER_GRUB is not set\n+# CONFIG_BOOTLOADER_CBOOT is not set\n+CONFIG_DOWNLOAD=y\n+CONFIG_HASH_VERIFY=y\n+# CONFIG_SIGNED_IMAGES is not set\n+CONFIG_ENCRYPTED_IMAGES=y\n+CONFIG_SURICATTA=y\n+\n+#\n+# Suricatta\n+#\n+\n+#\n+# Features\n+#\n+CONFIG_SURICATTA_SSL=y\n+\n+\n+#\n+# Server\n+#\n+CONFIG_SURICATTA_HAWKBIT=y\n+# CONFIG_SURICATTA_SERVER_NONE is not set\n+CONFIG_WEBSERVER=y\n+\n+#\n+# Webserver Features\n+#\n+CONFIG_MONGOOSE=y\n+\n+#\n+# Mongoose Feature\n+#\n+CONFIG_MONGOOSELUA=y\n+# CONFIG_MONGOOSEIPV6 is not set\n+CONFIG_MONGOOSESSL=y\n+\n+#\n+# Compressors (zlib always on)\n+#\n+CONFIG_GUNZIP=y\n+# CONFIG_XZ is not set\n+# CONFIG_ZSTD is not set\n+\n+# Parser Features\n+#\n+CONFIG_LIBCONFIG=y\n+CONFIG_PARSERROOT=\"\"\n+CONFIG_JSON=y\n+# CONFIG_LUAEXTERNAL is not set\n+# CONFIG_SETSWDESCRIPTION is not set\n+\n+#\n+# Image Handlers\n+#\n+CONFIG_RAW=y\n+CONFIG_LUASCRIPTHANDLER=y\n+CONFIG_SHELLSCRIPTHANDLER=y\n+CONFIG_FWUMDATA_HANDLER=y\n+# CONFIG_HANDLER_IN_LUA is not set\n+CONFIG_RDIFFHANDLER=y\n+CONFIG_HANDLER_IN_LUA=y\n+# CONFIG_EMBEDDED_LUA_HANDLER is not set\n+CONFIG_ARCHIVE=y\n+# CONFIG_REMOTE_HANDLER is not set\ndiff --git a/recipes-support/swupdate/swupdate/stm32mp25-eval/swupdate.cfg b/recipes-support/swupdate/swupdate/stm32mp25-eval/swupdate.cfg\nnew file mode 100644\nindex 000000000000..c5a473de861a\n--- /dev/null\n+++ b/recipes-support/swupdate/swupdate/stm32mp25-eval/swupdate.cfg\n@@ -0,0 +1,41 @@\n+globals :\n+{\n+\tverbose = true;\n+\tloglevel = 5;\n+\tsyslog = true;\n+\tpostupdatecmd = \"(sleep 2 && reboot)&\";\n+};\n+\n+download :\n+{\n+\tretries = 3;\n+\ttimeout = 1800;\n+};\n+\n+identify : (\n+\t{ name = \"board\"; value = \"stm32mp25-eval\"; }\n+);\n+\n+suricatta :\n+{\n+\n+\ttenant\t\t= \"default\";\n+\tid\t\t= \"stm32mp25-eval\";\n+\tconfirm \t= 0;\n+\turl \t\t= \"http://papero:8080\";\n+\tpolldelay\t= 360;\n+\tnocheckcert\t= true;\n+\tretry\t\t= 4;\n+\tretrywait\t= 200;\n+\tloglevel\t= 10;\n+\tuserid\t\t= 0;\n+\tgroupid\t\t= 0;\n+\tmax_artifacts\t= 1;\n+};\n+\n+webserver :\n+{\n+\tdocument_root = \"/www\";\n+\tuserid\t\t= 0;\n+\tgroupid\t\t= 0;\n+};\n",
    "prefixes": [
        "meta-swupdate-boards",
        "1/1"
    ]
}