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 = 0x3 0x1;
read-only;
};
- factory: partition@4 {
+ partition@4 {
label = factory;
reg = 0x4 0x1;
read-only;
@@ -50,7 +50,7 @@
reg = 0xfe 0x1;
read-only;
};
- partition@ff {
+ devdata: partition@ff {
label = devdata;
reg = 0xff 0x1;
read-only;
@@ -69,7 +69,7 @@
};
ethernet@1010 {
- mtd-mac-address = factory 0x4004;
+ mtd-mac-address = devdata 0x4004;
};
esw@1011 {
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 0x3;
read-only;
};
- factory: partition@3 {
- label = factory;
+ devdata: partition@3 {
+ label = devdata;
reg = 0x3 0x1;
read-only;
};
@@ -64,7 +64,7 @@
};
ethernet@1010 {
- mtd-mac-address = factory 0x4004;
+ mtd-mac-address = devdata 0x4004;
};
esw@1011 {
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel