summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/mt7628.mk
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-09-03 09:56:35 +0200
committerMathias Kresin <dev@kresin.me>2016-09-03 09:56:35 +0200
commit28110727f1d513a6c4c13aa87ecb606aa5d306eb (patch)
tree395f63bd9844aa4228c041ea47fd2e0deac7befd /target/linux/ramips/image/mt7628.mk
parent05ab2323ffa4c630934e3d0b27a2516b26c1c161 (diff)
downloadmaster-31e0f0ae-28110727f1d513a6c4c13aa87ecb606aa5d306eb.tar.gz
master-31e0f0ae-28110727f1d513a6c4c13aa87ecb606aa5d306eb.tar.bz2
master-31e0f0ae-28110727f1d513a6c4c13aa87ecb606aa5d306eb.zip
ramips: set blocksize for 4MB devices
Set the blocksize for devices having only 4MB of flash for ramips devices already using the new image build code. Informations about the used flash chip are gathered from the OpenWrt wiki, wikidevi, forums, OEM bootlogs or the compatible property in the device tree source file. The en25q32b from the AirLive Air3GII does not have 4k support in the kernel. For the following boards no information about the used flash chip could be found and a 64k blocksize is assumed: - Ralink V11ST-FE - Ralink AP-RT3052-V22RW-2X2 - MediaTek MT7628 EVB - MediaTek MT7621 EVB - UPVEL UR-326N4G - Buffalo WZR-AGL300NH Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/image/mt7628.mk')
-rw-r--r--target/linux/ramips/image/mt7628.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7628.mk b/target/linux/ramips/image/mt7628.mk
index bd7d5bf7a4..2a130b5d24 100644
--- a/target/linux/ramips/image/mt7628.mk
+++ b/target/linux/ramips/image/mt7628.mk
@@ -4,6 +4,7 @@
define Device/mt7628
DTS := MT7628
+ BLOCKSIZE := 64k
IMAGE_SIZE := $(ralink_default_fw_size_4M)
DEVICE_TITLE := MediaTek MT7628 EVB
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev