qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: Simon Glass <sjg@chromium.org>
Cc: liviu.dudau@foss.arm.com, narmstrong@baylibre.com,
	vladimir.oltean@nxp.com, linus.walleij@linaro.org,
	bin.meng@windriver.com, kever.yang@rock-chips.com,
	seanga2@gmail.com, atish.patra@wdc.com, zong.li@sifive.com,
	swarren@wwwdotorg.org, sr@denx.de, festevam@gmail.com,
	rainer.boschung@hitachi-powergrids.com, francois.ozog@linaro.org,
	swarren@nvidia.com, oleksandr_andrushchenko@epam.com,
	xypron.glpk@gmx.de, lusus@denx.de, michal.simek@xilinx.com,
	marek.behun@nic.cz, vanbaren@cideas.com, rfried.dev@gmail.com,
	jagan@amarulasolutions.com,
	valentin.longchamp@hitachi-powergrids.com, hs@denx.de,
	pbrobinson@gmail.com, sinan@writeme.com, fitzsim@fitzsim.org,
	wd@denx.de, trini@konsulko.com, qemu-devel@nongnu.org,
	andre.przywara@arm.com, tharvey@gateworks.com,
	ashok.reddy.soma@xilinx.com, rick@andestech.com, agraf@csgraf.de,
	green.wan@sifive.com, t.karthik.reddy@xilinx.com,
	anastasiia_lukianenko@epam.com, albert.u.boot@aribaud.net,
	monstr@monstr.eu, mbrugger@suse.com, ycliang@andestech.com,
	kristo@kernel.org, u-boot@lists.denx.de,
	david.abdurachmanov@sifive.com, priyanka.jain@nxp.com,
	ilias.apalodimas@linaro.org, christianshewitt@gmail.com,
	awilliams@marvell.com, tuomas.tynkkynen@iki.fi,
	heinrich.schuchardt@canonical.com, tianrui-wei@outlook.com,
	bmeng.cn@gmail.com, pali@kernel.org,
	dimitri.ledkov@canonical.com, padmarao.begari@microchip.com
Subject: Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option
Date: Wed, 27 Oct 2021 23:52:28 +0200 (CEST)	[thread overview]
Message-ID: <d3ca95ca31eb5fa8@bloch.sibelius.xs4all.nl> (raw)
In-Reply-To: <CAPnjgZ1qJ-s7CrP-azLHhKKnGzeF5zWPfaanhToiUNx1VEacMA@mail.gmail.com> (message from Simon Glass on Wed, 27 Oct 2021 09:24:25 -0600)

> From: Simon Glass <sjg@chromium.org>
> Date: Wed, 27 Oct 2021 09:24:25 -0600
> 
> Hi Mark,
> 
> On Wed, 27 Oct 2021 at 09:11, Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
> >
> > > From: François Ozog <francois.ozog@linaro.org>
> > > Date: Wed, 27 Oct 2021 15:15:01 +0200
> > >
> > > In my view U-Boot shall be able to leverage device tree format
> > > (source and binary) to store its own data.  When you say "the"
> > > DT, I always think this is "the" DT that is passed to OS and in
> > > "that" DT, there should be no U-Boot entries.
> >
> > Why not?  As long as the device tree validates, it is perfectly fine
> > to have additional nodes and properties present.  The propertiesand
> > nodes will be simply ignored by the OS.
> >
> > OpenBSD will print:
> >
> >   "binman" not configured
> >
> > for the binman node that some of the U-Boot board targets now have,
> > but it doesn't really make a difference.  If there is a proper binding
> > for that node, I could simply filter it out.  Or we have U-Boot filter
> > it out before the DT gets passed along like Tom suggests.
> 
> Just on that point, I believe the binman falls into the same bucket
> that Tom is talking about here, in that it should be a standard
> binding. Ideally I would like this to become a standard format so that
> anything in firmware can use it to find stuff. I believe it is a good
> and extensible way to describe the structure of firmware across all
> projects.

Oh, I agree that it is a reasonable thing to have a description of the
structure of the firmware in the device tree.

> Does "not configured" mean that it did not find the compatible string?
> We could add one of those, for now, perhaps.

"not configured" just means that no device driver attached to the
node.  Usually that is because we don't have a device driver for the
device corresponding to the node yet.  But in the case of the "binman"
node it doesn't really make sense for a device driver to attach.  In
such a case we tend to filter out the node such that the "not
configured" line isn't printed.  That can be done either by name or by
compatible string.  So an "official" binding would help here and it
should either use a standardized name (that shouldn't be used for
other purposes then) or it should use defined a compatible string.

Anyway, this is not really critical.  I just brought it up to
illustrate that such nodes are mostly harmless.


  parent reply	other threads:[~2021-10-27 21:56 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13  1:01 [PATCH 00/16] fdt: Make OF_BOARD a boolean option Simon Glass
2021-10-13  1:01 ` [PATCH 01/16] arm: qemu: Mention -nographic in the docs Simon Glass
2021-10-13  1:01 ` [PATCH 02/16] arm: qemu: Explain how to extract the generate devicetree Simon Glass
2021-10-13  1:19   ` François Ozog
2021-10-13 16:58     ` Simon Glass
2021-10-13 17:36       ` Tom Rini
2021-10-13  1:01 ` [PATCH 03/16] riscv: " Simon Glass
2021-10-13  1:01 ` [PATCH 04/16] arm: qemu: Add a devicetree file for qemu_arm Simon Glass
2021-10-13  1:01 ` [PATCH 05/16] arm: qemu: Add a devicetree file for qemu_arm64 Simon Glass
2021-10-13  1:15   ` François Ozog
2021-10-27 14:44     ` Alex Bennée
2021-10-27 14:56       ` Tom Rini
2021-10-27 18:34         ` Simon Glass
2021-10-27 18:39           ` Tom Rini
2021-10-27 19:45             ` Alex Bennée
2021-10-13  1:01 ` [PATCH 06/16] riscv: qemu: Add devicetree files for qemu_riscv32/64 Simon Glass
2021-10-13  4:21   ` Heinrich Schuchardt
2021-10-13  1:29 ` [PATCH 00/16] fdt: Make OF_BOARD a boolean option Bin Meng
2021-10-13  1:34   ` Tom Rini
2021-10-13  8:02     ` François Ozog
2021-10-13 14:47     ` Simon Glass
2021-10-13 17:34       ` François Ozog
2021-10-13 18:06         ` Simon Glass
2021-10-14 14:56           ` Tom Rini
2021-10-14 15:17             ` Simon Glass
2021-10-14 15:28               ` Tom Rini
2021-10-14 17:58                 ` François Ozog
2021-10-15 18:03                 ` Simon Glass
2021-10-26  6:46                   ` Ilias Apalodimas
2021-10-27 12:59                     ` Tom Rini
2021-10-27 13:30                       ` François Ozog
2021-10-27 13:38                         ` Tom Rini
2021-10-27 13:47                           ` Ilias Apalodimas
2021-10-27 14:26                             ` Tom Rini
2021-10-27 13:48                           ` François Ozog
2021-10-27 14:30                             ` Tom Rini
2021-10-28  2:50                     ` Simon Glass
2021-10-28  8:21                       ` François Ozog
2021-10-28 14:30                         ` Simon Glass
2021-10-28 14:50                           ` François Ozog
2021-10-28 15:44                             ` Simon Glass
2021-10-28 16:25                               ` François Ozog
2021-11-02 14:59                                 ` Simon Glass
2021-11-01 11:04                       ` Ilias Apalodimas
2021-11-02 10:06                         ` Michael Walle
2021-11-02 12:34                           ` François Ozog
2021-11-02 14:59                         ` Simon Glass
2021-10-27 12:48                   ` Tom Rini
2021-10-27 13:15                     ` François Ozog
2021-10-27 13:23                       ` Heinrich Schuchardt
2021-10-27 14:55                         ` Tom Rini
2021-10-27 15:02                           ` Heinrich Schuchardt
2021-10-27 18:04                             ` Tom Rini
2021-10-27 14:54                       ` Tom Rini
2021-10-27 15:10                       ` Mark Kettenis
2021-10-27 15:24                         ` Simon Glass
2021-10-27 18:06                           ` Tom Rini
2021-10-27 18:11                             ` François Ozog
2021-10-27 21:52                           ` Mark Kettenis [this message]
2021-10-27 16:02                         ` François Ozog
2021-10-27 19:06                           ` Tom Rini
2021-10-27 22:00                             ` François Ozog
2021-10-28 14:41                               ` Tom Rini
2021-10-14 16:24               ` Andre Przywara
2021-10-14 17:48                 ` François Ozog
2021-10-14 18:12           ` François Ozog
2021-10-14 21:00             ` Simon Glass
2021-10-13 12:39   ` Philippe Mathieu-Daudé
2021-10-13 13:06     ` François Ozog
2021-10-13  4:26 ` Heinrich Schuchardt
2021-10-13 13:06   ` François Ozog
2021-10-13  9:50 ` Andre Przywara
2021-10-13 13:05   ` François Ozog

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=d3ca95ca31eb5fa8@bloch.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=agraf@csgraf.de \
    --cc=albert.u.boot@aribaud.net \
    --cc=anastasiia_lukianenko@epam.com \
    --cc=andre.przywara@arm.com \
    --cc=ashok.reddy.soma@xilinx.com \
    --cc=atish.patra@wdc.com \
    --cc=awilliams@marvell.com \
    --cc=bin.meng@windriver.com \
    --cc=bmeng.cn@gmail.com \
    --cc=christianshewitt@gmail.com \
    --cc=david.abdurachmanov@sifive.com \
    --cc=dimitri.ledkov@canonical.com \
    --cc=festevam@gmail.com \
    --cc=fitzsim@fitzsim.org \
    --cc=francois.ozog@linaro.org \
    --cc=green.wan@sifive.com \
    --cc=heinrich.schuchardt@canonical.com \
    --cc=hs@denx.de \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jagan@amarulasolutions.com \
    --cc=kever.yang@rock-chips.com \
    --cc=kristo@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=liviu.dudau@foss.arm.com \
    --cc=lusus@denx.de \
    --cc=marek.behun@nic.cz \
    --cc=mbrugger@suse.com \
    --cc=michal.simek@xilinx.com \
    --cc=monstr@monstr.eu \
    --cc=narmstrong@baylibre.com \
    --cc=oleksandr_andrushchenko@epam.com \
    --cc=padmarao.begari@microchip.com \
    --cc=pali@kernel.org \
    --cc=pbrobinson@gmail.com \
    --cc=priyanka.jain@nxp.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rainer.boschung@hitachi-powergrids.com \
    --cc=rfried.dev@gmail.com \
    --cc=rick@andestech.com \
    --cc=seanga2@gmail.com \
    --cc=sinan@writeme.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=swarren@nvidia.com \
    --cc=swarren@wwwdotorg.org \
    --cc=t.karthik.reddy@xilinx.com \
    --cc=tharvey@gateworks.com \
    --cc=tianrui-wei@outlook.com \
    --cc=trini@konsulko.com \
    --cc=tuomas.tynkkynen@iki.fi \
    --cc=u-boot@lists.denx.de \
    --cc=valentin.longchamp@hitachi-powergrids.com \
    --cc=vanbaren@cideas.com \
    --cc=vladimir.oltean@nxp.com \
    --cc=wd@denx.de \
    --cc=xypron.glpk@gmx.de \
    --cc=ycliang@andestech.com \
    --cc=zong.li@sifive.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;
as well as URLs for NNTP newsgroup(s).