From patchwork Sat Aug 12 05:57:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 713189 Delivered-To: patch@linaro.org Received: by 2002:a5d:4012:0:b0:317:ecd7:513f with SMTP id n18csp240633wrp; Fri, 11 Aug 2023 22:59:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFCMfK31bcHwFTJM+0LDRXKGqed5my17+QS5Jl0xRP4npO10N+yf22ZK9Ll/OmbyB7kTwQI X-Received: by 2002:adf:ed8f:0:b0:314:327:2edb with SMTP id c15-20020adfed8f000000b0031403272edbmr2804656wro.0.1691819942332; Fri, 11 Aug 2023 22:59:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691819942; cv=none; d=google.com; s=arc-20160816; b=GYJtfRm3eX+92DMu3RRqgeYHtAsdq864YodBpiocGO7rGmamGP6IRHFrTbjP6Re2wv QFX2Gxbm6tsKuy+hBJVq4OvfWEYIMvpy8PXmoOvZO0MEiBPH30YrI/09QDxNoZ9/SYfI 9C+zm04+9xHr9X6c8ehXU/K8iKPbueS8YP/z6o27LBHodL+BPTv+SywXQwB7mNYuyzB7 1Epgxbun26nt58pOmJ52dn1NJwP4CxBT29+Zvhpw9DbKspYQ1g0gQ4565uLIzSEEhXtT vxyDsYI9Mdnx6yM71B/SEEiuZX756AdTzFXxqY7HSQ4KVZXly1krYJ4lmJZcE+6ahY+p WUOA== 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=FsZtQEXSC3vSqQfl1YKQfL2M3C5UkE0DPcSTLj+E3G0=; fh=pvWoYJ8DnC9IyTD46q2s71hlWpPSBdE/YYp0/eyIYcc=; b=X731MBYcDrtpHVsPfF71D32GDp0xFpyheNNfkynsbkOmWeWROH39MhsfRAYdZFL9vb 6uyWNLJAScHZszLyfoG/f9ahfCcL3j/4ewSwKaqr7RiMrfwXn5K7g/3oKCzPjiHjPJfK G8fKYCeuUXEL05jt09V/IRQPdDVSvkTqHdjX8pitGFP8itpmYPOvwt5uaULu7TjlO7Mg myKU6lu8eBDuWiNT+eh3+SYz0Pa1PW/+5TU/ey/WuNFKuMVtDC9r2EYlgnuz0D/HC+8o n6eXBbYjbc86DDcHMq14mNs2bO2YWtM6dnn3wEojp8E44Otfsob9xvpWK/FPAAbt2pzA c6+w== 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 s1-20020adfdb01000000b00317e2c85e03si2878089wri.394.2023.08.11.22.59.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 22:59:02 -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 110FF86954; Sat, 12 Aug 2023 07:58:11 +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 8E87F86986; Sat, 12 Aug 2023 07:58:09 +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 A57388694B for ; Sat, 12 Aug 2023 07:58:07 +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 278811042; Fri, 11 Aug 2023 22:58:49 -0700 (PDT) Received: from a076522.blr.arm.com (unknown [10.162.46.7]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 601B43F64C; Fri, 11 Aug 2023 22:58:04 -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 v9 07/10] sandbox: binman: Add support for generating multiple images Date: Sat, 12 Aug 2023 11:27:22 +0530 Message-Id: <20230812055725.252424-8-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230812055725.252424-1-sughosh.ganu@linaro.org> References: <20230812055725.252424-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 V8: * New patch based on suggestions from Simon Glass. * Move the 'multiple-images' property to top level dts files. * Get sandbox_vpl's binman node to generate an image, with the above change. 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 {