[openwrt/openwrt] ramips: fix IMAGE_SIZE of HC5x6: fix image size of HC5x61

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 3 18:17:35 BST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/dfc9044fadfc69334745d32754414bc37e593207

commit dfc9044fadfc69334745d32754414bc37e593207
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Thu Mar 4 17:59:14 2021 +0800

    ramips: fix IMAGE_SIZE of HC5x6: fix image size of HC5x61
    
    "firmware" partition size defined in the device tree file is 0xf70000,
    so the right IMAGE_SIZE is 15808k
    
    Fixes: df1e5d646345 ("ramips: fix partition layout of hiwifi hc5x61")
    Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
---
 target/linux/ramips/image/mt7620.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index 327df51e58..64dc0715ed 100644
--- a/target/linux/ramips/image/mt7620.mk
+++ b/target/linux/ramips/image/mt7620.mk
@@ -448,7 +448,7 @@ TARGET_DEVICES += head-weblink_hdrm200
 
 define Device/hiwifi_hc5661
   SOC := mt7620a
-  IMAGE_SIZE := 15872k
+  IMAGE_SIZE := 15808k
   DEVICE_VENDOR := HiWiFi
   DEVICE_MODEL := HC5661
   DEVICE_PACKAGES := kmod-sdhci-mt7620
@@ -458,7 +458,7 @@ TARGET_DEVICES += hiwifi_hc5661
 
 define Device/hiwifi_hc5761
   SOC := mt7620a
-  IMAGE_SIZE := 15872k
+  IMAGE_SIZE := 15808k
   DEVICE_VENDOR := HiWiFi
   DEVICE_MODEL := HC5761
   DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \
@@ -469,7 +469,7 @@ TARGET_DEVICES += hiwifi_hc5761
 
 define Device/hiwifi_hc5861
   SOC := mt7620a
-  IMAGE_SIZE := 15872k
+  IMAGE_SIZE := 15808k
   DEVICE_VENDOR := HiWiFi
   DEVICE_MODEL := HC5861
   DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \



More information about the lede-commits mailing list