public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Yehuda Yitschak <yehuday@marvell.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] 4K padding of ARM DT blob
Date: Thu, 12 Mar 2015 08:58:23 +0000	[thread overview]
Message-ID: <2bbcffffea2943e99a3211bf36df6f2d@IL-EXCH02.marvell.com> (raw)
In-Reply-To: <CAK7LNAQJ_VUOmrROxvrqPjb5B+kNjc+L81oKs3ZtmZDXmuUihA@mail.gmail.com>

Thanks Masahiro 

Actually, I am considering to modify u-boot's own FDT to reflect changes in configurable boards like development boards.
So maybe the padding is good for my needs after all  :)

Do you see any issue with such an approach ?

Thanks

Yehuda 

> -----Original Message-----
> From: Masahiro Yamada [mailto:yamada.masahiro at socionext.com]
> Sent: Thursday, March 12, 2015 10:10
> To: Yehuda Yitschak
> Cc: Simon Glass; Tom Rini; Hanna Hawa; u-boot at lists.denx.de
> Subject: Re: [U-Boot] 4K padding of ARM DT blob
> 
> Hi.
> 
> 2015-03-12 15:46 GMT+09:00 Yehuda Yitschak <yehuday@marvell.com>:
> > Hey Simon
> >
> > Thanks for the clarification
> >
> > Just out of curiosity, how can the padding help modify the FDT in u-boot ?
> 
> If you insert a new node/property, or change a property for a longer value,
> the FDT blob will get longer.
> So, you need some extra space for modification.
> Otherwise, the U-Boot image will be overritten in case of
> CONFIG_OF_EMBED.
> 
> But, as Simon said, U-Boot never modifies a FDT that is used to configure U-
> Boot itself.
> 
> 
> Just in case, let me add a little more explanation:
> What is confusing is, U-Boot can modify a FDT that is passed to the kernel.
> U-Boot can have two different instances of FDTs: one for configuring U-Boot
> and the other for configuring Linux.
> We are talking about the former in this thread.
> 
> 
> 
> Best Regards
> Masahiro Yamada

  reply	other threads:[~2015-03-12  8:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-05  8:02 [U-Boot] 4K padding of ARM DT blob Yehuda Yitschak
2015-03-05 16:40 ` Tom Rini
2015-03-05 18:20   ` Yehuda Yitschak
2015-03-06 15:12     ` Tom Rini
2015-03-11  5:48       ` Masahiro Yamada
2015-03-11 19:01         ` Simon Glass
2015-03-11 20:30           ` Tom Rini
2015-03-12  6:46           ` Yehuda Yitschak
2015-03-12  8:10             ` Masahiro Yamada
2015-03-12  8:58               ` Yehuda Yitschak [this message]
2015-03-12  9:50                 ` Masahiro Yamada
2015-03-12 14:25                   ` Yehuda Yitschak

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=2bbcffffea2943e99a3211bf36df6f2d@IL-EXCH02.marvell.com \
    --to=yehuday@marvell.com \
    --cc=u-boot@lists.denx.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