From: Chuanhong Guo Date: Sun, 13 Sep 2020 10:57:11 +0000 (+0800) Subject: ramips: mt7621: pbr-m1: fix firmware size X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2188ef954ee32ec0b24674f07634f39ecf63c38e;p=openwrt%2Fstaging%2Fyousong.git 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 --- 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 \