Home
last modified time | relevance | path

Searched +full:safeloader +full:- +full:partitions (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/mtd/partitions/
Dtplink,safeloader-partitions.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mtd/partitions/tplink,safeloader-partitions.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TP-Link SafeLoader partitions
10 TP-Link home routers store various data on flash (e.g. bootloader,
14 Flash space layout of TP-Link devices is stored on flash itself using
15 a custom ASCII-based format. That format was first found in TP-Link
16 devices with a custom SafeLoader bootloader. Later it was adapted to
17 CFE and U-Boot bootloaders.
[all …]
Dpartitions.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mtd/partitions/partitions.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Partitions
10 This binding is generic and describes the content of the partitions container
14 - Miquel Raynal <miquel.raynal@bootlin.com>
17 - $ref: arm,arm-firmware-suite.yaml
18 - $ref: brcm,bcm4908-partitions.yaml
19 - $ref: brcm,bcm947xx-cfe-partitions.yaml
[all …]
/linux-6.12.1/drivers/mtd/parsers/
Dtplink_safeloader.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/mtd/partitions.h>
35 np = of_get_child_by_name(np, "partitions"); in mtd_parser_tplink_safeloader_read_table()
37 if (of_property_read_u32(np, "partitions-table-offset", &offset)) { in mtd_parser_tplink_safeloader_read_table()
38 pr_err("Failed to get partitions table offset\n"); in mtd_parser_tplink_safeloader_read_table()
44 pr_err("Failed to read from %s at 0x%x\n", mtd->name, offset); in mtd_parser_tplink_safeloader_read_table()
56 pr_err("Failed to read from %s at 0x%zx\n", mtd->name, offset + sizeof(hdr)); in mtd_parser_tplink_safeloader_read_table()
87 err = -ENOMEM; in mtd_parser_tplink_safeloader_parse()
93 err = -ENOENT; in mtd_parser_tplink_safeloader_parse()
104 err = -ENOMEM; in mtd_parser_tplink_safeloader_parse()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 This provides partitions parser for devices based on BCM47xx
19 tristate "Broadcom's U-Boot partition parser"
22 Broadcom uses a custom way of storing U-Boot environment variables.
23 They are placed inside U-Boot partition itself at unspecified offset.
44 <mtddef> := <mtd-id>:<partdef>[,<partdef>]
46 <mtd-id> := unique id used in mapping driver/device
47 <size> := standard linux memsize OR "-" to denote all
57 1 flash resource (mtd-id "sa1100"), with 1 single writable partition:
58 mtdparts=sa1100:-
[all …]
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm47081-tplink-archer-c5-v2.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
11 compatible = "tplink,archer-c5-v2", "brcm,bcm47081", "brcm,bcm4708";
12 model = "TP-LINK Archer C5 V2";
24 compatible = "gpio-leds";
26 led-2ghz {
31 led-lan {
36 led-usb2-port1 {
37 label = "bcm53xx:green:usb2-port1";
39 trigger-sources = <&ohci_port1>, <&ehci_port1>;
[all …]
Dbcm4709-tplink-archer-c9-v1.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
11 compatible = "tplink,archer-c9-v1", "brcm,bcm4709", "brcm,bcm4708";
12 model = "TP-LINK Archer C9 V1";
24 compatible = "gpio-leds";
26 led-lan {
31 led-wps {
36 led-2ghz {
41 led-5ghz {
46 led-usb3 {
[all …]