aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/image/Makefile1
-rw-r--r--target/linux/ramips/image/mt7620.mk22
-rw-r--r--target/linux/ramips/image/mt7621.mk2
-rw-r--r--target/linux/ramips/image/mt76x8.mk2
-rw-r--r--target/linux/ramips/image/rt305x.mk34
-rw-r--r--target/linux/ramips/image/rt3883.mk6
6 files changed, 66 insertions, 1 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index b58d4a9ec2..1eaf65c254 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -27,7 +27,6 @@ define Device/Default
DEVICE_DTS_DIR := ../dts
DEVICE_DTS = $$(MTK_SOC)_$(1)
IMAGES := sysupgrade.bin
- IMAGE_SIZE := $(ralink_default_fw_size_8M)
SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
sysupgrade_bin := append-kernel | append-rootfs | pad-rootfs
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index 2a95b31087..01fa00afd7 100644
--- a/target/linux/ramips/image/mt7620.mk
+++ b/target/linux/ramips/image/mt7620.mk
@@ -86,6 +86,7 @@ endef
define Device/asus_rp-n53
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Asus
DEVICE_MODEL := RP-N53
DEVICE_PACKAGES := kmod-rt2800-pci
@@ -162,6 +163,7 @@ TARGET_DEVICES += buffalo_whr-600d
define Device/buffalo_wmr-300
MTK_SOC := mt7620n
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Buffalo
DEVICE_MODEL := WMR-300
SUPPORTED_DEVICES += wmr-300
@@ -170,6 +172,7 @@ TARGET_DEVICES += buffalo_wmr-300
define Device/comfast_cf-wr800n
MTK_SOC := mt7620n
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Comfast
DEVICE_MODEL := CF-WR800N
SUPPORTED_DEVICES += cf-wr800n
@@ -295,6 +298,7 @@ TARGET_DEVICES += dlink_dwr-922-e2
define Device/dovado_tiny-ac
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Dovado
DEVICE_MODEL := Tiny AC
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci
@@ -549,6 +553,7 @@ TARGET_DEVICES += lenovo_newifi-y1s
define Device/linksys_e1700
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
umedia-header 0x013326
@@ -600,6 +605,7 @@ TARGET_DEVICES += netgear_ex3700
define Device/netgear_wn3000rp-v3
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
NETGEAR_HW_ID := 29764836+8+0+32+2x2+0
NETGEAR_BOARD_ID := WN3000RPv3
BLOCKSIZE := 4k
@@ -630,6 +636,7 @@ TARGET_DEVICES += nexx_wt3020-4m
define Device/nexx_wt3020-8m
MTK_SOC := mt7620n
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
poray-header -B WT3020 -F 8M
@@ -662,6 +669,7 @@ TARGET_DEVICES += phicomm_k2g
define Device/phicomm_psg1208
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Phicomm
DEVICE_MODEL := PSG1208
DEVICE_PACKAGES := kmod-mt76x2
@@ -671,6 +679,7 @@ TARGET_DEVICES += phicomm_psg1208
define Device/phicomm_psg1218a
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Phicomm
DEVICE_MODEL := PSG1218
DEVICE_VARIANT:= Ax
@@ -681,6 +690,7 @@ TARGET_DEVICES += phicomm_psg1218a
define Device/phicomm_psg1218b
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Phicomm
DEVICE_MODEL := PSG1218
DEVICE_VARIANT := Bx
@@ -691,6 +701,7 @@ TARGET_DEVICES += phicomm_psg1218b
define Device/planex_cs-qr10
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Planex
DEVICE_MODEL := CS-QR10
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci \
@@ -702,6 +713,7 @@ TARGET_DEVICES += planex_cs-qr10
define Device/planex_db-wrt01
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Planex
DEVICE_MODEL := DB-WRT01
SUPPORTED_DEVICES += db-wrt01
@@ -710,6 +722,7 @@ TARGET_DEVICES += planex_db-wrt01
define Device/planex_mzk-750dhp
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Planex
DEVICE_MODEL := MZK-750DHP
DEVICE_PACKAGES := kmod-mt76x0e
@@ -738,6 +751,7 @@ TARGET_DEVICES += planex_mzk-ex750np
define Device/ralink_mt7620a-evb
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := MT7620a EVB
endef
@@ -745,6 +759,7 @@ TARGET_DEVICES += ralink_mt7620a-evb
define Device/ralink_mt7620a-mt7530-evb
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := MT7620a + MT7530 EVB
SUPPORTED_DEVICES += mt7620a_mt7530
@@ -753,6 +768,7 @@ TARGET_DEVICES += ralink_mt7620a-mt7530-evb
define Device/ralink_mt7620a-mt7610e-evb
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := MT7620a + MT7610e EVB
DEVICE_PACKAGES := kmod-mt76x0e
@@ -859,6 +875,7 @@ TARGET_DEVICES += tplink_archer-c50-v1
define Device/tplink_archer-mr200
$(Device/Archer)
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
TPLINK_FLASHLAYOUT := 8MLmtk
TPLINK_HWID := 0xd7500001
TPLINK_HWREV := 0x4a
@@ -909,6 +926,7 @@ TARGET_DEVICES += youku_yk1
define Device/yukai_bocco
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := YUKAI Engineering
DEVICE_MODEL := BOCCO
DEVICE_PACKAGES := kmod-sound-core kmod-sound-mt7620 kmod-i2c-ralink
@@ -1000,6 +1018,7 @@ TARGET_DEVICES += zbtlink_zbt-we826-e
define Device/zbtlink_zbt-wr8305rt
MTK_SOC := mt7620n
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WR8305RT
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
@@ -1009,6 +1028,7 @@ TARGET_DEVICES += zbtlink_zbt-wr8305rt
define Device/zte_q7
MTK_SOC := mt7620a
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := ZTE
DEVICE_MODEL := Q7
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
@@ -1018,6 +1038,7 @@ TARGET_DEVICES += zte_q7
define Device/zyxel_keenetic-omni
MTK_SOC := mt7620n
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := ZyXEL
DEVICE_MODEL := Keenetic Omni
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
@@ -1030,6 +1051,7 @@ TARGET_DEVICES += zyxel_keenetic-omni
define Device/zyxel_keenetic-omni-ii
MTK_SOC := mt7620n
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := ZyXEL
DEVICE_MODEL := Keenetic Omni II
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index e604302954..bb55fc34da 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -295,6 +295,7 @@ TARGET_DEVICES += lenovo_newifi-d1
define Device/linksys_re6500
MTK_SOC := mt7621
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Linksys
DEVICE_MODEL := RE6500
DEVICE_PACKAGES := kmod-mt76x2 wpad-basic
@@ -497,6 +498,7 @@ TARGET_DEVICES += samknows_whitebox-v8
define Device/storylink_sap-g3200u3
MTK_SOC := mt7621
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := STORYLiNK
DEVICE_MODEL := SAP-G3200U3
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk
index 8bcd96cc71..ceb124569b 100644
--- a/target/linux/ramips/image/mt76x8.mk
+++ b/target/linux/ramips/image/mt76x8.mk
@@ -57,6 +57,7 @@ TARGET_DEVICES += d-team_pbr-d1
define Device/duzun_dm06
MTK_SOC := mt7628an
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := DuZun
DEVICE_MODEL := DM06
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
@@ -183,6 +184,7 @@ TARGET_DEVICES += onion_omega2p
define Device/rakwireless_rak633
MTK_SOC := mt7628an
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Rakwireless
DEVICE_MODEL := RAK633
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
diff --git a/target/linux/ramips/image/rt305x.mk b/target/linux/ramips/image/rt305x.mk
index a9366ba4c8..52fa84c3eb 100644
--- a/target/linux/ramips/image/rt305x.mk
+++ b/target/linux/ramips/image/rt305x.mk
@@ -35,6 +35,7 @@ TARGET_DEVICES += 7links_px-4885-4m
define Device/7links_px-4885-8m
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := 7Links
DEVICE_MODEL := PX-4885
DEVICE_VARIANT := 8M
@@ -46,6 +47,7 @@ TARGET_DEVICES += 7links_px-4885-8m
define Device/8devices_carambola
MTK_SOC := rt3050
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := 8devices
DEVICE_MODEL := Carambola
DEVICE_PACKAGES :=
@@ -55,6 +57,7 @@ TARGET_DEVICES += 8devices_carambola
define Device/accton_wr6202
MTK_SOC := rt3052
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Accton
DEVICE_MODEL := WR6202
SUPPORTED_DEVICES += wr6202
@@ -73,6 +76,7 @@ TARGET_DEVICES += airlive_air3gii
define Device/alfa-network_w502u
MTK_SOC := rt3052
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := ALFA
DEVICE_MODEL := Networks W502U
SUPPORTED_DEVICES += w502u
@@ -92,6 +96,7 @@ TARGET_DEVICES += allnet_all0256n-4m
define Device/allnet_all0256n-8m
MTK_SOC := rt3050
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Allnet
DEVICE_MODEL := ALL0256N
DEVICE_VARIANT := 8M
@@ -145,6 +150,7 @@ TARGET_DEVICES += alphanetworks_asl26555-8m
define Device/arcwireless_freestation5
MTK_SOC := rt3050
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := ARC Wireless
DEVICE_MODEL := FreeStation
DEVICE_PACKAGES := kmod-usb-dwc2 kmod-rt2500-usb kmod-rt2800-usb kmod-rt2x00-usb
@@ -185,6 +191,7 @@ TARGET_DEVICES += asiarf_awm002-evb-4m
define Device/asiarf_awm002-evb-8m
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := AsiaRF
DEVICE_MODEL := AWM002-EVB/AWM003-EVB
DEVICE_VARIANT := 8M
@@ -217,6 +224,7 @@ TARGET_DEVICES += asus_rt-n10-plus
define Device/asus_rt-n13u
MTK_SOC := rt3052
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Asus
DEVICE_MODEL := RT-N13U
DEVICE_PACKAGES := kmod-leds-gpio kmod-rt2800-pci kmod-usb-dwc2
@@ -256,6 +264,7 @@ TARGET_DEVICES += aximcom_mr-102n
define Device/aztech_hw550-3g
MTK_SOC := rt3052
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Aztech
DEVICE_MODEL := HW550-3G
DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
@@ -358,6 +367,7 @@ TARGET_DEVICES += dlink_dir-300-b7
define Device/dlink_dir-320-b1
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DIR-320
DEVICE_VARIANT := B1
@@ -422,6 +432,7 @@ TARGET_DEVICES += dlink_dir-615-h1
define Device/dlink_dir-620-a1
MTK_SOC := rt3050
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DIR-620
DEVICE_VARIANT := A1
@@ -431,6 +442,7 @@ TARGET_DEVICES += dlink_dir-620-a1
define Device/dlink_dir-620-d1
MTK_SOC := rt3352
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DIR-620
DEVICE_VARIANT := D1
@@ -460,6 +472,7 @@ TARGET_DEVICES += dlink_dwr-512-b
define Device/easyacc_wizard-8800
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
UIMAGE_NAME:= Linux Kernel Image
DEVICE_VENDOR := EasyAcc
DEVICE_MODEL := WIZARD 8800
@@ -503,6 +516,7 @@ TARGET_DEVICES += engenius_esr-9753
define Device/fon_fonera-20n
MTK_SOC := rt3052
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | \
edimax-header -s RSDK -m NL1T -f 0x50000 -S 0xc0000
@@ -528,6 +542,7 @@ TARGET_DEVICES += hame_mpr-a1
define Device/hame_mpr-a2
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
UIMAGE_NAME:= Linux Kernel Image
DEVICE_VENDOR := HAME
DEVICE_MODEL := MPR
@@ -562,6 +577,7 @@ TARGET_DEVICES += hilink_hlk-rm04
define Device/hootoo_ht-tm02
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := HooToo
DEVICE_MODEL := HT-TM02
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport
@@ -590,6 +606,7 @@ TARGET_DEVICES += huawei_hg255d
define Device/intenso_memory2move
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
UIMAGE_NAME:= Linux Kernel Image
DEVICE_VENDOR := Intenso
DEVICE_MODEL := Memory 2 Move
@@ -638,6 +655,7 @@ TARGET_DEVICES += jcg_jhr-n926r
define Device/mofinetwork_mofi3500-3gn
MTK_SOC := rt3052
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := MoFi Network
DEVICE_MODEL := MOFI3500-3GN
SUPPORTED_DEVICES += mofi3500-3gn
@@ -670,6 +688,7 @@ TARGET_DEVICES += netgear_wnce2001
define Device/nexaira_bc2
MTK_SOC := rt3052
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := NexAira
DEVICE_MODEL := BC2
SUPPORTED_DEVICES += bc2
@@ -691,6 +710,7 @@ TARGET_DEVICES += nexx_wt1520-4m
define Device/nexx_wt1520-8m
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
IMAGES += factory.bin
IMAGE/factory.bin := \
$$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B WT1520 -F 8M
@@ -725,6 +745,7 @@ TARGET_DEVICES += nixcore_x1-8m
define Device/olimex_rt5350f-olinuxino
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := OLIMEX
DEVICE_MODEL := RT5350F-OLinuXino
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
@@ -736,6 +757,7 @@ TARGET_DEVICES += olimex_rt5350f-olinuxino
define Device/olimex_rt5350f-olinuxino-evb
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := OLIMEX
DEVICE_MODEL := RT5350F-OLinuXino-EVB
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
@@ -747,6 +769,7 @@ TARGET_DEVICES += olimex_rt5350f-olinuxino-evb
define Device/omnima_miniembplug
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Omnima
DEVICE_MODEL := MiniEMBPlug
SUPPORTED_DEVICES += miniembplug
@@ -755,6 +778,7 @@ TARGET_DEVICES += omnima_miniembplug
define Device/omnima_miniembwifi
MTK_SOC := rt3052
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Omnima
DEVICE_MODEL := MiniEMBWiFi
SUPPORTED_DEVICES += miniembwifi
@@ -805,6 +829,7 @@ TARGET_DEVICES += planex_mzk-wdpr
define Device/poray_ip2202
MTK_SOC := rt3052
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Poray
DEVICE_MODEL := IP2202
SUPPORTED_DEVICES += ip2202
@@ -842,6 +867,7 @@ TARGET_DEVICES += poray_m4-4m
define Device/poray_m4-8m
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
IMAGES += factory.bin
IMAGE/factory.bin := \
$$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B M4 -F 8M
@@ -855,6 +881,7 @@ TARGET_DEVICES += poray_m4-8m
define Device/poray_x5
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
IMAGES += factory.bin
IMAGE/factory.bin := \
$$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B X5 -F 8M
@@ -867,6 +894,7 @@ TARGET_DEVICES += poray_x5
define Device/poray_x8
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
IMAGES += factory.bin
IMAGE/factory.bin := \
$$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B X8 -F 8M
@@ -879,6 +907,7 @@ TARGET_DEVICES += poray_x8
define Device/prolink_pwh2004
MTK_SOC := rt3052
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Prolink
DEVICE_MODEL := PWH2004
DEVICE_PACKAGES :=
@@ -996,6 +1025,7 @@ TARGET_DEVICES += trendnet_tew-638apb-v2
define Device/trendnet_tew-714tru
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := TRENDnet
DEVICE_MODEL := TEW-714TRU
SUPPORTED_DEVICES += tew-714tru
@@ -1027,6 +1057,7 @@ TARGET_DEVICES += unbranded_wr512-3gn-4m
define Device/unbranded_wr512-3gn-8m
MTK_SOC := rt3052
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Ralink
DEVICE_MODEL := WR512-3GN
DEVICE_VARIANT := 8M
@@ -1057,6 +1088,7 @@ TARGET_DEVICES += upvel_ur-326n4g
define Device/upvel_ur-336un
MTK_SOC := rt3052
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := UPVEL
DEVICE_MODEL := UR-336UN
DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
@@ -1092,6 +1124,7 @@ TARGET_DEVICES += vocore_vocore-8m
define Device/wansview_ncs601w
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Wansview
DEVICE_MODEL := NCS601W
DEVICE_PACKAGES := kmod-video-core kmod-video-uvc \
@@ -1111,6 +1144,7 @@ TARGET_DEVICES += wiznet_wizfi630a
define Device/zorlik_zl5900v2
MTK_SOC := rt5350
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Zorlik
DEVICE_MODEL := ZL5900V2
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev
diff --git a/target/linux/ramips/image/rt3883.mk b/target/linux/ramips/image/rt3883.mk
index b04cb8f071..ae9c10aca1 100644
--- a/target/linux/ramips/image/rt3883.mk
+++ b/target/linux/ramips/image/rt3883.mk
@@ -8,6 +8,7 @@ endef
define Device/asus_rt-n56u
MTK_SOC := rt3883
BLOCKSIZE := 64k
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
IMAGE/sysupgrade.bin += | mkrtn56uimg -s
DEVICE_VENDOR := Asus
DEVICE_MODEL := RT-N56U
@@ -34,6 +35,7 @@ define Device/dlink_dir-645
$(Device/seama)
MTK_SOC := rt3883
BLOCKSIZE := 4k
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
KERNEL := $(KERNEL_DTB)
SEAMA_SIGNATURE := wrgn39_dlob.hans_dir645
DEVICE_VENDOR := D-Link
@@ -60,6 +62,7 @@ TARGET_DEVICES += edimax_br-6475nd
define Device/loewe_wmdr-143n
MTK_SOC := rt3883
BLOCKSIZE := 64k
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Loewe
DEVICE_MODEL := WMDR-143N
SUPPORTED_DEVICES += wmdr-143n
@@ -81,6 +84,7 @@ define Device/samsung_cy-swr1100
$(Device/seama)
MTK_SOC := rt3883
BLOCKSIZE := 64k
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
KERNEL := $(KERNEL_DTB)
SEAMA_SIGNATURE := wrgnd10_samsung_ss815
DEVICE_VENDOR := Samsung
@@ -107,6 +111,7 @@ TARGET_DEVICES += sitecom_wlr-6000
define Device/trendnet_tew-691gr
MTK_SOC := rt3883
BLOCKSIZE := 64k
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
umedia-header 0x026910
@@ -120,6 +125,7 @@ TARGET_DEVICES += trendnet_tew-691gr
define Device/trendnet_tew-692gr
MTK_SOC := rt3883
BLOCKSIZE := 64k
+ IMAGE_SIZE := $(ralink_default_fw_size_8M)
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
umedia-header 0x026920