aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2020-09-13 18:57:11 +0800
committerChuanhong Guo <gch981213@gmail.com>2020-09-13 19:15:06 +0800
commit2188ef954ee32ec0b24674f07634f39ecf63c38e (patch)
tree053be28cd055a4ee89c295f9222659adffbda5d3
parent8126521e11b4da3c3fa79feb794646068dbaa4b1 (diff)
downloadupstream-2188ef954ee32ec0b24674f07634f39ecf63c38e.tar.gz
upstream-2188ef954ee32ec0b24674f07634f39ecf63c38e.tar.bz2
upstream-2188ef954ee32ec0b24674f07634f39ecf63c38e.zip
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@gmail.com>
-rw-r--r--target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts2
-rw-r--r--target/linux/ramips/image/mt7621.mk2
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@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 \