El mar., 29 sept. 2020 a las 15:13, Roland Hieber (<[email protected]>)
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?
- Roland
>
> --
> Roland Hieber, Pengutronix e.K. | [email protected] |
> Steuerwalder Str. 21 | https://www.pengutronix.de/ |
> 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
>
_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to
[email protected]