From mboxrd@z Thu Jan 1 00:00:00 1970 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 2E483C433EF for ; Wed, 22 Jun 2022 18:18:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 14ADA83FE4; Wed, 22 Jun 2022 20:18:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="N82lNpq1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4F397805F4; Wed, 22 Jun 2022 20:18:19 +0200 (CEST) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (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 D88DA805F4 for ; Wed, 22 Jun 2022 20:18:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=alpernebiyasak@gmail.com Received: by mail-ej1-x62b.google.com with SMTP id lw20so13671774ejb.4 for ; Wed, 22 Jun 2022 11:18:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:from:subject:to:cc :references:content-language:in-reply-to:content-transfer-encoding; bh=4t5gA3soDSRjHACiJL5hyXSfJ61piEjLAf/MN61sSaE=; b=N82lNpq1mdQC3t84EZDNSTBzl9MgXKOJQazfXEblZvXhU3BRlUmD4Hqum6rhvC7OaD 72o9v8djX9gBIUv9nHpOP+fsb3h/IJovAQnpONEwPq1EeJrgX/aMWCtG4flPPRxspvUg VLlNrjEDxD5FEXE1nTn1N/kXVkbgZ4c+VQmnDbDWxqZpAW18vjv6l1COiOWPYHsQDpyF 1VFbkU/UzS3suVXGr70SFi9e8WazZB+WgE5yhZwhfb/cvzInbk27y0brtruY00ef5W3g NnZIGOtAJDudcZseUfz+kQmZCk39/nVmt09uZQkwQSdgLS+JPPQ0C6QJ+FqXsm06QAS7 b49A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:to:cc:references:content-language:in-reply-to :content-transfer-encoding; bh=4t5gA3soDSRjHACiJL5hyXSfJ61piEjLAf/MN61sSaE=; b=7wReVaAe1DooQ6Ctq14OV5Xhc3lbqRPxqb9QFgV1n2We1vB4/mubr7Rxogmzla+qxP nZNeS7WqG3OTHkLMQwAgovQk8Gah7EdGwRcR1S2+UNfeUaC8Wx6lnMCzZG+jYijThDxo 8q8uYHQRCY1PxYqe/kigppXmW8L8UExeG6Vwyn9HBQMrb4mgxhu1485ib3j+8ZtZlnHI fgY3zEWFfz2/T7djeKsezqKYmW3PaoYQxgDuHc47J4qvk293P9KRZANADJbpp4j1MghO LVozNDysYTlhnIjX3bSB2/PckoCfWsFN78RBfxTGBBWSQArDZ6nBzsuECdoDRhdguxDJ iX3w== X-Gm-Message-State: AJIora8QZXM84uSvGh9Ra43yfPFgN9b1K/BUu7qhOHZO7Vl/0fOuTt1A qZ1GW2WN5ehWzP+GfpkAlTI= X-Google-Smtp-Source: AGRyM1tFQG9c9EwXJj7YYYZXyk2wQWXa9l9uEpGjKLvZZO9fTWNjdMBfPpvpSFfZ/kPGsiNsezE2lQ== X-Received: by 2002:a17:906:7a12:b0:711:f686:a84d with SMTP id d18-20020a1709067a1200b00711f686a84dmr4457131ejo.41.1655921896320; Wed, 22 Jun 2022 11:18:16 -0700 (PDT) Received: from [192.168.0.74] ([178.233.178.185]) by smtp.gmail.com with ESMTPSA id fd18-20020a056402389200b0043570d96d25sm10544155edb.95.2022.06.22.11.18.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Jun 2022 11:18:15 -0700 (PDT) Message-ID: Date: Wed, 22 Jun 2022 21:16:25 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 From: Alper Nebi Yasak Subject: Re: [PATCH v2 1/2] ARM: imx: imx8mn-evk: generate a single bootable flash.bin To: Heiko Thiery Cc: Ying-Chun Liu , Peng Fan , Fabio Estevam , Marek Vasut , Marcel Ziswiler , Tim Harvey , Sean Anderson , =?UTF-8?Q?Thomas_Sch=c3=a4fer?= , Stefano Babic , u-boot@lists.denx.de References: <20220609204926.26580-1-heiko.thiery@gmail.com> Content-Language: en-US In-Reply-To: <20220609204926.26580-1-heiko.thiery@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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.6 at phobos.denx.de X-Virus-Status: Clean On 09/06/2022 23:49, Heiko Thiery wrote: > To have a flash.bin file that also contains the U-Boot and TF-A/ATF > create this like already done for other imx8 boards. > > Signed-off-by: Heiko Thiery > Reviewed-by: Fabio Estevam > Reviewed-by: Peng Fan > --- > v2: sync with current master and fix merge conflict > > arch/arm/dts/imx8mn-evk-u-boot.dtsi | 19 ++++++++++++++++++- > 1 file changed, 18 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/dts/imx8mn-evk-u-boot.dtsi b/arch/arm/dts/imx8mn-evk-u-boot.dtsi > index 3db46d4cbc..d1427941eb 100644 > --- a/arch/arm/dts/imx8mn-evk-u-boot.dtsi > +++ b/arch/arm/dts/imx8mn-evk-u-boot.dtsi > @@ -58,7 +58,9 @@ > }; > > > - flash { > + spl { > + filename = "spl.bin"; > + > mkimage { > args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; > This change got applied in the meantime via another patch [1]. [1] imx8mn_evk: Add the missing spl.bin entry https://lore.kernel.org/u-boot/20220503190304.413968-1-festevam@gmail.com/ > @@ -125,4 +127,19 @@ > }; > }; > }; > + > + imx-boot { > + filename = "flash.bin"; > + pad-byte = <0x00>; > + > + spl: blob-ext@1 { > + offset = <0x0>; > + filename = "spl.bin"; > + }; > + > + uboot: blob-ext@2 { > + offset = <0x58000>; > + filename = "u-boot.itb"; > + }; > + }; > }; This is already inherited from an #included dtsi, so not strictly necessary. I think it would be clearer to include this here as well, but since you're removing it in the next patch anyway you can drop this patch entirely.