Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8070EC4338F for ; Wed, 25 Aug 2021 15:25:15 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 9BFC7610FC for ; Wed, 25 Aug 2021 15:25:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9BFC7610FC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6D87982C30; Wed, 25 Aug 2021 17:25:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="VTS9KDoY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BCFCF82EA1; Wed, 25 Aug 2021 17:25:08 +0200 (CEST) Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1E72C82DB6 for ; Wed, 25 Aug 2021 17:25:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=t.remmet@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1629905103; x=1632497103; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=AZo1/RH9Ld1gNTdb6kEuZw9zbgVfEwmSyhfIznR4Sns=; b=VTS9KDoYaskAIckw3n0GnlPCN+r3TnxyNPRvI3MSgQP6G4Kx8Pd2RD3Y76teJoZt vFfxAcDy7ZkKUrW+h0cJe0lGQB02Ar/3r4M5W1Rl89e1fu3Oe2l6ocmFRQQLlEN+ nGDChJ6tBBVHwCDe1ieXw/EBraUO/Tbpq/4Uhy2PXXo=; X-AuditID: c39127d2-777be70000001c5c-61-612660cf55b5 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id EF.C3.07260.FC066216; Wed, 25 Aug 2021 17:25:03 +0200 (CEST) Received: from augenblix2.phytec.de ([172.16.0.56]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021082517250361-1459747 ; Wed, 25 Aug 2021 17:25:03 +0200 From: Teresa Remmet To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Andrey Zhizhikin , Peter Bergin , Baruch Siach , Heiko Schocher Subject: [PATCH] arm: dts: imx8mp: Generate single bootable binary Date: Wed, 25 Aug 2021 17:25:03 +0200 Message-Id: <20210825152503.1069374-1-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 25.08.2021 17:25:03, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 25.08.2021 17:25:03 X-TNEFEvaluated: 1 Content-Transfer-Encoding: quoted-printable X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFLMWRmVeSWpSXmKPExsWyRoCBS/d8glqiwZODZhbPnr9jtVhx7Q2L xcOr/hY77txntvix6gurxeH9j1gs2k/5WLzd28luMeXxenYHTo/3b06yeMybdYLFY+esu+we Dw+9YPM4e2cHo8fGdzuYPOY23GIKYI/isklJzcksSy3St0vgyujpP89a8Eqk4tPdZewNjLMF uxg5OSQETCTOTtrIDGILCWxjlPjy3q2LkQvIvsAose36FbAEm4CGxNMVp5lAbBEBCYlf/VcZ QYqYBTYySfz7OQesSFjASWLllR9gRSwCqhJLfp0Es3kFLCWm7l7GArFNXmLmpe/sEHFBiZMz n0DFrzBKPNvpAWELSZxefBZsJrOAtsSyha+ZJzDyzULSMgtJagEj0ypGodzM5OzUosxsvYKM ypLUZL2U1E2MwPA9PFH90g7GvjkehxiZOBgPMUpwMCuJ8P5lUk4U4k1JrKxKLcqPLyrNSS0+ xCjNwaIkznu/hylRSCA9sSQ1OzW1ILUIJsvEwSnVwChj4Ky7XNvvpcZHkfWeb3Q2Xn1xjvHy 5/0+LzifMOWcu/ap5H/hhDXpBwuES+//ru14E66xm6124vKlPDWxxXvP/TXe3eq/+Etch+hG Loc0aZfWNYJflyV96Mp7r3wmw0ZAtfXX9v6YVWtiS6s3NM6KueDK+G2GmuUOrdWfm6qP2kUx 3lqz6aISS3FGoqEWc1FxIgCRHcrsTQIAAA== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean binman conversion made flashing flash.bin and u-boot.itb necessary. Update binman config to create a single flash.bin image again. This updates imx8mp=5Fevk and phyCORE-i.MX8MP as they share the same binman config. Updated also imx8mp=5Fevk documentation. Tested on phyCORE-i.MX8MP. Signed-off-by: Teresa Remmet --- arch/arm/dts/imx8mp-u-boot.dtsi | 17 ++++++++++++++++- .../imx8mp=5Fevk/imximage-8mp-lpddr4.cfg | 2 +- board/phytec/phycore=5Fimx8mp/imximage-8mp-sd.cfg | 2 +- doc/board/nxp/imx8mp=5Fevk.rst | 1 - 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/imx8mp-u-boot.dtsi b/arch/arm/dts/imx8mp-u-boot.d= tsi index a6ede2ed6e30..ace7b2051e7f 100644 --- a/arch/arm/dts/imx8mp-u-boot.dtsi +++ b/arch/arm/dts/imx8mp-u-boot.dtsi @@ -82,7 +82,7 @@ }; }; =20 - flash { + spl { mkimage { args =3D "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x920000"; =20 @@ -149,4 +149,19 @@ }; }; }; + + imx-boot { + filename =3D "flash.bin"; + pad-byte =3D <0x00>; + + spl: blob-ext@1 { + filename =3D "spl.bin"; + offset =3D <0x0>; + }; + + uboot: blob-ext@2 { + filename =3D "u-boot.itb"; + offset =3D <0x58000>; + }; + }; }; diff --git a/board/freescale/imx8mp=5Fevk/imximage-8mp-lpddr4.cfg b/board/f= reescale/imx8mp=5Fevk/imximage-8mp-lpddr4.cfg index b2920b4908ed..2be18de674ba 100644 --- a/board/freescale/imx8mp=5Fevk/imximage-8mp-lpddr4.cfg +++ b/board/freescale/imx8mp=5Fevk/imximage-8mp-lpddr4.cfg @@ -7,4 +7,4 @@ =20 ROM=5FVERSION v2 BOOT=5FFROM sd -LOADER mkimage.flash.mkimage 0x920000 +LOADER mkimage.spl.mkimage 0x920000 diff --git a/board/phytec/phycore=5Fimx8mp/imximage-8mp-sd.cfg b/board/phyt= ec/phycore=5Fimx8mp/imximage-8mp-sd.cfg index b2920b4908ed..2be18de674ba 100644 --- a/board/phytec/phycore=5Fimx8mp/imximage-8mp-sd.cfg +++ b/board/phytec/phycore=5Fimx8mp/imximage-8mp-sd.cfg @@ -7,4 +7,4 @@ =20 ROM=5FVERSION v2 BOOT=5FFROM sd -LOADER mkimage.flash.mkimage 0x920000 +LOADER mkimage.spl.mkimage 0x920000 diff --git a/doc/board/nxp/imx8mp=5Fevk.rst b/doc/board/nxp/imx8mp=5Fevk.rst index 609a29f3ebc3..b996ae055e69 100644 --- a/doc/board/nxp/imx8mp=5Fevk.rst +++ b/doc/board/nxp/imx8mp=5Fevk.rst @@ -52,7 +52,6 @@ Burn the flash.bin to the MicroSD card at offset 32KB: .. code-block:: bash =20 $sudo dd if=3Dbuild/flash.bin of=3D/dev/sd[x] bs=3D1K seek=3D32 conv=3D= notrunc; sync - $sudo dd if=3Dbuild/u-boot.itb of=3D/dev/sd[x] bs=3D1K seek=3D384 conv= =3Dnotrunc; sync =20 Boot ---- --=20 2.25.1