Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 17AA4FD9E25 for ; Thu, 26 Feb 2026 23:49:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 10C8583F37; Fri, 27 Feb 2026 00:49:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="TkZ9km34"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DABEA83F32; Fri, 27 Feb 2026 00:48:57 +0100 (CET) Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D7D2F83F2A for ; Fri, 27 Feb 2026 00:48:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-qv1-xf33.google.com with SMTP id 6a1803df08f44-896ff127650so22901306d6.3 for ; Thu, 26 Feb 2026 15:48:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1772149731; x=1772754531; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BsxQAZl91RxceYMs0mRreRq4k0ispHkMs3zI2XKY51E=; b=TkZ9km34Q2ew+hTcpvpUdd47hWdWYzH0SKOgo6kOX08zD9DMFuCG7LnPTYMqlDr/es GySUVE6Oo4UIoKtpX4707PxrFHG2z5cDASSbvu5aKWNwPEUcMJe+oiFOtJ8WGsVjwZgu FwT2wUWBVCwSj7NpMrQeLqmRkrYmacEyZZd6U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772149731; x=1772754531; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=BsxQAZl91RxceYMs0mRreRq4k0ispHkMs3zI2XKY51E=; b=owTp34CGWLpgC+DsVhClh7qeOWIqVx3+eYPFf4CLPjZni+96CS9EKJDOhPjqSFoTub sjiPZH/yTtJPatX4BK3kwnhF39GtMR9bHODsAnVCmDGlOjoopwt9F8logK3/T7EbZUaR Y4BZ2sNcUR8jGOYg28NwWqQIJ17MWr+GbiXyHr3WuQzGYkYaAEioaugU7EHfiWCKjqmW 8flkTrUrwR0suWtjU3SQ77euuJFLwt13bO3cNUT0FELj1Q1QpLvdVmDrUNRcJU7ggJdF KunuvIv4EmeFr09AP2RLxqX8544U8KYKZveRy0QdfGi9jW2jQe/2FXTuOJq9zh6bAtzK ms2Q== X-Gm-Message-State: AOJu0YwFRrKDChRaY+mN+aRcLW0NN3Ua14AHzwR9UD/ydhBMEPN9bsvu BB6206xfwLa/Ja32yHLsgKg0F872Q+ETDxxQ3/ypun08v0DrOuWcKYJLx2N31vund6kkB3k/txK AQA4= X-Gm-Gg: ATEYQzwf5/wL1LhVGhODz14OeH+6EMJhPCAjXwt3ef1F6/jTLRzhYJb6wXBydHSOA/U vIdQiJvqaY9cblS9ZqEKbPIQT9bR42qIr+A6Q/7cbhZ3eNgRdTdpvyJN/pvjVqlteARSITueVC3 RZ3cZlG9ihblN5lrx0QIEFlJ2p4QyeKdS/VQxmOtJrRxQtDaJmRi7ARYdtPSWTQ+VAM+zrMN0Zh woNmOpgyE22WFYTicBICSfWzLWSVCjKr3bTD9oNoqQYajqia2s88UwCSU5Ix5+1MKo/I/eLlB46 gu4OZYLZf3dkeras26EAUqEqx+9/a471R95642iXFcI/P8RdumAya8zd0Gk+1LCDt1owTLYpHxV pf0xBmI4bVmzsrKwBCjA9RYAZDuC2MJNAXw5GHBcwiJjVlH4r+znlt42eFyo6gppGk1RIeP76fD Tp4/G7aJMrAJ0k+lAKBw== X-Received: by 2002:a05:6214:e86:b0:897:2b23:3a7d with SMTP id 6a1803df08f44-899d1d6c84amr14991796d6.2.1772149731086; Thu, 26 Feb 2026 15:48:51 -0800 (PST) Received: from chromium.org ([73.34.74.121]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8cbbf68a0fbsm322024385a.22.2026.02.26.15.48.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Feb 2026 15:48:50 -0800 (PST) From: Simon Glass To: u-boot@lists.denx.de Cc: Tom Rini , Quentin Schulz , Simon Glass , Alper Nebi Yasak , Bryan Brattlof , Moteen Shah , Neha Malcom Francis , Peng Fan , Philippe Reynes , Simon Glass , Stefan Herbrechtsmeier , Yannic Moog Subject: [RFC PATCH 05/16] binman: test: Move FDT/fdtmap test files to test/fdt/ Date: Thu, 26 Feb 2026 16:47:45 -0700 Message-ID: <20260226234802.345968-6-sjg@chromium.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260226234802.345968-1-sjg@chromium.org> References: <20260226234802.345968-1-sjg@chromium.org> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Simon Glass Move about 30 test files for FDT update, fdtmap, DTB compression, alternates, and bootph into an fdt/ subdirectory. Drop the numeric prefixes and the redundant fdt_ filename prefix, and update all references. Signed-off-by: Simon Glass --- tools/binman/ftest.py | 104 +++++++++--------- .../alternates_fdt.dts} | 0 .../alternates_fdtgrep.dts} | 0 .../alternates_inval.dts} | 0 .../alternates_spl.dts} | 0 .../alternates_vpl.dts} | 0 .../bootph_prop.dts} | 0 .../compress_dtb.dts} | 0 .../compress_dtb_invalid.dts} | 0 .../compress_dtb_prepend_invalid.dts} | 0 .../compress_dtb_prepend_length.dts} | 0 .../compress_dtb_zstd.dts} | 0 .../decode_image.dts} | 0 .../decode_image_nohdr.dts} | 0 .../test/{115_fdtmap.dts => fdt/fdtmap.dts} | 0 .../fdtmap_alt_format.dts} | 0 .../fdtmap_hdr.dts} | 0 .../fdtmap_hdr_endbad.dts} | 0 .../fdtmap_hdr_middle.dts} | 0 .../fdtmap_hdr_missing.dts} | 0 .../fdtmap_hdr_nosize.dts} | 0 .../fdtmap_hdr_pos.dts} | 0 .../fdtmap_hdr_start.dts} | 0 .../fdtmap_hdr_startbad.dts} | 0 .../hdr_no_location.dts} | 0 .../test/{194_fdt_incl.dts => fdt/incl.dts} | 0 .../incl_tpl.dts} | 0 .../incl_vpl.dts} | 0 .../list_fdtmap.dts} | 0 .../no_alt_format.dts} | 0 .../{060_fdt_update.dts => fdt/update.dts} | 0 .../update_all.dts} | 0 .../update_all_repack.dts} | 0 .../update_bad.dts} | 0 34 files changed, 52 insertions(+), 52 deletions(-) rename tools/binman/test/{328_alternates_fdt.dts => fdt/alternates_fdt.dts} (100%) rename tools/binman/test/{329_alternates_fdtgrep.dts => fdt/alternates_fdtgrep.dts} (100%) rename tools/binman/test/{332_alternates_inval.dts => fdt/alternates_inval.dts} (100%) rename tools/binman/test/{331_alternates_spl.dts => fdt/alternates_spl.dts} (100%) rename tools/binman/test/{330_alternates_vpl.dts => fdt/alternates_vpl.dts} (100%) rename tools/binman/test/{347_bootph_prop.dts => fdt/bootph_prop.dts} (100%) rename tools/binman/test/{124_compress_dtb.dts => fdt/compress_dtb.dts} (100%) rename tools/binman/test/{250_compress_dtb_invalid.dts => fdt/compress_dtb_invalid.dts} (100%) rename tools/binman/test/{248_compress_dtb_prepend_invalid.dts => fdt/compress_dtb_prepend_invalid.dts} (100%) rename tools/binman/test/{249_compress_dtb_prepend_length.dts => fdt/compress_dtb_prepend_length.dts} (100%) rename tools/binman/test/{251_compress_dtb_zstd.dts => fdt/compress_dtb_zstd.dts} (100%) rename tools/binman/test/{128_decode_image.dts => fdt/decode_image.dts} (100%) rename tools/binman/test/{129_decode_image_nohdr.dts => fdt/decode_image_nohdr.dts} (100%) rename tools/binman/test/{115_fdtmap.dts => fdt/fdtmap.dts} (100%) rename tools/binman/test/{213_fdtmap_alt_format.dts => fdt/fdtmap_alt_format.dts} (100%) rename tools/binman/test/{116_fdtmap_hdr.dts => fdt/fdtmap_hdr.dts} (100%) rename tools/binman/test/{137_fdtmap_hdr_endbad.dts => fdt/fdtmap_hdr_endbad.dts} (100%) rename tools/binman/test/{135_fdtmap_hdr_middle.dts => fdt/fdtmap_hdr_middle.dts} (100%) rename tools/binman/test/{119_fdtmap_hdr_missing.dts => fdt/fdtmap_hdr_missing.dts} (100%) rename tools/binman/test/{138_fdtmap_hdr_nosize.dts => fdt/fdtmap_hdr_nosize.dts} (100%) rename tools/binman/test/{118_fdtmap_hdr_pos.dts => fdt/fdtmap_hdr_pos.dts} (100%) rename tools/binman/test/{117_fdtmap_hdr_start.dts => fdt/fdtmap_hdr_start.dts} (100%) rename tools/binman/test/{136_fdtmap_hdr_startbad.dts => fdt/fdtmap_hdr_startbad.dts} (100%) rename tools/binman/test/{120_hdr_no_location.dts => fdt/hdr_no_location.dts} (100%) rename tools/binman/test/{194_fdt_incl.dts => fdt/incl.dts} (100%) rename tools/binman/test/{195_fdt_incl_tpl.dts => fdt/incl_tpl.dts} (100%) rename tools/binman/test/{257_fdt_incl_vpl.dts => fdt/incl_vpl.dts} (100%) rename tools/binman/test/{130_list_fdtmap.dts => fdt/list_fdtmap.dts} (100%) rename tools/binman/test/{214_no_alt_format.dts => fdt/no_alt_format.dts} (100%) rename tools/binman/test/{060_fdt_update.dts => fdt/update.dts} (100%) rename tools/binman/test/{082_fdt_update_all.dts => fdt/update_all.dts} (100%) rename tools/binman/test/{134_fdt_update_all_repack.dts => fdt/update_all_repack.dts} (100%) rename tools/binman/test/{061_fdt_update_bad.dts => fdt/update_bad.dts} (100%) diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index 11b56277346..14d3538bc9e 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@ -1677,7 +1677,7 @@ class TestFunctional(unittest.TestCase): def testUpdateFdt(self): """Test that we can update the device tree with offset/size info""" - _, _, _, out_dtb_fname = self._DoReadFileDtb('060_fdt_update.dts', + _, _, _, out_dtb_fname = self._DoReadFileDtb('fdt/update.dts', update_dtb=True) dtb = fdt.Fdt(out_dtb_fname) dtb.Scan() @@ -1707,7 +1707,7 @@ class TestFunctional(unittest.TestCase): def testUpdateFdtBad(self): """Test that we detect when ProcessFdt never completes""" with self.assertRaises(ValueError) as e: - self._DoReadFileDtb('061_fdt_update_bad.dts', update_dtb=True) + self._DoReadFileDtb('fdt/update_bad.dts', update_dtb=True) self.assertIn('Could not complete processing of Fdt: remaining ' '[