[PATCH V3 1/2] dt-bindings: mtd: partitions: add TP-Link SafeLoader layout
Rob Herring
robh at kernel.org
Mon Oct 17 11:32:04 PDT 2022
On Sat, 15 Oct 2022 11:29:49 +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
>
> Most TP-Link home routers use the same partitioning system based on a
> custom ASCII table.
>
> It doesn't seem to have any official name. GPL sources contain tool
> named simply "make_flash" and Makefile target "FlashMaker".
>
> This partitions table format was first found in devices with a custom
> SafeLoader bootloader so it was called SafeLoader by a community. Later
> it was ported to other bootloaders but it seems the name sticked.
>
> Add binding for describing flashes with SafeLoader partitions table. It
> allows operating systems to parse it properly and register proper flash
> layout.
>
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
> ---
> V2: Fix typo in commit: s/same/name/
> V3: Drop quotes from $ref
> Describe flash space coverage & partitions types in the binding
> See commit body of PATCH 2/2 for real life example
> ---
> .../tplink,safeloader-partitions.yaml | 49 +++++++++++++++++++
> 1 file changed, 49 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mtd/partitions/tplink,safeloader-partitions.yaml
>
Reviewed-by: Rob Herring <robh at kernel.org>
More information about the linux-arm-kernel
mailing list