[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPnjgZ2sN1bRKOFpDXXc0QfYsiHMxEFR8K+p=swLWs8ZCQBusw@mail.gmail.com>
Date: Fri, 22 Sep 2023 09:09:50 -0600
From: Simon Glass <sjg@...omium.org>
To: Alper Nebi Yasak <alpernebiyasak@...il.com>
Cc: U-Boot Mailing List <u-boot@...ts.denx.de>,
linux-mtd@...ts.infradead.org, Tom Rini <trini@...sulko.com>,
Rob Herring <robh@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Dhruva Gole <d-gole@...com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Rafał Miłecki <rafal@...ecki.pl>,
Richard Weinberger <richard@....at>,
Rob Herring <robh+dt@...nel.org>,
Vignesh Raghavendra <vigneshr@...com>,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: mtd: Add a schema for binman
Hi Alper,
On Fri, 22 Sept 2023 at 07:57, Alper Nebi Yasak
<alpernebiyasak@...il.com> wrote:
>
> On 2023-09-21 21:45 +03:00, Simon Glass wrote:
> > Binman[1] is a tool for creating firmware images. It allows you to
> > combine various binaries and place them in an output file.
> >
> > Binman uses a DT schema to describe an image, in enough detail that
> > it can be automatically built from component parts, disassembled,
> > replaced, listed, etc.
> >
> > Images are typically stored in flash, which is why this binding is
> > targeted at mtd. Previous discussion is at [2] [3].
> >
> > [1] https://u-boot.readthedocs.io/en/stable/develop/package/binman.html
> > [2] https://lore.kernel.org/u-boot/20230821180220.2724080-3-sjg@chromium.org/
> > [3] https://www.spinics.net/lists/devicetree/msg626149.html
> >
> > Signed-off-by: Simon Glass <sjg@...omium.org>
> > ---
> >
> > .../bindings/mtd/partitions/binman.yaml | 50 +++++++++++++++
> > .../bindings/mtd/partitions/binman/entry.yaml | 61 +++++++++++++++++++
> > .../bindings/mtd/partitions/partitions.yaml | 1 +
> > MAINTAINERS | 5 ++
> > 4 files changed, 117 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/mtd/partitions/binman.yaml
> > create mode 100644 Documentation/devicetree/bindings/mtd/partitions/binman/entry.yaml
>
> This doesn't match the schema in [2], but seems more like v1 of that. Is
> that intentional?
Yes. Based on discussions with Rob, the idea of setting a general
format seems to be too ambitious, at least for now.
Regards,
Simon
Powered by blists - more mailing lists