forked from Openwrt-EcoNet/openwrt
EcoNet EN75xx is a big endian MIPS platform used in XPON (fiber), DSL, and SIM (3g/4g) applications. Complete GPL vender SDKs exist for this platform, but are based on Linux 2.6. The bulk of this submission has already been accepted upstream: https://patchwork.kernel.org/project/linux-mips/list/?series=960479&state=* This platform uses a bootloader that is derived from old TrendChip code. This bootloader implements a frustratingly complex Bad Block Table which is implemented here in en75_bmt.c This BMT is not upstreamed because it depends on mtk_bmt framework which likewise is not upstreamed. This BMT system rewrites block indexes in flash and if the bootloader considers it to be corrupted, it will attempt to automatically rebuild on boot. So without implementing the algorithm, you can't safely use the disk at all. Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
51 lines
1.4 KiB
Diff
51 lines
1.4 KiB
Diff
From be8b4173719a61fdd8379e86895d855775cf5f91 Mon Sep 17 00:00:00 2001
|
|
From: Caleb James DeLisle <cjd@cjdns.fr>
|
|
Date: Wed, 7 May 2025 13:44:56 +0000
|
|
Subject: [PATCH] dt-bindings: mips: Add EcoNet platform binding
|
|
|
|
Document the top-level device tree binding for EcoNet MIPS-based SoCs.
|
|
|
|
Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
|
|
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
|
|
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
|
|
---
|
|
.../devicetree/bindings/mips/econet.yaml | 26 +++++++++++++++++++
|
|
1 file changed, 26 insertions(+)
|
|
create mode 100644 Documentation/devicetree/bindings/mips/econet.yaml
|
|
|
|
diff --git a/Documentation/devicetree/bindings/mips/econet.yaml b/Documentation/devicetree/bindings/mips/econet.yaml
|
|
new file mode 100644
|
|
index 000000000000..d8181b58c781
|
|
--- /dev/null
|
|
+++ b/Documentation/devicetree/bindings/mips/econet.yaml
|
|
@@ -0,0 +1,26 @@
|
|
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
+%YAML 1.2
|
|
+---
|
|
+$id: http://devicetree.org/schemas/mips/econet.yaml#
|
|
+$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
+
|
|
+title: EcoNet MIPS SoCs
|
|
+
|
|
+maintainers:
|
|
+ - Caleb James DeLisle <cjd@cjdns.fr>
|
|
+
|
|
+properties:
|
|
+ $nodename:
|
|
+ const: '/'
|
|
+
|
|
+ compatible:
|
|
+ oneOf:
|
|
+ - description: Boards with EcoNet EN751221 family SoC
|
|
+ items:
|
|
+ - enum:
|
|
+ - smartfiber,xp8421-b
|
|
+ - const: econet,en751221
|
|
+
|
|
+additionalProperties: true
|
|
+
|
|
+...
|
|
--
|
|
2.39.5
|
|
|