[openwrt/openwrt] ramips: mt7621: pbr-m1: fix firmware size

LEDE Commits lede-commits at lists.infradead.org
Sun Sep 13 07:22:41 EDT 2020


981213 pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2188ef954ee32ec0b24674f07634f39ecf63c38e

commit 2188ef954ee32ec0b24674f07634f39ecf63c38e
Author: Chuanhong Guo <gch981213 at gmail.com>
AuthorDate: Sun Sep 13 18:57:11 2020 +0800

    ramips: mt7621: pbr-m1: fix firmware size
    
    This board is equipped with Winbond W25Q256FV 32M SPI-NOR.
    Fix partition size for that.
    
    Signed-off-by: Chuanhong Guo <gch981213 at gmail.com>
---
 target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts | 2 +-
 target/linux/ramips/image/mt7621.mk              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts b/target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts
index 15b717616e..beaa380818 100644
--- a/target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts
+++ b/target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts
@@ -139,7 +139,7 @@
 			partition at 50000 {
 				compatible = "denx,uimage";
 				label = "firmware";
-				reg = <0x50000 0xfb0000>;
+				reg = <0x50000 0x1fb0000>;
 			};
 		};
 	};
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 46516b3e40..78629563ee 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -333,7 +333,7 @@ TARGET_DEVICES += d-team_newifi-d2
 
 define Device/d-team_pbr-m1
   $(Device/dsa-migration)
-  IMAGE_SIZE := 16064k
+  IMAGE_SIZE := 32448k
   DEVICE_VENDOR := PandoraBox
   DEVICE_MODEL := PBR-M1
   DEVICE_PACKAGES := kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \



More information about the lede-commits mailing list