From patchwork Sat Aug 12 15:30:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 713200 Delivered-To: patch@linaro.org Received: by 2002:a5d:4012:0:b0:317:ecd7:513f with SMTP id n18csp428613wrp; Sat, 12 Aug 2023 08:31:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGrCq+YWFv3cpxnlieEudYMQEfDM4O/0jGCUHGKI9TPKu9V4DNw1f91GkvCji7LPyJtywWv X-Received: by 2002:a05:600c:285:b0:3fe:374f:f7fd with SMTP id 5-20020a05600c028500b003fe374ff7fdmr4112751wmk.33.1691854317815; Sat, 12 Aug 2023 08:31:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691854317; cv=none; d=google.com; s=arc-20160816; b=PK6hrrIBvLxY2Do4lHkjy0qIwxFfDQB9fase7BGKayTQ17EzLVOOcN/09tHQSfoHIr b9bSBL8vLTJOwGNofBoA6KbjHy/vRnQ3Bsnxu0g60QWxk42LoYBXERkRTt2vISa/0/JR CF1Xp79t9JD+1HenNXFPGbCy2QvN9ZRDAVhS96/jEYlcUXp84JZgtFC74rjwwskUchdD Jg3+pg0jJySe11ejKpXETUar8AuLRgnGsIUqCS+0V6mtOl4fEm9ZoRcSyAVIq1Cdg82X zxmNBZf+3BBZfNuKaVrnmtyBLowIibxtaMbYciByArT8gEohdR63hk3D18m1c6wKtREq l+Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=ky0oz7Ziu99wVowcrsqJMiD7n2as7TFGExlecqxCxZA=; fh=pvWoYJ8DnC9IyTD46q2s71hlWpPSBdE/YYp0/eyIYcc=; b=w0nC7zaJfYsncGHqwKGYgebdDlZgx5p0IhTgUXki3y6rj+2ASjlyU2APCPg2vJlAGk ZprZQime3A4xga0x/khHvEuzbM23zhNfURzEooZP7Od6hgI3uXtJ5iME5uUmfqmfqKa4 +kmNZhCW9mMz84fD9wYcIw/VidICiYSSVdnwxUnMzJREhsqH3HP65SzpFzJ/cZGutpuR YWYa8Ybw3wgInkDZYXMr40Hnmi1rMoL1qr0kcxUUZEGaUa0uVVEkJMSnYUeN/3djlCeJ UL6NlNLFKgp8dL443qDpqnnF4tvUOWnrS8yerPr3XTS89pkRreYJ1XosfQPlDmnkYjjf FiKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id k4-20020a5d6284000000b00317913695cbsi3292094wru.14.2023.08.12.08.31.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Aug 2023 08:31:57 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 153F286958; Sat, 12 Aug 2023 17:31:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 46C5986958; Sat, 12 Aug 2023 17:31:07 +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=-1.2 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 60A968638E for ; Sat, 12 Aug 2023 17:31:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sughosh.ganu@linaro.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DA3931042; Sat, 12 Aug 2023 08:31:46 -0700 (PDT) Received: from a076522.blr.arm.com (a076522.blr.arm.com [10.162.46.7]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0F3A63F6C4; Sat, 12 Aug 2023 08:31:01 -0700 (PDT) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Simon Glass , Takahiro Akashi , Malte Schmidt , Michal Simek , Tom Rini , Sughosh Ganu Subject: [PATCH v10 07/10] sandbox: binman: Add support for generating multiple images Date: Sat, 12 Aug 2023 21:00:21 +0530 Message-Id: <20230812153024.334563-8-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230812153024.334563-1-sughosh.ganu@linaro.org> References: <20230812153024.334563-1-sughosh.ganu@linaro.org> MIME-Version: 1.0 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 Add support for all sandbox variants to support generating multiple images. This also requires tweaking the binman node of the sandbox_vpl variant to work with the multiple-images property. Signed-off-by: Sughosh Ganu Signed-off-by: Simon Glass Reviewed-by: Simon Glass --- Changes since V9: None arch/sandbox/dts/sandbox.dts | 1 + arch/sandbox/dts/sandbox_vpl.dtsi | 5 +++++ arch/sandbox/dts/test.dts | 1 + 3 files changed, 7 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 12d3eff5fa..1039b029f4 100644 --- a/arch/sandbox/dts/sandbox.dts +++ b/arch/sandbox/dts/sandbox.dts @@ -22,6 +22,7 @@ }; binman: binman { + multiple-images; }; memory { diff --git a/arch/sandbox/dts/sandbox_vpl.dtsi b/arch/sandbox/dts/sandbox_vpl.dtsi index c7dc00a8d2..83e7657d5d 100644 --- a/arch/sandbox/dts/sandbox_vpl.dtsi +++ b/arch/sandbox/dts/sandbox_vpl.dtsi @@ -4,6 +4,11 @@ */ &binman { + image: image { + }; +}; + +&image { u-boot-tpl-elf { no-expanded; }; diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index f351d5cb84..9b731a29cf 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -67,6 +67,7 @@ }; binman: binman { + multiple-images; }; config {