Without this patch, the eeprom extract script fails to find the devdata 
partition on the 8MB version.

Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
diff --git a/target/linux/ramips/dts/ASL26555-16M.dts 
b/target/linux/ramips/dts/ASL26555-16M.dts
index 568d8f9..fbe925d 100644
--- a/target/linux/ramips/dts/ASL26555-16M.dts
+++ b/target/linux/ramips/dts/ASL26555-16M.dts
@@ -31,7 +31,7 @@
                                        reg = <0x30000 0x10000>;
                                        read-only;
                                };
-                               factory: partition@40000 {
+                               partition@40000 {
                                        label = "factory";
                                        reg = <0x40000 0x10000>;
                                        read-only;
@@ -50,7 +50,7 @@
                                        reg = <0xfe0000 0x10000>;
                                        read-only;
                                };
-                               partition@ff0000 {
+                               devdata: partition@ff0000 {
                                        label = "devdata";
                                        reg = <0xff0000 0x10000>;
                                        read-only;
@@ -69,7 +69,7 @@
        };
 
        ethernet@10100000 {
-               mtd-mac-address = <&factory 0x4004>;
+               mtd-mac-address = <&devdata 0x4004>;
        };
 
        esw@10110000 {
diff --git a/target/linux/ramips/dts/ASL26555-8M.dts 
b/target/linux/ramips/dts/ASL26555-8M.dts
index 1ddbb1c..7fd5e63 100644
--- a/target/linux/ramips/dts/ASL26555-8M.dts
+++ b/target/linux/ramips/dts/ASL26555-8M.dts
@@ -26,8 +26,8 @@
                                        reg = <0x0 0x30000>;
                                        read-only;
                                };
-                               factory: partition@30000 {
-                                       label = "factory";
+                               devdata: partition@30000 {
+                                       label = "devdata";
                                        reg = <0x30000 0x10000>;
                                        read-only;
                                };
@@ -64,7 +64,7 @@
        };
 
        ethernet@10100000 {
-               mtd-mac-address = <&factory 0x4004>;
+               mtd-mac-address = <&devdata 0x4004>;
        };
 
        esw@10110000 {
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to