From 28110727f1d513a6c4c13aa87ecb606aa5d306eb Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sat, 3 Sep 2016 09:56:35 +0200 Subject: 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 --- target/linux/ramips/image/mt7628.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/ramips/image/mt7628.mk') diff --git a/target/linux/ramips/image/mt7628.mk b/target/linux/ramips/image/mt7628.mk index bd7d5bf..2a130b5 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 -- cgit v1.1