summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Yu. Ivanusev2025-01-16 16:05:38 +0000
committerHauke Mehrtens2025-01-19 17:03:05 +0000
commitf80f52163a1f56ebf3ced76cb4d37906c4d25702 (patch)
tree24198ab70461a31a59aa95bdbebd828187d9a020
parent3d63a41ffab69cb6f49c14cff99c3c3a84899363 (diff)
downloadopenwrt-f80f52163a1f56ebf3ced76cb4d37906c4d25702.tar.gz
ramips: fixes for Keenetic KN-1711,1713,1910
The image size has been changed to prevent failures in routers and bootloop when flashing a large image using a stock bootloader. The LED trigger package has been removed for 1910, which is no longer in use. Signed-off-by: Anton Yu. Ivanusev <ivanusevanton@yandex.ru> Link: https://github.com/openwrt/openwrt/pull/17630 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rwxr-xr-xtarget/linux/ramips/image/mt7621.mk5
-rw-r--r--target/linux/ramips/image/mt76x8.mk4
2 files changed, 4 insertions, 5 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 08b3dcc64f..a77579e1cc 100755
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -1804,11 +1804,10 @@ define Device/keenetic_kn-1910
$(Device/uimage-lzma-loader)
BLOCKSIZE := 128k
PAGESIZE := 2048
- IMAGE_SIZE := 24903680
+ IMAGE_SIZE := 20368588
DEVICE_VENDOR := Keenetic
DEVICE_MODEL := KN-1910
- DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
IMAGES += factory.bin
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | \
append-ubi | check-size | zyimage -d 0x801910 -v "KN-1910"
diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk
index d63148cae4..a0dd48b8a6 100644
--- a/target/linux/ramips/image/mt76x8.mk
+++ b/target/linux/ramips/image/mt76x8.mk
@@ -368,7 +368,7 @@ TARGET_DEVICES += keenetic_kn-1613
define Device/keenetic_kn-1711
BLOCKSIZE := 64k
- IMAGE_SIZE := 13434880
+ IMAGE_SIZE := 10551296
DEVICE_VENDOR := Keenetic
DEVICE_MODEL := KN-1711
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7663-firmware-ap kmod-usb2
@@ -380,7 +380,7 @@ TARGET_DEVICES += keenetic_kn-1711
define Device/keenetic_kn-1713
BLOCKSIZE := 64k
- IMAGE_SIZE := 13434880
+ IMAGE_SIZE := 10551296
DEVICE_VENDOR := Keenetic
DEVICE_MODEL := KN-1713
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7663-firmware-ap kmod-usb2