[openwrt/openwrt] ath79: ASUS RP-AC66 use flash till the end

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 29 08:17:28 PST 2022


mans0n pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b21bc3479d46e6a4c3cc6bf7c245d4b0ddccb7db

commit b21bc3479d46e6a4c3cc6bf7c245d4b0ddccb7db
Author: Tamas Balogh <tamasbalogh at hotmail.com>
AuthorDate: Tue Jan 25 14:16:37 2022 +0100

    ath79: ASUS RP-AC66 use flash till the end
    
    This makes available the additional space,
    which was occupied by OEM's jffs2 partition before:
    "0x000000f80000-0x000001000000 : jffs2"
    
    Reverting to the OEM firmware will also recover
    this partition, i.e. it is not needed and can be
    used by OpenWrt.
    
    Signed-off-by: Tamas Balogh <tamasbalogh at hotmail.com>
---
 target/linux/ath79/dts/qca9563_asus_rp-ac66.dts | 2 +-
 target/linux/ath79/image/generic.mk             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/qca9563_asus_rp-ac66.dts b/target/linux/ath79/dts/qca9563_asus_rp-ac66.dts
index 39c96127e6..c4b6483497 100644
--- a/target/linux/ath79/dts/qca9563_asus_rp-ac66.dts
+++ b/target/linux/ath79/dts/qca9563_asus_rp-ac66.dts
@@ -125,7 +125,7 @@
 			partition at 60000 {
 				compatible = "denx,uimage";
 				label = "firmware";
-				reg = <0x060000 0xf20000>;
+				reg = <0x060000 0xfa0000>;
 			};
 		};
 	};
diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk
index 7cde28e85b..b3598a2000 100644
--- a/target/linux/ath79/image/generic.mk
+++ b/target/linux/ath79/image/generic.mk
@@ -334,7 +334,7 @@ define Device/asus_rp-ac66
   SOC := qca9563
   DEVICE_VENDOR := ASUS
   DEVICE_MODEL := RP-AC66
-  IMAGE_SIZE := 15488k
+  IMAGE_SIZE := 16000k
   IMAGES += factory.bin
   IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
 	append-rootfs | pad-rootfs



More information about the lede-commits mailing list