[openwrt/openwrt] ramips: remove incorrect mtd-eeprom for TP-Link TL-WR841N v14
LEDE Commits
lede-commits at lists.infradead.org
Sat Jul 18 20:01:50 EDT 2020
adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2e4626ae77fe81c45fb708a37ac1709aefa033d3
commit 2e4626ae77fe81c45fb708a37ac1709aefa033d3
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Fri Jul 17 11:23:16 2020 +0200
ramips: remove incorrect mtd-eeprom for TP-Link TL-WR841N v14
The factory partition on this device is only 64k in size, so having
mediatek,mtd-eeprom = <&factory 0x10000> would place the EEPROM data
after the end of the flash. As can be verified against the TP-Link
GPL sources, which contain the EEPROM data as binary blob, the actual
address for the EEPROM data is 0x0.
Since 0x0 is default for MT7628, the incorrect line is just removed.
This error is the reason for the abysmal Wifi performance that people
are complaining about for the WR841Nv14.
Fixes: 3fd97c522bb7 ("ramips: add support for TP-Link TL-WR841n v14")
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts
index eaac196c19..b33c2ecae8 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts
@@ -103,8 +103,8 @@
&wmac {
status = "okay";
+
mtd-mac-address = <&factory 0xf100>;
- mediatek,mtd-eeprom = <&factory 0x10000>;
};
ðernet {
More information about the lede-commits
mailing list