From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 01 Jul 2022 07:11:32 +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 1o78wD-002es0-77 for lore@lore.pengutronix.de; Fri, 01 Jul 2022 07:11:32 +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 1o78wF-0003no-OV; Fri, 01 Jul 2022 07:11:31 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o78vN-00035h-Ge; Fri, 01 Jul 2022 07:10:37 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1o78vJ-003ieP-9I; Fri, 01 Jul 2022 07:10:36 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1o78vM-00FRdN-1U; Fri, 01 Jul 2022 07:10:36 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 1 Jul 2022 07:10:36 +0200 Message-Id: <20220701051036.3681102-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220620140851.2349897-1-a.fatoum@pengutronix.de> References: <20220620140851.2349897-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] tf-a: add new host-tf-a recipe 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: Ahmad Fatoum 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 Thanks, applied as d59bebc85e324c5de3c2b63423415de0938869d8. Michael [sent from post-receive hook] On Fri, 01 Jul 2022 07:10:35 +0200, Ahmad Fatoum wrote: > FIP is becoming the standard for firmware booted by ARM Trusted > Firmware. While TF-A provides a fip target to assemble such images, > building them outside the TF-A build by means of fiptool (e.g. via > genimage[0]) can provide more flexibility. > Add a host-tf-a rule to facilitate this. > > [0]: https://github.com/pengutronix/genimage/pull/190 > > Signed-off-by: Ahmad Fatoum > Message-Id: <20220620140851.2349897-1-a.fatoum@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/platforms/host-tf-a.in b/platforms/host-tf-a.in > new file mode 100644 > index 000000000000..1a299f042724 > --- /dev/null > +++ b/platforms/host-tf-a.in > @@ -0,0 +1,7 @@ > +## SECTION=hosttools_platform > + > +config HOST_TF_A > + tristate > + default y if ALLYES && TF_A > + help > + This provides fiptool > diff --git a/rules/host-tf-a.make b/rules/host-tf-a.make > new file mode 100644 > index 000000000000..9b4a94f7ab93 > --- /dev/null > +++ b/rules/host-tf-a.make > @@ -0,0 +1,20 @@ > +# -*-makefile-*- > +# Copyright (C) 2021 by Uwe Kleine-König > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +HOST_PACKAGES-$(PTXCONF_HOST_TF_A) += host-tf-a > + > +HOST_TF_A_MAKE_OPT = fiptool > + > +$(STATEDIR)/host-tf-a.install: > + @$(call targetinfo) > + install -vD -m755 $(HOST_TF_A_DIR)/tools/fiptool/fiptool $(HOST_TF_A_PKGDIR)/bin/fiptool > + @$(call touch) > + > +# vim: syntax=make