diff options
author | Alan Luck <luckyhome2008@gmail.com> | 2022-10-14 17:26:27 +1100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-12-03 19:57:27 +0100 |
commit | be2da47ced2fd0842922fdbd7a428a19138f6fc2 (patch) | |
tree | 5c56bab166214809ff488969064ca10d0d8cd535 /target/linux/ath79 | |
parent | 087a2a46911b19562236d7f4a72d75855dc64629 (diff) | |
download | upstream-be2da47ced2fd0842922fdbd7a428a19138f6fc2.tar.gz upstream-be2da47ced2fd0842922fdbd7a428a19138f6fc2.tar.bz2 upstream-be2da47ced2fd0842922fdbd7a428a19138f6fc2.zip |
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@gmail.com>
(cherry picked from commit aca8bb5cc332f0ffdf4249e76b0a56716f98bef0)
Diffstat (limited to 'target/linux/ath79')
-rw-r--r-- | target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts | 27 |
1 files 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 f2809f0549..30c7e0edb9 100644 --- a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts +++ b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts @@ -111,6 +111,23 @@ }; }; }; + + virtual_flash { + compatible = "mtd-concat"; + devices = <&fwconcat0 &fwconcat1>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + compatible = "denx,uimage"; + label = "firmware"; + reg = <0x0 0x0>; + }; + }; + }; }; &usb1 { @@ -188,9 +205,8 @@ read-only; }; - partition@50000 { - compatible = "denx,uimage"; - label = "firmware"; + fwconcat0: partition@50000 { + label = "fwconcat0"; reg = <0x050000 0x610000>; }; @@ -200,10 +216,9 @@ read-only; }; - partition@670000 { - label = "unknown"; + fwconcat1: partition@670000 { + label = "fwconcat1"; reg = <0x670000 0x190000>; - read-only; }; }; }; |