* [PATCH 2/3] mtd: partitions: Add RedBoot FIS DT bindings
[not found] <20181019070622.26661-1-linus.walleij@linaro.org>
@ 2018-10-19 7:06 ` Linus Walleij
2018-10-19 7:27 ` Linus Walleij
2018-10-25 19:08 ` Rob Herring
0 siblings, 2 replies; 6+ messages in thread
From: Linus Walleij @ 2018-10-19 7:06 UTC (permalink / raw)
To: David Woodhouse, Brian Norris, Boris Brezillon, Marek Vasut,
Richard Weinberger, linux-mtd
Cc: devicetree, Linus Walleij
This adds device tree bindings for the RedBoot FIS partition
format.
Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
.../bindings/mtd/partitions/redboot-fis.txt | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt
diff --git a/Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt b/Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt
new file mode 100644
index 000000000000..fd0ebe4e3415
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt
@@ -0,0 +1,27 @@
+RedBoot FLASH Image System (FIS) Partitions
+===========================================
+
+The FLASH Image System (FIS) directory is a flash description
+format closely associated with the RedBoot boot loader.
+
+It uses one single flash eraseblock in the flash to store an index of
+all images in the flash.
+
+This block size will vary depending on flash but is typically
+32 KB in size.
+
+Required properties:
+- compatible : (required) must be "redboot-fis"
+- fis-index-block : (required) a index to the eraseblock containing
+ the FIS directory on this device. On a flash memory with 32KB
+ eraseblocks, 0 means the first eraseblock at 0x00000000, 1 means the
+ second eraseblock at 0x00008000 and so on.
+
+Example:
+
+flash@0 {
+ partitions {
+ compatible = "redboot-fis";
+ fis-index-block = <0>;
+ };
+};
--
2.17.2
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] mtd: partitions: Add RedBoot FIS DT bindings
2018-10-19 7:06 ` [PATCH 2/3] mtd: partitions: Add RedBoot FIS DT bindings Linus Walleij
@ 2018-10-19 7:27 ` Linus Walleij
2018-10-19 7:52 ` Boris Brezillon
2018-10-25 19:08 ` Rob Herring
2018-10-25 19:08 ` Rob Herring
1 sibling, 2 replies; 6+ messages in thread
From: Linus Walleij @ 2018-10-19 7:27 UTC (permalink / raw)
To: David Woodhouse, Brian Norris, Boris BREZILLON, Mark Vasut,
Richard Weinberger, linux-mtd,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Hi,
now just to forestall possible predictable bikeshedding on the devicetree
list before it happens:
On Fri, Oct 19, 2018 at 9:06 AM Linus Walleij <linus.walleij@linaro.org> wrote:
> +RedBoot FLASH Image System (FIS) Partitions
This expansion of the acronym including using capital letters in
FLASH comes from the eCOS source code for RedBoot:
https://sourceware.org/viewvc/ecos/packages/redboot/current/src/flash.c?view=markup
> +- compatible : (required) must be "redboot-fis"
There is no vendor here because the source code was owned by
Cygnus Solutions, Redhat and now Free Software Foundation.
https://en.wikipedia.org/wiki/ECos
We have no (AFAICT) policy for whether stuff that just change vendor
all the time should be named after the inventing (first) company "cygnus,*",
current owner "fsf,*" or the one that made most changes to the source
code "redhat,*". I do not think we should care, and just name it
"redboot-fis" for it's historical value and widespread acceptance so this
is a conscious naming scheme.
If one of the OF maintainers says they want it a certain way I will change
it without discussion, I just want this supported.
Yours,
Linus Walleij
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] mtd: partitions: Add RedBoot FIS DT bindings
2018-10-19 7:27 ` Linus Walleij
@ 2018-10-19 7:52 ` Boris Brezillon
2018-10-25 19:08 ` Rob Herring
1 sibling, 0 replies; 6+ messages in thread
From: Boris Brezillon @ 2018-10-19 7:52 UTC (permalink / raw)
To: Linus Walleij
Cc: Boris BREZILLON,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Richard Weinberger, Mark Vasut, linux-mtd, Brian Norris,
David Woodhouse
On Fri, 19 Oct 2018 09:27:24 +0200
Linus Walleij <linus.walleij@linaro.org> wrote:
> Hi,
>
> now just to forestall possible predictable bikeshedding on the devicetree
> list before it happens:
>
> On Fri, Oct 19, 2018 at 9:06 AM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> > +RedBoot FLASH Image System (FIS) Partitions
>
> This expansion of the acronym including using capital letters in
> FLASH comes from the eCOS source code for RedBoot:
> https://sourceware.org/viewvc/ecos/packages/redboot/current/src/flash.c?view=markup
>
> > +- compatible : (required) must be "redboot-fis"
>
> There is no vendor here because the source code was owned by
> Cygnus Solutions, Redhat and now Free Software Foundation.
> https://en.wikipedia.org/wiki/ECos
>
> We have no (AFAICT) policy for whether stuff that just change vendor
> all the time should be named after the inventing (first) company "cygnus,*",
> current owner "fsf,*" or the one that made most changes to the source
> code "redhat,*". I do not think we should care, and just name it
> "redboot-fis" for it's historical value and widespread acceptance so this
> is a conscious naming scheme.
>
> If one of the OF maintainers says they want it a certain way I will change
> it without discussion, I just want this supported.
If you send a new version, don't forget to update the subject prefix
("dt-bindings: mtd: ...") :-).
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] mtd: partitions: Add RedBoot FIS DT bindings
2018-10-19 7:27 ` Linus Walleij
2018-10-19 7:52 ` Boris Brezillon
@ 2018-10-25 19:08 ` Rob Herring
2018-10-28 19:24 ` Linus Walleij
1 sibling, 1 reply; 6+ messages in thread
From: Rob Herring @ 2018-10-25 19:08 UTC (permalink / raw)
To: Linus Walleij
Cc: Boris BREZILLON,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Richard Weinberger, Mark Vasut, linux-mtd, Brian Norris,
David Woodhouse
On Fri, Oct 19, 2018 at 09:27:24AM +0200, Linus Walleij wrote:
> Hi,
>
> now just to forestall possible predictable bikeshedding on the devicetree
> list before it happens:
>
> On Fri, Oct 19, 2018 at 9:06 AM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> > +RedBoot FLASH Image System (FIS) Partitions
>
> This expansion of the acronym including using capital letters in
> FLASH comes from the eCOS source code for RedBoot:
> https://sourceware.org/viewvc/ecos/packages/redboot/current/src/flash.c?view=markup
>
> > +- compatible : (required) must be "redboot-fis"
>
> There is no vendor here because the source code was owned by
> Cygnus Solutions, Redhat and now Free Software Foundation.
> https://en.wikipedia.org/wiki/ECos
>
> We have no (AFAICT) policy for whether stuff that just change vendor
> all the time should be named after the inventing (first) company "cygnus,*",
> current owner "fsf,*" or the one that made most changes to the source
> code "redhat,*". I do not think we should care, and just name it
> "redboot-fis" for it's historical value and widespread acceptance so this
> is a conscious naming scheme.
>
> If one of the OF maintainers says they want it a certain way I will change
> it without discussion, I just want this supported.
It's all fine for me.
I was only going to comment is Redboot still a thing? :)
Rob
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] mtd: partitions: Add RedBoot FIS DT bindings
2018-10-19 7:06 ` [PATCH 2/3] mtd: partitions: Add RedBoot FIS DT bindings Linus Walleij
2018-10-19 7:27 ` Linus Walleij
@ 2018-10-25 19:08 ` Rob Herring
1 sibling, 0 replies; 6+ messages in thread
From: Rob Herring @ 2018-10-25 19:08 UTC (permalink / raw)
Cc: Boris Brezillon, devicetree, Richard Weinberger, Linus Walleij,
Marek Vasut, linux-mtd, Brian Norris, David Woodhouse
On Fri, 19 Oct 2018 09:06:21 +0200, Linus Walleij wrote:
> This adds device tree bindings for the RedBoot FIS partition
> format.
>
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> .../bindings/mtd/partitions/redboot-fis.txt | 27 +++++++++++++++++++
> 1 file changed, 27 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mtd/partitions/redboot-fis.txt
>
Reviewed-by: Rob Herring <robh@kernel.org>
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] mtd: partitions: Add RedBoot FIS DT bindings
2018-10-25 19:08 ` Rob Herring
@ 2018-10-28 19:24 ` Linus Walleij
0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2018-10-28 19:24 UTC (permalink / raw)
To: Rob Herring
Cc: Boris BREZILLON,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Richard Weinberger, Mark Vasut, linux-mtd, Brian Norris,
David Woodhouse
On Thu, Oct 25, 2018 at 9:08 PM Rob Herring <robh@kernel.org> wrote:
> It's all fine for me.
Thanks.
> I was only going to comment is Redboot still a thing? :)
Yep. What I've learned recently is that some of the stuff we
support has way longer lifecycles than we expected. There are
brand new devices shipping using the RedBoot partition table
as we speak. It seems to be coming from places like Taiwan.
Yours,
Linus Walleij
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-10-28 19:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20181019070622.26661-1-linus.walleij@linaro.org>
2018-10-19 7:06 ` [PATCH 2/3] mtd: partitions: Add RedBoot FIS DT bindings Linus Walleij
2018-10-19 7:27 ` Linus Walleij
2018-10-19 7:52 ` Boris Brezillon
2018-10-25 19:08 ` Rob Herring
2018-10-28 19:24 ` Linus Walleij
2018-10-25 19:08 ` Rob Herring
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).