[openwrt/openwrt] ath79: expand rootfs for DIR-825-B1 with unused space
LEDE Commits
lede-commits at lists.infradead.org
Sat Nov 5 17:11:19 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/aca8bb5cc332f0ffdf4249e76b0a56716f98bef0
commit aca8bb5cc332f0ffdf4249e76b0a56716f98bef0
Author: Alan Luck <luckyhome2008 at gmail.com>
AuthorDate: Fri Oct 14 17:26:27 2022 +1100
ath79: expand rootfs for DIR-825-B1 with unused space
Expand currently unused flash space to roofs for DIR-825-B1 by using the same
flash space as the old ar71xx big image without moving the caldata.
With some testing this partition is use by the OEM firmware
but if changed is regenerated which allows reverting to OEM firmware
Signed-off-by: Alan Luck <luckyhome2008 at gmail.com>
---
target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts | 27 +++++++++++++++++-----
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
index 8188027c4c..b701f15421 100644
--- a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
+++ b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
@@ -109,6 +109,23 @@
};
};
};
+
+ virtual_flash {
+ compatible = "mtd-concat";
+ devices = <&fwconcat0 &fwconcat1>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition at 0 {
+ compatible = "denx,uimage";
+ label = "firmware";
+ reg = <0x0 0x0>;
+ };
+ };
+ };
};
&usb1 {
@@ -186,9 +203,8 @@
read-only;
};
- partition at 50000 {
- compatible = "denx,uimage";
- label = "firmware";
+ fwconcat0: partition at 50000 {
+ label = "fwconcat0";
reg = <0x050000 0x610000>;
};
@@ -198,10 +214,9 @@
read-only;
};
- partition at 670000 {
- label = "unknown";
+ fwconcat1: partition at 670000 {
+ label = "fwconcat1";
reg = <0x670000 0x190000>;
- read-only;
};
};
};
More information about the lede-commits
mailing list