From: Tom Rini <trini@konsulko.com>
To: Raymond Mao <raymond.mao@linaro.org>
Cc: u-boot@lists.denx.de, ilias.apalodimas@linaro.org,
sjg@chromium.org, jwerner@chromium.org,
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>,
Kevin Chen <kevin_chen@aspeedtech.com>,
Sean Anderson <sean.anderson@seco.com>,
Bin Meng <bmeng.cn@gmail.com>, Nikhil M Jain <n-jain1@ti.com>,
Devarsh Thakkar <devarsht@ti.com>,
Kunihiko Hayashi <hayashi.kunihiko@socionext.com>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Shiji Yang <yangshiji66@outlook.com>,
Alper Nebi Yasak <alpernebiyasak@gmail.com>,
Andre Przywara <andre.przywara@arm.com>,
Samuel Holland <samuel@sholland.org>
Subject: Re: [PATCH v5 8/8] fdt: get FDT from bloblist
Date: Tue, 16 Jan 2024 09:56:47 -0500 [thread overview]
Message-ID: <20240116145647.GC12635@bill-the-cat> (raw)
In-Reply-To: <CAEfUkU+xJ+Zwyer-2fo=EtfcELYw4Gw0QNM9pd1PuNYk-RXf3g@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1781 bytes --]
On Mon, Jan 15, 2024 at 12:08:26PM -0500, Raymond Mao wrote:
> Hi Tom,
>
> On Mon, 15 Jan 2024 at 09:57, Raymond Mao <raymond.mao@linaro.org> wrote:
>
> > Hi Tom,
> >
> > On Sat, 13 Jan 2024 at 10:27, Tom Rini <trini@konsulko.com> wrote:
> >
> >> On Fri, Jan 12, 2024 at 01:33:34PM -0800, Raymond Mao wrote:
> >>
> >> > Get device tree from a bloblist if it exists.
> >> > If not, fallback to traditional way.
> >> >
> >> > Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
> >> > ---
> >> > Changes in v2
> >> > - Refactor of board_fdt_blob_setup().
> >> > Changes in v4
> >> > - Move the logics from board custom function to fdt library.
> >> > Changes in V5
> >> > - Rebase the changes on top of master.
> >> >
> >> > lib/fdtdec.c | 18 +++++++++---------
> >> > 1 file changed, 9 insertions(+), 9 deletions(-)
> >>
> >> Why was this just not dropped after:
> >> commit 70fe23859437ffe4efe0793423937d8b78ebf9d6
> >>
> > In commit 70fe23859437ffe4efe0793423937d8b78ebf9d6, the FDT from bloblist
> > is always overridden when OF_BOARD is enabled (OF_BOARD is enabled when
> > OF_HAS_PRIOR_STAGE is on). I think this is not what we want.
> > The FDT from the bloblist passed from the previous stage should be the
> > default setting.
> >
> > If we want to build with OF_HAS_PRIOR_STAGE=y and without OF_BOARD to
> avoid the
> FDT from bloblist not being overridden,
> `imply OF_HAS_PRIOR_STAGE` needs to be dropped from Kconfig for ARCH_QEMU,
> otherwise check-of.sh will always complain.
> Do you mind me adding a patch to arch/arm/Kconfig? And then we can drop
> [PATCH v5 8/8].
Platforms that are able to migrate towards using bloblist should disable
OF_BOARD/OF_HAS_PRIOR_STAGE/etc and just use the bloblist, yes.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
prev parent reply other threads:[~2024-01-16 14:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-12 21:33 [PATCH v5 0/8] Handoff bloblist from previous boot stage Raymond Mao
2024-01-12 21:33 ` [PATCH v5 1/8] bloblist: add API to check the register conventions Raymond Mao
2024-01-12 21:33 ` [PATCH v5 2/8] bloblist: check bloblist with specified buffer size Raymond Mao
2024-01-12 21:33 ` [PATCH v5 3/8] bloblist: refactor of bloblist_reloc() Raymond Mao
2024-01-12 21:33 ` [PATCH v5 4/8] arm: armv7: save boot arguments Raymond Mao
2024-01-12 21:33 ` [PATCH v5 5/8] arm: armv8: " Raymond Mao
2024-01-12 21:33 ` [PATCH v5 6/8] arm: Get bloblist from " Raymond Mao
2024-01-12 21:33 ` [PATCH v5 7/8] bloblist: Load the bloblist from the previous loader Raymond Mao
2024-01-12 21:33 ` [PATCH v5 8/8] fdt: get FDT from bloblist Raymond Mao
2024-01-13 15:27 ` Tom Rini
2024-01-15 14:57 ` Raymond Mao
2024-01-15 17:08 ` Raymond Mao
2024-01-16 14:56 ` Tom Rini [this message]
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=20240116145647.GC12635@bill-the-cat \
--to=trini@konsulko.com \
--cc=alpernebiyasak@gmail.com \
--cc=andre.przywara@arm.com \
--cc=bmeng.cn@gmail.com \
--cc=devarsht@ti.com \
--cc=hayashi.kunihiko@socionext.com \
--cc=ilias.apalodimas@linaro.org \
--cc=jwerner@chromium.org \
--cc=kevin_chen@aspeedtech.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=n-jain1@ti.com \
--cc=raymond.mao@linaro.org \
--cc=samuel@sholland.org \
--cc=sean.anderson@seco.com \
--cc=sjg@chromium.org \
--cc=tuomas.tynkkynen@iki.fi \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
--cc=yangshiji66@outlook.com \
/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