summaryrefslogtreecommitdiff
path: root/target/linux/ramips/image/mt7621.mk
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-09-14 19:11:19 +0200
committerMathias Kresin <dev@kresin.me>2016-09-15 09:53:37 +0200
commiteb88a9cacb41a69cdeb335298882b218361ff825 (patch)
tree0b7e9f8b5d306fc4c830e25560746945dcd1dde0 /target/linux/ramips/image/mt7621.mk
parentd14c28fc80d98cc712074c869cbd1659398e8829 (diff)
downloadmtk-20170518-eb88a9cacb41a69cdeb335298882b218361ff825.zip
mtk-20170518-eb88a9cacb41a69cdeb335298882b218361ff825.tar.gz
mtk-20170518-eb88a9cacb41a69cdeb335298882b218361ff825.tar.bz2
ramips: fix wrong blocksizes
The D-Link DIR-860L B1 has a flash chip which doesn't support 4K sectors. Since the DIR-860L B1 was the only mt7621 board which had the 4k blocksize set, the 4K sector support is removed from the kernel config. I've checked the flash chips of all boards having set a 4K blocksize again. This time I searched harder to finding bootlogs instead of relying on wikis articles and/or the device tree source file. The Planex MZK-DP150N has an en25q32b instead of the mentioned one in the dts. Albeit the en25q32b supports 4K sectors, 4K support is not enabled in the driver. Change the blocksize for this board back to 64K. Reported-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/image/mt7621.mk')
-rw-r--r--target/linux/ramips/image/mt7621.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index ceed8ab..0c14d51 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -57,7 +57,7 @@ TARGET_DEVICES += wsr-1166
define Device/dir-860l-b1
DTS := DIR-860L-B1
- BLOCKSIZE := 4k
+ BLOCKSIZE := 64k
IMAGES += factory.bin
KERNEL := kernel-bin | patch-dtb | relocate-kernel | lzma | uImage lzma
IMAGE_SIZE := $(ralink_default_fw_size_16M)