get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2198096,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2198096/?format=api",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/1.0/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260219103651.753932-3-kory.maincent@bootlin.com>",
    "date": "2026-02-19T10:36:49",
    "name": "[2/2] boot/uboot: copy ELE firmware into build directory for binman",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "118ad42b92740866bf283d45952a81bff197aac1",
    "submitter": {
        "id": 80520,
        "url": "http://patchwork.ozlabs.org/api/1.0/people/80520/?format=api",
        "name": "Kory Maincent",
        "email": "kory.maincent@bootlin.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260219103651.753932-3-kory.maincent@bootlin.com/mbox/",
    "series": [
        {
            "id": 492660,
            "url": "http://patchwork.ozlabs.org/api/1.0/series/492660/?format=api",
            "date": "2026-02-19T10:36:47",
            "name": "boot/uboot: enable binman-based boot image assembly for iMX8/9",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492660/mbox/"
        }
    ],
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2198096/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<buildroot-bounces@buildroot.org>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@legolas.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=Gxe/yf9e;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=140.211.166.138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 4fGqZN6jY6z1xpl\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Thu, 19 Feb 2026 21:37:16 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 7C6F28227C;\n\tThu, 19 Feb 2026 10:37:11 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id PobzxLCIcTWj; Thu, 19 Feb 2026 10:37:10 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 813628227D;\n\tThu, 19 Feb 2026 10:37:10 +0000 (UTC)",
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n by lists1.osuosl.org (Postfix) with ESMTP id DA4A9183\n for <buildroot@buildroot.org>; Thu, 19 Feb 2026 10:37:08 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id D430A60C08\n for <buildroot@buildroot.org>; Thu, 19 Feb 2026 10:37:06 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id XrgIz0pTK13v for <buildroot@buildroot.org>;\n Thu, 19 Feb 2026 10:37:06 +0000 (UTC)",
            "from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116])\n by smtp3.osuosl.org (Postfix) with ESMTPS id 157D560C0E\n for <buildroot@buildroot.org>; Thu, 19 Feb 2026 10:37:05 +0000 (UTC)",
            "from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n by smtpout-04.galae.net (Postfix) with ESMTPS id A8366C2F4EF;\n Thu, 19 Feb 2026 10:37:15 +0000 (UTC)",
            "from mail.galae.net (mail.galae.net [212.83.136.155])\n by smtpout-01.galae.net (Postfix) with ESMTPS id 467715FB45;\n Thu, 19 Feb 2026 10:37:03 +0000 (UTC)",
            "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id 4D588102F1CD9; Thu, 19 Feb 2026 11:37:02 +0100 (CET)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 813628227D",
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 157D560C0E"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1771497430;\n\tbh=+Wl92XLoNgP25bL3TrGe29S/6WmOFZeRvBlfA9iHvG4=;\n\th=To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From:Reply-To:From;\n\tb=Gxe/yf9evgjq93IeqE5ZpJPIJSKGK+KKs62AceFqlcz5g8E5A7G3YuIYFTKmEOMVc\n\t AdkM6iqqJLWVj7OMqHYk2PSowM8mAOsWC0IF4g9AIsWZvYpIN1HxqcI5jqxmL5+FPf\n\t 1pieNqseH1Weyk10uAts1uRUEMTv/k9Tf/AjA9NM0tq5aH3xqVV8x7/j/lMhDUD0C1\n\t 2rsenZXtDFrZg78V6EJFXQaWbzzQDevAmmIRC+fBvsjm3JvC6RQrsSZELPEU1Rh7wI\n\t mjAQFJAVRM6T06X8OfZ7b58fey1RjOcQwXLHfo3y53j40NCjv6U20qCdjm9p0e4+CP\n\t iIswjk0JYiW4Q==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=185.171.202.116;\n helo=smtpout-04.galae.net; envelope-from=kory.maincent@bootlin.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp3.osuosl.org 157D560C0E",
        "To": "buildroot@buildroot.org",
        "Cc": "julien.peeters@eove.fr, Kory Maincent <kory.maincent@bootlin.com>,\n thomas.petazzoni@bootlin.com, Gary Bisson <bisson.gary@gmail.com>,\n Refik Tuzakli <tuzakli.refik@gmail.com>",
        "Date": "Thu, 19 Feb 2026 11:36:49 +0100",
        "Message-ID": "<20260219103651.753932-3-kory.maincent@bootlin.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260219103651.753932-1-kory.maincent@bootlin.com>",
        "References": "<20260219103651.753932-1-kory.maincent@bootlin.com>",
        "MIME-Version": "1.0",
        "X-Last-TLS-Session-Version": "TLSv1.3",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=bootlin.com; s=dkim;\n t=1771497422; h=from:subject:date:message-id:to:cc:mime-version:\n content-transfer-encoding:in-reply-to:references;\n bh=UdJszpiwcR+LmQL4fd+9T5Jeh29m+6iJSyaxiR/izxw=;\n b=tkzdIx28dG0l7nRTUoMfAVAhSPmEcfvBVMZONKlI/+6dg9rMY5ECfj8o8EENlenAwAnL19\n mzdpFPv36y/IEZ22Xlz7ge2KkTxiyhNFo/qB60RoBHi5Y1VEBqhIyXMvr+VH6CkqNIa1pw\n bMyO+Q9T26YISUs78J9YmycT0OwAqERdZTB3GJGKlYQMuMfzSFrAgITTtZJ/W9LTk30i9q\n xyUYtHZjLjrq2Z0WaBVm3Fq0QpL0El44+Gp7TbD5vaebO/vnS/xWUtbXboxk/MnRB1VUKK\n UejDZXEIRq8gc2HOW5vi6v8CdJcSXM9k3JXq5LNS3IWlGbjMif1VqovZqFogFw==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp3.osuosl.org;\n dmarc=pass (p=reject dis=none)\n header.from=bootlin.com",
            "smtp3.osuosl.org;\n dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com\n header.a=rsa-sha256 header.s=dkim header.b=tkzdIx28"
        ],
        "Subject": "[Buildroot] [PATCH 2/2] boot/uboot: copy ELE firmware into build\n directory for binman",
        "X-BeenThere": "buildroot@buildroot.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>",
        "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@buildroot.org>",
        "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>",
        "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>",
        "From": "Kory Maincent via buildroot <buildroot@buildroot.org>",
        "Reply-To": "Kory Maincent <kory.maincent@bootlin.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "U-boot can assemble a complete i.MX boot image using binman, but\nrequires the AHAB container image to be present in the build directory\nunder its original filename. When BR2_PACKAGE_FIRMWARE_ELE_IMX is\nselected, add firmware-ele-imx as a U-boot dependency and include the\n*-ahab-container.img file in the set of firmware files copied into\nU-boot's build directory before compilation.\n\nThis enables binman to produce the full boot image directly, making\nthe imx8/9-bootloader-prepare.sh scripts unnecessary.\n\nSigned-off-by: Kory Maincent <kory.maincent@bootlin.com>\n---\n boot/uboot/Config.in | 3 ++-\n boot/uboot/uboot.mk  | 5 +++++\n 2 files changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in\nindex 47ce24ee76..24c1ea89cd 100644\n--- a/boot/uboot/Config.in\n+++ b/boot/uboot/Config.in\n@@ -323,7 +323,8 @@ config BR2_TARGET_UBOOT_NEEDS_IMX_FIRMWARE\n \tdepends on BR2_PACKAGE_FIRMWARE_IMX\n \tdepends on BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW || \\\n \t\tBR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW_IMX9 || \\\n-\t\tBR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW\n+\t\tBR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW || \\\n+\t\tBR2_PACKAGE_FIRMWARE_ELE_IMX\n \thelp\n \t  Some i.MX8 platforms (such as i.MX8 M, i.MX 8M Mini, i.MX 8M\n \t  Nano) encapsulate NXP specific firmware (DDR, HDMI) inside\ndiff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk\nindex 6ddbb9e438..9061e49570 100644\n--- a/boot/uboot/uboot.mk\n+++ b/boot/uboot/uboot.mk\n@@ -230,6 +230,11 @@ UBOOT_IMX_FW_FILES = \\\n \t$(if $(BR2_PACKAGE_FIRMWARE_IMX_DDR4),ddr4*.bin) \\\n \t$(if $(BR2_PACKAGE_FIRMWARE_IMX_DDR3),ddr3*.bin)\n \n+ifeq ($(BR2_PACKAGE_FIRMWARE_ELE_IMX),y)\n+UBOOT_DEPENDENCIES += firmware-ele-imx\n+UBOOT_IMX_FW_FILES += *-ahab-container.img\n+endif\n+\n define UBOOT_COPY_IMX_FW_FILES\n \t$(foreach fw,$(UBOOT_IMX_FW_FILES),\\\n \t\tcp $(BINARIES_DIR)/$(fw) $(@D)/\n",
    "prefixes": [
        "2/2"
    ]
}