From: Michal Simek <michal.simek@xilinx.com>
To: U-Boot Mailing List <u-boot@lists.denx.de>,
Simon Glass <sjg@chromium.org>
Subject: DTB_RESELECT/MULTI DTB with SPL flow
Date: Fri, 11 Jun 2021 15:56:23 +0200 [thread overview]
Message-ID: <01397dc0-b124-ee64-ee42-d7ac9900a0d8@xilinx.com> (raw)
Hi,
I am just trying to wrap my head around DTB_RESELECT feature.
ZynqMP is using u-boot.itb which is u-boot/atf + a lot of DT files.
As of now SPL should pick the right one load it predefined location
which U-Boot proper pickup.
Others DTBs are not loaded at all.
This is working fine and I expect it should work like this even with
DTB_RESELECT enabled because you need to have base DTB for being able to
do platform detection.
I have hookup platform detection in embedded_dtb_select and I know which
board revision I am running at and struggling how to tell u-boot what to do.
What should be the right flow for changing DTB at run time?
Where they should be stored? I would expect that I need to have FIT
image in memory for all board revisions and u-boot should be calling
board_fit_config_name_match() which will decide which DT is correct
based on board detection done in embedded_dtb_select().
Thanks,
Michal
next reply other threads:[~2021-06-11 13:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-11 13:56 Michal Simek [this message]
2021-06-26 18:30 ` DTB_RESELECT/MULTI DTB with SPL flow Simon Glass
2021-06-28 7:14 ` Michal Simek
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=01397dc0-b124-ee64-ee42-d7ac9900a0d8@xilinx.com \
--to=michal.simek@xilinx.com \
--cc=sjg@chromium.org \
--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