2016-04-01 07:11:48 +00:00
|
|
|
#
|
2017-08-26 01:49:45 +00:00
|
|
|
# MT76x8 Profiles
|
2016-04-01 07:11:48 +00:00
|
|
|
#
|
|
|
|
|
2020-01-29 17:21:53 +00:00
|
|
|
include ./common-tp-link.mk
|
|
|
|
|
2020-01-21 20:54:50 +00:00
|
|
|
DEFAULT_SOC := mt7628an
|
|
|
|
|
ramips: add support for ELECOM WRC-1167FS
ELECOM WRC-1167FS is a 2.4/5 GHz band 11ac (WiFi-5) router, based on
MT7628AN.
Specification:
- SoC : MediaTek MT7628AN
- RAM : DDR2 64 MiB (NT5TU32M16FG-AC)
- Flash : SPI-NOR 16 MiB (W25Q128JVSIQ)
- WLAN : 2.4/5 GHz 2T2R
- 2.4 GHz : MediaTek MT7628AN (SoC)
- 5 GHz : MediaTek MT7612E
- Ethernet : 10/100 Mbps x2
- Switch : MT7628AN (SoC)
- LEDs/Keys : 6x, 3x (2x buttons, 1x slide-switch)
- UART : through-hole on PCB
- J1: 3.3V, GND, TX, RX from "J1" marking
- 57600n8
- Power : 12 VDC, 1 A
Flash instruction using factory image:
1. Boot WRC-1167FS normally
2. Access to "http://192.168.2.1/" and open firmware update page
("ファームウェア更新")
3. Select the OpenWrt factory image and click apply ("適用") button to
perform firmware update
4. Wait ~120 seconds to complete flashing
Notes:
- Last 0x800000 (8 MiB) in SPI-NOR flash is not used on stock firmware
- Additional padding in factory image is required to avoid incomplete
flashing on stock firmware
MAC addresses:
- LAN : BC:5C:4C:xx:xx:68 (Config, ethaddr (text) / Factory, 0x28 (hex))
- WAN : BC:5C:4C:xx:xx:69 (Config, wanaddr (text) / Factory, 0x22 (hex))
- 2.4GHz: BC:5C:4C:xx:xx:6A (Config, rmac (text) / Factory, 0x4 (hex))
- 5GHz : BC:5C:4C:xx:xx:6B (Config, rmac2 (text) / Factory, 0x8004 (hex))
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-09-13 15:14:36 +00:00
|
|
|
define Build/elecom-header
|
|
|
|
$(eval model_id=$(1))
|
|
|
|
( \
|
|
|
|
fw_size="$$(printf '%08x' $$(stat -c%s $@))"; \
|
|
|
|
echo -ne "$$(echo "031d6129$${fw_size}06000000$(model_id)" | \
|
|
|
|
sed 's/../\\x&/g')"; \
|
|
|
|
dd if=/dev/zero bs=92 count=1; \
|
|
|
|
data_crc="$$(dd if=$@ | gzip -c | tail -c 8 | \
|
|
|
|
od -An -N4 -tx4 --endian little | tr -d ' \n')"; \
|
|
|
|
echo -ne "$$(echo "$${data_crc}00000000" | sed 's/../\\x&/g')"; \
|
|
|
|
dd if=$@; \
|
|
|
|
) > $@.new
|
|
|
|
mv $@.new $@
|
|
|
|
endef
|
|
|
|
|
2020-09-11 16:26:38 +00:00
|
|
|
define Build/ravpower-wd009-factory
|
|
|
|
mkimage -A mips -T standalone -C none -a 0x80010000 -e 0x80010000 \
|
|
|
|
-n "OpenWrt Bootloader" -d $(UBOOT_PATH) $@.new
|
|
|
|
cat $@ >> $@.new
|
|
|
|
@mv $@.new $@
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
2018-01-26 15:21:34 +00:00
|
|
|
define Device/alfa-network_awusfree1
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := ALFA Network
|
|
|
|
DEVICE_MODEL := AWUSFREE1
|
2018-01-26 15:21:34 +00:00
|
|
|
DEVICE_PACKAGES := uboot-envtools
|
2021-05-16 21:48:04 +00:00
|
|
|
SUPPORTED_DEVICES += awusfree1
|
2018-01-26 15:21:34 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += alfa-network_awusfree1
|
|
|
|
|
2022-02-10 15:16:05 +00:00
|
|
|
define Device/asus_rt-ac1200
|
|
|
|
IMAGE_SIZE := 16064k
|
2022-11-15 18:20:30 +00:00
|
|
|
DEVICE_VENDOR := ASUS
|
2022-02-10 15:16:05 +00:00
|
|
|
DEVICE_MODEL := RT-AC1200
|
2022-11-15 18:20:30 +00:00
|
|
|
DEVICE_ALT0_VENDOR := ASUS
|
2022-08-31 13:32:10 +00:00
|
|
|
DEVICE_ALT0_MODEL := RT-N600
|
2022-02-10 15:16:05 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci \
|
|
|
|
kmod-usb-ledtrig-usbport
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus_rt-ac1200
|
|
|
|
|
2022-04-15 09:11:01 +00:00
|
|
|
define Device/asus_rt-ac1200-v2
|
|
|
|
IMAGE_SIZE := 16064k
|
2022-11-15 18:20:30 +00:00
|
|
|
DEVICE_VENDOR := ASUS
|
2022-04-15 09:11:01 +00:00
|
|
|
DEVICE_MODEL := RT-AC1200
|
|
|
|
DEVICE_VARIANT := V2
|
2023-02-16 10:47:21 +00:00
|
|
|
DEVICE_ALT0_VENDOR := ASUS
|
|
|
|
DEVICE_ALT0_MODEL := RT-AC750L
|
2022-04-15 09:11:01 +00:00
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
|
|
append-rootfs | pad-rootfs
|
|
|
|
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7663-firmware-ap
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus_rt-ac1200-v2
|
|
|
|
|
2020-04-16 18:42:29 +00:00
|
|
|
define Device/asus_rt-n10p-v3
|
|
|
|
IMAGE_SIZE := 7872k
|
2022-11-15 18:20:30 +00:00
|
|
|
DEVICE_VENDOR := ASUS
|
2020-04-16 18:42:29 +00:00
|
|
|
DEVICE_MODEL := RT-N10P
|
|
|
|
DEVICE_VARIANT := V3
|
2023-05-20 06:37:45 +00:00
|
|
|
DEFAULT := n
|
2020-04-16 18:42:29 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus_rt-n10p-v3
|
|
|
|
|
|
|
|
define Device/asus_rt-n11p-b1
|
|
|
|
IMAGE_SIZE := 7872k
|
2022-11-15 18:20:30 +00:00
|
|
|
DEVICE_VENDOR := ASUS
|
2020-04-16 18:42:29 +00:00
|
|
|
DEVICE_MODEL := RT-N11P
|
|
|
|
DEVICE_VARIANT := B1
|
2022-06-21 05:43:50 +00:00
|
|
|
DEVICE_ALT0_VENDOR := ASUS
|
|
|
|
DEVICE_ALT0_MODEL := RT-N12+
|
|
|
|
DEVICE_ALT0_VARIANT := B1
|
|
|
|
DEVICE_ALT1_VENDOR := ASUS
|
|
|
|
DEVICE_ALT1_MODEL := RT-N300
|
|
|
|
DEVICE_ALT1_VARIANT := B1
|
2023-05-20 06:37:45 +00:00
|
|
|
DEFAULT := n
|
2020-04-16 18:42:29 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus_rt-n11p-b1
|
|
|
|
|
|
|
|
define Device/asus_rt-n12-vp-b1
|
|
|
|
IMAGE_SIZE := 7872k
|
2022-11-15 18:20:30 +00:00
|
|
|
DEVICE_VENDOR := ASUS
|
2020-04-16 18:42:29 +00:00
|
|
|
DEVICE_MODEL := RT-N12 VP
|
|
|
|
DEVICE_VARIANT := B1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus_rt-n12-vp-b1
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/buffalo_wcr-1166ds
|
2019-07-15 12:55:28 +00:00
|
|
|
IMAGE_SIZE := 7936k
|
2019-07-07 14:27:51 +00:00
|
|
|
BUFFALO_TAG_PLATFORM := MTK
|
|
|
|
BUFFALO_TAG_VERSION := 9.99
|
|
|
|
BUFFALO_TAG_MINOR := 9.99
|
|
|
|
IMAGES += factory.bin
|
2021-07-17 09:28:47 +00:00
|
|
|
IMAGE/sysupgrade.bin := trx -M 0x746f435c | pad-rootfs | append-metadata
|
2019-12-19 18:40:33 +00:00
|
|
|
IMAGE/factory.bin := trx -M 0x746f435c | pad-rootfs | append-metadata | \
|
2019-07-07 14:27:51 +00:00
|
|
|
buffalo-enc WCR-1166DS $$(BUFFALO_TAG_VERSION) -l | \
|
2019-12-19 18:40:33 +00:00
|
|
|
buffalo-tag-dhp WCR-1166DS JP JP | buffalo-enc-tag -l | buffalo-dhp-image
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Buffalo
|
|
|
|
DEVICE_MODEL := WCR-1166DS
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
SUPPORTED_DEVICES += wcr-1166ds
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += buffalo_wcr-1166ds
|
|
|
|
|
2020-06-17 22:44:30 +00:00
|
|
|
define Device/comfast_cf-wr617ac
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DTS := CF-WR617AC
|
|
|
|
DEVICE_VENDOR := Comfast
|
|
|
|
DEVICE_MODEL := CF-WR617AC
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-rt2800-pci
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += comfast_cf-wr617ac
|
|
|
|
|
2022-01-18 14:43:28 +00:00
|
|
|
define Device/comfast_cf-wr758ac
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_VENDOR := COMFAST
|
|
|
|
DEVICE_MODEL := CF-WR758AC
|
|
|
|
DEVICE_ALT0_VENDOR := Joowin
|
|
|
|
DEVICE_ALT0_MODEL := JW-WR758AC
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/comfast_cf-wr758ac-v1
|
|
|
|
$(Device/comfast_cf-wr758ac)
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
DEVICE_VARIANT := V1
|
|
|
|
DEVICE_ALT0_VARIANT := V1
|
|
|
|
SUPPORTED_DEVICES += joowin,jw-wr758ac-v1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += comfast_cf-wr758ac-v1
|
|
|
|
|
|
|
|
define Device/comfast_cf-wr758ac-v2
|
|
|
|
$(Device/comfast_cf-wr758ac)
|
|
|
|
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7663-firmware-ap
|
|
|
|
DEVICE_VARIANT := V2
|
|
|
|
DEVICE_ALT0_VARIANT := V2
|
|
|
|
SUPPORTED_DEVICES += joowin,jw-wr758ac-v2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += comfast_cf-wr758ac-v2
|
|
|
|
|
ramips: add CUDY WR1000 support
Cudy WR1200 is an AC1200 AP with 3-port FE and 2 non-detachable antennas
Specifications:
MT7628 (580 MHz)
64 MB of RAM (DDR2)
8 MB of FLASH
2T2R 2.4 GHz (MT7628)
2T2R 5 GHz (MT7612E)
3x 10/100 Mbps Ethernet (2 LAN + 1 WAN)
2x external, non-detachable antennas (5dbi)
UART header on PCB (57600 8n1)
7x LED, 2x button
Known issues:
The Power LED is always ON, probably because it is connected
directly to power.
Flash instructions
------------------
Load the ...-factory.bin image via the stock web interface.
Openwrt upgrade instructions
----------------------------
Use the ...-sysupgrade.bin image for future upgrades.
Revert to stock FW
------------------
Warning! This tutorial will work only with the following OEM FW:
WR1000_EU_92.122.2.4987.201806261618.bin
WR1000_US_92.122.2.4987.201806261609.bin
If in the future these firmwares will not be available anymore,
you have to find the new XOR key.
1) Download the original FW from the Cudy website.
(For example WR1000_EU_92.122.2.4987.201806261618.bin)
2) Remove the header.
dd if="WR1000_EU_92.122.2.4987.201806261618.bin" of="WR1000_EU_92.122.2.4987.201806261618.bin.mod" skip=8 bs=64
3) XOR the new file with the region key.
FOR EU: 7B76741E67594351555042461D625F4545514B1B03050208000603020803000D
FOR US: 7B76741E675943555D5442461D625F454555431F03050208000603060007010C
You can use OpenWrt's tools/firmware-utils/src/xorimage.c tool for this:
xorimage -i WR1000..bin.mod -o stock-firmware.bin -x -p 7B767..
Or, you can use this tool (CHANGE THE XOR KEY ACCORDINGLY!):
https://gchq.github.io/CyberChef/#recipe=XOR(%7B'option':'Hex','string':''%7D,'',false)
4) Check the resulting decrypted image.
Check if bytes from 0x20 to 0x3f are:
4C 69 6E 75 78 20 4B 65 72 6E 65 6C 20 49 6D 61 67 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Alternatively, you can use u-boot's tool dumpimage tool to check
if the decryption was successful. It should look like:
# dumpimage -l stock-firmware.bin
Image Name: Linux Kernel Image
Created: Tue Jun 26 10:24:54 2018
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 4406635 Bytes = 4303.35 KiB = 4.20 MiB
Load Address: 80000000
Entry Point: 8000c150
5) Flash it via forced firmware upgrade and don't "Keep Settings"
CLI: sysupgrade -F -n stock-firmware.bin
LuCI: make sure to click on the "Keep settings" checkbox
to disable it. You'll need to do this !TWICE! because
on the first try, LuCI will refuse the image and reset
the "Keep settings" to enable. However a new
"Force upgrade" checkbox will appear as well.
Make sure to do this very carefully!
Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[added wifi compatible, spiffed-up the returned to stock instructions]
2019-05-20 03:20:37 +00:00
|
|
|
define Device/cudy_wr1000
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
ramips: add CUDY WR1000 support
Cudy WR1200 is an AC1200 AP with 3-port FE and 2 non-detachable antennas
Specifications:
MT7628 (580 MHz)
64 MB of RAM (DDR2)
8 MB of FLASH
2T2R 2.4 GHz (MT7628)
2T2R 5 GHz (MT7612E)
3x 10/100 Mbps Ethernet (2 LAN + 1 WAN)
2x external, non-detachable antennas (5dbi)
UART header on PCB (57600 8n1)
7x LED, 2x button
Known issues:
The Power LED is always ON, probably because it is connected
directly to power.
Flash instructions
------------------
Load the ...-factory.bin image via the stock web interface.
Openwrt upgrade instructions
----------------------------
Use the ...-sysupgrade.bin image for future upgrades.
Revert to stock FW
------------------
Warning! This tutorial will work only with the following OEM FW:
WR1000_EU_92.122.2.4987.201806261618.bin
WR1000_US_92.122.2.4987.201806261609.bin
If in the future these firmwares will not be available anymore,
you have to find the new XOR key.
1) Download the original FW from the Cudy website.
(For example WR1000_EU_92.122.2.4987.201806261618.bin)
2) Remove the header.
dd if="WR1000_EU_92.122.2.4987.201806261618.bin" of="WR1000_EU_92.122.2.4987.201806261618.bin.mod" skip=8 bs=64
3) XOR the new file with the region key.
FOR EU: 7B76741E67594351555042461D625F4545514B1B03050208000603020803000D
FOR US: 7B76741E675943555D5442461D625F454555431F03050208000603060007010C
You can use OpenWrt's tools/firmware-utils/src/xorimage.c tool for this:
xorimage -i WR1000..bin.mod -o stock-firmware.bin -x -p 7B767..
Or, you can use this tool (CHANGE THE XOR KEY ACCORDINGLY!):
https://gchq.github.io/CyberChef/#recipe=XOR(%7B'option':'Hex','string':''%7D,'',false)
4) Check the resulting decrypted image.
Check if bytes from 0x20 to 0x3f are:
4C 69 6E 75 78 20 4B 65 72 6E 65 6C 20 49 6D 61 67 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Alternatively, you can use u-boot's tool dumpimage tool to check
if the decryption was successful. It should look like:
# dumpimage -l stock-firmware.bin
Image Name: Linux Kernel Image
Created: Tue Jun 26 10:24:54 2018
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 4406635 Bytes = 4303.35 KiB = 4.20 MiB
Load Address: 80000000
Entry Point: 8000c150
5) Flash it via forced firmware upgrade and don't "Keep Settings"
CLI: sysupgrade -F -n stock-firmware.bin
LuCI: make sure to click on the "Keep settings" checkbox
to disable it. You'll need to do this !TWICE! because
on the first try, LuCI will refuse the image and reset
the "Keep settings" to enable. However a new
"Force upgrade" checkbox will appear as well.
Make sure to do this very carefully!
Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[added wifi compatible, spiffed-up the returned to stock instructions]
2019-05-20 03:20:37 +00:00
|
|
|
IMAGES += factory.bin
|
2020-05-08 16:21:06 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | jcg-header 92.122
|
2019-12-12 19:26:06 +00:00
|
|
|
JCG_MAXSIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Cudy
|
|
|
|
DEVICE_MODEL := WR1000
|
ramips: add CUDY WR1000 support
Cudy WR1200 is an AC1200 AP with 3-port FE and 2 non-detachable antennas
Specifications:
MT7628 (580 MHz)
64 MB of RAM (DDR2)
8 MB of FLASH
2T2R 2.4 GHz (MT7628)
2T2R 5 GHz (MT7612E)
3x 10/100 Mbps Ethernet (2 LAN + 1 WAN)
2x external, non-detachable antennas (5dbi)
UART header on PCB (57600 8n1)
7x LED, 2x button
Known issues:
The Power LED is always ON, probably because it is connected
directly to power.
Flash instructions
------------------
Load the ...-factory.bin image via the stock web interface.
Openwrt upgrade instructions
----------------------------
Use the ...-sysupgrade.bin image for future upgrades.
Revert to stock FW
------------------
Warning! This tutorial will work only with the following OEM FW:
WR1000_EU_92.122.2.4987.201806261618.bin
WR1000_US_92.122.2.4987.201806261609.bin
If in the future these firmwares will not be available anymore,
you have to find the new XOR key.
1) Download the original FW from the Cudy website.
(For example WR1000_EU_92.122.2.4987.201806261618.bin)
2) Remove the header.
dd if="WR1000_EU_92.122.2.4987.201806261618.bin" of="WR1000_EU_92.122.2.4987.201806261618.bin.mod" skip=8 bs=64
3) XOR the new file with the region key.
FOR EU: 7B76741E67594351555042461D625F4545514B1B03050208000603020803000D
FOR US: 7B76741E675943555D5442461D625F454555431F03050208000603060007010C
You can use OpenWrt's tools/firmware-utils/src/xorimage.c tool for this:
xorimage -i WR1000..bin.mod -o stock-firmware.bin -x -p 7B767..
Or, you can use this tool (CHANGE THE XOR KEY ACCORDINGLY!):
https://gchq.github.io/CyberChef/#recipe=XOR(%7B'option':'Hex','string':''%7D,'',false)
4) Check the resulting decrypted image.
Check if bytes from 0x20 to 0x3f are:
4C 69 6E 75 78 20 4B 65 72 6E 65 6C 20 49 6D 61 67 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Alternatively, you can use u-boot's tool dumpimage tool to check
if the decryption was successful. It should look like:
# dumpimage -l stock-firmware.bin
Image Name: Linux Kernel Image
Created: Tue Jun 26 10:24:54 2018
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 4406635 Bytes = 4303.35 KiB = 4.20 MiB
Load Address: 80000000
Entry Point: 8000c150
5) Flash it via forced firmware upgrade and don't "Keep Settings"
CLI: sysupgrade -F -n stock-firmware.bin
LuCI: make sure to click on the "Keep settings" checkbox
to disable it. You'll need to do this !TWICE! because
on the first try, LuCI will refuse the image and reset
the "Keep settings" to enable. However a new
"Force upgrade" checkbox will appear as well.
Make sure to do this very carefully!
Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[added wifi compatible, spiffed-up the returned to stock instructions]
2019-05-20 03:20:37 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
SUPPORTED_DEVICES += wr1000
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += cudy_wr1000
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/d-team_pbr-d1
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := PandoraBox
|
|
|
|
DEVICE_MODEL := PBR-D1
|
2018-02-19 05:35:42 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += pbr-d1
|
2018-02-19 05:35:42 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += d-team_pbr-d1
|
2018-02-19 05:35:42 +00:00
|
|
|
|
ramips: add support for D-Link DAP-1325-A1
This patch adds support for D-Link DAP-1325-A1 (Range Extender Wi-Fi N300)
Specifications:
- SoC: 580Mhz MT7628NN
- RAM: 64MB, DDR2 SDRAM
- Storage: 8MB, SPI (W25Q64JVSSIQ)
- Ethernet: 1x 10/100 LAN port
- WIFI: 2.4 GHz 802.11bgn
- LED: Status (2x to provide 3 colors), Wi-Fi Signal Strength (4x)
- Buttons: Reset, WPS
- UART: Serial console (57600, 8n1)
Row of 4 holes near LAN port, starting from square hole:
3.3V, TX,RX,GND
- FCC ID: fccid.io/KA2AP1325A1/
Installation:
Failsafe UI
Firmware can be uploaded with Failsafe UI web page:
- turn device off
- press and hold reset button
- turn device on
- keep holding reset until red wifi strength led turns on (ab. 10sec)
- connect to device through LAN port
PC must be configured with static ip (192.168.0.x)
- connect to 192.168.0.50
- select image to be flashed and upload.
Device will reboot after successful update
Serial port/TFTP server
- Connect through serial connectors on PCB (e.g. with teraterm)
- Set up a TFTP server, and connect through LAN with static IP
- Put image file in the root of the server
- Boot the device and select '2' at U-Boot startup
- Set device IP, server IP and image file name
- Start upload and flash
Signed-off-by: Giovanni Cascione <ing.cascione@gmail.com>
[fix whitespaces in DTS, convert to nvmem, add mtd-eeprom]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-07-08 16:30:53 +00:00
|
|
|
define Device/dlink_dap-1325-a1
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DAP-1325 A1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dlink_dap-1325-a1
|
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/duzun_dm06
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := DuZun
|
|
|
|
DEVICE_MODEL := DM06
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += duzun-dm06
|
2016-05-11 10:21:45 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += duzun_dm06
|
2017-08-26 01:49:45 +00:00
|
|
|
|
ramips: add support for ELECOM WRC-1167FS
ELECOM WRC-1167FS is a 2.4/5 GHz band 11ac (WiFi-5) router, based on
MT7628AN.
Specification:
- SoC : MediaTek MT7628AN
- RAM : DDR2 64 MiB (NT5TU32M16FG-AC)
- Flash : SPI-NOR 16 MiB (W25Q128JVSIQ)
- WLAN : 2.4/5 GHz 2T2R
- 2.4 GHz : MediaTek MT7628AN (SoC)
- 5 GHz : MediaTek MT7612E
- Ethernet : 10/100 Mbps x2
- Switch : MT7628AN (SoC)
- LEDs/Keys : 6x, 3x (2x buttons, 1x slide-switch)
- UART : through-hole on PCB
- J1: 3.3V, GND, TX, RX from "J1" marking
- 57600n8
- Power : 12 VDC, 1 A
Flash instruction using factory image:
1. Boot WRC-1167FS normally
2. Access to "http://192.168.2.1/" and open firmware update page
("ファームウェア更新")
3. Select the OpenWrt factory image and click apply ("適用") button to
perform firmware update
4. Wait ~120 seconds to complete flashing
Notes:
- Last 0x800000 (8 MiB) in SPI-NOR flash is not used on stock firmware
- Additional padding in factory image is required to avoid incomplete
flashing on stock firmware
MAC addresses:
- LAN : BC:5C:4C:xx:xx:68 (Config, ethaddr (text) / Factory, 0x28 (hex))
- WAN : BC:5C:4C:xx:xx:69 (Config, wanaddr (text) / Factory, 0x22 (hex))
- 2.4GHz: BC:5C:4C:xx:xx:6A (Config, rmac (text) / Factory, 0x4 (hex))
- 5GHz : BC:5C:4C:xx:xx:6B (Config, rmac2 (text) / Factory, 0x8004 (hex))
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-09-13 15:14:36 +00:00
|
|
|
define Device/elecom_wrc-1167fs
|
|
|
|
IMAGE_SIZE := 7360k
|
|
|
|
DEVICE_VENDOR := ELECOM
|
|
|
|
DEVICE_MODEL := WRC-1167FS
|
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to 64k | check-size | \
|
|
|
|
xor-image -p 29944A25 -x | elecom-header 00228000 | \
|
|
|
|
elecom-product-header WRC-1167FS
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += elecom_wrc-1167fs
|
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/glinet_gl-mt300n-v2
|
2017-08-26 01:49:45 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := GL.iNet
|
|
|
|
DEVICE_MODEL := GL-MT300N
|
|
|
|
DEVICE_VARIANT := V2
|
2017-08-26 01:49:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += gl-mt300n-v2
|
2017-08-26 01:49:45 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += glinet_gl-mt300n-v2
|
2016-04-01 07:11:48 +00:00
|
|
|
|
2020-01-05 23:31:24 +00:00
|
|
|
define Device/glinet_microuter-n300
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := GL.iNet
|
|
|
|
DEVICE_MODEL := microuter-N300
|
|
|
|
SUPPORTED_DEVICES += microuter-n300
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += glinet_microuter-n300
|
|
|
|
|
2019-04-12 22:05:47 +00:00
|
|
|
define Device/glinet_vixmini
|
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := GL.iNet
|
|
|
|
DEVICE_MODEL := VIXMINI
|
2019-04-12 22:05:47 +00:00
|
|
|
SUPPORTED_DEVICES += vixmini
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += glinet_vixmini
|
|
|
|
|
2020-10-02 17:30:59 +00:00
|
|
|
define Device/hak5_wifi-pineapple-mk7
|
|
|
|
IMAGE_SIZE := 32448k
|
|
|
|
DEVICE_VENDOR := Hak5
|
|
|
|
DEVICE_MODEL := WiFi Pineapple Mark 7
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
SUPPORTED_DEVICES += wifi-pineapple-mk7
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += hak5_wifi-pineapple-mk7
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/hilink_hlk-7628n
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 32448k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := HILINK
|
|
|
|
DEVICE_MODEL := HLK-7628N
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += hilink_hlk-7628n
|
|
|
|
|
2020-10-31 09:29:54 +00:00
|
|
|
define Device/hilink_hlk-7688a
|
|
|
|
IMAGE_SIZE := 32448k
|
|
|
|
DEVICE_VENDOR := Hi-Link
|
|
|
|
DEVICE_MODEL := HLK-7688A
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += hilink_hlk-7688a
|
|
|
|
|
2022-11-19 03:30:54 +00:00
|
|
|
define Device/hiwifi_hc5611
|
|
|
|
IMAGE_SIZE := 15808k
|
|
|
|
DEVICE_VENDOR := HiWiFi
|
|
|
|
DEVICE_MODEL := HC5611
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += hiwifi_hc5611
|
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/hiwifi_hc5661a
|
2019-07-15 12:55:28 +00:00
|
|
|
IMAGE_SIZE := 15808k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := HiWiFi
|
|
|
|
DEVICE_MODEL := HC5661A
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += hc5661a
|
2017-02-24 23:19:15 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += hiwifi_hc5661a
|
2017-02-24 23:19:15 +00:00
|
|
|
|
2019-07-23 12:12:48 +00:00
|
|
|
define Device/hiwifi_hc5761a
|
|
|
|
IMAGE_SIZE := 15808k
|
|
|
|
DEVICE_VENDOR := HiWiFi
|
|
|
|
DEVICE_MODEL := HC5761A
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += hiwifi_hc5761a
|
|
|
|
|
2018-08-09 17:22:46 +00:00
|
|
|
define Device/hiwifi_hc5861b
|
|
|
|
IMAGE_SIZE := 15808k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := HiWiFi
|
|
|
|
DEVICE_MODEL := HC5861B
|
2018-11-30 10:10:29 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
2018-08-09 17:22:46 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += hiwifi_hc5861b
|
|
|
|
|
2019-08-18 05:50:20 +00:00
|
|
|
define Device/iptime_a3
|
|
|
|
IMAGE_SIZE := 7936k
|
|
|
|
UIMAGE_NAME := a3
|
|
|
|
DEVICE_VENDOR := ipTIME
|
|
|
|
DEVICE_MODEL := A3
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += iptime_a3
|
|
|
|
|
2019-07-20 18:34:59 +00:00
|
|
|
define Device/iptime_a604m
|
|
|
|
IMAGE_SIZE := 7936k
|
|
|
|
UIMAGE_NAME := a604m
|
|
|
|
DEVICE_VENDOR := ipTIME
|
|
|
|
DEVICE_MODEL := A604M
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += iptime_a604m
|
|
|
|
|
ramips: add support for JS76x8 series DEV boards
This commit adds support for the Jotale JS76x8 series development boards.
These devices have the following specifications:
- SOC: MT7628AN/NN, MT7688AN, MT7628DAN
- RAM of MT7628AN/NN and MT7688AN: 64/128/256 MB (DDR2)
- RAM of MT7628DAN: 64 MB (DDR2)
- FLASH:8/16/32 MB (SPI NOR)
- Ethernet:3x 10/100 Mbps ethernet ports (MT76x8 built-in switch)
- WIFI:1x 2T2R 2.4 GHz Wi-Fi
- LEDs:1x system status green LED, 1x wifi green LED,
3x ethernet green LED
- Buttons:1x reset button
- 1x microSD slot
- 4x USB 2.0 port
- 1x mini-usb debug UART
- 1x DC jack for main power (DC 5V)
- 1x TTL/RS232 UART
- 1x TTL/RS485 UART
- 13x GPIO header
- 1x audio codec(wm8960)
Installation via OpenWrt:
The original firmware is OpenWrt, so both LuCI and sysupgrade can be used.
Installation via U-boot web:
1. Power on board with reset button pressed, release it
after wifi led start blinking.
2. Setup static IP 192.168.1.123/4 on your PC.
3. Go to 192.168.1.8 in browser and upload "sysupgrade" image.
Installation via U-boot tftp:
1. Connect to serial console at the mini usb, which has been connected to UART0
on board (115200 8N1)
2. Setup static IP 192.168.1.123/4 on your PC.
3. Place openwrt-firmware.bin on your PC tftp server (192.168.1.123).
3. Connect one of LAN ports on board to your PC.
4. Start terminal software (e.g. screen /dev/ttyUSB0 115200) on PC.
5. Apply power to board.
6. Interrupt U-boot with keypress of "2".
7. At u-boot prompts:
Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N) Y
Input device IP (192.168.1.8) ==:192.168.1.8
Input server IP (192.168.1.123) ==:192.168.1.123
Input Linux Kernel filename (root_uImage) ==:openwrt-firmware.bin
8. board will download file from tftp server, write it to flash and reboot.
Signed-off-by: Robinson Wu <wurobinson@qq.com>
[add license to DTS files, fix state_default and reduce to the mimimum,
move phy0tpt trigger to DTS, drop ucidef_set_led_timer, fix network ports]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-17 07:32:53 +00:00
|
|
|
define Device/jotale_js76x8
|
|
|
|
DEVICE_VENDOR := Jotale
|
|
|
|
DEVICE_MODEL := JS76x8
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/jotale_js76x8-8m
|
|
|
|
$(Device/jotale_js76x8)
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_VARIANT := 8M
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += jotale_js76x8-8m
|
|
|
|
|
|
|
|
define Device/jotale_js76x8-16m
|
|
|
|
$(Device/jotale_js76x8)
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VARIANT := 16M
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += jotale_js76x8-16m
|
|
|
|
|
|
|
|
define Device/jotale_js76x8-32m
|
|
|
|
$(Device/jotale_js76x8)
|
|
|
|
IMAGE_SIZE := 32448k
|
|
|
|
DEVICE_VARIANT := 32M
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += jotale_js76x8-32m
|
|
|
|
|
2022-12-30 12:30:52 +00:00
|
|
|
define Device/keenetic_kn-1613
|
|
|
|
IMAGE_SIZE := 31488k
|
|
|
|
DEVICE_VENDOR := Keenetic
|
|
|
|
DEVICE_MODEL := KN-1613
|
|
|
|
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7663-firmware-ap
|
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to $$$$(BLOCKSIZE) | \
|
|
|
|
check-size | zyimage -d 0x801613 -v "KN-1613"
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += keenetic_kn-1613
|
|
|
|
|
2021-12-07 14:37:48 +00:00
|
|
|
define Device/kroks_kndrt31r16
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := Kroks
|
|
|
|
DEVICE_MODEL := Rt-Cse5 UW DRSIM
|
|
|
|
DEVICE_ALT0_VENDOR := Kroks
|
|
|
|
DEVICE_ALT0_MODEL := KNdRt31R16
|
|
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
|
|
SUPPORTED_DEVICES += kndrt31r16
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += kroks_kndrt31r16
|
|
|
|
|
2022-09-07 22:19:35 +00:00
|
|
|
define Device/kroks_kndrt31r19
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := Kroks
|
|
|
|
DEVICE_MODEL := Rt-Pot mXw DS RSIM
|
|
|
|
DEVICE_ALT0_VENDOR := Kroks
|
|
|
|
DEVICE_ALT0_MODEL := KNdRt31R19
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 uqmi
|
|
|
|
SUPPORTED_DEVICES += kndrt31r19
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += kroks_kndrt31r19
|
|
|
|
|
2022-03-20 09:11:15 +00:00
|
|
|
define Device/linksys_e5400
|
|
|
|
IMAGE_SIZE := 16000k
|
|
|
|
DEVICE_VENDOR := Linksys
|
|
|
|
DEVICE_MODEL := E5400
|
|
|
|
DEVICE_ALT0_VENDOR := Linksys
|
|
|
|
DEVICE_ALT0_MODEL := E2500
|
|
|
|
DEVICE_ALT0_VARIANT := v4
|
|
|
|
DEVICE_ALT1_VENDOR := Linksys
|
|
|
|
DEVICE_ALT1_MODEL := E5300
|
|
|
|
DEVICE_ALT2_VENDOR := Linksys
|
|
|
|
DEVICE_ALT2_MODEL := E5350
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys_e5400
|
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/mediatek_linkit-smart-7688
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 32448k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := MediaTek
|
|
|
|
DEVICE_MODEL := LinkIt Smart 7688
|
2019-09-14 15:25:04 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools kmod-sdhci-mt7620
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += linkits7688 linkits7688d
|
2017-08-26 01:49:45 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += mediatek_linkit-smart-7688
|
2017-08-26 01:49:45 +00:00
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/mediatek_mt7628an-eval-board
|
2019-07-15 12:55:28 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := MediaTek
|
|
|
|
DEVICE_MODEL := MT7628 EVB
|
2017-08-26 01:49:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += mt7628
|
2017-08-26 01:49:45 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += mediatek_mt7628an-eval-board
|
2017-08-26 01:49:45 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/mercury_mac1200r-v2
|
2019-07-15 12:55:28 +00:00
|
|
|
IMAGE_SIZE := 7936k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Mercury
|
|
|
|
DEVICE_MODEL := MAC1200R
|
|
|
|
DEVICE_VARIANT := v2.0
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
SUPPORTED_DEVICES += mac1200rv2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mercury_mac1200r-v2
|
|
|
|
|
2021-06-01 21:09:26 +00:00
|
|
|
define Device/minew_g1-c
|
|
|
|
IMAGE_SIZE := 15744k
|
|
|
|
DEVICE_VENDOR := Minew
|
|
|
|
DEVICE_MODEL := G1-C
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-usb-serial-cp210x
|
2021-07-07 15:57:45 +00:00
|
|
|
SUPPORTED_DEVICES += minew-g1c
|
2021-06-01 21:09:26 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += minew_g1-c
|
|
|
|
|
2021-08-24 14:59:59 +00:00
|
|
|
define Device/motorola_mwr03
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_VENDOR := Motorola
|
|
|
|
DEVICE_MODEL := MWR03
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += motorola_mwr03
|
|
|
|
|
2020-07-10 10:00:08 +00:00
|
|
|
define Device/netgear_r6020
|
2020-08-03 17:23:50 +00:00
|
|
|
$(Device/netgear_sercomm_nor)
|
2020-07-10 10:00:08 +00:00
|
|
|
IMAGE_SIZE := 7104k
|
|
|
|
DEVICE_MODEL := R6020
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
SERCOMM_HWNAME := R6020
|
|
|
|
SERCOMM_HWID := CFR
|
|
|
|
SERCOMM_HWVER := A001
|
|
|
|
SERCOMM_SWVER := 0x0040
|
2020-08-03 17:23:50 +00:00
|
|
|
SERCOMM_PAD := 576k
|
ramips: add support for Netgear R6020
This adds support for the Netgear R6020, aka Netgear AC750.
The R6020 appears to be the same hardware as the Netgear R6080,
aka Netgear AC1000, but it has a slightly different flash layout,
and no USB ports.
Specification:
SoC: MediaTek MT7628 (580 MHz)
Flash: 8 MiB
RAM: 64 MiB
Wireless: 2.4Ghz (builtin) and 5Ghz (MT7612E)
LAN speed: 10/100
LAN ports: 4
WAN speed: 10/100
WAN ports: 1
UART (57600 8N1) on PCB
MAC addresses based on vendor firmware:
LAN *:88 0x4
WAN *:89
WLAN2 *:88 0x4
WLAN5 *:8a 0x8004
The factory partition might have been corrupted beforehand. However,
the comparison of vendor firmware and OpenWrt still allowed to retrieve
a meaningful assignment that also matches the other similar devices.
Installation:
Flashing OpenWRT from stock firmware requires nmrpflash. Use an ethernet
cable to connect to LAN port 1 of the R6020, and power the R6020 off.
From the connected workstation, run
`nmrpflash -i eth0 -f openwrt-ramips-mt76x8-netgear_r6020-squashfs-factory.img`,
replacing eth0 with the appropriate interface (can be identified by
running `nmrpflash -L`). Then power on the R6020. After flashing has finished,
power cycle the R6020, and it will boot into OpenWRT. Once OpenWRT has been
installed, subsequent flashes can use the web interface and sysupgrade files.
Signed-off-by: Tim Thorpe <timfthorpe@gmail.com>
[slightly extend commit message, fix whitespaces in DTS, align From:
with Signed-off-by]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-09 03:07:35 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear_r6020
|
|
|
|
|
ramips: add support for Netgear R6080
This adds support for the Netgear R6080, aka Netgear AC1000.
The R6080 has almost the same hardware as the Netgear R6120,
aka Netgear AC1200, but it lacks the USB port, has only 8 MiB flash and
uses a different SERCOMM_HWID.
Specification:
SoC: MediaTek MT7628 (580 MHz)
Flash: 8 MiB
RAM: 64 MiB
Wireless: 2.4Ghz (builtin) and 5Ghz (MT7612E)
LAN speed: 10/100
LAN ports: 4
WAN speed: 10/100
WAN ports: 1
UART (57600 8N1) on PCB
Installation:
Flashing OpenWRT from stock firmware requires nmrpflash. Use an ethernet
cable to connect to LAN port 1 of the R6080, and power the R6080 off.
From the connected workstation, run
`nmrpflash -i eth0 -f openwrt-ramips-mt76x8-netgear_r6080-squashfs-factory.img`,
replacing eth0 with the appropriate interface (can be identified by
running `nmrpflash -L`). Then power on the R6080. After flashing has finished,
power cycle the R6080, and it will boot into OpenWRT. Once OpenWRT has been
installed, subsequent flashes can use the web interface and sysupgrade files.
Signed-off-by: Alex Lewontin <alex.c.lewontin@gmail.com>
[rebase and adjust for 5.4]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-02-21 20:56:44 +00:00
|
|
|
define Device/netgear_r6080
|
2020-08-03 17:23:50 +00:00
|
|
|
$(Device/netgear_sercomm_nor)
|
ramips: add support for Netgear R6080
This adds support for the Netgear R6080, aka Netgear AC1000.
The R6080 has almost the same hardware as the Netgear R6120,
aka Netgear AC1200, but it lacks the USB port, has only 8 MiB flash and
uses a different SERCOMM_HWID.
Specification:
SoC: MediaTek MT7628 (580 MHz)
Flash: 8 MiB
RAM: 64 MiB
Wireless: 2.4Ghz (builtin) and 5Ghz (MT7612E)
LAN speed: 10/100
LAN ports: 4
WAN speed: 10/100
WAN ports: 1
UART (57600 8N1) on PCB
Installation:
Flashing OpenWRT from stock firmware requires nmrpflash. Use an ethernet
cable to connect to LAN port 1 of the R6080, and power the R6080 off.
From the connected workstation, run
`nmrpflash -i eth0 -f openwrt-ramips-mt76x8-netgear_r6080-squashfs-factory.img`,
replacing eth0 with the appropriate interface (can be identified by
running `nmrpflash -L`). Then power on the R6080. After flashing has finished,
power cycle the R6080, and it will boot into OpenWRT. Once OpenWRT has been
installed, subsequent flashes can use the web interface and sysupgrade files.
Signed-off-by: Alex Lewontin <alex.c.lewontin@gmail.com>
[rebase and adjust for 5.4]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-02-21 20:56:44 +00:00
|
|
|
IMAGE_SIZE := 7552k
|
|
|
|
DEVICE_MODEL := R6080
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
2020-07-10 10:00:08 +00:00
|
|
|
SERCOMM_HWNAME := R6080
|
ramips: add support for Netgear R6080
This adds support for the Netgear R6080, aka Netgear AC1000.
The R6080 has almost the same hardware as the Netgear R6120,
aka Netgear AC1200, but it lacks the USB port, has only 8 MiB flash and
uses a different SERCOMM_HWID.
Specification:
SoC: MediaTek MT7628 (580 MHz)
Flash: 8 MiB
RAM: 64 MiB
Wireless: 2.4Ghz (builtin) and 5Ghz (MT7612E)
LAN speed: 10/100
LAN ports: 4
WAN speed: 10/100
WAN ports: 1
UART (57600 8N1) on PCB
Installation:
Flashing OpenWRT from stock firmware requires nmrpflash. Use an ethernet
cable to connect to LAN port 1 of the R6080, and power the R6080 off.
From the connected workstation, run
`nmrpflash -i eth0 -f openwrt-ramips-mt76x8-netgear_r6080-squashfs-factory.img`,
replacing eth0 with the appropriate interface (can be identified by
running `nmrpflash -L`). Then power on the R6080. After flashing has finished,
power cycle the R6080, and it will boot into OpenWRT. Once OpenWRT has been
installed, subsequent flashes can use the web interface and sysupgrade files.
Signed-off-by: Alex Lewontin <alex.c.lewontin@gmail.com>
[rebase and adjust for 5.4]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-02-21 20:56:44 +00:00
|
|
|
SERCOMM_HWID := CFR
|
|
|
|
SERCOMM_HWVER := A001
|
|
|
|
SERCOMM_SWVER := 0x0040
|
2020-08-03 17:23:50 +00:00
|
|
|
SERCOMM_PAD := 576k
|
ramips: add support for Netgear R6080
This adds support for the Netgear R6080, aka Netgear AC1000.
The R6080 has almost the same hardware as the Netgear R6120,
aka Netgear AC1200, but it lacks the USB port, has only 8 MiB flash and
uses a different SERCOMM_HWID.
Specification:
SoC: MediaTek MT7628 (580 MHz)
Flash: 8 MiB
RAM: 64 MiB
Wireless: 2.4Ghz (builtin) and 5Ghz (MT7612E)
LAN speed: 10/100
LAN ports: 4
WAN speed: 10/100
WAN ports: 1
UART (57600 8N1) on PCB
Installation:
Flashing OpenWRT from stock firmware requires nmrpflash. Use an ethernet
cable to connect to LAN port 1 of the R6080, and power the R6080 off.
From the connected workstation, run
`nmrpflash -i eth0 -f openwrt-ramips-mt76x8-netgear_r6080-squashfs-factory.img`,
replacing eth0 with the appropriate interface (can be identified by
running `nmrpflash -L`). Then power on the R6080. After flashing has finished,
power cycle the R6080, and it will boot into OpenWRT. Once OpenWRT has been
installed, subsequent flashes can use the web interface and sysupgrade files.
Signed-off-by: Alex Lewontin <alex.c.lewontin@gmail.com>
[rebase and adjust for 5.4]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-02-21 20:56:44 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear_r6080
|
|
|
|
|
2018-06-12 19:17:23 +00:00
|
|
|
define Device/netgear_r6120
|
2020-08-03 17:23:50 +00:00
|
|
|
$(Device/netgear_sercomm_nor)
|
2019-07-15 12:55:02 +00:00
|
|
|
IMAGE_SIZE := 15744k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := R6120
|
2018-11-30 10:10:29 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
|
2020-07-10 10:00:08 +00:00
|
|
|
SERCOMM_HWNAME := R6120
|
2018-06-12 19:17:23 +00:00
|
|
|
SERCOMM_HWID := CGQ
|
|
|
|
SERCOMM_HWVER := A001
|
2018-11-08 11:46:37 +00:00
|
|
|
SERCOMM_SWVER := 0x0040
|
2020-08-03 17:23:50 +00:00
|
|
|
SERCOMM_PAD := 576k
|
2018-06-12 19:17:23 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear_r6120
|
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/onion_omega2
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Onion
|
|
|
|
DEVICE_MODEL := Omega2
|
2017-08-26 01:49:45 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += omega2
|
2017-08-26 01:49:45 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += onion_omega2
|
2017-08-26 01:49:45 +00:00
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/onion_omega2p
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 32448k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Onion
|
|
|
|
DEVICE_MODEL := Omega2+
|
2017-08-26 01:49:45 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools kmod-sdhci-mt7620
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += omega2p
|
2017-08-26 01:49:45 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += onion_omega2p
|
2017-08-26 01:49:45 +00:00
|
|
|
|
2022-09-22 17:04:01 +00:00
|
|
|
define Device/oraybox_x1
|
|
|
|
IMAGE_SIZE := 15360k
|
|
|
|
DEVICE_VENDOR := OrayBox
|
|
|
|
DEVICE_MODEL := X1
|
|
|
|
DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += oraybox_x1
|
|
|
|
|
2019-02-26 22:04:53 +00:00
|
|
|
define Device/rakwireless_rak633
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Rakwireless
|
|
|
|
DEVICE_MODEL := RAK633
|
2019-02-26 22:04:53 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += rakwireless_rak633
|
|
|
|
|
2020-06-29 10:24:01 +00:00
|
|
|
define Device/ravpower_rp-wd009
|
|
|
|
IMAGE_SIZE := 14272k
|
|
|
|
DEVICE_VENDOR := RAVPower
|
|
|
|
DEVICE_MODEL := RP-WD009
|
|
|
|
UBOOT_PATH := $(STAGING_DIR_IMAGE)/ravpower_rp-wd009-u-boot.bin
|
2020-06-29 10:24:04 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
|
|
|
|
kmod-sdhci-mt7620 kmod-i2c-mt7628 ravpower-mcu
|
2020-06-29 10:24:01 +00:00
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | ravpower-wd009-factory
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ravpower_rp-wd009
|
|
|
|
|
2018-11-26 11:34:48 +00:00
|
|
|
define Device/skylab_skw92a
|
ramips: add support for Skylab SKW92A in EVB
Specifically, SKW92A_E16, described here:
http://www.skylabmodule.com/wp-content/uploads/SkyLab_SKW92A_V1.04_datasheet.pdf
Specification:
- MediaTek MT7628N/N (580 Mhz)
- 64 MB of RAM
- 16 MB of FLASH
- 2T2R 2.4 GHz
- 5x 10/100 Mbps Ethernet
- 2x u.FL
- Power by micro-USB connector at USB1 on EVB
- UART via micro-USB connector at USB3 on EVB (57600 8n1)
- 5x Ethernet LEDs
- 1x WLAN LEDs
- 1x WPS LED connected by jumper wire from I2S_CK on J20 to WPS_LED pin hole next
to daughter board on EVB
- WPS/Reset button (S2 on EVB)
- RESET button (S1 on EVB) is *not* connected to RST hole next to daughter board
Flash instruction:
>From Skylab firmware:
1. Associate with SKYLAP_AP
2. In a browser, load: http://10.10.10.254/
3. Username/password: admin/admin
4. In web admin interface: Administration / Upload Firmware, browse to
sysupgrade image, apply, flash will fail with a message:
Not a valid firmware. *** Warning: "/var/tmpFW" has corrupted data!
5. Telnet to 10.10.10.254, drops you into a root shell with no credentials
6. # cd /var
7. # mtd_write -r write tmpFW mtd4
Unlocking mtd4 ...
Writing from tmpFW to mtd4 ... [e]
8. When flash has completed, you will have booted into your firmware.
>From U-boot via TFTP and initramfs:
1. Place openwrt-ramips-mt76x8-skw92a-initramfs-kernel.bin on a TFTP server
2. Connect to serial console at USB3 on EVB
3. Connect ethernet between port 1 (not WAN) and your TFTP server (e.g.
192.168.11.20)
4. Start terminal software (e.g. screen /dev/ttyUSB0 57600) on PC
5. Apply power to EVB
6. Interrupt u-boot with keypress of "1"
7. At u-boot prompts:
Input device IP (10.10.10.123) ==:192.168.11.21
Input server IP (10.10.10.3) ==:192.168.11.20
Input Linux Kernel filename (root_uImage) ==:openwrt-ramips-mt76x8-skw92a-initramfs-kernel.bin
8. Move ethernet to port 0 (WAN) on EVB
9. At new OpenWrt console shell, fetch squashfs-sysupgrade image and flash
with sysupgrade.
>From U-boot via TFTP direct flash:
1. Place openwrt-ramips-mt76x8-skw92a-squashfs-sysupgrade.bin on a TFTP server
2. Connect to serial console at USB3 on EVB (57600 8N1)
3. Connect ethernet between port 1 (not WAN) an your TFTP server (e.g.
192.168.11.20)
4. Start terminal software (e.g. screen /dev/ttyUSB0 57600) on PC
5. Apply power to EVB
6. Interrupt u-boot with keypress of "2"
7. At u-boot prompts:
Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N) Y
Input device IP (10.10.10.123) ==:192.168.11.21
Input server IP (10.10.10.3) ==:192.168.11.20
Input Linux Kernel filename (root_uImage) ==:openwrt-ramips-mt76x8-skw92a-squashfs-sysupgrade.bin
8. When transfer is complete or as OpenWrt begins booting, move ethernet to
port 0 (WAN).
Signed-off-by: Russell Senior <russell@personaltelco.net>
2018-11-25 11:39:19 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Skylab
|
|
|
|
DEVICE_MODEL := SKW92A
|
ramips: add support for Skylab SKW92A in EVB
Specifically, SKW92A_E16, described here:
http://www.skylabmodule.com/wp-content/uploads/SkyLab_SKW92A_V1.04_datasheet.pdf
Specification:
- MediaTek MT7628N/N (580 Mhz)
- 64 MB of RAM
- 16 MB of FLASH
- 2T2R 2.4 GHz
- 5x 10/100 Mbps Ethernet
- 2x u.FL
- Power by micro-USB connector at USB1 on EVB
- UART via micro-USB connector at USB3 on EVB (57600 8n1)
- 5x Ethernet LEDs
- 1x WLAN LEDs
- 1x WPS LED connected by jumper wire from I2S_CK on J20 to WPS_LED pin hole next
to daughter board on EVB
- WPS/Reset button (S2 on EVB)
- RESET button (S1 on EVB) is *not* connected to RST hole next to daughter board
Flash instruction:
>From Skylab firmware:
1. Associate with SKYLAP_AP
2. In a browser, load: http://10.10.10.254/
3. Username/password: admin/admin
4. In web admin interface: Administration / Upload Firmware, browse to
sysupgrade image, apply, flash will fail with a message:
Not a valid firmware. *** Warning: "/var/tmpFW" has corrupted data!
5. Telnet to 10.10.10.254, drops you into a root shell with no credentials
6. # cd /var
7. # mtd_write -r write tmpFW mtd4
Unlocking mtd4 ...
Writing from tmpFW to mtd4 ... [e]
8. When flash has completed, you will have booted into your firmware.
>From U-boot via TFTP and initramfs:
1. Place openwrt-ramips-mt76x8-skw92a-initramfs-kernel.bin on a TFTP server
2. Connect to serial console at USB3 on EVB
3. Connect ethernet between port 1 (not WAN) and your TFTP server (e.g.
192.168.11.20)
4. Start terminal software (e.g. screen /dev/ttyUSB0 57600) on PC
5. Apply power to EVB
6. Interrupt u-boot with keypress of "1"
7. At u-boot prompts:
Input device IP (10.10.10.123) ==:192.168.11.21
Input server IP (10.10.10.3) ==:192.168.11.20
Input Linux Kernel filename (root_uImage) ==:openwrt-ramips-mt76x8-skw92a-initramfs-kernel.bin
8. Move ethernet to port 0 (WAN) on EVB
9. At new OpenWrt console shell, fetch squashfs-sysupgrade image and flash
with sysupgrade.
>From U-boot via TFTP direct flash:
1. Place openwrt-ramips-mt76x8-skw92a-squashfs-sysupgrade.bin on a TFTP server
2. Connect to serial console at USB3 on EVB (57600 8N1)
3. Connect ethernet between port 1 (not WAN) an your TFTP server (e.g.
192.168.11.20)
4. Start terminal software (e.g. screen /dev/ttyUSB0 57600) on PC
5. Apply power to EVB
6. Interrupt u-boot with keypress of "2"
7. At u-boot prompts:
Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N) Y
Input device IP (10.10.10.123) ==:192.168.11.21
Input server IP (10.10.10.3) ==:192.168.11.20
Input Linux Kernel filename (root_uImage) ==:openwrt-ramips-mt76x8-skw92a-squashfs-sysupgrade.bin
8. When transfer is complete or as OpenWrt begins booting, move ethernet to
port 0 (WAN).
Signed-off-by: Russell Senior <russell@personaltelco.net>
2018-11-25 11:39:19 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
2018-11-26 11:34:48 +00:00
|
|
|
TARGET_DEVICES += skylab_skw92a
|
ramips: add support for Skylab SKW92A in EVB
Specifically, SKW92A_E16, described here:
http://www.skylabmodule.com/wp-content/uploads/SkyLab_SKW92A_V1.04_datasheet.pdf
Specification:
- MediaTek MT7628N/N (580 Mhz)
- 64 MB of RAM
- 16 MB of FLASH
- 2T2R 2.4 GHz
- 5x 10/100 Mbps Ethernet
- 2x u.FL
- Power by micro-USB connector at USB1 on EVB
- UART via micro-USB connector at USB3 on EVB (57600 8n1)
- 5x Ethernet LEDs
- 1x WLAN LEDs
- 1x WPS LED connected by jumper wire from I2S_CK on J20 to WPS_LED pin hole next
to daughter board on EVB
- WPS/Reset button (S2 on EVB)
- RESET button (S1 on EVB) is *not* connected to RST hole next to daughter board
Flash instruction:
>From Skylab firmware:
1. Associate with SKYLAP_AP
2. In a browser, load: http://10.10.10.254/
3. Username/password: admin/admin
4. In web admin interface: Administration / Upload Firmware, browse to
sysupgrade image, apply, flash will fail with a message:
Not a valid firmware. *** Warning: "/var/tmpFW" has corrupted data!
5. Telnet to 10.10.10.254, drops you into a root shell with no credentials
6. # cd /var
7. # mtd_write -r write tmpFW mtd4
Unlocking mtd4 ...
Writing from tmpFW to mtd4 ... [e]
8. When flash has completed, you will have booted into your firmware.
>From U-boot via TFTP and initramfs:
1. Place openwrt-ramips-mt76x8-skw92a-initramfs-kernel.bin on a TFTP server
2. Connect to serial console at USB3 on EVB
3. Connect ethernet between port 1 (not WAN) and your TFTP server (e.g.
192.168.11.20)
4. Start terminal software (e.g. screen /dev/ttyUSB0 57600) on PC
5. Apply power to EVB
6. Interrupt u-boot with keypress of "1"
7. At u-boot prompts:
Input device IP (10.10.10.123) ==:192.168.11.21
Input server IP (10.10.10.3) ==:192.168.11.20
Input Linux Kernel filename (root_uImage) ==:openwrt-ramips-mt76x8-skw92a-initramfs-kernel.bin
8. Move ethernet to port 0 (WAN) on EVB
9. At new OpenWrt console shell, fetch squashfs-sysupgrade image and flash
with sysupgrade.
>From U-boot via TFTP direct flash:
1. Place openwrt-ramips-mt76x8-skw92a-squashfs-sysupgrade.bin on a TFTP server
2. Connect to serial console at USB3 on EVB (57600 8N1)
3. Connect ethernet between port 1 (not WAN) an your TFTP server (e.g.
192.168.11.20)
4. Start terminal software (e.g. screen /dev/ttyUSB0 57600) on PC
5. Apply power to EVB
6. Interrupt u-boot with keypress of "2"
7. At u-boot prompts:
Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N) Y
Input device IP (10.10.10.123) ==:192.168.11.21
Input server IP (10.10.10.3) ==:192.168.11.20
Input Linux Kernel filename (root_uImage) ==:openwrt-ramips-mt76x8-skw92a-squashfs-sysupgrade.bin
8. When transfer is complete or as OpenWrt begins booting, move ethernet to
port 0 (WAN).
Signed-off-by: Russell Senior <russell@personaltelco.net>
2018-11-25 11:39:19 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/tama_w06
|
|
|
|
IMAGE_SIZE := 15040k
|
|
|
|
DEVICE_VENDOR := Tama
|
|
|
|
DEVICE_MODEL := W06
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tama_w06
|
|
|
|
|
2020-03-12 19:19:32 +00:00
|
|
|
define Device/totolink_a3
|
|
|
|
IMAGE_SIZE := 7936k
|
|
|
|
UIMAGE_NAME := za3
|
|
|
|
DEVICE_VENDOR := TOTOLINK
|
|
|
|
DEVICE_MODEL := A3
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += totolink_a3
|
|
|
|
|
2019-05-16 07:09:07 +00:00
|
|
|
define Device/totolink_lr1200
|
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := TOTOLINK
|
|
|
|
DEVICE_MODEL := LR1200
|
2019-05-16 07:09:07 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 uqmi
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += totolink_lr1200
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/tplink_archer-c20-v4
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := Archer C20
|
|
|
|
DEVICE_VARIANT := v4
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0xc200004
|
|
|
|
TPLINK_HWREVADD := 0x4
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += tplink,c20-v4
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c20-v4
|
|
|
|
|
ramips: add support for TP-Link Archer C20 v5
TP-Link Archer C20 v5 is a router with 5-port FE switch and
non-detachable antennas. It's based on MediaTek MT7628N+MT7610EN.
Specification:
- MediaTek MT7628N/N (580 Mhz)
- 64 MB of RAM
- 8 MB of FLASH
- 2T2R 2.4 GHz and 1T1R 5 GHz
- 5x 10/100 Mbps Ethernet
- 3x external, non-detachable antennas
- UART (J1) header on PCB (115200 8n1)
- 7x LED (GPIO-controlled*), 2x button, power input switch
* WAN LED in this devices is a dual-color, dual-leads type which isn't
(fully) supported by gpio-leds driver. This type of LED requires both
GPIOs state change at the same time to select color or turn it off.
For now, we support/use only the green part of the LED.
Create Factory image
--------------------
As all installation methods require a U-Boot to be integrated into the
Image (and we do not ship one with the image) we are not able to create
an image in the OpenWRT build-process.
Download a TP-Link image from their Website and a OpenWRT sysupgrade
image for the device and build yourself a factory image like following:
TP-Link image: tpl.bin
OpenWRT sysupgrade image: owrt.bin
> dd if=tpl.bin of=boot.bin bs=131584 count=1
> cat owrt.bin >> boot.bin
Installing via Web-UI
---------------------
Upload the boot.bin via TP-Links firmware upgrade tool in the
web-interface.
Installing via Recovery
-----------------------
Activate Web-Recovery by beginning the upgrade Process with a
Firmware-Image from TP-Link. After starting the Firmware Upgrade,
wait ~3 seconds (When update status is switching to 0%), then
disconnect the power supply from the device. Upgrade flag (which
activates Web-Recovery) is written before the OS-image is touched and
removed after write is succesfull, so this procedure should be safe.
Plug the power back in. It will come up in Recovery-Mode on 192.168.0.1.
When active, all LEDs but the WPS LED are off.
Remeber to assign yourself a static IP-address as DHCP is not active in
this mode.
The boot.bin can now be uploaded and flashed using the web-recovery.
Installing via TFTP
-------------------
Prepare an image like following (Filenames from factory image steps
apply here)
> dd if=/dev/zero of=tp_recovery.bin bs=196608 count=1
> dd if=tpl.bin of=tmp.bin bs=131584 count=1
> dd if=tmp.bin of=boot.bin bs=512 skip=1
> cat boot.bin >> tp_recovery.bin
> cat owrt.bin >> tp_recovery.bin
Place tp_recovery.bin in root directory of TFTP server and listen on
192.168.0.66/24.
Connect router LAN ports with your computer and power up the router
while pressing the reset button. The router will download the image via
tftp and after ~1 Minute reboot into OpenWRT.
U-Boot CLI
----------
U-Boot CLI can be activated by holding down '4' on bootup.
Dual U-Boot
-----------
This is TP-Link MediaTek device with a split-uboot feature design like
a TP-Link Archer C50 v4. The first (factory-uboot) provides recovery via
TFTP and HTTP, jumping straight into the second (firmware-uboot) if no
recovery needs to be performed. The firmware-uboot unpacks and executed
the kernel.
Web-Recovery
------------
TP-Link integrated a new Web-Recovery like the one on the Archer C7v4 /
TL-WR1043v5 / Archer C50v4. Stock-firmware sets a flag in the "romfile"
partition before beginning to write and removes it afterwards. If the
router boots with this flag set, bootloader will automatically start
Web-recovery and listens on 192.168.0.1. This way, the vendor-firmware
or an OpenWRT factory image can be written.
By doing the same while performing sysupgrade, we can take advantage of
the Web-recovery in OpenWRT.
It is important to note that Web-Recovery is only based on this flag. It
can't detect e.g. a crashing kernel or other means. Once activated it
won't boot the OS before a recovery action (either via TFTP or HTTP) is
performed. This recovery-mode is indicated by an illuminated WPS-LED on
boot.
Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
[adjust some node names for LEDs in DTS]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-18 06:52:44 +00:00
|
|
|
define Device/tplink_archer-c20-v5
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
ramips: add support for TP-Link Archer C20 v5
TP-Link Archer C20 v5 is a router with 5-port FE switch and
non-detachable antennas. It's based on MediaTek MT7628N+MT7610EN.
Specification:
- MediaTek MT7628N/N (580 Mhz)
- 64 MB of RAM
- 8 MB of FLASH
- 2T2R 2.4 GHz and 1T1R 5 GHz
- 5x 10/100 Mbps Ethernet
- 3x external, non-detachable antennas
- UART (J1) header on PCB (115200 8n1)
- 7x LED (GPIO-controlled*), 2x button, power input switch
* WAN LED in this devices is a dual-color, dual-leads type which isn't
(fully) supported by gpio-leds driver. This type of LED requires both
GPIOs state change at the same time to select color or turn it off.
For now, we support/use only the green part of the LED.
Create Factory image
--------------------
As all installation methods require a U-Boot to be integrated into the
Image (and we do not ship one with the image) we are not able to create
an image in the OpenWRT build-process.
Download a TP-Link image from their Website and a OpenWRT sysupgrade
image for the device and build yourself a factory image like following:
TP-Link image: tpl.bin
OpenWRT sysupgrade image: owrt.bin
> dd if=tpl.bin of=boot.bin bs=131584 count=1
> cat owrt.bin >> boot.bin
Installing via Web-UI
---------------------
Upload the boot.bin via TP-Links firmware upgrade tool in the
web-interface.
Installing via Recovery
-----------------------
Activate Web-Recovery by beginning the upgrade Process with a
Firmware-Image from TP-Link. After starting the Firmware Upgrade,
wait ~3 seconds (When update status is switching to 0%), then
disconnect the power supply from the device. Upgrade flag (which
activates Web-Recovery) is written before the OS-image is touched and
removed after write is succesfull, so this procedure should be safe.
Plug the power back in. It will come up in Recovery-Mode on 192.168.0.1.
When active, all LEDs but the WPS LED are off.
Remeber to assign yourself a static IP-address as DHCP is not active in
this mode.
The boot.bin can now be uploaded and flashed using the web-recovery.
Installing via TFTP
-------------------
Prepare an image like following (Filenames from factory image steps
apply here)
> dd if=/dev/zero of=tp_recovery.bin bs=196608 count=1
> dd if=tpl.bin of=tmp.bin bs=131584 count=1
> dd if=tmp.bin of=boot.bin bs=512 skip=1
> cat boot.bin >> tp_recovery.bin
> cat owrt.bin >> tp_recovery.bin
Place tp_recovery.bin in root directory of TFTP server and listen on
192.168.0.66/24.
Connect router LAN ports with your computer and power up the router
while pressing the reset button. The router will download the image via
tftp and after ~1 Minute reboot into OpenWRT.
U-Boot CLI
----------
U-Boot CLI can be activated by holding down '4' on bootup.
Dual U-Boot
-----------
This is TP-Link MediaTek device with a split-uboot feature design like
a TP-Link Archer C50 v4. The first (factory-uboot) provides recovery via
TFTP and HTTP, jumping straight into the second (firmware-uboot) if no
recovery needs to be performed. The firmware-uboot unpacks and executed
the kernel.
Web-Recovery
------------
TP-Link integrated a new Web-Recovery like the one on the Archer C7v4 /
TL-WR1043v5 / Archer C50v4. Stock-firmware sets a flag in the "romfile"
partition before beginning to write and removes it afterwards. If the
router boots with this flag set, bootloader will automatically start
Web-recovery and listens on 192.168.0.1. This way, the vendor-firmware
or an OpenWRT factory image can be written.
By doing the same while performing sysupgrade, we can take advantage of
the Web-recovery in OpenWRT.
It is important to note that Web-Recovery is only based on this flag. It
can't detect e.g. a crashing kernel or other means. Once activated it
won't boot the OS before a recovery action (either via TFTP or HTTP) is
performed. This recovery-mode is indicated by an illuminated WPS-LED on
boot.
Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
[adjust some node names for LEDs in DTS]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-18 06:52:44 +00:00
|
|
|
IMAGE_SIZE := 7616k
|
|
|
|
DEVICE_MODEL := Archer C20
|
|
|
|
DEVICE_VARIANT := v5
|
|
|
|
TPLINK_FLASHLAYOUT := 8MSUmtk
|
|
|
|
TPLINK_HWID := 0xc200005
|
|
|
|
TPLINK_HWREVADD := 0x5
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
IMAGES := sysupgrade.bin
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c20-v5
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/tplink_archer-c50-v3
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := Archer C50
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x001D9BA4
|
|
|
|
TPLINK_HWREV := 0x79
|
|
|
|
TPLINK_HWREVADD := 0x1
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += tplink,c50-v3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c50-v3
|
|
|
|
|
|
|
|
define Device/tplink_archer-c50-v4
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE_SIZE := 7616k
|
|
|
|
DEVICE_MODEL := Archer C50
|
|
|
|
DEVICE_VARIANT := v4
|
|
|
|
TPLINK_FLASHLAYOUT := 8MSUmtk
|
|
|
|
TPLINK_HWID := 0x001D589B
|
|
|
|
TPLINK_HWREV := 0x93
|
|
|
|
TPLINK_HWREVADD := 0x2
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
IMAGES := sysupgrade.bin
|
|
|
|
SUPPORTED_DEVICES += tplink,c50-v4
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c50-v4
|
|
|
|
|
ramips: Add support for TP-Link Archer C50 v6 (CA/EU/RU)
This adds support for the TP-Link Archer C50 v6 (CA/EU/RU).
(The ES variant is a rebranded Archer C54 and NOT supported.)
CPU: MediaTek MT7628 (580MHz)
RAM: 64M DDR2
FLASH: 8M SPI
WiFi: 2.4GHz 2x2 MT7628 b/g/n integrated
WiFi: 5GHz 2x2 MT7613 a/n/ac
ETH: 1x WAN 4x LAN
LED: Power, WiFi2, WiFi5, LAN, WAN, WPS
BTN: WPS/WiFi, RESET
UART: Near ETH ports, 115200 8n1, TP-Link pinout
Create Factory image
--------------------
As all installation methods require a U-Boot to be integrated into the
image (and we do not ship one with the image). We are not able to create
an image in the OpenWRT build-process.
Download a TP-Link image for your device variant (CA/EU or RU) from their
website and a OpenWRT sysupgrade image for the device
and build yourself a factory image like following:
TP-Link image: tpl.bin
OpenWRT sysupgrade image: owrt.bin
> dd if=tpl.bin of=boot.bin bs=131584 count=1
> cat owrt.bin >> boot.bin
Installing via Web-UI
---------------------
Upload the boot.bin via TP-Links firmware upgrade tool in the
web-interface.
Installing via Recovery
-----------------------
Activate Web-Recovery by beginning the upgrade Process with a
Firmware-Image from TP-Link. After starting the Firmware Upgrade,
wait ~3 seconds (When update status is switching to 0%), then
disconnect the power supply from the device. Upgrade flag (which
activates Web-Recovery) is written before the OS-image is touched and
removed after write is succesfull, so this procedure should be safe.
Plug the power back in. It will come up in Recovery-Mode on 192.168.0.1.
When active, all LEDs but the WPS LED are off.
Remeber to assign yourself a static IP-address as DHCP is not active in
this mode.
The boot.bin can now be uploaded and flashed using the web-recovery.
Installing via TFTP
-------------------
Prepare an image like following (Filenames from factory image steps
apply here)
> dd if=/dev/zero of=tp_recovery.bin bs=196608 count=1
> dd if=tpl.bin of=tmp.bin bs=131584 count=1
> dd if=tmp.bin of=boot.bin bs=512 skip=1
> cat boot.bin >> tp_recovery.bin
> cat owrt.bin >> tp_recovery.bin
Place tp_recovery.bin in root directory of TFTP server and listen on
192.168.0.66/24.
Connect router LAN ports with your computer and power up the router
while pressing the reset button. The router will download the image via
tftp and after ~1 Minute reboot into OpenWRT.
U-Boot CLI
----------
U-Boot CLI can be activated by holding down '4' on bootup.
Dual U-Boot
-----------
This is the first TP-Link MediaTek device to feature a split-uboot
design. The first (factory-uboot) provides recovery via TFTP and HTTP,
jumping straight into the second (firmware-uboot) if no recovery needs
to be performed. The firmware-uboot unpacks and executed the kernel.
Web-Recovery
------------
TP-Link integrated a new Web-Recovery like the one on the Archer C7v4 /
TL-WR1043v5. Stock-firmware sets a flag in the "romfile" partition
before beginning to write and removes it afterwards. If the router boots
with this flag set, bootloader will automatically start Web-recovery and
listens on 192.168.0.1. This way, the vendor-firmware or an OpenWRT
factory image can be written.
By doing the same while performing sysupgrade, we can take advantage of
the Web-recovery in OpenWRT.
It is important to note that Web-Recovery is only based on this flag. It
can't detect e.g. a crashing kernel or other means. Once activated it
won't boot the OS before a recovery action (either via TFTP or HTTP) is
performed. This recovery-mode is indicated by an illuminated WPS-LED on
boot.
Co-authored-by: Julius Schwartzenberg <julius.schwartzenberg@gmail.com>
Signed-off-by: Renaud Gaspard <gaspardrenaud@hotmail.com>
Signed-off-by: Julius Schwartzenberg <julius.schwartzenberg@gmail.com>
Tested-by: Julius Schwartzenberg <julius.schwartzenberg@gmail.com>
Tested-by: Jaroslav Mikulík <byczech@gmail.com>
Tested-by: Ashipa Eko <ashipa.eko@gmail.com>
2023-01-22 19:41:48 +00:00
|
|
|
define Device/tplink_archer-c50-v6
|
|
|
|
$(Device/tplink-v2)
|
|
|
|
IMAGE_SIZE := 7616k
|
|
|
|
DEVICE_MODEL := Archer C50
|
|
|
|
DEVICE_VARIANT := v6 (CA/EU/RU)
|
|
|
|
TPLINK_FLASHLAYOUT := 8MSUmtk
|
|
|
|
TPLINK_HWID := 0x0C500006
|
|
|
|
TPLINK_HWREVADD := 0x6
|
|
|
|
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7663-firmware-ap
|
|
|
|
IMAGES := sysupgrade.bin
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c50-v6
|
|
|
|
|
2020-01-28 15:17:41 +00:00
|
|
|
define Device/tplink_re200-v2
|
|
|
|
$(Device/tplink-safeloader)
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := RE200
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
TPLINK_BOARD_ID := RE200-V2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re200-v2
|
|
|
|
|
2020-08-02 14:22:50 +00:00
|
|
|
define Device/tplink_re200-v3
|
|
|
|
$(Device/tplink-safeloader)
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := RE200
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
TPLINK_BOARD_ID := RE200-V3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re200-v3
|
|
|
|
|
2020-08-17 11:14:39 +00:00
|
|
|
define Device/tplink_re200-v4
|
|
|
|
$(Device/tplink-safeloader)
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := RE200
|
|
|
|
DEVICE_VARIANT := v4
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
TPLINK_BOARD_ID := RE200-V4
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re200-v4
|
|
|
|
|
2020-06-30 13:35:56 +00:00
|
|
|
define Device/tplink_re220-v2
|
|
|
|
$(Device/tplink-safeloader)
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := RE220
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
TPLINK_BOARD_ID := RE220-V2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re220-v2
|
|
|
|
|
2019-12-23 21:48:06 +00:00
|
|
|
define Device/tplink_re305-v1
|
|
|
|
$(Device/tplink-safeloader)
|
|
|
|
IMAGE_SIZE := 6016k
|
|
|
|
DEVICE_MODEL := RE305
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
TPLINK_BOARD_ID := RE305-V1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re305-v1
|
|
|
|
|
2021-03-19 19:20:11 +00:00
|
|
|
define Device/tplink_re305-v3
|
|
|
|
$(Device/tplink-safeloader)
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := RE305
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
TPLINK_BOARD_ID := RE305-V3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re305-v3
|
|
|
|
|
ramips: mt76x8: add support for TP-Link RE365 v1
TP-Link RE365 is a wireless range extender, hardware-wise resembles
RE305 with slight changes regarding buttons and LEDs.
Specification
SoC: MediaTek MT7628AN
RAM: 64 MiB DDR2
Flash: 8 MiB SPI NOR
WiFi: 2.4 GHz 2T2R integrated
5 GHz 2T2R MediaTek MT7612EN conncted to PCIe lanes
Ethernet: 1x 10/100 Mbps integrated
LEDs: 6x GPIO controlled
Buttons: 4x GPIO controlled
UART: row of 4 holes marked on PCB as J1, starting count from white
triangle
1. VCC (3.3V), 2. GND, 3. RX, 4. TX
baud: 57600, parity: none, flow control: none
Installation
1. Open web management interface.
2. Go to Settings > System Tools > Firmware upgrade.
3. Select "Browse" and select the OpenWrt image with factory.bin suffix.
4. After selecting "Upgrade" firmware writing process will start.
5. Wait till device reboots, power LED should stay solid when it's fully
booted, then it's ready for configuration through LAN port.
Additional information
With how device manufacturer patrtitioned the flash memory, it's possible
that with default packages set, initial factory.bin image won't be
created. In such case, try to reduce packages amount or use older release
for initial conversion to OpenWrt. Later You can use sysupgrade.bin
image with full set of packages because OpenWrt uses unpartitioned flash
memory space unused by vendor firmware.
Reverting to vendor firmware involves converting firmware using
tplink-safeloader with -z option (can be found in ImageBuilder or SDK)
and forcibly applying converted firmware as sysupgrade.
Known issues
WARNING: after removing casing of the device one is exposed to high
voltage and is in a risk of being electrocuted.
Caution when interfacing whith bootloader, saving its environment either
by issuing "saveenv" or selecting option "1: Load system code to SDRAM
via TFTP." in boot menu, any of those will lead to overwriting part of
kernel. This will lead to need of firmware recovery. The cause of this
issue is bootloader having environment offset on flash at 0x40000,
while kernel starts from 0x20000.
Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
[Wrap long line in DTS]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2024-01-10 15:39:57 +00:00
|
|
|
define Device/tplink_re365-v1
|
|
|
|
$(Device/tplink-safeloader)
|
|
|
|
DEVICE_MODEL := RE365
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | check-size | append-metadata
|
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
KERNEL_SIZE := 6016k
|
|
|
|
TPLINK_BOARD_ID := RE365
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re365-v1
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/tplink_tl-mr3020-v3
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := TL-MR3020
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x30200003
|
|
|
|
TPLINK_HWREV := 0x3
|
|
|
|
TPLINK_HWREVADD := 0x3
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
2019-07-07 14:27:51 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-mr3020-v3
|
|
|
|
|
|
|
|
define Device/tplink_tl-mr3420-v5
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := TL-MR3420
|
|
|
|
DEVICE_VARIANT := v5
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x34200005
|
|
|
|
TPLINK_HWREV := 0x5
|
|
|
|
TPLINK_HWREVADD := 0x5
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
2019-07-07 14:27:51 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-mr3420-v5
|
|
|
|
|
2020-11-18 19:38:21 +00:00
|
|
|
define Device/tplink_tl-mr6400-v4
|
|
|
|
$(Device/tplink-v2)
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := TL-MR6400
|
|
|
|
DEVICE_VARIANT := v4
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x64000004
|
|
|
|
TPLINK_HWREV := 0x4
|
|
|
|
TPLINK_HWREVADD := 0x4
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
|
2021-02-25 10:54:43 +00:00
|
|
|
kmod-usb-serial-option kmod-usb-net-qmi-wwan uqmi
|
2020-11-18 19:38:21 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-mr6400-v4
|
|
|
|
|
2020-11-24 21:15:26 +00:00
|
|
|
define Device/tplink_tl-mr6400-v5
|
|
|
|
$(Device/tplink-v2)
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := TL-MR6400
|
|
|
|
DEVICE_VARIANT := v5
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x64000005
|
|
|
|
TPLINK_HWREV := 0x5
|
|
|
|
TPLINK_HWREVADD := 0x5
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
|
2021-02-25 10:54:43 +00:00
|
|
|
kmod-usb-serial-option kmod-usb-net-qmi-wwan uqmi
|
2020-11-24 21:15:26 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-mr6400-v5
|
|
|
|
|
2018-06-26 23:24:39 +00:00
|
|
|
define Device/tplink_tl-wa801nd-v5
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
2018-06-26 23:24:39 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := TL-WA801ND
|
|
|
|
DEVICE_VARIANT := v5
|
2018-06-26 23:24:39 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x08010005
|
|
|
|
TPLINK_HWREVADD := 0x5
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
2018-06-26 23:24:39 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wa801nd-v5
|
|
|
|
|
2018-12-18 07:00:52 +00:00
|
|
|
define Device/tplink_tl-wr802n-v4
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
2018-12-18 07:00:52 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := TL-WR802N
|
|
|
|
DEVICE_VARIANT := v4
|
2018-12-18 07:00:52 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x08020004
|
|
|
|
TPLINK_HWREVADD := 0x4
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
2018-12-18 07:00:52 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr802n-v4
|
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/tplink_tl-wr840n-v4
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
ramips: add support for TP-Link TL-WR840N v4 and TL-WR841N v13
TP-Link TL-WR840N v4 and TL-WR841N v13 are simple N300 routers with
5-port FE switch and non-detachable antennas. Both are very similar
and are based on MediaTek MT7628NN (aka MT7628N) WiSoC.
The difference between these two models is in number of available
LEDs, buttons and power input switch.
This work is partially based on GitHub PR#974.
Specification:
- MT7628N/N (580 MHz)
- 64 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz
- 5x 10/100 Mbps Ethernet
- 2x external, non-detachable antennas
- UART (J1) header on PCB (115200 8n1)
- TL-WR840N v4: 5x LED (GPIO-controlled), 1x button
- TL-WR841N v13: 8x LED (GPIO-controlled*), 2x button, power input
switch
* WAN LED in TL-WR841N v13 is a dual-color, dual-leads type which isn't
(fully) supported by gpio-leds driver. This type of LED requires both
GPIOs state change at the same time to select color or turn it off.
For now, we support/use only the green part of the LED.
Factory image notes:
These devices use version 3 of TP-Link header, fortunately without RSA
signature (at least in case of devices sold in Europe). The difference
lays in the requirement for a non-zero value in "Additional Hardware
Version" field. Ideally, it should match the value stored in vendor
firmware header on device ("0x4"/"0x13" for these devices) but it seems
that anything other than "0" is correct.
We are able to prepare factory firwmare file which is accepted and
(almost) correctly flashed from the vendor GUI. As it turned out, it
accepts files without U-Boot image with second header at the beginning
but due to some kind of bug in upgrade routine, flashed image gets
corrupted before it's written to flash.
Tests showed that the GUI upgrade routine copies value of "Additional
Hardware Version" from existing firmware into offset "0x2023c" in
provided file, _before_ storing it in flash. In case of vendor firmware
upgrade files (which all include U-Boot image and two headers), this
offset points to the matching field in kernel+rootfs firmware part
header. Unfortunately, in case of LEDE factory image file which contains
only one header, it points to the offset "0x2023c" in kernel image. This
leads to a corrupted kernel and ends up with a "soft-bricked" device.
The good news is that U-Boot in these devices contains well known tftp
recovery mode, which can be triggered with "reset" button. What's more,
in comparison to some of older MediaTek based TP-Link devices, this
recovery mode doesn't write whole file at offset "0x0" in flash, without
verifying provided file in advance. In case of recovery mode in these
devices, first "0x20000" bytes are always skipped and "0x7a0000" bytes
from rest of the file are stored in flash at offset "0x20000".
Flash instruction:
Until (if at all) TP-Link fixes described problem, the only way to flash
LEDE image in these devices is to use tftp recovery mode in U-Boot:
1. Configure PC with static IP 192.168.0.66/24 and tftp server.
2. Rename "lede-ramips-mt7628-tl-wr84...-squashfs-tftp-recovery.bin"
to "tp_recovery.bin" and place it in tftp server directory.
3. Connect PC with one of LAN ports, press the reset button, power up
the router and keep button pressed for around 6-7 seconds, until
device starts downloading the file.
4. Router will download file from server, write it to flash and reboot.
To access U-Boot CLI, keep pressed "4" key during boot.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-06-21 12:16:15 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := TL-WR840N
|
|
|
|
DEVICE_VARIANT := v4
|
2017-10-03 10:46:09 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x08400004
|
|
|
|
TPLINK_HWREVADD := 0x4
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += tl-wr840n-v4
|
ramips: add support for TP-Link TL-WR840N v4 and TL-WR841N v13
TP-Link TL-WR840N v4 and TL-WR841N v13 are simple N300 routers with
5-port FE switch and non-detachable antennas. Both are very similar
and are based on MediaTek MT7628NN (aka MT7628N) WiSoC.
The difference between these two models is in number of available
LEDs, buttons and power input switch.
This work is partially based on GitHub PR#974.
Specification:
- MT7628N/N (580 MHz)
- 64 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz
- 5x 10/100 Mbps Ethernet
- 2x external, non-detachable antennas
- UART (J1) header on PCB (115200 8n1)
- TL-WR840N v4: 5x LED (GPIO-controlled), 1x button
- TL-WR841N v13: 8x LED (GPIO-controlled*), 2x button, power input
switch
* WAN LED in TL-WR841N v13 is a dual-color, dual-leads type which isn't
(fully) supported by gpio-leds driver. This type of LED requires both
GPIOs state change at the same time to select color or turn it off.
For now, we support/use only the green part of the LED.
Factory image notes:
These devices use version 3 of TP-Link header, fortunately without RSA
signature (at least in case of devices sold in Europe). The difference
lays in the requirement for a non-zero value in "Additional Hardware
Version" field. Ideally, it should match the value stored in vendor
firmware header on device ("0x4"/"0x13" for these devices) but it seems
that anything other than "0" is correct.
We are able to prepare factory firwmare file which is accepted and
(almost) correctly flashed from the vendor GUI. As it turned out, it
accepts files without U-Boot image with second header at the beginning
but due to some kind of bug in upgrade routine, flashed image gets
corrupted before it's written to flash.
Tests showed that the GUI upgrade routine copies value of "Additional
Hardware Version" from existing firmware into offset "0x2023c" in
provided file, _before_ storing it in flash. In case of vendor firmware
upgrade files (which all include U-Boot image and two headers), this
offset points to the matching field in kernel+rootfs firmware part
header. Unfortunately, in case of LEDE factory image file which contains
only one header, it points to the offset "0x2023c" in kernel image. This
leads to a corrupted kernel and ends up with a "soft-bricked" device.
The good news is that U-Boot in these devices contains well known tftp
recovery mode, which can be triggered with "reset" button. What's more,
in comparison to some of older MediaTek based TP-Link devices, this
recovery mode doesn't write whole file at offset "0x0" in flash, without
verifying provided file in advance. In case of recovery mode in these
devices, first "0x20000" bytes are always skipped and "0x7a0000" bytes
from rest of the file are stored in flash at offset "0x20000".
Flash instruction:
Until (if at all) TP-Link fixes described problem, the only way to flash
LEDE image in these devices is to use tftp recovery mode in U-Boot:
1. Configure PC with static IP 192.168.0.66/24 and tftp server.
2. Rename "lede-ramips-mt7628-tl-wr84...-squashfs-tftp-recovery.bin"
to "tp_recovery.bin" and place it in tftp server directory.
3. Connect PC with one of LAN ports, press the reset button, power up
the router and keep button pressed for around 6-7 seconds, until
device starts downloading the file.
4. Router will download file from server, write it to flash and reboot.
To access U-Boot CLI, keep pressed "4" key during boot.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-06-21 12:16:15 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += tplink_tl-wr840n-v4
|
ramips: add support for TP-Link TL-WR840N v4 and TL-WR841N v13
TP-Link TL-WR840N v4 and TL-WR841N v13 are simple N300 routers with
5-port FE switch and non-detachable antennas. Both are very similar
and are based on MediaTek MT7628NN (aka MT7628N) WiSoC.
The difference between these two models is in number of available
LEDs, buttons and power input switch.
This work is partially based on GitHub PR#974.
Specification:
- MT7628N/N (580 MHz)
- 64 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz
- 5x 10/100 Mbps Ethernet
- 2x external, non-detachable antennas
- UART (J1) header on PCB (115200 8n1)
- TL-WR840N v4: 5x LED (GPIO-controlled), 1x button
- TL-WR841N v13: 8x LED (GPIO-controlled*), 2x button, power input
switch
* WAN LED in TL-WR841N v13 is a dual-color, dual-leads type which isn't
(fully) supported by gpio-leds driver. This type of LED requires both
GPIOs state change at the same time to select color or turn it off.
For now, we support/use only the green part of the LED.
Factory image notes:
These devices use version 3 of TP-Link header, fortunately without RSA
signature (at least in case of devices sold in Europe). The difference
lays in the requirement for a non-zero value in "Additional Hardware
Version" field. Ideally, it should match the value stored in vendor
firmware header on device ("0x4"/"0x13" for these devices) but it seems
that anything other than "0" is correct.
We are able to prepare factory firwmare file which is accepted and
(almost) correctly flashed from the vendor GUI. As it turned out, it
accepts files without U-Boot image with second header at the beginning
but due to some kind of bug in upgrade routine, flashed image gets
corrupted before it's written to flash.
Tests showed that the GUI upgrade routine copies value of "Additional
Hardware Version" from existing firmware into offset "0x2023c" in
provided file, _before_ storing it in flash. In case of vendor firmware
upgrade files (which all include U-Boot image and two headers), this
offset points to the matching field in kernel+rootfs firmware part
header. Unfortunately, in case of LEDE factory image file which contains
only one header, it points to the offset "0x2023c" in kernel image. This
leads to a corrupted kernel and ends up with a "soft-bricked" device.
The good news is that U-Boot in these devices contains well known tftp
recovery mode, which can be triggered with "reset" button. What's more,
in comparison to some of older MediaTek based TP-Link devices, this
recovery mode doesn't write whole file at offset "0x0" in flash, without
verifying provided file in advance. In case of recovery mode in these
devices, first "0x20000" bytes are always skipped and "0x7a0000" bytes
from rest of the file are stored in flash at offset "0x20000".
Flash instruction:
Until (if at all) TP-Link fixes described problem, the only way to flash
LEDE image in these devices is to use tftp recovery mode in U-Boot:
1. Configure PC with static IP 192.168.0.66/24 and tftp server.
2. Rename "lede-ramips-mt7628-tl-wr84...-squashfs-tftp-recovery.bin"
to "tp_recovery.bin" and place it in tftp server directory.
3. Connect PC with one of LAN ports, press the reset button, power up
the router and keep button pressed for around 6-7 seconds, until
device starts downloading the file.
4. Router will download file from server, write it to flash and reboot.
To access U-Boot CLI, keep pressed "4" key during boot.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-06-21 12:16:15 +00:00
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/tplink_tl-wr840n-v5
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
2017-12-24 16:00:13 +00:00
|
|
|
IMAGE_SIZE := 3904k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := TL-WR840N
|
|
|
|
DEVICE_VARIANT := v5
|
2017-11-08 13:00:06 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 4Mmtk
|
|
|
|
TPLINK_HWID := 0x08400005
|
|
|
|
TPLINK_HWREVADD := 0x5
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += tl-wr840n-v5
|
2020-04-09 10:40:01 +00:00
|
|
|
DEFAULT := n
|
2017-11-08 13:00:06 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += tplink_tl-wr840n-v5
|
2017-11-08 13:00:06 +00:00
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/tplink_tl-wr841n-v13
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
2017-12-17 09:44:41 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := TL-WR841N
|
|
|
|
DEVICE_VARIANT := v13
|
2017-12-17 09:44:41 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
2017-10-03 10:46:09 +00:00
|
|
|
TPLINK_HWID := 0x08410013
|
|
|
|
TPLINK_HWREV := 0x268
|
|
|
|
TPLINK_HWREVADD := 0x13
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += tl-wr841n-v13
|
ramips: add support for TP-Link TL-WR840N v4 and TL-WR841N v13
TP-Link TL-WR840N v4 and TL-WR841N v13 are simple N300 routers with
5-port FE switch and non-detachable antennas. Both are very similar
and are based on MediaTek MT7628NN (aka MT7628N) WiSoC.
The difference between these two models is in number of available
LEDs, buttons and power input switch.
This work is partially based on GitHub PR#974.
Specification:
- MT7628N/N (580 MHz)
- 64 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz
- 5x 10/100 Mbps Ethernet
- 2x external, non-detachable antennas
- UART (J1) header on PCB (115200 8n1)
- TL-WR840N v4: 5x LED (GPIO-controlled), 1x button
- TL-WR841N v13: 8x LED (GPIO-controlled*), 2x button, power input
switch
* WAN LED in TL-WR841N v13 is a dual-color, dual-leads type which isn't
(fully) supported by gpio-leds driver. This type of LED requires both
GPIOs state change at the same time to select color or turn it off.
For now, we support/use only the green part of the LED.
Factory image notes:
These devices use version 3 of TP-Link header, fortunately without RSA
signature (at least in case of devices sold in Europe). The difference
lays in the requirement for a non-zero value in "Additional Hardware
Version" field. Ideally, it should match the value stored in vendor
firmware header on device ("0x4"/"0x13" for these devices) but it seems
that anything other than "0" is correct.
We are able to prepare factory firwmare file which is accepted and
(almost) correctly flashed from the vendor GUI. As it turned out, it
accepts files without U-Boot image with second header at the beginning
but due to some kind of bug in upgrade routine, flashed image gets
corrupted before it's written to flash.
Tests showed that the GUI upgrade routine copies value of "Additional
Hardware Version" from existing firmware into offset "0x2023c" in
provided file, _before_ storing it in flash. In case of vendor firmware
upgrade files (which all include U-Boot image and two headers), this
offset points to the matching field in kernel+rootfs firmware part
header. Unfortunately, in case of LEDE factory image file which contains
only one header, it points to the offset "0x2023c" in kernel image. This
leads to a corrupted kernel and ends up with a "soft-bricked" device.
The good news is that U-Boot in these devices contains well known tftp
recovery mode, which can be triggered with "reset" button. What's more,
in comparison to some of older MediaTek based TP-Link devices, this
recovery mode doesn't write whole file at offset "0x0" in flash, without
verifying provided file in advance. In case of recovery mode in these
devices, first "0x20000" bytes are always skipped and "0x7a0000" bytes
from rest of the file are stored in flash at offset "0x20000".
Flash instruction:
Until (if at all) TP-Link fixes described problem, the only way to flash
LEDE image in these devices is to use tftp recovery mode in U-Boot:
1. Configure PC with static IP 192.168.0.66/24 and tftp server.
2. Rename "lede-ramips-mt7628-tl-wr84...-squashfs-tftp-recovery.bin"
to "tp_recovery.bin" and place it in tftp server directory.
3. Connect PC with one of LAN ports, press the reset button, power up
the router and keep button pressed for around 6-7 seconds, until
device starts downloading the file.
4. Router will download file from server, write it to flash and reboot.
To access U-Boot CLI, keep pressed "4" key during boot.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-06-21 12:16:15 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += tplink_tl-wr841n-v13
|
2017-05-17 10:18:45 +00:00
|
|
|
|
2018-11-27 14:32:18 +00:00
|
|
|
define Device/tplink_tl-wr841n-v14
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
2020-07-22 16:49:09 +00:00
|
|
|
IMAGE_SIZE := 3968k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := TL-WR841N
|
|
|
|
DEVICE_VARIANT := v14
|
2020-08-03 10:02:48 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 4MLmtk
|
2018-11-27 14:32:18 +00:00
|
|
|
TPLINK_HWID := 0x08410014
|
|
|
|
TPLINK_HWREVADD := 0x14
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
2018-11-27 14:32:18 +00:00
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 64k | $$(IMAGE/factory.bin)
|
2020-04-09 10:40:01 +00:00
|
|
|
DEFAULT := n
|
2018-11-27 14:32:18 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr841n-v14
|
|
|
|
|
2018-05-30 15:41:53 +00:00
|
|
|
define Device/tplink_tl-wr842n-v5
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
2018-05-30 15:41:53 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := TL-WR842N
|
|
|
|
DEVICE_VARIANT := v5
|
2018-05-30 15:41:53 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x08420005
|
|
|
|
TPLINK_HWREV := 0x5
|
|
|
|
TPLINK_HWREVADD := 0x5
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
2018-05-30 15:41:53 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr842n-v5
|
|
|
|
|
2020-06-16 04:20:25 +00:00
|
|
|
define Device/tplink_tl-wr850n-v2
|
|
|
|
$(Device/tplink-v2)
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := TL-WR850N
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x08500002
|
|
|
|
TPLINK_HWREVADD := 0x2
|
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr850n-v2
|
|
|
|
|
2018-03-17 17:47:51 +00:00
|
|
|
define Device/tplink_tl-wr902ac-v3
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
2018-03-17 17:47:51 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := TL-WR902AC
|
|
|
|
DEVICE_VARIANT := v3
|
2018-03-17 17:47:51 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x000dc88f
|
|
|
|
TPLINK_HWREV := 0x89
|
|
|
|
TPLINK_HWREVADD := 0x1
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
|
|
|
|
kmod-usb-ledtrig-usbport
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
2018-03-17 17:47:51 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr902ac-v3
|
|
|
|
|
2023-11-05 13:49:01 +00:00
|
|
|
define Device/tplink_tl-wr902ac-v4
|
|
|
|
$(Device/tplink-v2)
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := TL-WR902AC
|
|
|
|
DEVICE_VARIANT := v4
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x000dc88f
|
|
|
|
TPLINK_HWREV := 0x89
|
|
|
|
TPLINK_HWREVADD := 0x1
|
|
|
|
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7663-firmware-ap kmod-usb2 kmod-usb-ohci \
|
|
|
|
kmod-usb-ledtrig-usbport
|
|
|
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr902ac-v4
|
|
|
|
|
2019-08-16 12:05:53 +00:00
|
|
|
define Device/unielec_u7628-01-16m
|
ramips: add support for UniElec U7628-01
UniElec U7628-01 is a router platform board based on MediaTek MT7628AN.
The device has the following specifications:
- MT7628AN (580MHz)
- 64/128/256 MB of RAM (DDR2)
- 8/16 MB of flash (SPI NOR)
- 5x 10/100 Mbps Ethernet (MT7628 built-in switch)
- 1x 2T2R 2.4 GHz Wi-Fi (MT7628)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 1x miniSIM slot
- 1x microSD slot
- 1x USB 2.0 port
- 7x single-color LEDs (GPIO-controlled)
- 1x bi-color LED (green GPIO-controlled, red -> LED_WLAN# in miniPCIe)
- 1x reset button
- 1x UART header (4-pins)
- 1x SDXC/GPIO header (10-pins, connected with microSD slot)
- 1x DC jack for main power (12 V)
The following has been tested and is working:
- Ethernet switch
- miniPCIe slot (tested with modem and Wi-Fi card)
- miniSIM slot
- sysupgrade
- reset button
- USB 2.0 port*
Due to a missing driver (MMC over GPIO) this is not supported:
- microSD card reader
* Warning:
USB buses in miniPCIe and regular A-type socket are connected together,
without any proper analog switch or USB HUB.
Installation:
This board might come with a different firmware versions (MediaTek SDK,
PandoraBox, Padavan, etc.). If your board comes with PandoraBox, you can
install LEDE using sysupgrade. Just SSH to the router and perform forced
sysupgrade (due to a board name mismatch). The default IP of this board
should be: 192.168.1.1 and username/password: root/admin. In case of a
different firmware, you can use web based recovery described below.
Use the following command to perform the sysupgrade (for the 128MB
RAM/16MB flash version):
sysupgrade -n -F lede-ramips-mt76x8-u7628-01-128M-16M-squashfs-sysupgrade.bin
Recovery:
This board contains a Chinese, closed-source bootloader called Breed
(Boot and Recovery Environment for Embedded Devices). Breed supports web
recovery and to enter it, you keep the reset button pressed for around
5 seconds during boot. Your machine will be assigned an IP through DHCP
and the router will use IP address 192.168.1.1. The recovery website is
in Chinese, but is easy to use. Click on the second item in the list to
access the recovery page, then the second item on the next page is where
you select the firmware. In order to start the recovery, you click the
button at the bottom.
SDXC/GPIO header (J3):
1. SDXC_D3 / I2C_SCLK
2. SDXC_D2 / I2C_SD
3. SDXC_D1 / I2S_DI
4. SDXC_D0 / I2S_WS
5. SDXC_CMD / I2S_CLK
6. SDXC_CLK / GPIO0
7. SDXC_CD / UART_RXD1
8. UART_TXD1
9. 3V3
10. GND
Other notes:
1. The board is available with different amounts of RAM and flash. We
have only added support for the 128/16 MB configuration, as that seems
to be the default. However, all the required infrastructure is in place
for making support for the other configurations easy.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2017-11-03 20:12:49 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := UniElec
|
|
|
|
DEVICE_MODEL := U7628-01
|
2019-08-16 12:05:53 +00:00
|
|
|
DEVICE_VARIANT := 16M
|
ramips: add support for UniElec U7628-01
UniElec U7628-01 is a router platform board based on MediaTek MT7628AN.
The device has the following specifications:
- MT7628AN (580MHz)
- 64/128/256 MB of RAM (DDR2)
- 8/16 MB of flash (SPI NOR)
- 5x 10/100 Mbps Ethernet (MT7628 built-in switch)
- 1x 2T2R 2.4 GHz Wi-Fi (MT7628)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 1x miniSIM slot
- 1x microSD slot
- 1x USB 2.0 port
- 7x single-color LEDs (GPIO-controlled)
- 1x bi-color LED (green GPIO-controlled, red -> LED_WLAN# in miniPCIe)
- 1x reset button
- 1x UART header (4-pins)
- 1x SDXC/GPIO header (10-pins, connected with microSD slot)
- 1x DC jack for main power (12 V)
The following has been tested and is working:
- Ethernet switch
- miniPCIe slot (tested with modem and Wi-Fi card)
- miniSIM slot
- sysupgrade
- reset button
- USB 2.0 port*
Due to a missing driver (MMC over GPIO) this is not supported:
- microSD card reader
* Warning:
USB buses in miniPCIe and regular A-type socket are connected together,
without any proper analog switch or USB HUB.
Installation:
This board might come with a different firmware versions (MediaTek SDK,
PandoraBox, Padavan, etc.). If your board comes with PandoraBox, you can
install LEDE using sysupgrade. Just SSH to the router and perform forced
sysupgrade (due to a board name mismatch). The default IP of this board
should be: 192.168.1.1 and username/password: root/admin. In case of a
different firmware, you can use web based recovery described below.
Use the following command to perform the sysupgrade (for the 128MB
RAM/16MB flash version):
sysupgrade -n -F lede-ramips-mt76x8-u7628-01-128M-16M-squashfs-sysupgrade.bin
Recovery:
This board contains a Chinese, closed-source bootloader called Breed
(Boot and Recovery Environment for Embedded Devices). Breed supports web
recovery and to enter it, you keep the reset button pressed for around
5 seconds during boot. Your machine will be assigned an IP through DHCP
and the router will use IP address 192.168.1.1. The recovery website is
in Chinese, but is easy to use. Click on the second item in the list to
access the recovery page, then the second item on the next page is where
you select the firmware. In order to start the recovery, you click the
button at the bottom.
SDXC/GPIO header (J3):
1. SDXC_D3 / I2C_SCLK
2. SDXC_D2 / I2C_SD
3. SDXC_D1 / I2S_DI
4. SDXC_D0 / I2S_WS
5. SDXC_CMD / I2S_CLK
6. SDXC_CLK / GPIO0
7. SDXC_CD / UART_RXD1
8. UART_TXD1
9. 3V3
10. GND
Other notes:
1. The board is available with different amounts of RAM and flash. We
have only added support for the 128/16 MB configuration, as that seems
to be the default. However, all the required infrastructure is in place
for making support for the other configurations easy.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2017-11-03 20:12:49 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
2019-08-16 12:05:53 +00:00
|
|
|
SUPPORTED_DEVICES += u7628-01-128M-16M unielec,u7628-01-128m-16m
|
ramips: add support for UniElec U7628-01
UniElec U7628-01 is a router platform board based on MediaTek MT7628AN.
The device has the following specifications:
- MT7628AN (580MHz)
- 64/128/256 MB of RAM (DDR2)
- 8/16 MB of flash (SPI NOR)
- 5x 10/100 Mbps Ethernet (MT7628 built-in switch)
- 1x 2T2R 2.4 GHz Wi-Fi (MT7628)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 1x miniSIM slot
- 1x microSD slot
- 1x USB 2.0 port
- 7x single-color LEDs (GPIO-controlled)
- 1x bi-color LED (green GPIO-controlled, red -> LED_WLAN# in miniPCIe)
- 1x reset button
- 1x UART header (4-pins)
- 1x SDXC/GPIO header (10-pins, connected with microSD slot)
- 1x DC jack for main power (12 V)
The following has been tested and is working:
- Ethernet switch
- miniPCIe slot (tested with modem and Wi-Fi card)
- miniSIM slot
- sysupgrade
- reset button
- USB 2.0 port*
Due to a missing driver (MMC over GPIO) this is not supported:
- microSD card reader
* Warning:
USB buses in miniPCIe and regular A-type socket are connected together,
without any proper analog switch or USB HUB.
Installation:
This board might come with a different firmware versions (MediaTek SDK,
PandoraBox, Padavan, etc.). If your board comes with PandoraBox, you can
install LEDE using sysupgrade. Just SSH to the router and perform forced
sysupgrade (due to a board name mismatch). The default IP of this board
should be: 192.168.1.1 and username/password: root/admin. In case of a
different firmware, you can use web based recovery described below.
Use the following command to perform the sysupgrade (for the 128MB
RAM/16MB flash version):
sysupgrade -n -F lede-ramips-mt76x8-u7628-01-128M-16M-squashfs-sysupgrade.bin
Recovery:
This board contains a Chinese, closed-source bootloader called Breed
(Boot and Recovery Environment for Embedded Devices). Breed supports web
recovery and to enter it, you keep the reset button pressed for around
5 seconds during boot. Your machine will be assigned an IP through DHCP
and the router will use IP address 192.168.1.1. The recovery website is
in Chinese, but is easy to use. Click on the second item in the list to
access the recovery page, then the second item on the next page is where
you select the firmware. In order to start the recovery, you click the
button at the bottom.
SDXC/GPIO header (J3):
1. SDXC_D3 / I2C_SCLK
2. SDXC_D2 / I2C_SD
3. SDXC_D1 / I2S_DI
4. SDXC_D0 / I2S_WS
5. SDXC_CMD / I2S_CLK
6. SDXC_CLK / GPIO0
7. SDXC_CD / UART_RXD1
8. UART_TXD1
9. 3V3
10. GND
Other notes:
1. The board is available with different amounts of RAM and flash. We
have only added support for the 128/16 MB configuration, as that seems
to be the default. However, all the required infrastructure is in place
for making support for the other configurations easy.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2017-11-03 20:12:49 +00:00
|
|
|
endef
|
2019-10-21 15:51:29 +00:00
|
|
|
TARGET_DEVICES += unielec_u7628-01-16m
|
ramips: add support for UniElec U7628-01
UniElec U7628-01 is a router platform board based on MediaTek MT7628AN.
The device has the following specifications:
- MT7628AN (580MHz)
- 64/128/256 MB of RAM (DDR2)
- 8/16 MB of flash (SPI NOR)
- 5x 10/100 Mbps Ethernet (MT7628 built-in switch)
- 1x 2T2R 2.4 GHz Wi-Fi (MT7628)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 1x miniSIM slot
- 1x microSD slot
- 1x USB 2.0 port
- 7x single-color LEDs (GPIO-controlled)
- 1x bi-color LED (green GPIO-controlled, red -> LED_WLAN# in miniPCIe)
- 1x reset button
- 1x UART header (4-pins)
- 1x SDXC/GPIO header (10-pins, connected with microSD slot)
- 1x DC jack for main power (12 V)
The following has been tested and is working:
- Ethernet switch
- miniPCIe slot (tested with modem and Wi-Fi card)
- miniSIM slot
- sysupgrade
- reset button
- USB 2.0 port*
Due to a missing driver (MMC over GPIO) this is not supported:
- microSD card reader
* Warning:
USB buses in miniPCIe and regular A-type socket are connected together,
without any proper analog switch or USB HUB.
Installation:
This board might come with a different firmware versions (MediaTek SDK,
PandoraBox, Padavan, etc.). If your board comes with PandoraBox, you can
install LEDE using sysupgrade. Just SSH to the router and perform forced
sysupgrade (due to a board name mismatch). The default IP of this board
should be: 192.168.1.1 and username/password: root/admin. In case of a
different firmware, you can use web based recovery described below.
Use the following command to perform the sysupgrade (for the 128MB
RAM/16MB flash version):
sysupgrade -n -F lede-ramips-mt76x8-u7628-01-128M-16M-squashfs-sysupgrade.bin
Recovery:
This board contains a Chinese, closed-source bootloader called Breed
(Boot and Recovery Environment for Embedded Devices). Breed supports web
recovery and to enter it, you keep the reset button pressed for around
5 seconds during boot. Your machine will be assigned an IP through DHCP
and the router will use IP address 192.168.1.1. The recovery website is
in Chinese, but is easy to use. Click on the second item in the list to
access the recovery page, then the second item on the next page is where
you select the firmware. In order to start the recovery, you click the
button at the bottom.
SDXC/GPIO header (J3):
1. SDXC_D3 / I2C_SCLK
2. SDXC_D2 / I2C_SD
3. SDXC_D1 / I2S_DI
4. SDXC_D0 / I2S_WS
5. SDXC_CMD / I2S_CLK
6. SDXC_CLK / GPIO0
7. SDXC_CD / UART_RXD1
8. UART_TXD1
9. 3V3
10. GND
Other notes:
1. The board is available with different amounts of RAM and flash. We
have only added support for the 128/16 MB configuration, as that seems
to be the default. However, all the required infrastructure is in place
for making support for the other configurations easy.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2017-11-03 20:12:49 +00:00
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/vocore_vocore2
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := VoCore
|
|
|
|
DEVICE_MODEL := VoCore2
|
2017-01-08 06:30:10 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
|
2019-12-19 18:40:33 +00:00
|
|
|
kmod-sdhci-mt7620
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += vocore2
|
2017-01-08 06:30:10 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += vocore_vocore2
|
2017-01-08 06:30:10 +00:00
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/vocore_vocore2-lite
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := VoCore
|
|
|
|
DEVICE_MODEL := VoCore2-Lite
|
2017-08-26 01:49:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
|
2019-12-19 18:40:33 +00:00
|
|
|
kmod-sdhci-mt7620
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += vocore2lite
|
2016-09-08 22:57:31 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += vocore_vocore2-lite
|
2017-01-28 16:05:56 +00:00
|
|
|
|
ramips: add support for Wavlink WL-WN531A3
The Wavlink WL-WN531A3 is an AC1200 router with 5 fast ethernet ports
and one USB 2.0 port.
It's also known as Wavlink QUANTUM D4.
Hardware
--------
SoC: Mediatek MT7628AN
RAM: 64MB
FLASH: 8MB NOR (GigaDevice GD25Q64CSIG3)
ETH:
- 5x 10/100 Mbps Ethernet (4x LAN + 1x WAN)
WIFI:
- 2.4GHz: 1x (integrated in SOC) (2x2:2)
- 5GHz: 1x MT7612E (2x2:2)
- 4 external antennas
BTN:
- 1x Reset button
- 1x WPS button
- 1x Turbo button
- 1x Touchlink button
- 1x ON/OFF switch
LEDS:
- 1x Red led (system status)
- 1x Blue led (system status)
- 7x Blue leds (wifi led + 5 ethernet ports + power)
USB:
- 1x USB 2.0 port
UART:
- 57600-8-N-1
J1
O VCC +3,3V (near lan ports)
o RX
o TX
o GND
Everything works correctly.
Currently there is no firmware update available. Because of this, in
order to restore the OEM firmware, you must firstly dump the OEM
firmware from your router before you flash the OpenWrt image.
Backup the OEM Firmware
-----------------------
The following steps are to be intended for users having little to none
experience in linux. Obviously there are many ways to backup the OEM
firmware, but probably this is the easiest way for this router.
Procedure tested on M31A3.V4300.200420 firmware version.
1) Go to http://192.168.10.1/webcmd.shtml
2) Type the following line in the "Command" input box and then press enter:
mkdir /etc_ro/lighttpd/www/dev; cp /dev/mtd0ro /etc_ro/lighttpd/www/dev/mtd0ro; ls -la /etc_ro/lighttpd/www/dev/mtd0ro
3) After few seconds in the textarea should appear this output:
-rw-r--r-- 1 0 0 8388608 /etc_ro/lighttpd/www/dev/mtd0ro
If your output doesn't match mine, stop reading and ask for
help in the forum.
4) Open in another tab http://192.168.10.1/dev/mtd0ro to download the
content of the whole NOR. If the file size is 0 byte, stop reading
and ask for help in the forum.
5) Come back to the http://192.168.10.1/webcmd.shtml webpage and type:
rm /etc_ro/lighttpd/www/dev/mtd0ro; for i in 1 2 3 4 ; do cp /dev/mtd${i}ro /etc_ro/lighttpd/www/dev/mtd${i}ro; done; ls -la /etc_ro/lighttpd/www/dev/
6) After few seconds, in the textarea should appear this output:
-rw-r--r-- 1 0 0 196608 mtd1ro
-rw-r--r-- 1 0 0 65536 mtd2ro
-rw-r--r-- 1 0 0 65536 mtd3ro
-rw-r--r-- 1 0 0 8060928 mtd4ro
drwxr-xr-x 7 0 0 0 ..
drwxr-xr-x 2 0 0 0 .
If your output doesn't match mine, stop reading and ask for
help in the forum.
7) Open the following links to download the partitions of the OEM FW:
http://192.168.10.1/dev/mtd1ro
http://192.168.10.1/dev/mtd2ro
http://192.168.10.1/dev/mtd3ro
http://192.168.10.1/dev/mtd4ro
If one (or more) of these files are 0 byte, stop reading and ask
for help in the forum.
8) Store these downloaded files in a safe place.
9) Reboot your router to remove any temporary file in ram.
Installation
------------
Flash the initramfs image in the OEM firmware interface
(http://192.168.10.1/update.shtml).
When Openwrt boots, flash the sysupgrade image otherwise you won't be
able to keep configuration between reboots.
Restore OEM Firmware
--------------------
Flash the "mtd4ro" file you previously backed-up directly from LUCI.
Warning: Remember to not keep settings!
Warning2: Remember to force the flash.
Notes
-----
1) Router mac addresses:
LAN XX:XX:XX:XX:XX:9B (factory @ 0x28)
WAN XX:XX:XX:XX:XX:9C (factory @ 0x2e)
WIFI 2G XX:XX:XX:XX:XX:9D (factory @ 0x04)
WIFI 5G XX:XX:XX:XX:XX:9E (factory @ 0x8004)
LABEL XX:XX:XX:XX:XX:9D
2) There is just one wifi led for both wifi interfaces.
It currently shows only the 2.4 GHz wifi activity.
Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
2022-03-16 01:18:11 +00:00
|
|
|
define Device/wavlink_wl-wn531a3
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_VENDOR := Wavlink
|
|
|
|
DEVICE_MODEL := WL-WN531A3
|
|
|
|
DEVICE_ALT0_VENDOR := Wavlink
|
|
|
|
DEVICE_ALT0_MODEL := QUANTUM D4
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
|
|
|
|
SUPPORTED_DEVICES += wl-wn531a3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wavlink_wl-wn531a3
|
|
|
|
|
2018-10-22 15:21:16 +00:00
|
|
|
define Device/wavlink_wl-wn570ha1
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Wavlink
|
|
|
|
DEVICE_MODEL := WL-WN570HA1
|
2018-10-22 15:21:16 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wavlink_wl-wn570ha1
|
|
|
|
|
2019-02-17 12:21:42 +00:00
|
|
|
define Device/wavlink_wl-wn575a3
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Wavlink
|
|
|
|
DEVICE_MODEL := WL-WN575A3
|
2019-02-17 12:21:42 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
SUPPORTED_DEVICES += wl-wn575a3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wavlink_wl-wn575a3
|
|
|
|
|
2021-11-02 19:10:39 +00:00
|
|
|
define Device/wavlink_wl-wn576a2
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_VENDOR := Wavlink
|
|
|
|
DEVICE_MODEL := WL-WN576A2
|
|
|
|
DEVICE_ALT0_VENDOR := Silvercrest
|
|
|
|
DEVICE_ALT0_MODEL := SWV 733 B1
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wavlink_wl-wn576a2
|
|
|
|
|
2020-06-25 19:09:59 +00:00
|
|
|
define Device/wavlink_wl-wn577a2
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_VENDOR := Wavlink
|
|
|
|
DEVICE_MODEL := WL-WN577A2
|
|
|
|
DEVICE_ALT0_VENDOR := Maginon
|
|
|
|
DEVICE_ALT0_MODEL := WLR-755
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wavlink_wl-wn577a2
|
|
|
|
|
2021-04-27 19:14:34 +00:00
|
|
|
define Device/wavlink_wl-wn578a2
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_VENDOR := Wavlink
|
|
|
|
DEVICE_MODEL := WL-WN578A2
|
|
|
|
DEVICE_ALT0_VENDOR := SilverCrest
|
|
|
|
DEVICE_ALT0_MODEL := SWV 733 A2
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wavlink_wl-wn578a2
|
|
|
|
|
2018-01-17 07:14:41 +00:00
|
|
|
define Device/widora_neo-16m
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Widora
|
|
|
|
DEVICE_MODEL := Widora-NEO
|
|
|
|
DEVICE_VARIANT := 16M
|
2017-08-26 01:49:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2018-01-17 07:14:41 +00:00
|
|
|
SUPPORTED_DEVICES += widora-neo
|
2017-08-26 01:49:45 +00:00
|
|
|
endef
|
2018-01-17 07:14:41 +00:00
|
|
|
TARGET_DEVICES += widora_neo-16m
|
2017-08-26 01:49:45 +00:00
|
|
|
|
2018-01-08 05:27:28 +00:00
|
|
|
define Device/widora_neo-32m
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 32448k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Widora
|
|
|
|
DEVICE_MODEL := Widora-NEO
|
|
|
|
DEVICE_VARIANT := 32M
|
2018-01-08 05:27:28 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += widora_neo-32m
|
|
|
|
|
2019-01-11 23:37:43 +00:00
|
|
|
define Device/wiznet_wizfi630s
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 32448k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := WIZnet
|
|
|
|
DEVICE_MODEL := WizFi630S
|
2020-08-03 19:28:31 +00:00
|
|
|
SUPPORTED_DEVICES += wizfi630s
|
2019-01-11 23:37:43 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wiznet_wizfi630s
|
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/wrtnode_wrtnode2p
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 32448k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := WRTnode
|
|
|
|
DEVICE_MODEL := WRTnode 2P
|
2017-08-26 01:49:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += wrtnode2p
|
2017-08-26 01:49:45 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += wrtnode_wrtnode2p
|
2017-08-26 01:49:45 +00:00
|
|
|
|
2019-07-03 21:22:13 +00:00
|
|
|
define Device/wrtnode_wrtnode2r
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 32448k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := WRTnode
|
|
|
|
DEVICE_MODEL := WRTnode 2R
|
2017-08-26 01:49:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2019-07-03 21:22:13 +00:00
|
|
|
SUPPORTED_DEVICES += wrtnode2r
|
2017-08-26 01:49:45 +00:00
|
|
|
endef
|
2019-07-03 21:22:13 +00:00
|
|
|
TARGET_DEVICES += wrtnode_wrtnode2r
|
2018-01-23 01:46:36 +00:00
|
|
|
|
2020-12-08 14:05:47 +00:00
|
|
|
define Device/xiaomi_mi-router-4a-100m
|
2019-05-27 17:25:22 +00:00
|
|
|
IMAGE_SIZE := 14976k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Xiaomi
|
|
|
|
DEVICE_MODEL := Mi Router 4A
|
|
|
|
DEVICE_VARIANT := 100M Edition
|
2019-05-27 17:25:22 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
2020-12-08 14:05:47 +00:00
|
|
|
SUPPORTED_DEVICES += xiaomi,mir4a-100m
|
2019-05-27 17:25:22 +00:00
|
|
|
endef
|
2020-12-08 14:05:47 +00:00
|
|
|
TARGET_DEVICES += xiaomi_mi-router-4a-100m
|
2019-05-27 17:25:22 +00:00
|
|
|
|
2022-04-29 10:57:24 +00:00
|
|
|
define Device/xiaomi_mi-router-4a-100m-intl
|
|
|
|
IMAGE_SIZE := 14976k
|
|
|
|
DEVICE_VENDOR := Xiaomi
|
|
|
|
DEVICE_MODEL := Mi Router 4A
|
|
|
|
DEVICE_VARIANT := 100M International Edition
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
SUPPORTED_DEVICES += xiaomi,mir4a-100m-intl
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += xiaomi_mi-router-4a-100m-intl
|
|
|
|
|
2020-08-19 18:43:54 +00:00
|
|
|
define Device/xiaomi_mi-router-4c
|
|
|
|
IMAGE_SIZE := 14976k
|
|
|
|
DEVICE_VENDOR := Xiaomi
|
|
|
|
DEVICE_MODEL := Mi Router 4C
|
|
|
|
DEVICE_PACKAGES := uboot-envtools
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += xiaomi_mi-router-4c
|
|
|
|
|
2021-10-20 13:54:16 +00:00
|
|
|
define Device/xiaomi_miwifi-3c
|
|
|
|
IMAGE_SIZE := 15104k
|
|
|
|
DEVICE_VENDOR := Xiaomi
|
|
|
|
DEVICE_MODEL := MiWiFi 3C
|
|
|
|
DEVICE_PACKAGES := uboot-envtools
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += xiaomi_miwifi-3c
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/xiaomi_miwifi-nano
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Xiaomi
|
|
|
|
DEVICE_MODEL := MiWiFi Nano
|
2019-09-03 15:58:07 +00:00
|
|
|
DEVICE_PACKAGES := uboot-envtools
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += miwifi-nano
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += xiaomi_miwifi-nano
|
|
|
|
|
2022-12-02 15:41:13 +00:00
|
|
|
define Device/xiaomi_mi-ra75
|
|
|
|
IMAGE_SIZE := 14976k
|
|
|
|
DEVICE_VENDOR := Xiaomi
|
|
|
|
DEVICE_MODEL := MiWiFi Range Extender AC1200
|
|
|
|
DEVICE_VARIANT := RA75
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
SUPPORTED_DEVICES += xiaomi,mira75
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += xiaomi_mi-ra75
|
|
|
|
|
2018-01-24 00:27:51 +00:00
|
|
|
define Device/zbtlink_zbt-we1226
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-09-26 12:44:22 +00:00
|
|
|
DEVICE_VENDOR := Zbtlink
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := ZBT-WE1226
|
2018-01-23 01:46:36 +00:00
|
|
|
endef
|
2018-01-24 00:27:51 +00:00
|
|
|
TARGET_DEVICES += zbtlink_zbt-we1226
|
2018-04-08 14:04:11 +00:00
|
|
|
|
|
|
|
define Device/zyxel_keenetic-extra-ii
|
2023-01-20 11:23:40 +00:00
|
|
|
IMAGE_SIZE := 29824k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := ZyXEL
|
|
|
|
DEVICE_MODEL := Keenetic Extra II
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci \
|
|
|
|
kmod-usb-ledtrig-usbport
|
2018-04-08 14:04:11 +00:00
|
|
|
IMAGES += factory.bin
|
2018-11-29 09:48:03 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to $$$$(BLOCKSIZE) | \
|
2020-03-10 13:58:27 +00:00
|
|
|
check-size | zyimage -d 6162 -v "ZyXEL Keenetic Extra II"
|
2018-04-08 14:04:11 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += zyxel_keenetic-extra-ii
|