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 B2832C433EF for ; Thu, 9 Jun 2022 20:50:04 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 552CB8425A; Thu, 9 Jun 2022 22:50:01 +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="g58YbaAL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B062E83E80; Thu, 9 Jun 2022 22:49:59 +0200 (CEST) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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 724668425A for ; Thu, 9 Jun 2022 22:49:57 +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=heiko.thiery@gmail.com Received: by mail-ej1-x629.google.com with SMTP id me5so49249076ejb.2 for ; Thu, 09 Jun 2022 13:49:57 -0700 (PDT) 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=4jeD/iZfddQ94fwyfooOSXG9forPnAIPizI5FIxH2sE=; b=g58YbaALgMJV0jnaoH0tFfwxwVIfS6hAk2z557DwOmQOkttdCMqQGXaGSIX8Il+NdG hzrljWH13FuYjhtw1lYZ1p5ySu84jL8rVF7z/uCpnk0ZDWgO4BHCkrP11tZibhKj+MH9 Ok+RvS+r3M2DyJvsdEVkFRoGYAZzJWwnJLAWWIYNSx/0fbq1ZHVGdFa6Xt6TYOUJ3U1H eJhv0AMKPOXl7zlMhPzNKe8EZljXGrNlXeJdIdYsBCJMDjgl8jN35ImTqWEmyUflHhWI B6lLfrQc5Nn6pVTcaoiHDfL9Iitu0WAhccyuKT+XubUEo/sTIyrmNwtaPckFKnOsgCw9 0Iig== 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=4jeD/iZfddQ94fwyfooOSXG9forPnAIPizI5FIxH2sE=; b=mftR6Tm92KzzkWZ+hSjK4g6HOOu849gyS+raceuEE8+m0oMHPPZrBP1wvEbk+Xgmqy DN3BV+fqwbixZp5TW2B3rpQaqdA3OZi9Flh1NOEN/A6/8xzvUs0/4cRiIRc8+lvdW5h1 sCpw7UwyMNQD+tZgajXYF0syhqKlKndW2mDFlOF/L05tMtL83+8PlDrKio+AOusf7PL2 1K7C7QU4oVtAasJ27GNjeNwhLqMbaUJ5u/jC5MlVAAO3DsYBwKKa4cW2PM4UHYwUocMk yaHZGFh0TWxeAImoqHiYwa13Zp1cymIdGpr4BqcBC2VoXdw5WNBYzvQuyIT2lTIadbvA +kpA== X-Gm-Message-State: AOAM532LP43g53sMA5M2AdQ5AnwgU8EJyFxntW0EghCHYlTDzxBVmDYM g2vXy0o8TmGAxG9HdsYnkCER5cc3JPc= X-Google-Smtp-Source: ABdhPJyCcoR+c2Ih8bbdbBBJaHgRIj5CLhoXVRhtbgg16dC4QWXSCUv/dfvcpwxdo+L+rMoEXi6YkA== X-Received: by 2002:a17:907:1c01:b0:6f4:2692:e23 with SMTP id nc1-20020a1709071c0100b006f426920e23mr37660930ejc.243.1654807796807; Thu, 09 Jun 2022 13:49:56 -0700 (PDT) Received: from t450s.fritz.box (ip4d15a215.dynamic.kabel-deutschland.de. [77.21.162.21]) by smtp.gmail.com with ESMTPSA id m6-20020a056402430600b004319b12371asm5039462edc.47.2022.06.09.13.49.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 13:49:56 -0700 (PDT) From: Heiko Thiery To: u-boot@lists.denx.de Cc: Ying-Chun Liu , Peng Fan , Fabio Estevam , Heiko Thiery , Marek Vasut , Marcel Ziswiler , Tim Harvey , Sean Anderson , =?UTF-8?q?Thomas=20Sch=C3=A4fer?= , Stefano Babic Subject: [PATCH v2 1/2] ARM: imx: imx8mn-evk: generate a single bootable flash.bin Date: Thu, 9 Jun 2022 22:49:26 +0200 Message-Id: <20220609204926.26580-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 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 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"; @@ -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.20.1