Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2218656/?format=api
{ "id": 2218656, "url": "http://patchwork.ozlabs.org/api/patches/2218656/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260401153525.1541415-3-yan.wang@softathome.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260401153525.1541415-3-yan.wang@softathome.com>", "list_archive_url": null, "date": "2026-04-01T15:35:25", "name": "[3/3] binman: etype: collection: Set build_done on the referenced entries", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "75951b908a64589e1dcffd3ec08bf59b907b1943", "submitter": { "id": 90652, "url": "http://patchwork.ozlabs.org/api/people/90652/?format=api", "name": "yan wang", "email": "yan.wang@softathome.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260401153525.1541415-3-yan.wang@softathome.com/mbox/", "series": [ { "id": 498351, "url": "http://patchwork.ozlabs.org/api/series/498351/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=498351", "date": "2026-04-01T15:35:23", "name": "[1/3] tools: binman: Test signing an encrypted FIT with a preload header", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498351/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2218656/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2218656/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "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=softathome1.onmicrosoft.com header.i=@softathome1.onmicrosoft.com\n header.a=rsa-sha256 header.s=selector1-softathome1-onmicrosoft-com\n header.b=M++MspFR;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=softathome.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=softathome1.onmicrosoft.com header.i=@softathome1.onmicrosoft.com\n header.b=\"M++MspFR\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=softathome.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=yan.wang@softathome.com" ], "Received": [ "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fm8G85mHhz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 02:36:00 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id D394684073;\n\tWed, 1 Apr 2026 17:35:48 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 0F56384099; Wed, 1 Apr 2026 17:35:47 +0200 (CEST)", "from MRZP264CU002.outbound.protection.outlook.com\n (mail-francesouthazlp170100001.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c207::1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 2006180517\n for <u-boot+nodisclaimer@lists.denx.de>;\n Wed, 1 Apr 2026 17:35:45 +0200 (CEST)", "from PA7P264CA0234.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:372::15)\n by MR0P264MB5562.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:49::20) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.18; Wed, 1 Apr\n 2026 15:35:41 +0000", "from PA3PEPF000089BB.FRAP264.PROD.OUTLOOK.COM\n (2603:10a6:102:372:cafe::30) by PA7P264CA0234.outlook.office365.com\n (2603:10a6:102:372::15) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9745.30 via Frontend Transport; Wed,\n 1 Apr 2026 15:35:34 +0000", "from proxy.softathome.com (149.6.166.170) by\n PA3PEPF000089BB.mail.protection.outlook.com (10.167.242.23) with Microsoft\n SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.17\n via Frontend Transport; Wed, 1 Apr 2026 15:35:41 +0000", "from sah1lpt719.softathome.com (unknown [192.168.72.213])\n by proxy.softathome.com (Postfix) with ESMTPSA id 7C2F01FFE9;\n Wed, 1 Apr 2026 17:35:41 +0200 (CEST)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,\n SUSPICIOUS_RECIPS autolearn=no autolearn_force=no version=3.4.2", "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=hsy+uI1eRcH4UPDc8YaLKVXbp2ws1q6Vbzper3nX/3KQp4ewfdnZzsookyu3EHtZkpzM6n17/qAExREsslXtLseR8bKq3l5zhK6dtJxu8soyJCPdiYz7JDv/VMw1/kCAAwKLyMTtTWCAhoHmeQ1JCOllsiazBOUtAqfPxR0wu23JNlZ3X4grxh/Y5Ez4tABYc6EwRnPODSk5bLFWOfnt3b6bKEiu8xrIvlfcQhlgH6dD2+O/txI9i1boDbMIjTPW7m6+8S6V00ss3WX+ttBG3IXRSBDSTimHArxJYHSr2rFPIAvR9X22RBU2xkt9UZu1vMvAzbyUN6seBlfYtwTCvw==", "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=iLCqgTlCEHI1/EoQ5b9n4H1odYvME1M1vF6FDuzdeFQ=;\n b=qswxFtb5jwoYrifU7Z7ZvwyE3kGqommIwDY+Rd2pHsx1EGUihYrbaLmoASsZwl01QFxBl9L88ijcGaFA8GwPCcMkuIw2KAEPoxjfPi29H2ehoLrWZB2uI/F2Zg0ltbAfbO7+cMF/op2u8m+WW2GWH7sU5/2nzUe/zSd0dNfgQH29cJZ1mKVrx/IvuCMYDATQr9C49MjWYe+eKXvjvRjGvrZgRdcUeODf2eNoSzzieqhmATi3CoS+0AXhEFSCjwFzBvcT+/jinyVWIdIgubA3+QxPeGXdcdym5kZMtjGd6pAMwQfysmg8T9I52em0h4jjmRCz0T0OrduCgDcPP27NYg==", "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 149.6.166.170) smtp.rcpttodomain=chromium.org smtp.mailfrom=softathome.com;\n dmarc=bestguesspass action=none header.from=softathome.com; dkim=none\n (message not signed); arc=none (0)", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=softathome1.onmicrosoft.com; s=selector1-softathome1-onmicrosoft-com;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=iLCqgTlCEHI1/EoQ5b9n4H1odYvME1M1vF6FDuzdeFQ=;\n b=M++MspFR9zBzApgJjeMMxKkT5NHBYMCZISqIOhBYCN0U4/uNIagHPSXL4C4j4PHfW2UaBlX7B+os8e+f4ZhBwpQ1L1QuKjLOvt2LiK37AebNFvlX70wWr8ZRip6vzsU4ussRMbZkytuOXwVGoJrFaqBou8KK4cKlfrxfZXdQZzPfefOI+SZYAouj57xRLUFtOvHmVwnG1fOKGsQdPTlFzqFv/I1hewg+l8Zr8+YKfMQa2p4mRrN+DUuCe556SWC38SyfcOKv9RY3nq4C7IBReldoEsiKudAf5qfVz1i8j8q4Xs/nAX21CiEp6HQ3JzGPKmQULLXOy02vu97yniEc/A==", "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 149.6.166.170)\n smtp.mailfrom=softathome.com; dkim=none (message not signed)\n header.d=none;dmarc=bestguesspass action=none header.from=softathome.com;", "Received-SPF": "Pass (protection.outlook.com: domain of softathome.com\n designates 149.6.166.170 as permitted sender)\n receiver=protection.outlook.com; client-ip=149.6.166.170;\n helo=proxy.softathome.com; pr=C", "From": "yan wang <yan.wang@softathome.com>", "To": "trini+nodisclaimer@konsulko.com, sjg+nodisclaimer@chromium.org,\n alpernebiyasak+nodisclaimer@gmail.com", "Cc": "philippe.reynes+nodisclaimer@softathome.com,\n paul.henrys_ext+nodisclaimer@softathome.com,\n yan.wang+nodisclaimer@softathome.com, u-boot+nodisclaimer@lists.denx.de,\n yan wang <yan.wang@softathome.com>", "Subject": "[PATCH 3/3] binman: etype: collection: Set build_done on the\n referenced entries", "Date": "Wed, 1 Apr 2026 17:35:25 +0200", "Message-Id": "<20260401153525.1541415-3-yan.wang@softathome.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20260401153525.1541415-1-yan.wang@softathome.com>", "References": "<20260401153525.1541415-1-yan.wang@softathome.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-EOPAttributedMessage": "0", "X-MS-PublicTrafficType": "Email", "X-MS-TrafficTypeDiagnostic": "PA3PEPF000089BB:EE_|MR0P264MB5562:EE_", "Content-Type": "text/plain", "X-MS-Office365-Filtering-Correlation-Id": "c27d4253-fc3b-421f-2444-08de9004552f", "X-MS-Exchange-SenderADCheck": "1", "X-MS-Exchange-AntiSpam-Relay": "0", "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|1800799024|376014|36860700016|82310400026|22082099003|18002099003|56012099003;", "X-Microsoft-Antispam-Message-Info": "\n xW0ic3g2dsvBvwdDBvJuAPGueUw+1iL1ryFVXJ4Zc9stOgaJP4XccqlIwEjnoqqIjZHay1GiFT+O9Y6tAaMl+nBK4UzTgWr/V7iYvmMMnQKh6hrJRaxAQo8UTJtwo/PFsdu7TDhRJkEXcHe29yLcXX+cAia0nqxyztwX9TF6G1ty1zKucF9+vSk3fYdFKEW9KiDJPVK67g6ONSFBj43qgvfX7RxCx+Wvm4qRTBh4irYXrLpqrfgQqkEE70JyRwSZHBg0L1Ae4+seTYdO4Z8by0WYDr/e0PFfAzpUfllzzITEzLrRQ0ulYnDIkG3v2biq3F11zrwzxbDbhXqPSyZdU63DtpA6anoHHt4HVuN9wXhS7AGcq9wKWk9uw0J4X7i4qAsB10CWyYlYae/Yex8RLQuUvH3V8J3wGCJ90HIs8ocEcSwusKkaDlutgm6zi0qzccGACnYz+GZyzinyUlOmvnuh7QbZsxz7so8BSvLaH2XbbsOoXnLJfTr6WZQfTtSU9R2YHtJaCCnk8bhykA1os9l4VctZkgNNaj5UACmiyAZbEuoth5T5EjiqZe6brlbqX3jdR+GKj7HwZ4lrFQLdn1aOXox+IfmBGTeu8LuGqTdP+gFVVvh7K7bpJpn3PdL9cpJMxYPIO4b9VJwiU4+krg5xPQL9yfhD0jp20gHgNmucVjmWnYOmI2B6yTsKpHzYWnWAtEgG1ekev0TY3PoLMlpt5/AfVr+YzCooIqg6f+DOn24RndACNcQTcsVFGLhtvhSIl3PGMwHdtPmZkAldpg==", "X-Forefront-Antispam-Report": "CIP:149.6.166.170; CTRY:FR; LANG:en; SCL:1; SRV:;\n IPV:CAL; SFV:NSPM; H:proxy.softathome.com; PTR:InfoDomainNonexistent;\n CAT:NONE;\n SFS:(13230040)(1800799024)(376014)(36860700016)(82310400026)(22082099003)(18002099003)(56012099003);\n DIR:OUT; SFP:1101;", "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1", "X-MS-Exchange-AntiSpam-MessageData-0": "\n xsXuPSYhB+4Mk1o3VhfDnoSRE4z2tTc7qzBpoAqnHuByFTYC6dx3TWFZQHkVSSW14hBXdCJxyT2w7aLWntPj9EeZsg91NuMwLeFKuTdyamOkCswJmvqWlgCdHXPJ/+ygZnrKKHKsJdWe0zFXQaRrDIYljDhhOlHbvHJDEY3Yh2dmQsFUXYW+IDQpP75KjNU9IGXU1alNLjIm5bStB9GhkeakvCy/u70SLu0EqTobZzEN3UPeNVJSf/updKo5KwhVQg94pTV0tmf4mvka02tOq5MGDN0AJAeElKxZL0swH6uyT7qsiJHNV5+NgrRK/zZ8MNPlztOarJuS0HbJ4UjNsEx982KCECDv5vTlrJQcRdsqpu0zQ1L1Xvjsr92SN+kFGhzR96bzm9rQ2Jm4lgQIaLEDhkVDgwJcSCAk5KCeP9pqPXoE1l7l8K4F9AYnD1yD", "X-OriginatorOrg": "softathome.com", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "01 Apr 2026 15:35:41.6125 (UTC)", "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n c27d4253-fc3b-421f-2444-08de9004552f", "X-MS-Exchange-CrossTenant-Id": "aa10e044-e405-4c10-8353-36b4d0cce511", "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=aa10e044-e405-4c10-8353-36b4d0cce511; Ip=[149.6.166.170];\n Helo=[proxy.softathome.com]", "X-MS-Exchange-CrossTenant-AuthSource": "PA3PEPF000089BB.FRAP264.PROD.OUTLOOK.COM", "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous", "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "MR0P264MB5562", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "The collection etype uses phandles in the 'content' property to\nreference other entries. Resolve each phandle to its Entry and mark\nit with build_done to avoid rebuilding the same entry data multiple\ntimes.\n\nThis is important for certain cases where rebuilding may change\nthe data content, e.g. due to timestamp or random IVs.\n\nSigned-off-by: yan wang <yan.wang@softathome.com>\n---\n tools/binman/etype/collection.py | 8 ++++++++\n 1 file changed, 8 insertions(+)", "diff": "diff --git a/tools/binman/etype/collection.py b/tools/binman/etype/collection.py\nindex c532aafe3e7..20e2640026f 100644\n--- a/tools/binman/etype/collection.py\n+++ b/tools/binman/etype/collection.py\n@@ -51,6 +51,14 @@ class Entry_collection(Entry):\n self.Info('Contents not available yet')\n # Data not available yet\n return None\n+\n+ # Mark referenced entries as build_done to avoid rebuilding\n+ node = self.section._node.GetFdt().LookupPhandle(entry_phandle)\n+ if node:\n+ entry = self.section.FindEntryByNode(node)\n+ if entry:\n+ entry.build_done = True\n+\n data += entry_data\n \n self.Info('Returning contents size %x' % len(data))\n", "prefixes": [ "3/3" ] }