From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 29 Nov 2021 16:32:13 +0100 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 1mridZ-0000vT-IS for lore@lore.pengutronix.de; Mon, 29 Nov 2021 16:32:13 +0100 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 1mridZ-0004e6-9J; Mon, 29 Nov 2021 16:32:13 +0100 Received: from mout.kundenserver.de ([212.227.17.24]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mridA-0004dx-Jt for ptxdist@pengutronix.de; Mon, 29 Nov 2021 16:31:49 +0100 Received: from methusalix.internal.home.lespocky.de ([92.117.37.246]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M9Evp-1mvpVF2PmZ-006SX7; Mon, 29 Nov 2021 16:31:46 +0100 Received: from falbala.internal.home.lespocky.de ([192.168.243.94]) by methusalix.internal.home.lespocky.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mrid5-0003KA-3A; Mon, 29 Nov 2021 16:31:45 +0100 Date: Mon, 29 Nov 2021 16:31:41 +0100 From: Alexander Dahl To: ptxdist@pengutronix.de Message-ID: <20211129153141.2alx7wi3tytuf5gh@falbala.internal.home.lespocky.de> Mail-Followup-To: ptxdist@pengutronix.de, Christian Melki References: <20211129142720.595432-1-christian.melki@t2data.com> MIME-Version: 1.0 In-Reply-To: <20211129142720.595432-1-christian.melki@t2data.com> User-Agent: NeoMutt/20170113 (1.7.2) X-Scan-Signature: 2000bb58c225ca56a47c4cb1a8369acb X-Provags-ID: V03:K1:XgyB42Vkr/kkauGdUdGXkbbN8oVk7MVAMeQzpBj1pKILhRqOdQD wAdPD89n7Jel9M3Rzqbgtzq+iSQL4JMY+Qxjvs12bbEaNEfKaKqw9FQwRNM1swrUqQBVMpT qt1l96vKiBDbXM8dEevJVSPaiOuzFkuHLU2wF6yYnvxutmer45SPyVrNJnlLr7pzf+zoCoM j0TefC+/M3wgPRSMsjjFA== X-UI-Out-Filterresults: notjunk:1;V03:K0:hYlFnH5G2y0=:iNumdm5LIbTed2bx9EdkCs YF6s5SaB7+OM9a5+g39/4wNoUb2h8ZRFW7EY9RKaP6jWgLOHAu0qHtKVdeZnUw+chV5irA0vE VZnDUIM5pNSp/Orx8w/0LNsH2Dnqe/t0DNWcYD5O0KV9o8CL4rECTHPu1uDVGnEtSJeagbqxm g00opa6ZeiLNpHE4nsT+1QkFIHQZfwRu+hi0sXvbJm76h1VGME3EjWeWFm59Y5lNor51KPrem IqdNMxdOkEy9LPGuc76Zp8XENaNzEdI14wSx4RXArGr5JfzuiX/ODgU2laeHEssi0BsugJWNr GykWyLCLT68K1RlEd6DHtTDuWxYqdKccXqpaB/NzIRjJUBS/Yq5X+uFZDd6aT8hawSMCdn5C4 IsWHqeGgu8yMcDkRuMSanG5O9W0MbJTsBuDEtHgyzL3qa2k0yE4eVop6LSy5yDENxMugXSRtb Qz5eLiMi7i3GY2KyUeHyRTf1mohYSML3G8BHbRMyQLYh4p5lS9q9d4Ysvz/7c5I2YZcADepOc GvCQxZFPDSIAyLE/qyYEiSSS8tYn9kEv2SuEFpBfNlKE6dIm40otfog0eFZ3EKPdPtv26fIEL YJ5YmOhlSXqBgR+8MwnAQ7zRDrukTxdEZ1zN17dDVCZcEYc6EoKkVbD8nqsZ4pSEXmqhP+jZ8 eKrnSaXCT/F056S5NE7sAOTvjMyjxTxjmfQQdW85HU8IHSMB36KxNeUnEVGzENW4ixyY= X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=4.0 tests=AWL,BAYES_00, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH] U-Boot: Add TF-A dependency option. 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: Christian Melki Content-Type: multipart/mixed; boundary="===============0232483069==" 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 --===============0232483069== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ixdukcxjvxnk2ocv" Content-Disposition: inline --ixdukcxjvxnk2ocv Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Christian, On Mon, Nov 29, 2021 at 03:27:20PM +0100, Christian Melki wrote: > Let U-Boot depend on TF-A firmwares for inclusion. > TF-A firmwares are a common thing on various machines. > Also add an option to let U-Boot build without the > "Out Of Tree" option. This option sometimes breaks > builds with various external dependencies. I would split the TF-A stuff from the oot build and make two changesets. Those two are conceptually independent. Greets Alex > Signed-off-by: Christian Melki > --- > platforms/u-boot.in | 20 +++++++++++++++++++- > rules/u-boot.make | 4 +++- > 2 files changed, 22 insertions(+), 2 deletions(-) >=20 > diff --git a/platforms/u-boot.in b/platforms/u-boot.in > index 4ddf3b3fb..0d8213f45 100644 > --- a/platforms/u-boot.in > +++ b/platforms/u-boot.in > @@ -2,6 +2,7 @@ > =20 > menuconfig U_BOOT > select BOOTLOADER > + select TF_A if U_BOOT_USE_TF_A > prompt "U-Boot " > bool > =20 > @@ -19,6 +20,16 @@ config U_BOOT_MD5 > string > prompt "U-Boot source md5" > =20 > +config U_BOOT_BUILD_OOT > + prompt "Out of tree build" > + default y > + bool > + help > + U-Boot is usually built out of tree. > + But for some builds, f.ex. with firmware blobs, out of tree builds > + can break because of vendors using source paths to files. > + This is mostly a workaround for those type of builds. > + > choice > prompt "config system" > default U_BOOT_CONFIGSYSTEM_LEGACY > @@ -71,12 +82,19 @@ config U_BOOT_CONFIG > =20 > endif > =20 > +config U_BOOT_USE_TF_A > + prompt "Include TF-A firmwares in U-Boot." > + bool > + help > + Generate TF-A (ARM Trusted Firmwares type A) to include in u-boot. > + > config U_BOOT_CUSTOM_MAKE_OPTS > prompt "Custom make options" > string > help > List of custom make options passed at build time. Can be > - used for example to pass a DEVICE_TREE=3D value. > + used for example to pass a DEVICE_TREE=3D value or passing > + TF-A firmware, BL31=3D${PTXDIST_PLATFORMDIR}/path-to/bl31.bin > =20 > choice > prompt "Generate environment image" > diff --git a/rules/u-boot.make b/rules/u-boot.make > index 38c32bf27..b2e4e1311 100644 > --- a/rules/u-boot.make > +++ b/rules/u-boot.make > @@ -23,9 +23,11 @@ U_BOOT_SUFFIX :=3D tar.bz2 > U_BOOT_URL :=3D https://ftp.denx.de/pub/u-boot/$(U_BOOT).$(U_BOOT_SUFFI= X) > U_BOOT_SOURCE :=3D $(SRCDIR)/$(U_BOOT).$(U_BOOT_SUFFIX) > U_BOOT_DIR :=3D $(BUILDDIR)/$(U_BOOT) > +ifeq ($(PTXCONF_U_BOOT_BUILD_OOT),y) > U_BOOT_BUILD_DIR :=3D $(U_BOOT_DIR)-build > +endif > U_BOOT_DEVPKG :=3D NO > -U_BOOT_BUILD_OOT :=3D KEEP > +U_BOOT_BUILD_OOT :=3D $(call ptx/ifdef, PTXCONF_U_BOOT_BUILD_OOT, YES, N= O) > =20 > ifdef PTXCONF_U_BOOT_CONFIGSYSTEM_KCONFIG > U_BOOT_CONFIG :=3D $(call ptx/in-platformconfigdir, \ > --=20 > 2.30.2 >=20 >=20 > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request= @pengutronix.de --=20 /"\ ASCII RIBBON | =BBWith the first link, the chain is forged. The first \ / CAMPAIGN | speech censured, the first thought forbidden, the X AGAINST | first freedom denied, chains us all irrevocably.=AB / \ HTML MAIL | (Jean-Luc Picard, quoting Judge Aaron Satie) --ixdukcxjvxnk2ocv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEwo7muQJjlc+Prwj6NK3NAHIhXMYFAmGk8lkACgkQNK3NAHIh XMZfpA//UR5wFXEkGrCRjB2Gir7eD8HxSAqENxnnpDJRGeZ/qNWvenaw+CQ8jUCv e59t3ddKWuegsfKhaDb57JKv3WxOVhdepCMR16RMKP3a4rvB/i6+dXWwTycldwvJ qzQ5Hd+QuSj1E7cNOlGz6siWKKXhJs/GR0MNgihuNj96BMemdMq95nhAasxN0TCB jA34/jM1zUa3/INczocdSgB82rfAMXH+t0nbMFfkirKNyHS/EhjK2mYkk1tryQtT 3sN6t6gwj5JECIB/Nmo/f3eB4IICmLXg+MUerXwVKO18OnpbCcd/Iara20/Qbet/ tHad/H2EqsHLtpP5kTesCNU2TZ/ubcd3TNQNwlFQI9GIeLeT70pR6aewtZOU/7CQ gRa2MVinD9xmsSLQWd5jRd+y2f5igpjtOBfCAV1apL3UQZpnOxfH2t7QsFB24ihH njn8p1Wt+NjScxgHWq4rwIVaUfr37CE8AsXodoJy8DBIuKtm0WbgOrgsnlawDwCx ak1NlJie1xqqSzhZeRmGUYuKKsEpMpevfkTDge8fdcYFetNdme4mKT6EjdTKArpM rFpNVkPiZdnNQvYdb5V2UjFauBk2bWBiWMLADFzYFdqT4QbahuKaH3Yj5clen+SR dOVkYOCTwNQgv9MObtH318ET58aumpqEqLiwrMBP9y+s7lGCIYw= =aVLH -----END PGP SIGNATURE----- --ixdukcxjvxnk2ocv-- --===============0232483069== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de --===============0232483069==--