Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2226518/?format=api
{ "id": 2226518, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2226518/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260422143112.1329478-13-raymondmaoca@gmail.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.1/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 }, "msgid": "<20260422143112.1329478-13-raymondmaoca@gmail.com>", "date": "2026-04-22T14:31:08", "name": "[12/16] riscv: binman: Always set default configuration in FIT image", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "60f55c00a7de4f79729e2bbb8946f11cec60178a", "submitter": { "id": 91989, "url": "http://patchwork.ozlabs.org/api/1.1/people/91989/?format=api", "name": "Raymond Mao", "email": "raymondmaoca@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260422143112.1329478-13-raymondmaoca@gmail.com/mbox/", "series": [ { "id": 501020, "url": "http://patchwork.ozlabs.org/api/1.1/series/501020/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501020", "date": "2026-04-22T14:30:56", "name": "Add PIN and SPI support for Spacemit K1", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501020/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2226518/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2226518/checks/", "tags": {}, "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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=G37vI3OP;\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=pass (p=none dis=none) header.from=gmail.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=gmail.com header.i=@gmail.com header.b=\"G37vI3OP\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=raymondmaoca@gmail.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 4g11tL2KMVz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 00:33:30 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id D937384383;\n\tWed, 22 Apr 2026 16:32:20 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 0E6DA84324; Wed, 22 Apr 2026 16:32:05 +0200 (CEST)", "from mail-qt1-x831.google.com (mail-qt1-x831.google.com\n [IPv6:2607:f8b0:4864:20::831])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id EAE0584353\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 16:32:02 +0200 (CEST)", "by mail-qt1-x831.google.com with SMTP id\n d75a77b69052e-50d87c138e1so57417121cf.1\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 07:32:02 -0700 (PDT)", "from ubuntu.localdomain (172-97-209-197.cpe.distributel.net.\n [172.97.209.197]) by smtp.gmail.com with ESMTPSA id\n d75a77b69052e-50e394903dfsm138772501cf.26.2026.04.22.07.32.00\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 22 Apr 2026 07:32:01 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,FREEMAIL_FROM,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no\n autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776868322; x=1777473122; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=DkfmryHwdGQ5l1KIWxsJNe7YCml+CLUslMHSJ5U5BSM=;\n b=G37vI3OPquBqJOla/Dc0zn26eSrQBdmF4fGRTxTXD7chRD5LN+4UILjN8d2MYySmSx\n 6hLv+z/iPDA1ibCFz3v/vL+t/0UAhM/nr+PR3od1m9xOkya15QyfkK+6UdeokA37GvMn\n kMLq6K3530DX12cRu2CTnTFMlJGhaaUuC+WwodbQe8ye/y26MM1T5AHYWIEV67aY5sg5\n /1nMTU5lpkXbSnWTYAnnfCKEEsgiqCrCZ1j+9LUVT89OnRP8IBwzgvs6jb6qVQGUEwA2\n wLvfgBISz2VOXTotaG+s+ECalyUTYY5YySJmwCNqB+SVy624/EICrT/+OrXR/10kmlKm\n 84Aw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776868322; x=1777473122;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=DkfmryHwdGQ5l1KIWxsJNe7YCml+CLUslMHSJ5U5BSM=;\n b=Ep6hT0Id2jswASgUWgLuGY4Uj+sDSiW5cOQpSSYjQBnSl1kXIb6INq/awckO8PnbS/\n uRy8vc9c6cEmcqu7c0u0A0BwvkeCeoQ+nxX4vTdZw/z8K8AC/M1izRXXa7BhoGd9k3LL\n EEsY86sUeCfZS538jlyZVTcVVop/Rrn8/38HJHBf7POd8nTh7lMFuP1b98KOkkXfD0MD\n wzuDeukl1F0EBvxMXL02J2sVFbv0TIYk6LBgBgVaBEX7zG56FeCnsWrZ7GwnKTCqy7TX\n sZRbbXtCbIuJdCKERv9PUzZ7yGEKADj76LjLwxVj9lYj1BeHW29t4yPgEYS4tRdbquZM\n LwXQ==", "X-Gm-Message-State": "AOJu0YyyFi6LqpuO1saM2VuBolb9+3fQoUprNL1TFO/OQHUDHxy5WJES\n 2gx5osVCpwar7hYRPNR2fR36Eqgc29pGt8bWBuG4LFoqLffIdbalGhLVypFGw3VqTSc=", "X-Gm-Gg": "AeBDiesnq/C8PhJ92R3FhjiCE5OEx8ZArQuTL69KB9ZmCtijVQiBeRcrNVgyPyLqgBM\n QaMF8qrasInyehHXvxodmrrRl/JTY8tGYrqInKhK4cjQ0M2Lja5YBhxDIuFVY2sSiVwTE3nQpCj\n JctJsz3GGY2+Bu4/4FQP/Ymbk6F1BQby+n623HpAsKnW+lmWAmRaauWLcWe0Z/8HzoJ69VvtQml\n eU484P3StE9QR01b8wZcefpgfq9HIBt9mdMSHQjfO8MK0CWbxm7yHRUSip9mNMz5K0tDMNUiqAV\n u236MP7yRzh8FfwhOEum3FZlm+omfCsRxmk1tii8z6VUTQza4n5wSgTCX9QEE4ucaCXmm5nILxn\n aCHD5Nkx4Zufs2WF+UVLfJJxzSKJmCfuKv1xLMAPmFcNYWsPgDFPa6A+QSUhqeyR48TmAXXFdbN\n 0fBmdzjkX3t/kBwdei9n4x53LNDpXYN99USGAuXDi/SwFi6KE8rUv7mKNLPO4XuugV2NUzyYHFL\n RA/tpjAIkUX5MEx68tcuQ==", "X-Received": "by 2002:ac8:7f90:0:b0:50d:5a11:1b5 with SMTP id\n d75a77b69052e-50e3694a5a4mr352088681cf.17.1776868321541;\n Wed, 22 Apr 2026 07:32:01 -0700 (PDT)", "From": "Raymond Mao <raymondmaoca@gmail.com>", "To": "u-boot@lists.denx.de", "Cc": "uboot@riscstar.com, u-boot-spacemit@groups.io, raymond.mao@riscstar.com,\n rick@andestech.com, ycliang@andestech.com, trini@konsulko.com,\n lukma@denx.de, hs@nabladev.com, jh80.chung@samsung.com, peng.fan@nxp.com,\n xypron.glpk@gmx.de, randolph@andestech.com, dlan@gentoo.org,\n junhui.liu@pigmoral.tech, neil.armstrong@linaro.org,\n quentin.schulz@cherry.de, samuel@sholland.org, raymondmaoca@gmail.com", "Subject": "[PATCH 12/16] riscv: binman: Always set default configuration in FIT\n image", "Date": "Wed, 22 Apr 2026 10:31:08 -0400", "Message-Id": "<20260422143112.1329478-13-raymondmaoca@gmail.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20260422143112.1329478-1-raymondmaoca@gmail.com>", "References": "<20260422143112.1329478-1-raymondmaoca@gmail.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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": "From: Raymond Mao <raymond.mao@riscstar.com>\n\nWhen CONFIG_MULTI_DTB_FIT is enabled, the FIT image contains multiple\ndevice tree configurations for different boards. The default\nconfiguration must be explicitly set to ensure the FIT framework\ntraverses all available configurations instead of falling back to\nCONFIG_DEFAULT_DEVICE_TREE.\n\nWithout this default property, fit_find_config_node() will use\nCONFIG_DEFAULT_DEVICE_TREE as the configuration name to match.\nThis prevents the SPL from correctly selecting the appropriate\nDTB based on runtime board detection (e.g., from EEPROM).\n\nRemove the conditional guard so that \"default = conf-1\" is always\npresent in the FIT image, regardless of CONFIG_MULTI_DTB_FIT.\n\nSigned-off-by: Raymond Mao <raymond.mao@riscstar.com>\n---\n arch/riscv/dts/binman.dtsi | 2 --\n 1 file changed, 2 deletions(-)", "diff": "diff --git a/arch/riscv/dts/binman.dtsi b/arch/riscv/dts/binman.dtsi\nindex b518560bb94..84c261c6849 100644\n--- a/arch/riscv/dts/binman.dtsi\n+++ b/arch/riscv/dts/binman.dtsi\n@@ -93,9 +93,7 @@\n \n \t\t\tconfigurations {\n \n-#ifndef CONFIG_MULTI_DTB_FIT\n \t\t\t\tdefault = \"conf-1\";\n-#endif\n \n #if !defined(CONFIG_OF_BOARD) || defined(CONFIG_MULTI_DTB_FIT)\n \t\t\t\t@conf-SEQ {\n", "prefixes": [ "12/16" ] }