Lech Perczak [Sun, 24 Nov 2024 22:56:00 +0000 (23:56 +0100)]
qca9888: add ZTE MF286C BDF
Dumped from stock firmware MF286C_CR_TMMYMF286CV1.0.1B03.
bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=ZTE-MF286C.
sha256:
140a4abbb441a3ad0fb35a7e21c6d5b4034516b77eb232aedfacd2a7d57dad0e
board-zte-mf286c.qca9888
Link: http://lists.infradead.org/pipermail/ath10k/2024-October/016118.html
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/61
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lech Perczak [Sun, 24 Nov 2024 22:50:31 +0000 (23:50 +0100)]
qca9888: add ZTE MF286A/R BDF
Dumped from stock firmware MF286A_CR_TELE2LTMF286V1.0.0.B10.
bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=ZTE-MF286AR.
sha256:
9c7c97531479041f8197b9492b054d40e57fd92107b6986e447d360f1d914e92
board-zte-mf286ar.qca9888
Link: http://lists.infradead.org/pipermail/ath10k/2024-November/016134.html
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/61
Signed-off-by: Robert Marko <robimarko@gmail.com>
Chukun Pan [Sun, 9 Feb 2025 14:08:20 +0000 (22:08 +0800)]
ipq8074: add Aliyun AP8220 BDF
Add BDF for Aliyun AP8220 router.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/69
Signed-off-by: Robert Marko <robimarko@gmail.com>
George Moussalem [Fri, 14 Feb 2025 12:31:52 +0000 (16:31 +0400)]
qcn9074: add BDF for Linksys SPNMX56
Add QCN9074 BDF for Linksys SPNMX56.
The BDF was edited to update to template version 4.2.0, remove regdomain,
and update the regdb taken from WLAN.HK.2.12-01460-QCAHKSWPL_SILICONZ-1 v1
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/70
Signed-off-by: Robert Marko <robimarko@gmail.com>
George Moussalem [Fri, 14 Feb 2025 12:30:40 +0000 (16:30 +0400)]
ipq5018: add BDF for Linksys SPNMX56
Add IPQ5018 BDF for Linksys SPNMX56.
The BDF was edited to update to template version 3.4.0, remove regdomain,
and update the regdb taken from WLAN.HK.2.12-01460-QCAHKSWPL_SILICONZ-1 v1
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/70
Signed-off-by: Robert Marko <robimarko@gmail.com>
George Moussalem [Thu, 13 Feb 2025 07:22:52 +0000 (11:22 +0400)]
qcn9074: add BDF for Linksys MR5500
Add QCN9074 BDF for Linksys MR5500.
The BDF was edited to update to template version 4.2.0, remove regdomain,
and update the regdb taken from WLAN.HK.2.12-01460-QCAHKSWPL_SILICONZ-1 v1
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/68
Signed-off-by: Robert Marko <robimarko@gmail.com>
George Moussalem [Thu, 13 Feb 2025 07:22:15 +0000 (11:22 +0400)]
ipq5018: add BDF for Linksys MR5500
Add IPQ5018 BDF for Linksys MR5500.
The BDF was edited to update to template version 3.4.0, remove regdomain,
and update the regdb taken from WLAN.HK.2.12-01460-QCAHKSWPL_SILICONZ-1 v1
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/68
Signed-off-by: Robert Marko <robimarko@gmail.com>
Robert Marko [Mon, 10 Feb 2025 18:27:48 +0000 (19:27 +0100)]
ipq5018: add Wallys DR5018
Add the required BDF for Wallys DR5018.
Link: https://github.com/openwrt/firmware_qca-wireless/pull/64
Signed-off-by: Robert Marko <robimarko@gmail.com>
Pig [Sun, 22 Dec 2024 22:20:20 +0000 (17:20 -0500)]
Add BDFs for Linksys MR7500
sourced from 1.1.12.211919
ipq6018:
- removed regdomain
- updated regdb (v0 -> v39) from 2.7.0
qcn9074
- updated regdb (v36 -> v39) from 2.9.0
Signed-off-by: Pig <priv@pppig236.com>
Signed-off-by: pppig236 <priv@pppig236.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/57
Signed-off-by: Robert Marko <robimarko@gmail.com>
George Moussalem [Wed, 5 Feb 2025 07:52:15 +0000 (11:52 +0400)]
qcn9074: add BDF for Linksys MX5500
Add QCN9074 BDF for Linksys MX5500.
The BDF was edited to update to template version 4.2.0, remove regdomain,
and update the regdb taken from WLAN.HK.2.12-01460-QCAHKSWPL_SILICONZ-1 v1
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/63
Signed-off-by: Robert Marko <robimarko@gmail.com>
George Moussalem [Wed, 5 Feb 2025 07:51:49 +0000 (11:51 +0400)]
ipq5018: add BDF for Linksys MX5500
Add IPQ5018 BDF for Linksys MX5500.
The BDF was edited to update to template version 3.4.0, remove regdomain,
and update the regdb taken from WLAN.HK.2.12-01460-QCAHKSWPL_SILICONZ-1 v1
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/63
Signed-off-by: Robert Marko <robimarko@gmail.com>
George Moussalem [Wed, 5 Feb 2025 07:51:02 +0000 (11:51 +0400)]
qcn6122: add BDF for Linksys MX2000
Add QCN6122 BDF for Linksys MX2000.
The BDF was edited to update to template version 3.4.0, remove regdomain,
and update the regdb taken from WLAN.HK.2.12-01460-QCAHKSWPL_SILICONZ-1 v1
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/63
Signed-off-by: Robert Marko <robimarko@gmail.com>
George Moussalem [Wed, 5 Feb 2025 07:45:18 +0000 (11:45 +0400)]
ipq5018: add BDF for Linksys MX2000
Add IPQ5018 BDF for Linksys MX2000.
The BDF was edited to update to template version 3.4.0, remove regdomain,
and update the regdb taken from WLAN.HK.2.12-01460-QCAHKSWPL_SILICONZ-1 v1
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/63
Signed-off-by: Robert Marko <robimarko@gmail.com>
Stijn Tintel [Fri, 3 May 2024 15:58:06 +0000 (18:58 +0300)]
ipq6018: add BDF for Edgecore EAP101
Taken from TIP OpenWiFi:
https://github.com/Telecominfraproject/wlan-ap/raw/
88d6633c85acd4143cfcb1f0a4fdcfdc88f35f3e/feeds/ipq807x_v5.4/ath11k-wifi/board-edgecore-eap101.bin.IPQ6018
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Stijn Tintel [Wed, 29 Jan 2025 19:41:39 +0000 (21:41 +0200)]
Revert "ipq6018: add BDF for Edgecore EAP101"
The board file is empty.
This reverts commit
f54581db0bfd812ddf86b627c66fb26f8b2fc609.
testuser7 [Fri, 30 Aug 2024 16:00:05 +0000 (18:00 +0200)]
ipq8074: add Linksys HomeWRK BDF
Add IPQ8074 BDF for Linksys HomeWRK.
BDF was edited to remove regdomain and update regdb.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/58
Signed-off-by: Robert Marko <robimarko@gmail.com>
Shymon Samsel [Thu, 12 Dec 2024 01:18:37 +0000 (20:18 -0500)]
ipq8074: add TP-Link EAP620 HD v1 BDF
Add board file for TP-Link EAP620 HD v1. Sourced from bdwlan_US.bin in stock firmware 1.1.0 Build
20211028
Signed-off-by: Shymon Samsel <ssamsel@umass.edu>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/53
Signed-off-by: Robert Marko <robimarko@gmail.com>
Chukun Pan [Sun, 2 Jun 2024 12:18:03 +0000 (20:18 +0800)]
ipq6018: add BDF for Qihoo 360V6
Add BDF for the Qihoo 360V6 router.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/47
Signed-off-by: Robert Marko <robimarko@gmail.com>
professor-jonny [Fri, 2 Aug 2024 19:17:11 +0000 (07:17 +1200)]
ipq8074: add TP-Link_deco-x80-5g BDF
Dumped form Nand backup from stock firmware.
/lib/firmware/BDF_X80_0813.bin
OEM firmware version 1.0.0 from the NZ market.
bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=tplink_deco_x80-5g.ipq8074
board-tplink_deco-x80-5g.ipq8074
md5
7c8f464facbb6381d32338146fb1961f
crc32
4a33aaf6
sha1
fc8ea8616f5645b64df9e95ebe361ce65609717c
Link: https://github.com/openwrt/firmware_qca-wireless/pull/49
Signed-off-by: Robert Marko <robimarko@gmail.com>
Shiji Yang [Mon, 23 Sep 2024 15:07:00 +0000 (23:07 +0800)]
ipq40xx: add BDFs for SKSpruce WIA3300-20
The original BDFs were extracted from stock firmware
AmOS-3.6.3.300P05C5.
WiFi0(2 GHz):
bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=SKSpruce_WIA3300-20.bin
WiFi0(5 GHz):
bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=SKSpruce_WIA3300-20.bin
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/50
Signed-off-by: Robert Marko <robimarko@gmail.com>
testuser7 [Fri, 1 Mar 2024 11:56:15 +0000 (12:56 +0100)]
qcn9074: add Linksys MX8500 BDF
Add QCN9074 BDF for Linksys MX8500.
BDF has been edited and updated to version 4.1.1,
regdomain removed and regdb updated.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/37
Signed-off-by: Robert Marko <robimarko@gmail.com>
testuser7 [Fri, 1 Mar 2024 11:54:38 +0000 (12:54 +0100)]
ipq8074: add Linksys MX8500 BDF
Add IPQ8074 BDF for Linksys MX8500.
BDF was edited to remove regdomain and update regdb.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Kristian Skramstad [Tue, 21 May 2024 06:35:17 +0000 (08:35 +0200)]
qcn9074: add Cambium Networks XE3-4 BDF
Add board-2.bin for Cambium Networks XE3-4 qcn9074.
FileSize: 131184
FileCRC32:
5f37e64d
FileMD5:
9cd679935f782e7a0b434a9e0a64a928
BoardNames[0]: 'bus=pci,qmi-chip-id=0,qmi-board-id=255,variant=CambiumNetworks-XE34'
BoardLength[0]: 131072
BoardCRC32[0]:
c3af7c65
BoardMD5[0]:
8a034071acd11dca46f2fa4d935f0319
Signed-off-by: Kristian Skramstad <kristian+github@83.no>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/43
Signed-off-by: Robert Marko <robimarko@gmail.com>
Kristian Skramstad [Tue, 21 May 2024 06:33:55 +0000 (08:33 +0200)]
ipq60xx: add Cambium Networks XE3-4 BDF
Add board-2.bin for Cambium Networks XE3-4 ipq6018.
Regdb: (v0 -> v39)
FileSize: 65648
FileCRC32:
a3fbf6af
FileMD5:
36671bd79903fcd2e077a5b3a7b9cf0a
BoardNames[0]: 'bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=CambiumNetworks-XE34'
BoardLength[0]: 65536
BoardCRC32[0]:
76a252ea
BoardMD5[0]:
4bd57376c688e4fdd34e89a30599eecf
Signed-off-by: Kristian Skramstad <kristian+github@83.no>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/43
Signed-off-by: Robert Marko <robimarko@gmail.com>
George Witt [Fri, 28 Jun 2024 22:26:00 +0000 (17:26 -0500)]
ipq8074: add TP-Link EAP660 HD v1 BDF
Add board file for TP-Link EAP660 HD v1. Sourced from bdwlan_US.bin in
stock firmware 1.2.11 Build
20240314.
Signed-off-by: George Witt <george.witt@nltsproject.org>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/45
Signed-off-by: Robert Marko <robimarko@gmail.com>
Rodrigo Balerdi [Wed, 8 May 2024 03:51:51 +0000 (00:51 -0300)]
ipq40xx: add BDFs for Linksys WHW03 V1
BDFs come from latest firmware, version 1.1.19.209880 (2022-06-20):
- /lib/firmware/IPQ4019/v1/FCC/boardData_1_0_IPQ4019_DK04_2G.bin
- /lib/firmware/IPQ4019/v1/FCC/boardData_1_0_IPQ4019_DK04_5G.bin
- /lib/firmware/QCA9888/v1/FCC/boardData_2_0_QCA9888_5G_Y9690_SBS_HB.bin
Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
Link: https://github.com/openwrt/firmware_qca-wireless/pull/42
Signed-off-by: Robert Marko <robimarko@gmail.com>
stijn@linux-ipv6.be [Tue, 7 May 2024 06:23:57 +0000 (09:23 +0300)]
ipq6018: add BDF for Edgecore EAP101
Taken from TIP OpenWiFi:
https://github.com/Telecominfraproject/wlan-ap/raw/
88d6633c85acd4143cfcb1f0a4fdcfdc88f35f3e/feeds/ipq807x_v5.4/ath11k-wifi/board-edgecore-eap101.bin.IPQ6018
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Christian Marangi [Fri, 26 Apr 2024 11:25:17 +0000 (13:25 +0200)]
ipq6018: update RegDB in new submitted BDF
Update RegDB in new submitted BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Christian Marangi [Fri, 26 Apr 2024 11:24:57 +0000 (13:24 +0200)]
ipq8074: update RegDB in new submitted BDF
Update RegDB in new submitted BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
testuser7 [Thu, 21 Mar 2024 07:30:47 +0000 (08:30 +0100)]
ipq6018: update regdb in TPLink EAP610-Outdoor BDF
Update regdb for TPLink EAP610-Outdoor.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Vladdrako [Wed, 6 Mar 2024 06:04:37 +0000 (08:04 +0200)]
ipq6018: add Linksys MR7350 BDF
Add BDF for Linksys MR7350
Signed-off-by: Vladyslav Andreichykov <vladdrako007@gmail.com>
testuser7 [Wed, 3 Apr 2024 08:12:30 +0000 (10:12 +0200)]
ipq8074: update regdb in Spectrum SAX1V1K BDF
Update regdb in Spectrum SAX1V1K BDF.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Chukun Pan [Mon, 25 Mar 2024 15:10:02 +0000 (23:10 +0800)]
ipq8074: add Zbtlink ZBT-Z800AX BDF
Add BDF for the Zbtlink ZBT-Z800AX router.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
gotofbi [Tue, 19 Mar 2024 12:40:40 +0000 (13:40 +0100)]
ipq8074: add Spectrum SAX1V1K BDF
Add BDF for Spectrum SAX1V1K AP.
```
[
{
"board": [
{
"names": [
"bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=Spectrum-SAX1V1K"
],
"data": "bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=Spectrum-SAX1V1K.bin"
}
],
"regdb": []
}
]
```
Signed-off-by: Connor Yoon <j_connor@taliaent.com>
Alexandru Gagniuc [Sun, 17 Mar 2024 19:25:08 +0000 (14:25 -0500)]
ipq60xx: add BDF for TPLink EAP610-Outdoor
Add BDF for TPLink EAP610-Outdoor.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
JiaY-shi [Tue, 5 Mar 2024 13:34:18 +0000 (21:34 +0800)]
ipq60xx: add glinet gl-axt1800 BDF
Add BDF for GL.iNet GL-AXT1800
Signed-off-by: shi jiayang <shi05275@163.com>
JiaY-shi [Tue, 5 Mar 2024 13:27:49 +0000 (21:27 +0800)]
ipq60xx: add glinet gl-ax1800 BDF
Add BDF for GL.iNet GL-AX1800
Signed-off-by: shi jiayang <shi05275@163.com>
Isaev Ruslan [Thu, 29 Feb 2024 14:52:46 +0000 (17:52 +0300)]
ipq60xx: add yuncore fap650 BDF
Add BDF for yuncore fap650 AP.
```
[
{
"board": [
{
"names": [
"bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=Yuncore-FAP650"
],
"data": "bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=Yuncore-FAP650.bin"
}
],
"regdb": []
}
]
```
Signed-off-by: Isaev Ruslan <legale.legale@gmail.com>
Dirk Buchwalder [Sun, 3 Mar 2024 15:41:30 +0000 (16:41 +0100)]
ipq60xx: add netgear wax214 BDF
Add BDF for Netgear WAX214
Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de>
testuser7 [Fri, 12 Jan 2024 11:10:28 +0000 (12:10 +0100)]
ipq8074: remove regdomain, update regdb and rename MX4200 BDF
Remove regdomain from MX4200 v1 and v2 BDF
update regdb and rename file.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
testuser7 [Sat, 9 Dec 2023 16:27:50 +0000 (17:27 +0100)]
qca9984: add Linksys MX5300 BDF
Add QCA9984 BDF for Linksys MX5300.
BDF was edited to remove regdomain.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
testuser7 [Fri, 8 Dec 2023 01:25:58 +0000 (02:25 +0100)]
ipq8074: add Linksys MX5300 BDF
Add IPQ8074 BDF for Linksys MX5300.
BDF was edited to remove regdomain (country lock)
and update regdb.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Mantas Pucka [Tue, 16 Jan 2024 11:11:37 +0000 (13:11 +0200)]
ipq6018: add 8devices Mango BDF
Add BDF for 8devices Mango SoM
Signed-off-by: Mantas Pucka <mantas@8devices.com>
Marcin Gajda [Fri, 2 Feb 2024 14:08:43 +0000 (15:08 +0100)]
ipq40xx:Add support for Netgear LBR20 with two BDF's
Files QCA4019 hw1.0 and QCA9888 hw2.0 been exracted from Netgear's LBR20 firmware , and treated with qca-swiss-army-knife:
For QCA4019 hw1.0
bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=Netgear-LBR20
bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=Netgear-LBR20
and created a file:
board-netgear_lbr20.qca4019
For QCA9888 hw2.0
bus=pci,bmi-chip-id=0,bmi-board-id=17,variant=Netgear-LBR20
and created a file:
board-netgear_lbr20.qca9888
LBR20 have 3 radios:
radio0 : in qca9888 5Ghz low channels
radio1: in ipq4019 2,4Ghz
radio2: in ipq 4019 5Ghz high channels
Signed-off-by: Marcin Gajda <mgajda@o2.pl>
SpectreDev1 [Wed, 3 Jan 2024 16:48:28 +0000 (16:48 +0000)]
ipq8074: Update MX4200 BDF
This is to seperate Linksys MX4200 v1 and v2 BDF's
Signed-off-by: Mohammad Sayful Islam <Sayf.mohammad01@gmail.com>
[ fix commit title ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Erkki Hietaranta [Tue, 5 Dec 2023 07:04:21 +0000 (02:04 -0500)]
ipq40xx: add ASUS MAP-AC2200 QCA9888 BDF
Adds BDF for ASUS MAP-AC2200 QCA9888 radio
Signed-off-by: Erkki Hietaranta <erkki.hietaranta@gmail.com>
Jason Gaunt [Thu, 30 Nov 2023 21:13:59 +0000 (21:13 +0000)]
ipq40xx: add ZyXEL WSQ50 QCA9984 BDF
Adds BDF for ZyXEL WSQ50 QCA9984 radio
Signed-off-by: Jason Gaunt <github@akao.co.uk>
Jason Gaunt [Thu, 30 Nov 2023 21:10:49 +0000 (21:10 +0000)]
ipq40xx: add ZyXEL WSQ50 QCA4019 BDF
Adds BDF for ZyXEL WSQ50 QCA4019 radio
Signed-off-by: Jason Gaunt <github@akao.co.uk>
Alan Wallys [Sat, 2 Dec 2023 07:57:56 +0000 (15:57 +0800)]
ipq8074: add Wallys DR8072V01 BDF
Add BDF for the Wallys DR8072V01 router.
Variant: Wallys-DR8072V01
Signed-off-by: Alan Wallys<gxg@wallystech.com>
[ improve commit title and description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Christian Marangi [Fri, 10 Nov 2023 11:52:13 +0000 (12:52 +0100)]
qcn9074: fix prpl Foundation Haze BDF for old mac80211 version
It seems in a specific timeframe ath11k fw require some bits related to
6GHz config deployment to be enabled or the BDF is rejected. These were
only present from template 4.0.0+ and weren't a thing for template 3.0.0.
Haze BDF is based on this old template version and lacks of these bits.
Adding these missing bits from an upstream generic BDF makes the fw
happy and work on old mac80211. Recent mac80211 fixed this and is not
affected. Adding these bits doesn't cause any regression but only makes
it more compatible with previous ath11k drivers.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Isaev Ruslan [Thu, 2 Nov 2023 14:18:07 +0000 (17:18 +0300)]
ipq8074: add Yuncore AX880 BDF
Add BDF for the Yuncore AX880 AP.
Info: bus=ahb,qmi-chip-id=0,qmi-board-id=255
Signed-off-by: Isaev Ruslan <legale.legale@gmail.com>
Chukun Pan [Fri, 9 Jun 2023 15:21:08 +0000 (23:21 +0800)]
ipq8074: add ZTE MF269 BDF
Add BDF for the ZTE MF269 router.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Chukun Pan [Sun, 4 Jun 2023 15:20:15 +0000 (23:20 +0800)]
ipq8074: add CMCC RM2-6 BDF
Add BDF for the CMCC RM2-6 router.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Chukun Pan [Tue, 22 Aug 2023 15:16:05 +0000 (23:16 +0800)]
ipq8074: add Arcadyan AW1000 BDF
Add BDF for the Arcadyan AW1000 router.
Info: bus=ahb,qmi-chip-id=0,qmi-board-id=624.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Christian Marangi [Tue, 3 Oct 2023 15:18:33 +0000 (17:18 +0200)]
qcn9074: update RegDB in new submitted BDF
Update RegDB in new submitted BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Christian Marangi [Tue, 3 Oct 2023 15:18:12 +0000 (17:18 +0200)]
ipq8074: update RegDB in new submitted BDF
Update RegDB in new submitted BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Kristian Skramstad [Tue, 19 Sep 2023 11:20:50 +0000 (13:20 +0200)]
ipq8074: add Netgear WAX630
Board file for Netgear WAX630.
Extracted from stock (WAX630_BDF.bin) firmware and repacked.
```
FileSize: 131180
FileCRC32:
6b2db1b3
FileMD5:
bc2d3d978072b322fdfee9d8ebfd2286
BoardNames[0]: 'bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=Netgear-WAX630'
BoardLength[0]: 131072
BoardCRC32[0]:
57f71403
BoardMD5[0]:
b777205ce9b53914f1e4abbd8530b4df
```
Signed-off-by: Kristian Skramstad <kristian+github@83.no>
Mohammad Sayful Islam [Sun, 10 Sep 2023 17:50:13 +0000 (18:50 +0100)]
ipq8174: Add Linksys MX4200
Add BDF for linksys MX4200 extracted from device and repacked
Signed-off-by: Mohammad Sayful Islam <sayf.mohammad01@gmail.com>
Andreas Böhler [Tue, 12 Sep 2023 18:27:45 +0000 (20:27 +0200)]
qca-wireless: ipq40xx: add BDFs for ZTE MF287
Board file for ZTE MF287 extracted from the device and repacked.
Signed-off-by: Andreas Böhler <dev@aboehler.at>
Kristian Skramstad [Sun, 20 Aug 2023 19:05:38 +0000 (21:05 +0200)]
ipq8074: add Netgear WAX620
Board file for Netgear WAX620, extracted from stock (bdwlan.b290) firmware and repacked.
FileSize: 131180
FileCRC32:
d62eae14
FileMD5:
d4167d2471e6062f6887d8b4c29a9340
BoardNames[0]: 'bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=Netgear-WAX620'
BoardLength[0]: 131072
BoardCRC32[0]:
28996dac
BoardMD5[0]:
c02c9c91bc97868597a15e0edbbf38cb
Signed-off-by: Kristian Skramstad <kristian+github@83.no>
Chukun Pan [Tue, 2 May 2023 15:02:10 +0000 (23:02 +0800)]
ipq40xx: add YYeTs LE1 BDF
Add BDF for YYeTs LE1 router.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Christian Marangi [Mon, 26 Jun 2023 11:01:23 +0000 (13:01 +0200)]
ipq8074: update RegDB in new submitted BDF
Update RegDB in new submitted BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Robert Marko [Sun, 25 Jun 2023 17:19:59 +0000 (19:19 +0200)]
ipq8074: add Asus RT-AX89X BDF
Add the BDF for Asus RT-AX89X pulled from the latest stock FW.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Christian Marangi [Sat, 3 Jun 2023 19:16:51 +0000 (21:16 +0200)]
ipq8074: update RegDB in new submitted BDF
Update RegDB in new submitted BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Christian Marangi [Sat, 3 Jun 2023 19:14:56 +0000 (21:14 +0200)]
Revert "ipq8074: update RegDB in new submitted BDF"
This reverts commit
a63bfab98eab3c353accc62747678a507ceab274.
A BDF was deleted by mistake.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Christian Marangi [Sat, 3 Jun 2023 18:20:30 +0000 (20:20 +0200)]
qcn9074: update RegDB in new submitted BDF
Update RegDB in new submitted BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Christian Marangi [Sat, 3 Jun 2023 18:19:44 +0000 (20:19 +0200)]
ipq8074: update RegDB in new submitted BDF
Update RegDB in new submitted BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Andreas Böhler [Tue, 23 May 2023 14:53:16 +0000 (16:53 +0200)]
qca-wireless: ipq40xx: add BDFs for ZTE MF287+
Board file for ZTE MF287+ extracted from the device and repacked.
Signed-off-by: Andreas Böhler <dev@aboehler.at>
Petr Štetiar [Tue, 30 May 2023 08:58:23 +0000 (10:58 +0200)]
Add BDFs for prpl Foundation Haze board
QSDK based factory firmware boot was setting following board_ids in DTS:
ath11k_pci 0001:01:00.0: chip_id 0x0 chip_family 0x0 board_id 0xa4 soc_id 0xffffffff
ath11k
c000000.wifi1: chip_id 0x0 chip_family 0x0 board_id 0x294 soc_id 0xffffffff
Thus board-prpl_haze.qcn9074` was created from `bus=...qmi-board-id=164.bin`
file and `board-prpl_haze.ipq8074` from `bus=...qmi-board-id=660.bin` file.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Christian Marangi [Mon, 22 May 2023 12:59:07 +0000 (14:59 +0200)]
ipq8074: update RegDB in new submitted BDF
Update RegDB in new submitted BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Christian Marangi [Mon, 22 May 2023 12:55:29 +0000 (14:55 +0200)]
ipq8074: add Compex WPQ873 BDF
Add Compex WPQ873 BDF provided directly by Compex.
Repackage and add variant name Compex-WPQ873.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Connor Northway [Sun, 2 Apr 2023 18:23:10 +0000 (14:23 -0400)]
qca-wireless: ipq40xx: Add BDFs for Eero Cento
Board files for Eero Cento aka eero (2nd-gen) aka J010001.
Found in root filesystem of device at
`/lib/firmware/ath10k/QCA4019/hw1.0/board-2.bin.cento`,
extracted, modified with `,variant=Eero-Cento`, and repacked
ids/md5:
bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=Eero-Cento
md5sum:
8bb585b9badf0e270585329e9bda83e2
bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=Eero-Cento
md5sum:
714c291e5bbbeed34d19fe17bb80a36f
Signed-off-by: Connor Northway <contact@cnorthway.com>
Christian Marangi [Mon, 17 Apr 2023 14:50:19 +0000 (16:50 +0200)]
ipq8074: update regdb for Netgear SXK80 BDF
Update regdb for Netgear SXK80 BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Andrew Smith [Sat, 15 Apr 2023 22:52:38 +0000 (23:52 +0100)]
ipq8074: add Netgear SXK80
Add BDF for the Netgear SXR80 (Router) and SXS80 (Satellite) collectively
known as SXK80.
Signed-off-by: Andrew Smith <gul.code@outlook.com>
[ wrap commit description to 75 char ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Christian Marangi [Fri, 24 Mar 2023 21:41:01 +0000 (22:41 +0100)]
ath11k: qcn8074: Update regDb in every BDF
Update regDb in every ath11k qcn8074 regDb.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Christian Marangi [Fri, 24 Mar 2023 09:23:00 +0000 (10:23 +0100)]
ath11k: ipq8074: Update regDb in every BDF
Update regDb in every ath11k ipq8074 regDb.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Thomas Kupper [Fri, 7 Apr 2023 06:58:55 +0000 (08:58 +0200)]
ath11k: ipq8074: add Netgear RAX120v2
Add BDF for Netgear RAX120v2.
Signed-off-by: Thomas Kupper <thomas.kupper@gmail.com>
Koen Vandeputte [Mon, 20 Mar 2023 10:19:20 +0000 (11:19 +0100)]
ipq40xx: add support for Wallystech DR40x9
Adds support for the Wallys DR40x9 series boards.
They come in IPQ4019 and IPQ4029 versions.
IPQ4019/4029 only differ in that that IPQ4029 is the industrial version that is rated to higher temperatures.
Specifications are:
* CPU: Qualcomm IPQ40x9 (4x ARMv7A Cortex A7) at 716 MHz
* RAM: 512 MB
* Storage: 2MB of SPI-NOR, 128 MB of parallel NAND
* USB 3.0 TypeA port for users
* MiniPCI-E with PCI-E 2.0 link
* MiniPCI-E for LTE modems with only USB2.0 link
* 2 SIM card slots that are selected via GPIO11
* MicroSD card slot
* Ethernet: 2x GBe with 24~48V passive POE
* SFP port (Does not work, I2C and GPIO's not connected on hardware)
* DC Jack
* UART header
* WLAN: In-SoC 2x2 802.11b/g/n and 2x2 802.11a/n/ac
* 4x MMCX connectors for WLAN
* Reset button
* 8x LED-s
Installation instructions:
Connect to UART, pins are like this:
-> 3.3V | TX | RX | GND
Settings are 115200 8n1
Boot initramfs from TFTP:
tftpboot 0x84000000 openwrt-ipq40xx-generic-wallys_dr40x9-initramfs-fit-uImage.itb
bootm
Then copy the sysupgrade image to the /tmp folder and execute sysupgrade -n <image_name>
The board file binary was provided from Wallystech on March 14th 2023
including full permission to use and distribute.
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
Christian Marangi [Mon, 27 Mar 2023 15:56:16 +0000 (17:56 +0200)]
Revert "ipq40xx: add support for Wallystech DR40x9"
This reverts commit
f9cece02724b8ca2c1a166a46f0afa89e632d431.
Problem in submission from patchwork and the BDF was actually empty.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Robert Marko [Wed, 22 Mar 2023 10:58:35 +0000 (11:58 +0100)]
ipq40xx: add Emplus WAP551 BDF
Add the custom Emplus WAP551 BDF require for ath10k.
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Koen Vandeputte [Mon, 20 Mar 2023 10:19:20 +0000 (11:19 +0100)]
ipq40xx: add support for Wallystech DR40x9
Adds support for the Wallys DR40x9 series boards.
They come in IPQ4019 and IPQ4029 versions.
IPQ4019/4029 only differ in that that IPQ4029 is the industrial version that is rated to higher temperatures.
Specifications are:
* CPU: Qualcomm IPQ40x9 (4x ARMv7A Cortex A7) at 716 MHz
* RAM: 512 MB
* Storage: 2MB of SPI-NOR, 128 MB of parallel NAND
* USB 3.0 TypeA port for users
* MiniPCI-E with PCI-E 2.0 link
* MiniPCI-E for LTE modems with only USB2.0 link
* 2 SIM card slots that are selected via GPIO11
* MicroSD card slot
* Ethernet: 2x GBe with 24~48V passive POE
* SFP port (Does not work, I2C and GPIO's not connected on hardware)
* DC Jack
* UART header
* WLAN: In-SoC 2x2 802.11b/g/n and 2x2 802.11a/n/ac
* 4x MMCX connectors for WLAN
* Reset button
* 8x LED-s
Installation instructions:
Connect to UART, pins are like this:
-> 3.3V | TX | RX | GND
Settings are 115200 8n1
Boot initramfs from TFTP:
tftpboot 0x84000000 openwrt-ipq40xx-generic-wallys_dr40x9-initramfs-fit-uImage.itb
bootm
Then copy the sysupgrade image to the /tmp folder and execute sysupgrade -n <image_name>
The board file binary was provided from Wallystech on March 14th 2023
including full permission to use and distribute.
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
Kristjan Krušič [Sat, 18 Mar 2023 11:28:23 +0000 (12:28 +0100)]
ipq806x: add support for Nokia Airscale AC400i
Hardware
--------
SoC: Qualcomm IPQ8065
RAM: 512 MB DDR3
Flash: 256 MB NAND (Macronix MX30UF2G18AC) (split into 2x128MB)
4 MB SPI-NOR (Macronix MX25U3235F)
WLAN: Qualcomm Atheros QCA9984 - 2.4Ghz
Qualcomm Atheros QCA9984 - 5Ghz
ETH: eth0 - POE (100Mbps in U-Boot, 1000Mbps in OpenWrt)
eth1 - (1000Mbps in both)
Auto-negotiation broken on both.
USB: USB 2.0
LED: 5G, 2.4G, ETH1, ETH2, CTRL, PWR (All support green and red)
BTN: Reset
Other: SD card slot (non-functional)
Serial: 115200bps, near the Ethernet transformers, labeled 9X.
Connections from the arrow to the 9X text:
[NC] - [TXD] - [GND] - [RXD] - [NC]
Installation
------------
0. Connect to the device
Plug your computer into LAN2 (1000Mbps connection required).
If you use the LAN1/POE port, set your computer to force a 100Mbps link.
Connect to the device via TTL (Serial) 115200n8.
Locate the header (or solder pads) labeled 9X,
near the Ethernet jacks/transformers.
There should be an arrow on the other side of the header marking.
The connections should go like this:
(from the arrow to the 9X text): NC - TXD - GND - RXD - NC
1. Prepare for installation
While the AP is powering up, interrupt the startup process.
MAKE SURE TO CHECK YOUR CURRENT PARTITION!
If you see: "Current Partition is : partB" or
"Need to switch partition from partA to partB",
you have to force the device into partA mode, before continuing.
This can be done by changing the PKRstCnt to 5 and resetting the device.
setenv PKRstCnt 5
saveenv
reset
After you interrupt the startup process again,
you should see: Need to switch partition from partB to partA
You can now continue to the next step.
If you see: "Current Partition is : partA",
you can continue to the next step.
2. Prevent partition switching.
To prevent the device from switching partitions,
we are going to modify the startup command.
set bootcmd "setenv PKRstCnt 0; saveenv; bootipq"
setenv
3. First boot
Now, we have to boot the OpenWrt intifs.
The easiest way to do this is by using Tiny PXE.
You can also use the normal U-Boot tftp method.
Run "bootp" this will get an IP from the DHCP server
and possibly the firmware image.
If it doesn't download the firmware image, run "tftpboot".
Now run "bootm" to run the image.
You might see:
"ERROR: new format image overwritten - must RESET the board to recover"
this means that the image you are trying to load is too big.
Use a smaller image for the initial boot.
4. Install OpenWrt from initfs
Once you are booted into OpenWrt,
transfer the OpenWrt upgrade image and
use sysupgrade to install OpenWrt to the device.
Signed-off-by: Kristjan Krušič <kristjan.krusic@krusic22.com>
[ drop -2G and -5G from variant BDF ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Alexandru Gagniuc [Fri, 10 Mar 2023 20:13:21 +0000 (14:13 -0600)]
ath11k: ipq8074: add Netgear WAX218
Add BDF for Netgear WAX218.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Christian Marangi [Sat, 18 Mar 2023 11:41:43 +0000 (12:41 +0100)]
ath10k-firmware: IPQ4019 hw1.0: Rename variant to ZTE MF18A specific BDF
Rename variant to ZTE-MF18A to IPQ4019 hw1.0 ZTE MF18A specific BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Christian Marangi [Sat, 18 Mar 2023 10:41:00 +0000 (11:41 +0100)]
ath10k-firmware: IPQ4019 hw1.0: Add variant to Teltonika RUTX10 specific BDF
Add missing variant Teltonika-RUTX10 to IPQ4019 h1.0 Teltonika RUTX10 specific BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Christian Marangi [Sat, 18 Mar 2023 10:03:57 +0000 (11:03 +0100)]
ath10k-firmware: QCA99X0 hw2.0: Add variant to ZTE MF18A specific BDF
Add missing variant ZTE-MF18A to QCA99X0 hw2.0 ZTE MF18A specific BDF.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mantas Pucka [Thu, 16 Mar 2023 08:01:41 +0000 (10:01 +0200)]
ipq-wifi: update 8devices Jalapeno BDF
Fixes temperature sensor readout.
Add custom BDF until fix is accepted upstream.
Signed-off-by: Mantas Pucka <mantas@8devices.com>
Mantas Pucka [Thu, 16 Mar 2023 08:00:48 +0000 (10:00 +0200)]
ipq-wifi: update 8devices Habanero BDF
Fixes temperature sensor readout.
Add custom BDF until fix is accepted upstream.
Signed-off-by: Mantas Pucka <mantas@8devices.com>
INAGAKI Hiroshi [Mon, 23 Jan 2023 04:01:13 +0000 (13:01 +0900)]
ipq807x: add support for Buffalo WXR-5950AX12
Buffalo WXR-5950AX12 is a 2.4/5 GHz band 11ax (Wi-Fi 6) router, based on
IPQ8074A.
Specification:
- SoC : Qualcomm IPQ8074A
- RAM : DDR3 1024 MiB (2x Nanya NT5CC256M16ER-EK)
- Flash : RAW NAND 256 MiB (Winbond W29N02GZBIBA)
- WLAN : 2.4/5 GHz (IPQ8074A)
- Ethernet : 5 ports
- WAN : 100/1000/2500/10000 Mbps x1 (AQR113C)
- LAN : 100/1000/2500/10000 Mbps x1 (AQR113C),
10/100/1000 Mbps x3 (QCA8075)
- LED/Keys : 8x/5x
- UART : pin header on PCB (J7)
- assignment: 3.3V, GND, TX, RX from disc marking
- settings : 115200n8
- Power : 12 VDC, 4 A
Flash instruction using initramfs image:
1. Prepare TFTP server with IP address 192.168.11.10
2. Rename OpenWrt initramfs image to "WXR-5950AX12-initramfs.uImage and
place it to TFTP directory
3. Hold AOSS (WPS) button and power on WXR-5950AX12
4. WXR-5950AX12 downloads initramfs image from TFTP server and boots
with it automatically
5. Upload sysupgrade image to WXR-5950AX12 and perform sysupgrade
6. Wait ~120 seconds to complete flashing
Partition layout:
0x000000000000-0x000000100000 : "0:sbl1"
0x000000100000-0x000000200000 : "0:mibib"
0x000000200000-0x000000280000 : "0:bootconfig"
0x000000280000-0x000000300000 : "0:bootconfig1"
0x000000300000-0x000000600000 : "0:qsee"
0x000000600000-0x000000900000 : "0:qsee_1"
0x000000900000-0x000000980000 : "0:devcfg"
0x000000980000-0x000000a00000 : "0:devcfg_1"
0x000000a00000-0x000000a80000 : "0:apdp"
0x000000a80000-0x000000b00000 : "0:apdp_1"
0x000000b00000-0x000000b80000 : "0:rpm"
0x000000b80000-0x000000c00000 : "0:rpm_1"
0x000000c00000-0x000000c80000 : "0:cdt"
0x000000c80000-0x000000d00000 : "0:cdt_1"
0x000000d00000-0x000000d80000 : "0:appsblenv"
0x000000d80000-0x000000e80000 : "0:appsbl"
0x000000e80000-0x000000f80000 : "0:appsbl_1"
0x000000f80000-0x000001000000 : "0:art"
0x000001000000-0x000001080000 : "0:art_1"
0x000001080000-0x000001100000 : "0:orgdata"
0x000001100000-0x000001180000 : "0:orgdata_1"
0x000001180000-0x000005180000 : "rootfs"
0x000005180000-0x000009180000 : "rootfs_recover"
0x000009180000-0x000010000000 : "user_property"
Notes:
- WXR-5950AX12 has 2x OS images on NAND flash. The 1st image is for
normal operation and the 2nd one is for recoverying or firmware
upgrading on stock.
- Stock U-Boot checks MD5 hashes in "fw_hash" volume in each "root*"
partition when booting. This is just a comparation of hash strings.
Behaviors:
- both "fw_hash" volumes exist, hashes are rootfs == rootfs_recover
---> boot from rootfs
- both "fw_hash" volumes exist, hashes are rootfs != rootfs_recover
---> boot from rootfs_recover
Note: this behavior is used for firmware upgrading on stock
- "fw_hash" volume in rootfs is missing
---> boot from rootfs_recover
- "fw_hash" volume in rootfs_recover is missing
---> boot from rootfs
- "fw_hash" volumes in both root* partition are missing
---> boot from rootfs_recover
Reverting to stock firmware:
1. Decrypt official image by buffalo-enc and remove header
example of decryption:
$ buffalo-enc -i wxr_5950ax12_jp_305 -o wxr_5950ax12_jp_305.dec \
-d -k olaffuB -O 0xc8
example of removing header (v3.05):
- before
$ hexdump -n 64 -v -C wxr_5950ax12_jp_305.dec
00000000 57 58 52 2d 35 39 35 30 41 58 31 32 5f 33 2e 30 |WXR-5950AX12_3.0|
00000010 35 5f 31 2e 30 31 5f 4a 50 5f 6a 70 5f 71 63 61 |5_1.01_JP_jp_qca|
00000020 0a 66 69 6c 65 6c 65 6e 3d 34 35 33 35 30 39 31 |.filelen=
4535091|
00000030 32 0a 55 42 49 23 01 00 00 00 00 00 00 00 00 00 |2.UBI#..........|
00000040
- after
$ hexdump -n 64 -v -C wxr_5950ax12_jp_305.ubi
00000000 55 42 49 23 01 00 00 00 00 00 00 00 00 00 00 00 |UBI#............|
00000010 00 00 08 00 00 00 10 00 78 cf c4 91 00 00 00 00 |........x.......|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 3d 2a 64 fd |............=*d.|
00000040
2. Boot WXR-5950AX12 with OpenWrt initramfs image
3. Upload modified stock image to WXR-5950AX12
4. Find partitions "rootfs" and "rootfs_recover"
example:
root@OpenWrt:/# cat /proc/mtd
dev: size erasesize name
...
mtd22:
04000000 00020000 "rootfs"
mtd23:
04000000 00020000 "rootfs_recover"
...
in this case, "rootfs" is mtd22 and "rootfs_recover" is mtd23
5. Format "rootfs"/"rootfs_recover" partition with the uploaded image
example:
ubiformat /dev/mtd22 -f /tmp/wxr_5950ax12_jp_305.ubi
ubiformat /dev/mtd23 -f /tmp/wxr_5950ax12_jp_305.ubi
6. Remove "rootfs"/"rootfs_data" volume from user_property partition
example:
. /lib/upgrade/nand.sh
UBI=$(nand_attach_ubi user_property)
ubirmvol /dev/$UBI -N rootfs
ubirmvol /dev/$UBI -N rootfs_data
7. Reboot
MAC addresses:
LAN : 50:C4:DD:xx:xx:28 (0:APPSBLENV, ethaddr (text))
WAN : 50:C4:DD:xx:xx:28 (0:APPSBLENV, ethaddr (text))
2.4 GHz: 50:C4:DD:xx:xx:30 (0:APPSBLENV, wlan0addr (text))
5 GHz : 50:C4:DD:xx:xx:38 (0:APPSBLENV, wlan1addr (text))
Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
André Valentin [Tue, 3 Jan 2023 18:23:41 +0000 (19:23 +0100)]
ipq807x: Add ZyXEL NBG7815
ZyXEL NBG7815 is a premium 802.11ax "tri"-band router/AP.
Specifications:
* CPU: Qualcomm IPQ8072A Quad core Cortex-A53 2.2GHz
* RAM: 1 GB 2x Nanya NT5CC256M16ER-EK
* Storage:
* 8MB serial flash Winbond W25Q64DW
* 4GB eMMC flash Kingston EMMC04G-M627
* Ethernet:
* 4x1G RJ45 ports (QCA8074A) with 1x status LED per port
* 1x2.5G RJ45 port (QCA8081) with 1x status LED
* 1x10G RJ45 port (AQR113C) with 1x status LED
* Switch: Qualcomm Atheros QCA8075
* WLAN:
* 2.4GHz: Qualcomm QCN5024 4x4@40MHz 802.11b/g/n/ax 1147 Mbps PHY rate
* 2x 5GHz: Qualcomm QCN5054 4x4 802.11a/b/g/n/ac/ax 2402 PHY rate
* Bluetooth CSR8811 using HSUART, currently unsupported
* USB: 1x USB3.0 Type-A port
* LED-s currently not supported:
* White
* Dark Blu
* Amber
* Purple
* Purple and dark blue
* Red
* Buttons:
* 1x Soft reset
* Power: 12V DC Jack
Installation instructions:
* Disconnect WAN
* Reset device to factory defaults by pushing reset button 15 sec,
LEDs should lit orange color.
* After 5-10 minutes, when the LEDs turn constant dark blue,
put your LAN cable and connect at address 192.168.123.1 by telnet on port 23
* Login with
NBG7815 login: root
password: nbg7815@2019
* cd /tmp/ApplicationData
* wget -O openwrt-ipq807x-generic-zyxel_nbg7815-squashfs-sysupgrade.bin http://...
* wget https://github.com/itorK/nbg7815_tools/blob/main/flash_to_openwrt.sh
* run flash_to_openwrt.sh
If you can't use wget, you can transfer the files via nc.
See https://openwrt.org/inbox/toh/zyxel/nbg7815_armor_g5 for installation details.
Bluetooth usage:
* you need at least package bluez-utils, recommended bluez-daemon
* run following commands to enable and start
hciattach /dev/ttyMSM1 bcsp
hciconfig hci0 up
Many thanks to itorK for his work on this device:
https://github.com/itorK/openwrt/tree/nbg7815
Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: André Valentin <avalentin@marcant.net>
Dirk Buchwalder [Fri, 5 Aug 2022 09:38:37 +0000 (11:38 +0200)]
ipq807x: add Dynalink DL-WRX36
Dynalink DL-WRX36 is a AX WIFI router with 4 1G and 1 2.5G ports.
Specifications:
• CPU: Qualcomm IPQ8072A Quad core Cortex-A53 2.2GHz
• RAM: 1024MB of DDR3
• Storage: 256MB Nand
• Ethernet: 4x 1G RJ45 ports (QCA8075) + 1 2.5G Port (QCA8081)
• WLAN:
2.4GHz: Qualcomm QCN5024 2x2 802.11b/g/n/ax 1174 Mbps PHY rate
5GHz: Qualcomm QCN5054 4x4 802.11a/b/g/n/ac/ax 2402 PHY rate
• 1x USB 3.0
• 1 gpio-controlled dual color led (blue/red)
• Buttons: 1x soft reset / 1x WPS
• Power: 12V DC jack
A poulated serial header is onboard (J1004)
the connector size is a 4-pin 2.0 mm JST PH.
RX/TX is working, u-boot bootwait is active, secure boot is enabled.
Notes:
- Serial is completely deactivated in the stock firmware image.
- This commit adds only single partition support, that means
sysupgrade is upgrading the current rootfs partition.
- Installation can be done by serial connection or
SSH access on OEM firmware
Installation Instructions:
Most part of the installation is performed from an initramfs image
running OpenWrt, and there are two options to boot it.
Boot initramfs option 1: Using serial connection (3.3V)
1. Stop auto boot to get to U-boot shell
2. Transfer initramfs image to device
(openwrt-ipq807x-generic-dynalink_dl-wrx36-initramfs-uImage.itb)
Tested using TFTP and a FAT-formatted USB flash drive.
3. Boot the initramfs image
# bootm
Boot initramfs option 2: From SSH access on OEM firmware
1. Copy the initramfs image to a FAT-formatted flash drive
(tested on single-partition drive) and connect it to device USB port.
2. Change boot command so it loads the initramfs image on next boot
Fallback to OEM firmware is provided.
# fw_setenv bootcmd 'usb start && fatload usb 0:1 0x44000000 openwrt-ipq807x-generic-dynalink_dl-wrx36-initramfs-uImage.itb && bootm 0x44000000; bootipq'
3. Reboot the device to boot the initramfs
# reboot
Install OpenWrt from initramfs image:
1. Use SCP (or other way) to transfer OpenWrt factory image
2. Connect to device using SSH (on a LAN port)
3. Check MTD partition table.
rootfs and rootfs_1 should be mtd18 and mtd20
depending on current OEM slot.
# cat /proc/mtd
4. Do a ubiformat to both rootfs partitions:
# ubiformat /dev/mtd18 -y -f /path_to/factory_image
# ubiformat /dev/mtd20 -y -f /path_to/factory_image
5. Set U-boot env variable: mtdids
# fw_setenv mtdids 'nand0=nand0'
6. Get offset of mtd18 to determine current OEM slot
- If current OEM slot is 1, offset is
16777216 (0x1000000)
- If current OEM slot is 2, offset is
127926272 (0x7a00000)
# cat /sys/class/mtd/mtd18/offset
7. Set U-boot env variable: mtdparts
If current OEM slot is 1, run:
# fw_setenv mtdparts 'mtdparts=nand0:0x6100000@0x1000000(fs),0x6100000@0x7a00000(fs_1)'
If current OEM slot is 2, run:
# fw_setenv mtdparts 'mtdparts=nand0:0x6100000@0x7a00000(fs),0x6100000@0x1000000(fs_1)'
8. Set U-boot env variable: bootcmd
# fw_setenv bootcmd 'setenv bootargs console=ttyMSM0,115200n8 ubi.mtd=rootfs rootfstype=squashfs rootwait; ubi part fs; ubi read 0x44000000 kernel; bootm 0x44000000#config@rt5010w-d350-rev0'
9. Reboot the device
# reboot
Note: this PR adds only single partition support, that means sysupgrade is
upgrading the current rootfs partition
Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de>
Matthew Hagan [Sat, 29 Jan 2022 00:03:11 +0000 (09:03 +0900)]
ipq807x: add Edgecore EAP102
The Edgecore EAP102 is a wall/ceiling mountable AP. The AP can be
powered by either PoE or AC adapter.
Device info:
- IPQ8071-A SoC
- 1GiB RAM
- 256MiB NAND flash
- 32MiB SPI NOR
- 2 Ethernet ports
- 1 Console port
- 2GHz/5GHz AX WLAN
- 2 USB 2.0 ports
Install instructions:
Prerequistes - TFTP server, preferrably within 192.168.1.0/24
Console cable plugged in (115200 8N1 no flow control)
1. Power on device and interrupt u-boot to obtain u-boot CLI
2. set serverip to IP address of the TFTP server:
`setenv serverip 192.168.1.250`
3. Download image from TFTP server:
`tftpboot 0x44000000 openwrt-ipq807x-generic-edgecore_eap102-squashfs-nand-factory.ubi`
4. Flash ubi image to both partitions and reset:
`sf probe
imxtract 0x44000000 ubi
nand device 0
nand erase 0x0 0x3400000
nand erase 0x3c00000 0x3400000
nand write $fileaddr 0x0 $filesize
nand write $fileaddr 0x3c00000 $filesize
reset`
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Robert Marko [Mon, 10 Jan 2022 23:50:37 +0000 (00:50 +0100)]
ipq807x: Add Xiaomi AX9000
Xiaomi AX9000 is a premium 802.11ax "tri"-band router/AP.
Specifications:
* CPU: Qualcomm IPQ8072A Quad core Cortex-A53 2.2GHz
* RAM: 1024MB of DDR3
* Storage: 256MB of parallel NAND
* Ethernet:
* 4x1G RJ45 ports (QCA8075) with 1x status LED per port
* 1x2.5G RJ45 port (QCA8081) with 1x status LED
* WLAN:
* PCI based Qualcomm QCA9889 1x1 802.11ac Wawe 2 for IoT
* 2.4GHz: Qualcomm QCN5024 4x4@40MHz 802.11b/g/n/ax 1147 Mbps PHY rate
* 5.8GHz: Qualcomm QCN5054 4x4@80MHz or 2x2@160MHz 802.11a/b/g/n/ac/ax 2402Mbps PHY rate
* 5GHz: PCI based Qualcomm QCN9024 4x4@160MHz 802.11a/b/g/n/ac/ax 4804Mbps PHY rate
* USB: 1x USB3.0 Type-A port
* LED-s:
* System (Blue and Yellow)
* Network (Blue and Yellow)
* RGB light bar on top in X shape
* Buttons:
* 1x Power switch
* 1x Soft reset
* 1x Mesh button
* Power: 12V DC Jack
Installation instructions:
Obtaining SSH access is mandatory
https://openwrt.org/inbox/toh/xiaomi/ax9000#obtain_ssh_access
Installation is done by the ubiformat method, through SSH:
1. Open an SSH shell to the router
2. Copy the file openwrt-ipq807x-generic-xiaomi_ax9000-initramfs-factory.ubi to the /tmp directory
3. Check which rootfs partition is your router booted in (0 = rootfs | 1 = rootfs_1):
nvram get flag_boot_rootfs
4. Find the rootfs and rootfs_1 mtd indexes respectively:
cat /proc/mtd
Please confirm if mtd21 and mtd22 are the correct indexes from above!
5. Use the command ubiformat to flash the opposite mtd with UBI image:
If nvram get flag_boot_rootfs returned 0:
ubiformat /dev/mtd22 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax9000-initramfs-factory.ubi && nvram set flag_boot_rootfs=1 && nvram set flag_last_success=1 && nvram commit
otherwise:
ubiformat /dev/mtd21 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax9000-initramfs-factory.ubi && nvram set flag_boot_rootfs=0 && nvram set flag_last_success=0 && nvram commit
6. Reboot the device by:
reboot
Previous commands flashed an ubinized OpenWrt initramfs that will serve as the intermediate step
since OpenWrt uses unified rootfs in order to fully utilize NAND and provide enough space for packages.
Continue in order to pernamently flash OpenWrt:
7. SSH into OpenWrt from one of the LAN ports
8. Copy the file openwrt-ipq807x-generic-xiaomi_ax9000-squashfs-sysupgrade.bin to the /tmp directory
9. Sysupgrade the device:
sysupgrade -n /tmp/openwrt-ipq807x-generic-xiaomi_ax9000-squashfs-sysupgrade.bin
Device will reboot with OpenWrt, and then sysupgrade can be used to upgrade the device when desired.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Dirk Buchwalder [Sat, 1 Jan 2022 22:20:19 +0000 (23:20 +0100)]
ipq807x: add QNAP 301w
QNAP 301w is a AX WIFI router with 4 1G and 2 10G ports.
Specifications:
• CPU: Qualcomm IPQ8072A Quad core Cortex-A53 2.2GHz
• RAM: 1024MB of DDR3
• Storage: 4GB eMMC (contains kernel and rootfs) / 8MB NOR
(contains art and u-boot-env)
• Ethernet: 4x 1G RJ45 ports + 2 10G ports (Aquantia AQR113C)
• WLAN:
2.4GHz: Qualcomm QCN5024 4x4 (40 MHz) 802.11b/g/n/ax 1174 Mbps PHY rate
5GHz: Qualcomm QCN5054 4x4 (80 MHz) or 2x2 (160 MHz) 802.11a/b/g/n/ac/ax 2402 PHY rate
• LEDs:
7 x GPIO-controlled dual color LEDs + 2 GPIO-controlled single color LEDs
• Buttons: 1x soft reset / 1x WPS
• Power: 12V DC jack
A poulated serial header is onboard.
RX/TX is working, bootwait is active, secure boot is not enabled.
SSH can be activated in the stock firmware, hold WPS button til the second beep
(yes the router has a buzzer)
SSH is available on port 22200, login with user admin and
password "mac address of the router".
Installation Instructions:
• obtain serial access (https://openwrt.org/inbox/toh/qnap/301w#serial)
• stop auto boot
• setenv serverip 192.168.10.1
• setenv ipaddr 192.168.10.10
• tftpboot the initramfs image
(openwrt-ipq807x-generic-qnap_301w-initramfs-fit-uImage.itb)
• bootm
• make sure that current_entry is set to "0":
"fw_printenv -n current_entry" should be print "0". If not,
do "fw_setenv current_entry 0"
• copy openwrt-ipq807x-generic-qnap_301w-squashfs-sysupgrade.bin
to the device to /tmp folder
• sysupgrade -n /tmp/openwrt-ipq807x-generic-qnap_301w-squashfs-sysupgrade.bin
this flashes openwrt to the first kernel and rootfs partition (mmcblk0p1 / mmcblk0p4)
• reboot
Note: this leaves the second kernel / rootfs parition untouched. So if you want
to go back to stock, stop u-boot autoboot, "setenv current_entry 1" ,
"saveenv", "bootipq".
Stock firmware should start from the second partition.
Then do a firmwareupgrade in the stock gui, that should overwrite the openwrt
in the first partitions
Make 10G Aquantia phy's work:
The aquantia phy's need a firmware to work. This can either be loaded
in linux with a userspace tool or in u-boot.
I was not successfull to load the firmware in linux (aq-fw-download) but luckily there is
aq_load_fw available in u-boot. But first the right firmware needs to write
to the 0:ETHPHYFW mtd partition (it is empty on my device)
Grab the ethphy firmware image from:
https://github.com/kirdesde/nbg7815_gpl/blob/master/target/linux/ipq/ipq807x_64/prebuilt_images/AQR_ethphyfw.mbn
and scp that to openwrt.
Check the 0:ETHPHYFW partition number:
cat /proc/mtd|grep "0:ETHPHYFW", should be mtd10.
Backup the 0:ETHPHYFW partition:
dd if=/dev/mtd10 of=/tmp/ethphyfw.backup, scp ethphyfw.backup to a save place.
Write the new firmware image to the 0:ETHPHYFW partition:
"mtd erase /dev/mtd10", "mtd -n write AQR_ethphyfw.mbn /dev/mtd10".
Reboot to u-boot.
Check if aq_load_fw is working:
"aq_load_fw 0", that checks the firmware and if successfull,
loads iram and dram to one of the aquantia phy's.
If that worked, add the aq_load_fw to the bootcmd:
setenv bootcmd "aq_load_fw 0 && aq_load_fw 8 && bootipq"
"saveenv"
"reset"
Board reboots and the firmware load to both phy's should start and
then openwrt boots.
Check if the 10G ports work.
Note: lan port labeled "10G-2" is configured as WAN port as per default.
All other port are in the br-lan. This can be changed in the network config.
Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de>
Dirk Buchwalder [Sat, 1 Jan 2022 22:17:51 +0000 (23:17 +0100)]
ipq807x: add Edimax CAX1800
Edimax CAX1800 is a 802.11 ax dual-band AP
with PoE. AP can be ceiling or wall mount.
Specifications:
• CPU: Qualcomm IPQ8070A Quad core Cortex-A53 1.4GHz
• RAM: 512MB of DDR3
• Storage: 128MB NAND (contains rootfs) / 8MB NOR (contains art and uboot-env)
• Ethernet: 1x 1G RJ45 port (QCA8072) PoE
• WLAN:
2.4GHz: Qualcomm QCN5024 2x2 802.11b/g/n/ax 574 Mbps PHY rate
5GHz: Qualcomm QCN5054 2x2 802.11a/b/g/n/ac/ax 1201 PHY rate
• LEDs:
3 x GPIO-controlled System-LEDs
(form one virtual RGB System-LED)
black_small_square Buttons: 1x soft reset
black_small_square Power: 12V DC jack or PoE (802.3af )
An unpopulated serial header is onboard.
RX/TX is working, bootwait is active, secure boot is not enabled.
SSH can be activated in the stock firmware, but it drops only
to a limited shell .
Installation Instructions:
black_small_square obtain serial access
black_small_square stop auto boot
black_small_square tftpboot the initramfs image (serverip is set to 192.168.99.8 in uboot)
black_small_square bootm
black_small_square copy openwrt-ipq807x-generic-edimax_cax1800-squashfs-nand-factory.ubi
to the device
black_small_square write the image to the NAND:
black_small_square cat /proc/mtd and look for rootfs partition (should be mtd0)
black_small_square ubiformat /dev/mtd0 -f -y openwrt-ipq807x-generic-edimax_cax1800-squashfs-
nand-factory.ubi
black_small_square reboot
Note: Device is not using dual partitioning (NAND contains other partitions
with different manufacture data etc.)
Draytek VigorAP 960C and Lancom LW-600 both look similar, but I haven't checked them.
Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de>
Zhijun You [Sat, 1 Jan 2022 22:12:51 +0000 (23:12 +0100)]
ipq807x: add Redmi AX6
Redmi AX6 is a budget 802.11ax dual-band router/AP
Specifications:
* CPU: Qualcomm IPQ8071A Quad core Cortex-A53 1.4GHz
* RAM: 512MB of DDR3
* Storage: 128MB NAND
* Ethernet: 4x1G RJ45 ports (QCA8075)
* WLAN:
* 2.4GHz: Qualcomm QCN5024 2x2 802.11b/g/n/ax 574 Mbps PHY rate
* 5GHz: Qualcomm QCN5054 4x4@80MHz or 2x2@160MHz 802.11a/b/g/n/ac/ax 2402 PHY rate
* LEDs:
* System (Blue/Yellow)
* Network (Blue/Yellow)
*Buttons: 1x soft reset
*Power: 12V DC jack
Installation instructions:
Obtaining SSH access is mandatory
https://openwrt.org/inbox/toh/xiaomi/xiaomi_redmi_ax6_ax3000#ssh_access
Installation is done by the ubiformat method, through SSH:
1. Open an SSH shell to the router
2. Copy the file openwrt-ipq807x-generic-redmi_ax6-initramfs-factory.ubi to the /tmp directory
3. Check which rootfs partition is your router booted in (0 = rootfs | 1 = rootfs_1):
nvram get flag_boot_rootfs
4. Find the rootfs and rootfs_1 mtd indexes respectively:
cat /proc/mtd
Please confirm if mtd12 and mtd13 are the correct indexes from above!
5. Use the command ubiformat to flash the opposite mtd with UBI image:
If nvram get flag_boot_rootfs returned 0:
ubiformat /dev/mtd13 -y -f /tmp/openwrt-ipq807x-generic-redmi_ax6-initramfs-factory.ubi && nvram set flag_boot_rootfs=1 && nvram set flag_last_success=1 && nvram commit
otherwise:
ubiformat /dev/mtd12 -y -f /tmp/openwrt-ipq807x-generic-redmi_ax6-initramfs-factory.ubi && nvram set flag_boot_rootfs=0 && nvram set flag_last_success=0 && nvram commit
6. Reboot the device by:
reboot
Previous commands flashed an ubinized OpenWrt initramfs that will serve as the intermediate step
since OpenWrt uses unified rootfs in order to fully utilize NAND and provide enough space for packages.
Continue in order to pernamently flash OpenWrt:
7. SSH into OpenWrt from one of the LAN ports
8. Copy the file openwrt-ipq807x-generic-redmi_ax6-squashfs-sysupgrade.bin to the /tmp directory
9. Sysupgrade the device:
sysupgrade -n /tmp/openwrt-ipq807x-generic-redmi_ax6-squashfs-sysupgrade.bin
Device will reboot with OpenWrt, and then sysupgrade can be used to upgrade the device when desired.
Signed-off-by: Zhijun You <hujy652@gmail.com>
Robert Marko [Wed, 19 May 2021 19:04:43 +0000 (21:04 +0200)]
ipq807x: add Xiaomi AX3600
Xiaomi AX3600 is a budget 802.11ax dual-band router/AP.
Specifications:
* CPU: Qualcomm IPQ8071A Quad core Cortex-A53 1.4GHz
* RAM: 512MB of DDR3
* Storage: 256MB of parallel NAND
* Ethernet: 4x1G RJ45 ports (QCA8075) with 1x status LED per port
* WLAN:
* PCI based Qualcomm QCA9889 1x1 802.11ac Wawe 2 for IoT
* 2.4GHz: Qualcomm QCN5024 2x2 802.11b/g/n/ax 574 Mbps PHY rate
* 5GHz: Qualcomm QCN5054 4x4@80MHz or 2x2@160MHz 802.11a/b/g/n/ac/ax 2402 PHY rate
* LED-s:
* System (Blue and Yellow)
* IoT (Blue)
* Network (Blue and Yellow)
* Buttons: 1x Soft reset
* Power: 12V DC Jack
Installation instructions:
Obtaining SSH access is mandatory
https://openwrt.org/inbox/toh/xiaomi/xiaomi_ax3600#obtain_ssh_access
Installation is done by the ubiformat method, through SSH:
1. Open an SSH shell to the router
2. Copy the file openwrt-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi to the /tmp directory
3. Check which rootfs partition is your router booted in (0 = rootfs | 1 = rootfs_1):
nvram get flag_boot_rootfs
4. Find the rootfs and rootfs_1 mtd indexes respectively:
cat /proc/mtd
Please confirm if mtd12 and mtd13 are the correct indexes from above!
5. Use the command ubiformat to flash the opposite mtd with UBI image:
If nvram get flag_boot_rootfs returned 0:
ubiformat /dev/mtd13 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi -s 2048 -O 2048 && nvram set flag_boot_rootfs=1 && nvram set flag_last_success=1 && nvram commit
otherwise:
ubiformat /dev/mtd12 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi -s 2048 -O 2048 && nvram set flag_boot_rootfs=0 && nvram set flag_last_success=0 && nvram commit
6. Reboot the device by:
reboot
Previous commands flashed an ubinized OpenWrt initramfs that will serve as the intermediate step
since OpenWrt uses unified rootfs in order to fully utilize NAND and provide enough space for packages.
Continue in order to pernamently flash OpenWrt:
7. SSH into OpenWrt from one of the LAN ports
8. Copy the file openwrt-ipq807x-generic-xiaomi_ax3600-squashfs-sysupgrade.bin to the /tmp directory
9. Sysupgrade the device:
sysupgrade -n /tmp/openwrt-ipq807x-generic-xiaomi_ax3600-squashfs-sysupgrade.bin
Device will reboot with OpenWrt, and then sysupgrade can be used to upgrade the device when desired.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
Vincent Tremblay [Fri, 23 Dec 2022 17:30:36 +0000 (12:30 -0500)]
ipq40xx: add support for Linksys WHW03 V2
SOC: Qualcomm IPQ4019
WiFi 1: QCA4019 IEEE 802.11b/g/n
WiFi 2: QCA4019 IEEE 802.11a/n/ac
WiFi 3: QCA8888 IEEE 802.11a/n/ac
Bluetooth: Qualcomm CSR8811 (A12U)
Zigbee: Silicon Labs EM3581 NCP + Skyworks SE2432L
Ethernet: Qualcomm Atheros QCA8072 (2-port)
Flash 1: Mactronix MX30LF4G18AC-XKI
RAM (NAND): SK hynix H5TC4G63CFR-PBA (512MB)
LED Controller: NXP PCA9633 (I2C)
Buttons: Single reset button (GPIO).
- The three WiFis were fully tested and are configured with the same settings as in the vendor firmware.
- The specific board files were submitted to the ATH10k mailing list but I'm still waiting for a reply. They can be removed once they are approved upstream.
- Two ethernet ports are accessible on the device. By default one is configured as WAN and the other one is LAN. They are fully working.
Bluetooth:
========
- Fully working with the following caveats:
- RFKILL need to be enabled in the kernel.
- An older version of bluez is needed as bccmd is needed to configure the chip.
Zigbee:
======
- The spidev device is available in the /dev directory.
- GPIOs are configured the same way as in the vendor firmware.
- Tests are on-going. I am working on getting access to the Silicon Labs stack to validate that it is fully working.
Installation:
=========
The squash-factory image can be installed via the Linksys Web UI:
1. Open "http://192.168.1.1/ca" (Change the IP with the IP of your device).
2. Login with your admin password.
3. To enter into the support mode, click on the "CA" link and the bottom of the page.
4. Open the "Connectivity" menu and upload the squash-factory image with the "Choose file" button.
5. Click start. Ignore all the prompts and warnings by click "yes" in all the popups.
The device uses a dual partition mechanism. The device automatically revert to the previous partition after 3 failed boot attempts.
If you want to force the previous firmware to load, you can turn off and then turn on the device for 2 seconds, 3 times in a row.
It can also be done via TFTP:
1. Setup a local TFTP server and configure its IP to 192.168.1.100.
2. Rename your image to "nodes_v2.img" and put it to the TFTP root of your server.
3. Connect to the device through the serial console.
4. Power on device and press enter when prompted to drop into U-Boot.
5. Flash the partition of your choice by typing "run flashimg" or "run flashimg2".
6. Once flashed, enter "reset" to reboot the device.
Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Vincent Tremblay <vincent@vtremblay.dev>
Marcin Gajda [Wed, 28 Dec 2022 18:01:40 +0000 (19:01 +0100)]
ipq40xx: Add support ZTE MF18A
Light and small router ( In Poland operators sells together with MC7010 outdoor modem to provide WIFI inside home).
Device specification
SoC Type: Qualcomm IPQ4019
RAM: 256 MiB
Flash: 128 MiB SPI NAND (Winbond W25N01GV)
ROM: 2MiB SPI Flash (GD25Q16)
Wireless 2.4 GHz (IP4019): b/g/n, 2x2
Wireless 5 GHz (QCA9982): a/n/ac, 3x3
Ethernet: 2xGbE (WAN/LAN1, LAN2)
USB ports: No
Button: 2 (Reset/WPS)
LEDs: 3 external leds: Power (blue) , WiFI (blue and red), SMARTHOME (blue and red) and 1 internal (blue) -- NOTE: Power controls all external led (if down ,all others also not lights even signal is up)
Power: 5VDC, 2,1A via USB-C socket
Bootloader: U-Boot
On board ZWave and Zigbee (EFR32 MG1P232GG..) modules ( not supported by orginal software )
Installation
1.Open MF18A case by ungluing rubber pad under the router and unscrew screws, and connect to serial console port,
with the following pinout, starting from pin 1, which is the topmost pin when the board is upright (reset button on the bottom) :
VCC (3.3V). Do not use unless you need to source power for the converer from it.
TX
RX
GND
Default port configuration in U-boot as well as in stock firmware is 115200-8-N-1.
2.Place OpenWrt initramfs image for the device on a TFTP in the server's root. This example uses Server IP: 192.168.0.2
3.Connect TFTP server to RJ-45 port (WAN/LAN1).
4.Power on MF18A , stop in u-Boot (using ESC button) and run u-Boot commands:
setenv serverip 192.168.0.2
setenv ipaddr 192.168.0.1
set fdt_high 0x85000000
tftpboot 0x84000000 openwrt-ipq40xx-generic-zte_mf18a-initramfs-fit-zImage.itb
bootm 0x84000000
5.Please make backup of original partitions, if you think about revert to stock, specially mtd8 (Web UI) and mtd9 (rootFS). Use /tmp as temporary storage and do:
WEB PARITION
cat /dev/mtd8 > /tmp/mtd8.bin
scp /tmp/mtd8.bin root@YOURSERVERIP:/
rm /tmp/mtd8.bin
ROOT PARITION
cat /dev/mtd9 > /tmp/mtd9.bin
scp /tmp/mtd9.bin root@YOURSERVERIP:/
rm /tmp/mtd9.bin
If you are sure ,that you want to flash openwrt, from uBoot, before bootm, clean rootfs partition with command:
nand erase 0x1800000 0x1D00000
6.Login via ssh or serial and remove stock partitions (default IP 192.168.1.1):
ubiattach -m 9 # it could return error if ubi was attached before or rootfs part was erased before
ubirmvol /dev/ubi0 -N ubi_rootfs # it could return error if rootfs part was erased before
ubirmvol /dev/ubi0 -N ubi_rootfs_data # some devices doesn't have it
7. Install image via :
sysupgrade -n /tmp/openwrt-ipq40xx-generic-zte_mf18a-squashfs-sysupgrade.bin
previously wgeting bin. Sometimes it could print ubi attach error, but please ignore it if process goes forward.
Back to Stock (!!! need original dump taken from initramfs !!!) -------------
Place mtd8.bin and mtd9.bin initramfs image for the device on a TFTP in the server's root. This example uses Server IP: 192.168.0.2
Connect serial console (115200,8n1) to serial console connector .
Connect TFTP server to RJ-45 port (WAN/LAN1).
rename mtd8.bin to web.img and mtd9.bin to root_uImage_s
Stop in u-Boot (using ESC button) and run u-Boot commands:
This will erase Web and RootFS:
nand erase 0x1000000 0x800000
nand erase 0x1800000 0x1D00000
This will restore RootFS:
tftpboot 0x84000000 root_uImage_s
nand erase 0x1800000 0x1D00000
nand write 0x84000000 0x1800000 0x1D00000
This will restore Web Interface:
tftpboot 0x84000000 web.img
nand erase 0x1000000 0x800000
nand write 0x84000000 0x1000000 0x800000
After first boot on stock firwmare, do a factory reset. Push reset button for 5 seconds so all parameters will be reverted to the one printed on label on bottom of the router
As reference was taken MF289F support by Giammarco Marzano stich86@gmail.com and MF286D by Pawel Dembicki paweldembicki@gmail.com
Signed-off-by: Marcin Gajda <mgajda@o2.pl>
Weiping Yang [Mon, 19 Sep 2022 09:47:40 +0000 (05:47 -0400)]
ipq40xx: add support for GL.iNet GL-A1300
Specifications:
SOC: Qualcomm IPQ4018 (DAKOTA) ARM Quad-Core
RAM: 256 MiB
FLASH1: 4 MiB NOR
FLASH2: 128 MiB NAND
ETH: Qualcomm QCA8075
WLAN1: Qualcomm Atheros QCA4018 2.4GHz 802.11b/g/n 2x2
WLAN2: Qualcomm Atheros QCA4018 5G 802.11n/ac W2 2x2
USB: 1 x USB 3.0 port
Button: 1 x Reset button
Switch: 1 x Mode switch
LED: 1 x Blue LED + 1 x White LED
Install via uboot tftp or uboot web failsafe.
By uboot tftp:
(IPQ40xx) # tftpboot 0x84000000 openwrt-ipq40xx-generic-glinet_gl-a1300-squashfs-nand-factory.ubi
(IPQ40xx) # nand erase 0 0x8000000
(IPQ40xx) # nand write 0x84000000 0 $filesize
By uboot web failsafe:
Push the reset button for 10 seconds util the power led flash faster,
then use broswer to access http://192.168.1.1
Afterwards upgrade can use sysupgrade image.
Signed-off-by: Weiping Yang <weiping.yang@gl-inet.com>