2024-03-15 15:13:55 +00:00
|
|
|
ifneq ($(KERNEL),6.1)
|
|
|
|
DTS_DIR := $(DTS_DIR)/mediatek
|
|
|
|
endif
|
|
|
|
|
2020-02-25 16:15:07 +00:00
|
|
|
define Device/mediatek_mt7629-rfb
|
2019-11-01 03:17:28 +00:00
|
|
|
DEVICE_VENDOR := MediaTek
|
2020-02-25 16:15:07 +00:00
|
|
|
DEVICE_MODEL := MT7629 rfb AP
|
|
|
|
DEVICE_DTS := mt7629-rfb
|
2019-11-01 03:17:28 +00:00
|
|
|
DEVICE_PACKAGES := swconfig
|
|
|
|
endef
|
2020-02-25 16:15:07 +00:00
|
|
|
TARGET_DEVICES += mediatek_mt7629-rfb
|
2022-06-06 07:44:48 +00:00
|
|
|
|
|
|
|
define Device/iptime_a6004mx
|
|
|
|
DEVICE_VENDOR := ipTIME
|
|
|
|
DEVICE_MODEL := A6004MX
|
|
|
|
DEVICE_DTS := mt7629-iptime-a6004mx
|
|
|
|
DEVICE_DTS_DIR := ../dts
|
|
|
|
DEVICE_PACKAGES := kmod-usb3 uboot-envtools
|
|
|
|
UBINIZE_OPTS := -E 5
|
|
|
|
BLOCKSIZE := 128k
|
|
|
|
PAGESIZE := 2048
|
|
|
|
KERNEL := $$(KERNEL) | pad-offset 128k 2048 | iptime-crc32 a6004mx
|
|
|
|
KERNEL_INITRAMFS := $$(KERNEL_INITRAMFS) | pad-offset 128k 2048 | iptime-crc32 a6004mx
|
|
|
|
IMAGES += recovery.bin
|
|
|
|
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
|
|
IMAGE/recovery.bin := append-kernel | pad-to 128k | append-ubi | append-metadata
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += iptime_a6004mx
|
mediatek: add support for Netgear EX6250v2 series
Netgear EX6250v2, EX6400v3, EX6410v2, EX6470 are wall-plug 802.11ac
(Wi-Fi 5) extenders. Like other MT7629 devices, Wi-Fi does not work
currently as there is no driver.
Related: https://github.com/openwrt/openwrt/pull/5084
For future reference, 2.4GHz MAC = LAN+1, 5GHz MAC = LAN+2.
Specifications:
* MT7629, 256 MiB RAM, 16 MiB SPI NOR
* MT7761N (2.4GHz) / MT7762N (5GHz) - no driver
* Ethernet: 1 port 10/100/1000
* UART: 115200 baud (labeled on board)
Installation:
* Flash the factory image through the stock web interface, or TFTP to
the bootloader. NMRP can be used to TFTP without opening the case.
* After installation, perform a factory reset. Wait for the device to
boot, then hold the reset button for 10 seconds. This is needed
because sysupgrade in the stock firmware will attempt to preserve its
configuration using sysupgrade.tgz.
See https://github.com/openwrt/openwrt/pull/4182
Revert to stock firmware:
* Flash the stock firmware to the bootloader using TFTP/NMRP.
Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
2023-03-30 19:46:19 +00:00
|
|
|
|
|
|
|
define Device/netgear_ex6250-v2
|
|
|
|
DEVICE_VENDOR := NETGEAR
|
|
|
|
DEVICE_MODEL := EX6250
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
DEVICE_ALT0_VENDOR := NETGEAR
|
|
|
|
DEVICE_ALT0_MODEL := EX6400
|
|
|
|
DEVICE_ALT0_VARIANT := v3
|
|
|
|
DEVICE_ALT1_VENDOR := NETGEAR
|
|
|
|
DEVICE_ALT1_MODEL := EX6410
|
|
|
|
DEVICE_ALT1_VARIANT := v2
|
|
|
|
DEVICE_ALT2_VENDOR := NETGEAR
|
|
|
|
DEVICE_ALT2_MODEL := EX6470
|
|
|
|
DEVICE_DTS := mt7629-netgear-ex6250-v2
|
|
|
|
DEVICE_DTS_DIR := ../dts
|
|
|
|
DEVICE_PACKAGES := uboot-envtools
|
|
|
|
NETGEAR_ENC_MODEL := EX6250v2
|
|
|
|
NETGEAR_ENC_REGION := US
|
|
|
|
NETGEAR_ENC_HW_ID_LIST := 1010000003630000_NETGEAR;1010000003540000_NETGEAR
|
|
|
|
NETGEAR_ENC_MODEL_LIST := EX6250v2;EX6400v3;EX6470;EX6410v2
|
|
|
|
IMAGE_SIZE := 13120k
|
|
|
|
IMAGES += factory.img
|
|
|
|
IMAGE/factory.img := append-kernel | pad-to 128k | append-rootfs | \
|
|
|
|
pad-rootfs | check-size | netgear-encrypted-factory
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear_ex6250-v2
|
2023-10-01 09:25:40 +00:00
|
|
|
|
|
|
|
define Device/tplink_eap225-v5
|
|
|
|
DEVICE_VENDOR := TP-Link
|
|
|
|
DEVICE_MODEL := EAP225
|
|
|
|
DEVICE_VARIANT := v5
|
|
|
|
DEVICE_DTS := mt7629-tplink_eap225-v5
|
|
|
|
DEVICE_DTS_DIR := ../dts
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_eap225-v5
|