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 18D62C433F5 for ; Thu, 24 Feb 2022 09:47:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3407983A86; Thu, 24 Feb 2022 10:47:00 +0100 (CET) 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="pUkq+ixL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 67A7683A81; Thu, 24 Feb 2022 10:46:58 +0100 (CET) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (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 5604683B6D for ; Thu, 24 Feb 2022 10:46:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heiko.thiery@gmail.com Received: by mail-ej1-x633.google.com with SMTP id gb39so3122272ejc.1 for ; Thu, 24 Feb 2022 01:46:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sHyKAGsGcA1wdqNPqQUBumpLvd2NhrM/6mwkFcGOo+w=; b=pUkq+ixLtY7UZ+8MVKlifCg596meHIsLGDdI4zak1VjtC2ZPS7/q/r8LXWfsM0UA6I He1Z0uaSohoE6Fy6Haq17vhP7fdQrKFP0o6zy9V79yL33Qj6Iae+Y4w02a1jUB4Mnbvi 0123vxow6aQ/ScAGbPNcpe5rQlVu6JpejUCl/845wHRdYXSiLIjEtqgfIVVmxLClztIc 2hR8wEMBgGZdSsAZJwHBr4Ay+zvmQHGEycg0ZJMvxZEbdrbTel4aLpLGo6y31qfpTXU1 Tq07tZ2xQBuiqV7r2tndPKEXmKKVhh9Yrr1OShgSbGx2dbZy4iSMVQ1kqHh9n6Cfc8Mh O00A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sHyKAGsGcA1wdqNPqQUBumpLvd2NhrM/6mwkFcGOo+w=; b=QRJqG7sItMWJRcuSotk6vcXHYvC/C4HPl+PE1n7WjfchQ6AfJFL5umfXBF9JptO0xk XC0wAcZAfe6U3XJvdM+rxRNGDkzKspYtwWXa4viy5hWTXaS4rmn2grPZb1N5QaXwTAdI L4+/U3sX9cyoTi3lMpfSczpX4qIyg/msPlrNsfNan1mdm8nltAi4dWrYrj5DUF38FzWd J6cVNPSmV9j5nYdfkuf8SKOh6nm1CqBEIdvThiWlcXC4YZ03IJDgiN8qdvhxPhuNLYba 1A2hHp4TZlAm+ezWEzbwphqeUSCl9MsQbq7lPpYTmCtJLkihQIsIez6W4CMIrCa3TwZ+ HBAQ== X-Gm-Message-State: AOAM530lftH4rI4vxY210AREg31HPfl9pDH2X/g+6PuLPunrWjwr8qQA D2kQ39zIW3MmC2p48pNaoW7NCsOf1SjpK7+W X-Google-Smtp-Source: ABdhPJzYLOiK/DuGIo+UVQekUC7GVZfJZapb7TXkZyraq5QqlZ6eKLza9gtlEhHlX3/1K82/iITvzQ== X-Received: by 2002:a17:906:39da:b0:6cf:7f09:a7bc with SMTP id i26-20020a17090639da00b006cf7f09a7bcmr1619343eje.457.1645696014453; Thu, 24 Feb 2022 01:46:54 -0800 (PST) Received: from hthiery.fritz.box ([2a02:810b:5a40:2a43:8e16:45ff:fe22:ad85]) by smtp.gmail.com with ESMTPSA id t3sm1076809ejd.83.2022.02.24.01.46.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 01:46:54 -0800 (PST) From: Heiko Thiery To: u-boot@lists.denx.de Cc: Stefano Babic , Michael Walle , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Marek Vasut , Heiko Thiery Subject: [PATCH 1/2] ARM: imx: imx8mn-evk: generate a single bootable flash.bin Date: Thu, 24 Feb 2022 10:46:32 +0100 Message-Id: <20220224094632.65583-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.30.2 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.5 at phobos.denx.de X-Virus-Status: Clean 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 --- 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"; @@ -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"; + }; + }; }; -- 2.30.2