[OE-core] [PATCH] kernel-fitimage: add DTB_LOAD to set dtb address
Thomas PERROT
thomas.perrot at tupi.fr
Thu Oct 26 03:58:23 UTC 2017
Hi,
it would seem that it is also necessary to add the entry field on some
targets.
I think the best would to be do as for UBOOT_RD_LOADADDRESS and
UBOOT_RD_ENTRYPOINT.
Best regards,
Thomas P.
On Wed, Oct 25, 2017 at 6:52 PM, Otavio Salvador <
otavio.salvador at ossystems.com.br> wrote:
> On Wed, Oct 25, 2017 at 5:55 AM, Chunrong Guo <B40290 at freescale.com>
> wrote:
> > From: Chunrong Guo <chunrong.guo at nxp.com>
> >
> > kernel-fitimage for arm64 and arm need dynamically sets dtb address,
> > thus we need a flexible way to load dtb address value.
> >
> > Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
> > ---
> > meta/classes/kernel-fitimage.bbclass | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-
> fitimage.bbclass
> > index 179185b..479ffd4 100644
> > --- a/meta/classes/kernel-fitimage.bbclass
> > +++ b/meta/classes/kernel-fitimage.bbclass
> > @@ -36,6 +36,8 @@ python __anonymous () {
> > # Options for the device tree compiler passed to mkimage '-D' feature:
> > UBOOT_MKIMAGE_DTCOPTS ??= ""
> >
> > +# Options for load dtb address
> > +DTB_LOAD ??= ""
> > #
> > # Emit the fitImage ITS header
> > #
> > @@ -137,6 +139,7 @@ fitimage_emit_section_dtb() {
> > type = "flat_dt";
> > arch = "${UBOOT_ARCH}";
> > compression = "none";
> > + load = <${DTB_LOAD}>;
>
> What happens if it is empty?
>
>
> > hash at 1 {
> > algo = "${dtb_csum}";
> > };
> > --
> > 1.9.0
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.br http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171026/90363d89/attachment-0002.html>
More information about the Openembedded-core
mailing list