From: Eric Nelson <eric.nelson@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC] Remove static display data
Date: Sun, 28 Jul 2013 12:22:12 -0700 [thread overview]
Message-ID: <51F56F64.1090009@boundarydevices.com> (raw)
In-Reply-To: <CAPnjgZ3KsDBcokq3rU20Bknd-6DJADPjqeyek2MSb_pNTnRG3Q@mail.gmail.com>
Hi Simon,
On 07/28/2013 11:09 AM, Simon Glass wrote:
> Hi Eric,
>
> On Sun, Jul 28, 2013 at 10:57 AM, Eric Nelson
> <eric.nelson@boundarydevices.com
> <mailto:eric.nelson@boundarydevices.com>> wrote:
>
> On our boards, we store the environment in SPI-NOR, but in a separate
> 8k block.
>
> I presume the "bound" fdt will be stored immediately after U-Boot,
> which will move around a bit as the code changes.
>
> Yes - it would be nice to have an option to put the FDT anywhere, but
> that is not supported at present. Even better if SPL could load it.
> Better again if U-Boot plus its FDTs could be a FIT image and SPL could
> load that and select the correct FDT.
>
That's a whole bunch of TLAs :)
I don't see any major blockers in any of these, though our immediate
goals are much more modest:
- put display configuration into a read/write spot, and
- allow users to specify resolutions for HDMI and timing
information for new panels
If we can just parse block(s) of DT text, then update or append
that to the kernel FDT, I think we can meet our needs.
>
>
> The FDT is normally stored immediately after U-Boot, but I
> suppose we
> could add an option for the FDT to live elsewhere, or perhaps be
> loaded
> from flash live the environment. Actually the latter is already
> possible
> by reading the new FDT into RAM in your boot script, and making
> U-Boot
> use it, something like:
>
> sf probe
> sf read <addr> ...
> fdt addr -c <addr>
>
> At the moment, we intend to normally load the FDT from the same media
> as the kernel for a couple of reasons:
>
> - It's not needed at all for non-Linux uses (we support Windows
> Embedded, QNX, et cetera)
>
> - We'll likely need separate FDTs for different boards which
> can execute the same U-Boot binary (Nitrogen6x, SABRE Lite)
> unless we can figure out a way to place small conditionals
> in the FDT
>
> We attach a kernel FDT to the kernel image. Passing U-Boot's FDT to the
> kernel is an option that I haven't explored, and is probably only
> possible if it can be updated.
>
I'm coming at this from the other direction: I've only seen how to
load FDT from secondary storage and hand it to the kernel with bootm.
Regards,
Eric
next prev parent reply other threads:[~2013-07-28 19:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 18:21 [U-Boot] [RFC] Remove static display data Robert Winkler
2013-07-26 7:50 ` Anatolij Gustschin
2013-07-26 8:43 ` Stefano Babic
2013-07-26 14:04 ` Eric Nelson
2013-07-26 14:42 ` Stefano Babic
2013-07-26 14:49 ` Stephen Warren
2013-07-26 19:41 ` Eric Nelson
2013-07-27 0:42 ` Eric Nelson
2013-07-27 1:34 ` Troy Kisky
2013-07-27 19:05 ` Simon Glass
2013-07-28 16:57 ` Eric Nelson
2013-07-28 18:09 ` Simon Glass
2013-07-28 19:22 ` Eric Nelson [this message]
2013-07-29 16:50 ` Simon Glass
2013-07-26 14:00 ` Eric Nelson
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=51F56F64.1090009@boundarydevices.com \
--to=eric.nelson@boundarydevices.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