[OpenWrt-Devel] [PATCH][ramips] asl26555: fix devdata partitions
Álvaro Fernández Rojas
noltari at gmail.com
Fri Jul 11 12:59:36 EDT 2014
Without this patch, the eeprom extract script fails to find the devdata partition on the 8MB version.
Signed-off-by: Álvaro Fernández Rojas <noltari at 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 at 40000 {
+ partition at 40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
@@ -50,7 +50,7 @@
reg = <0xfe0000 0x10000>;
read-only;
};
- partition at ff0000 {
+ devdata: partition at ff0000 {
label = "devdata";
reg = <0xff0000 0x10000>;
read-only;
@@ -69,7 +69,7 @@
};
ethernet at 10100000 {
- mtd-mac-address = <&factory 0x4004>;
+ mtd-mac-address = <&devdata 0x4004>;
};
esw at 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 at 30000 {
- label = "factory";
+ devdata: partition at 30000 {
+ label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
@@ -64,7 +64,7 @@
};
ethernet at 10100000 {
- mtd-mac-address = <&factory 0x4004>;
+ mtd-mac-address = <&devdata 0x4004>;
};
esw at 10110000 {
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list