From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] custom FIT image
Date: Wed, 7 Oct 2020 09:18:07 +0200 [thread overview]
Message-ID: <20201007071807.GP11021@pengutronix.de> (raw)
In-Reply-To: <CAEt18EV2RQ-4cH5q4wR5-5UT8f1DCEvpuQNRPa53P2CKgXc_fg@mail.gmail.com>
On Wed, Sep 30, 2020 at 12:41:13PM +0200, Alejandro Vázquez wrote:
> El mar., 29 sept. 2020 a las 15:13, Roland Hieber (<rhi@pengutronix.de>)
> escribió:
>
> > On Tue, Sep 29, 2020 at 01:28:34PM +0200, Alejandro Vázquez 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 = "${PTXCONF_KERNEL_FIT_LOAD}";
>
> Would it be possible to access these variables from the script?
load="$(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@pengutronix.de
next prev parent reply other threads:[~2020-10-07 7:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-29 11:28 Alejandro Vázquez
2020-09-29 13:13 ` Roland Hieber
2020-09-30 10:41 ` Alejandro Vázquez
2020-10-07 7:18 ` Michael Olbrich [this message]
2020-10-09 6:04 ` Alejandro Vázquez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201007071807.GP11021@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox