From: Anton Yu. Ivanusev Date: Thu, 16 Jan 2025 16:05:38 +0000 (+0500) Subject: ramips: fixes for Keenetic KN-1711,1713,1910 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f80f52163a1f56ebf3ced76cb4d37906c4d25702;p=openwrt%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/17630 Signed-off-by: Hauke Mehrtens --- 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