Skip to contentSkip to conversation

mt76: mt7603: add additional EEPROM chip ID

PATCH In review David Bauer 3 participants 5 messages Oct 13, 2020 – Oct 14, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mt76: mt7603: add additional EEPROM chip ID

Some newer MT7628 based routers (notably the TP-Link Archer C50 v4) are shipped with a chip-id of 0x7600 in the on-flash EEPROM. Add this as a possible valid ID.

Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2781

---
 drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +1 -0
index 3ee06e2577b8..422b9d9e8962 100644
@@ -141,6 +141,7 @@ static int mt7603_check_eeprom(struct mt76_dev *dev)
 	switch (val) {
 	case 0x7628:
 	case 0x7603:
+	case 0x7600:
 		return 0;
 	default:
 		return -EINVAL;
Signature · 1 line
2.28.0
maintainer
#1 lore raw
Quoted 17 lines

Some newer MT7628 based routers (notably the TP-Link Archer C50 v4) are shipped with a chip-id of 0x7600 in the on-flash EEPROM. Add this as a possible valid ID.

Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2781

---
 drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +0 -0
index 3ee06e2577b8..422b9d9e8962 100644

drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c static int mt7603_check_eeprom(struct mt76_dev *dev) · line 144

Quoted 4 lines
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +1 -0
@@ -141,6 +141,7 @@ static int mt7603_check_eeprom(struct mt76_dev *dev)
 	switch (val) {
 	case 0x7628:
 	case 0x7603:
+	case 0x7600:

is it a hw bug or does this part-number really exist?

Quoted 6 lines
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +0 -0
 		return 0;
 	default:
 		return -EINVAL;
Signature · 1 line
2.28.0
#2 lore raw

Hi Lorenzo,

Quoted 12 lines · Lorenzo Bianconi
Quoted 12 lines

Some newer MT7628 based routers (notably the TP-Link Archer C50 v4) are shipped with a chip-id of 0x7600 in the on-flash EEPROM. Add this as a possible valid ID.

Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2781

---
 drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c | 1 +
 1 file changed, 1 insertion(+)
Quoted 11 lines

drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c static int mt7603_check_eeprom(struct mt76_dev *dev) · line 144

Quoted 9 lines
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +1 -0
index 3ee06e2577b8..422b9d9e8962 100644
@@ -141,6 +141,7 @@ static int mt7603_check_eeprom(struct mt76_dev *dev)
 	switch (val) {
 	case 0x7628:
 	case 0x7603:
+	case 0x7600:

is it a hw bug or does this part-number really exist?

I assume it's a bug on TP-Links side. However, there's already quite some units with this chip-id in their EEPROM around.

Best wishes
David

Quoted 8 lines
Quoted 8 lines
drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +0 -0
 		return 0;
 	default:
 		return -EINVAL;
Signature · 1 line
2.28.0
#3 lore raw

Hi,

David Bauer wrote on 13.10.20 16:42:

Quoted 5 lines
Quoted 2 lines

is it a hw bug or does this part-number really exist?

I assume it's a bug on TP-Links side. However, there's already quite some units with this chip-id in their EEPROM around.

to my knowledge, all devices of this specific model (Archer C50 v4) have this chip-id in their EEPROM, not only some.

Regards

Andreas

#4 lore raw

Hi Andreas,

Quoted 4 lines · Andreas Ziegler

Hi,

David Bauer wrote on 13.10.20 16:42:

Quoted 1 line
Quoted 1 line
Quoted 8 lines
Quoted 4 lines
Quoted 1 line

is it a hw bug or does this part-number really exist?

I assume it's a bug on TP-Links side. However, there's already quite some units with this chip-id in their EEPROM around.

to my knowledge, all devices of this specific model (Archer C50 v4) have this chip-id in their EEPROM, not only some.

The unit I've got back when the v4 first surfaced has the correct chip-id in the 2.4GHz EEPROM (0x7628). However, some (if not all) newer units use 0x7600 as the chip-id for the MT7628 caldata.

Best wishes
David

Quoted 5 lines

Regards

Andreas