From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQ3iB-0004PF-Oy for ptxdist@pengutronix.de; Wed, 07 Oct 2020 09:18:07 +0200 Received: from mol by dude02.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1kQ3iB-0003in-FT for ptxdist@pengutronix.de; Wed, 07 Oct 2020 09:18:07 +0200 Date: Wed, 7 Oct 2020 09:18:07 +0200 From: Michael Olbrich Message-ID: <20201007071807.GP11021@pengutronix.de> References: <20200929131342.zyg5hgc6gj2znubn@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] custom FIT image List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Wed, Sep 30, 2020 at 12:41:13PM +0200, Alejandro V=E1zquez wrote: > El mar., 29 sept. 2020 a las 15:13, Roland Hieber () > escribi=F3: > = > > On Tue, Sep 29, 2020 at 01:28:34PM +0200, Alejandro V=E1zquez wrote: > > > Hi all! > > > I need to create a FIT image kernel and I need to add the arguments: > > load > > > and entry. > > > These arguments are not defined in the script ptxd_make_fit_image.sh > > > > > > Is there a way to indicate these arguments? > > > Can I use a custom "its" file? > > > Can I modify the script locally in my BSP? > > > > You can overwrite the functions by placing their new definition in a > > script (name doesn't matter) in scripts/lib/ in your BSP. PTXdist > > sources all files in there automatically after the scripts in PTXdist > > itself. > > > > > Thanks! work! > = > Now, I would like to put the arguments load and entry as customizable > parameters in kernel-fit.in > Ex: > config KERNEL_FIT_LOAD > string > default "0xABC12340" > prompt "Load address" > = > I tried to get the value in the script (ptxd_make_fit_image.sh) but it > doesn't work. > Ex: > load =3D "${PTXCONF_KERNEL_FIT_LOAD}"; > = > Would it be possible to access these variables from the script? load=3D"$(ptxd_get_ptxconf PTXCONF_KERNEL_FIT_LOAD)" Michael -- = 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@p= engutronix.de