From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 30 Sep 2021 13:01:45 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mVtov-0006Vr-O2 for lore@lore.pengutronix.de; Thu, 30 Sep 2021 13:01:45 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mVtov-0007mM-BN; Thu, 30 Sep 2021 13:01:45 +0200 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVtoe-0007mD-RS; Thu, 30 Sep 2021 13:01:28 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mVtoe-0000bO-86; Thu, 30 Sep 2021 13:01:28 +0200 Date: Thu, 30 Sep 2021 13:01:28 +0200 From: Michael Olbrich To: avazquez.dev@gmail.com Message-ID: <20210930110128.GQ18190@pengutronix.de> Mail-Followup-To: avazquez.dev@gmail.com, ptxdist@pengutronix.de References: <20210919084729.5884-1-avazquez.dev@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210919084729.5884-1-avazquez.dev@gmail.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 12:59:28 up 224 days, 14:23, 134 users, load average: 0.00, 0.07, 0.13 User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] [PATCH] u-boot: Add support for u-boot.dtb and u-boot-nodtb.bin X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Sun, Sep 19, 2021 at 10:47:29AM +0200, avazquez.dev@gmail.com wrote: > From: Alejandro Vazquez > > Adds support for copying u-boot.dtb and u-boot-nodtb.bin to the > platform image directory. > These files might be required by external tools > Ex: TF-A to generate FIP images. Hmmm, are you sure this works as expected? See this[1] discussion about that topic as well. Michael [1] https://lore.ptxdist.org/ptxdist/20210930105515.GP18190@pengutronix.de/ > Signed-off-by: Alejandro Vazquez > --- > platforms/u-boot.in | 14 ++++++++++++++ > rules/u-boot.make | 6 ++++++ > 2 files changed, 20 insertions(+) > > diff --git a/platforms/u-boot.in b/platforms/u-boot.in > index 4ddf3b3fb..3422f5018 100644 > --- a/platforms/u-boot.in > +++ b/platforms/u-boot.in > @@ -247,5 +247,19 @@ config U_BOOT_INSTALL_U_BOOT_STM32 > platform image directory. Say yes if you are building for STM32MP1 > SOCs. > > +config U_BOOT_INSTALL_U_BOOT_NO_DTB > + prompt "install u-boot-nodtb.bin" > + bool > + help > + Installing the U-Boot binary without the device tree > + into platform image directory. > + > +config U_BOOT_INSTALL_DTB > + prompt "install u-boot.dtb" > + bool > + help > + Installing the device tree binary into platform image directory. > + > + > endif > > diff --git a/rules/u-boot.make b/rules/u-boot.make > index 38c32bf27..bda0445f1 100644 > --- a/rules/u-boot.make > +++ b/rules/u-boot.make > @@ -177,6 +177,12 @@ endif > ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_STM32 > @install -v -D -m644 $(U_BOOT_BUILD_DIR)/u-boot.stm32 $(IMAGEDIR)/u-boot.stm32 > endif > +ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_NO_DTB > + @install -v -D -m644 $(U_BOOT_BUILD_DIR)/u-boot-nodtb.bin $(IMAGEDIR)/u-boot-nodtb.bin > +endif > +ifdef PTXCONF_U_BOOT_INSTALL_DTB > + @install -v -D -m644 $(U_BOOT_BUILD_DIR)/u-boot.dtb $(IMAGEDIR)/u-boot.dtb > +endif > ifndef PTXCONF_U_BOOT_ENV_IMAGE_NONE > @install -v -D -m644 $(U_BOOT_BUILD_DIR)/u-boot-env.img \ > $(IMAGEDIR)/u-boot-env.img > -- > 2.25.1 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de