From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 05 Sep 2022 16:29:05 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oVD5z-007aPw-Ha for lore@lore.pengutronix.de; Mon, 05 Sep 2022 16:29:05 +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 1oVD60-000230-GZ; Mon, 05 Sep 2022 16:29:04 +0200 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVD5t-00022l-IR; Mon, 05 Sep 2022 16:28:57 +0200 Received: from rsc by pty.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oVD5t-00DIhQ-3H; Mon, 05 Sep 2022 16:28:57 +0200 Date: Mon, 5 Sep 2022 16:28:57 +0200 From: Robert Schwebel To: Ahmad Fatoum Message-ID: References: <20220725120445.1295669-1-a.fatoum@pengutronix.de> <20220725120445.1295669-3-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220725120445.1295669-3-a.fatoum@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [DistroKit] [PATCH 3/8] genimage: patch in Firmware Image Package (FIP) support X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: distrokit@pengutronix.de Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Mon, Jul 25, 2022 at 02:04:40PM +0200, Ahmad Fatoum wrote: > genimage master has support for calling fiptool, which makes it > straight-forward to generate eMMC boot partition images with the > same genimage.config generating the image for the user area. > > TF-A also has a fip target that can call fiptool for us, but is only > works when generating a single bootloader image, but we generate > multiple images, so we can't reuse the current tf-a rule as is. > > One more option would be to write a custom image rule, but as genimage > master has support, let's just backport the patch. The autogen.sh is > necessary, because we touch Makefile.am and we want autogen to rerun to > account for changes between our host autotools and the one used to > build the shipped files. > > Signed-off-by: Ahmad Fatoum > --- > ...d-Firmware-Image-Package-FIP-support.patch | 311 ++++++++++++++++++ > patches/genimage-15/series | 1 + > 2 files changed, 312 insertions(+) > create mode 100644 patches/genimage-15/0001-Add-Firmware-Image-Package-FIP-support.patch > create mode 100644 patches/genimage-15/series As mol has meanwhile released genimage-16 (not in ptxdist yet), let's update to that version, instead of patching genimage-15. Changed in next. rsc -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |