mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-22 20:38:29 +00:00
57512f5f6d
ALLNET ALL-WAP02860AC is a dual-band wireless access point. Specification SoC: Qualcomm Atheros QCA9558 RAM: 128 MB DDR2 Flash: 16 MB SPI NOR WIFI: 2.4 GHz 3T3R integrated 5 GHz 3T3R QCA9880 Mini PCIe card Ethernet: 1x 10/100/1000 Mbps AR8035-A, PoE capable (802.3at) LEDS: 5x, which four are GPIO controlled Buttons: 1x GPIO controlled UART: 4 pin header near Mini PCIe card, starting count from white triangle on PCB 1. VCC 3.3V, 2. GND, 3. TX, 4. RX baud: 115200, parity: none, flow control: none MAC addresses Calibration data does not contain valid MAC addresses. The calculated MAC addresses are chosen in accordance with OEM firmware. Because of: a) constrained environment (SNMP) when connecting through Telnet or SSH, b) hard-coded kernel and rootfs sizes, c) checksum verification of kerenel and rootfs images in bootloder, creating factory image accepted by OEM web interface is difficult, therefore, to install OpenWrt on this device UART connection is needed. The teardown is simple, unscrew four screws to disassemble the casing, plus two screws to separate mainboard from the casing. Before flashing, be sure to have a copy of factory firmware, in case You wish to revert to original firmware. Installation 1. Prepare TFTP server with OpenWrt initramfs-kernel image. 2. Connect to LAN port. 3. Connect to UART port. 4. Power on the device and when prompted to stop autoboot, hit any key. 5. Alter U-Boot environment with following commands: setenv failsafe_boot bootm 0x9f0a0000 saveenv 6. Adjust "ipaddr" and "serverip" addresses in U-Boot environment, use 'setenv' to do that, then run following commands: tftpboot 0x81000000 <openwrt_initramfs-kernel_image_name> bootm 0x81000000 7. Wait about 1 minute for OpenWrt to boot. 8. Transfer OpenWrt sysupgrade image to /tmp directory and flash it with: sysupgrade -n /tmp/<openwrt_sysupgrade_image_name> 9. After flashing, the access point will reboot to OpenWrt. Wait few minutes, until the Power LED stops blinking, then it's ready for configuration. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl> [add MAC address comment to commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: maurerr <mariusd84@gmail.com>
1539 lines
44 KiB
Makefile
1539 lines
44 KiB
Makefile
include ./common-buffalo.mk
|
|
include ./common-netgear.mk
|
|
include ./common-tp-link.mk
|
|
include ./common-yuncore.mk
|
|
|
|
DEVICE_VARS += ADDPATTERN_ID ADDPATTERN_VERSION
|
|
DEVICE_VARS += SEAMA_SIGNATURE SEAMA_MTDBLOCK
|
|
DEVICE_VARS += KERNEL_INITRAMFS_PREFIX
|
|
DEVICE_VARS += DAP_SIGNATURE
|
|
|
|
define Build/add-elecom-factory-initramfs
|
|
$(eval edimax_model=$(word 1,$(1)))
|
|
$(eval product=$(word 2,$(1)))
|
|
|
|
$(STAGING_DIR_HOST)/bin/mkedimaximg \
|
|
-b -s CSYS -m $(edimax_model) \
|
|
-f 0x70000 -S 0x01100000 \
|
|
-i $@ -o $@.factory
|
|
|
|
( \
|
|
echo -n -e "ELECOM\x00\x00$(product)" | dd bs=40 count=1 conv=sync; \
|
|
echo -n "0.00" | dd bs=16 count=1 conv=sync; \
|
|
dd if=$@.factory; \
|
|
) > $@.factory.new
|
|
|
|
if [ "$$(stat -c%s $@.factory.new)" -le $$(($(subst k,* 1024,$(subst m, * 1024k,$(IMAGE_SIZE))))) ]; then \
|
|
mv $@.factory.new $(BIN_DIR)/$(KERNEL_INITRAMFS_PREFIX)-factory.bin; \
|
|
else \
|
|
echo "WARNING: initramfs kernel image too big, cannot generate factory image" >&2; \
|
|
fi
|
|
endef
|
|
|
|
define Build/addpattern
|
|
-$(STAGING_DIR_HOST)/bin/addpattern -B $(ADDPATTERN_ID) \
|
|
-v v$(ADDPATTERN_VERSION) -i $@ -o $@.new
|
|
-mv "$@.new" "$@"
|
|
endef
|
|
|
|
define Build/append-md5sum-bin
|
|
$(STAGING_DIR_HOST)/bin/mkhash md5 $@ | sed 's/../\\\\x&/g' |\
|
|
xargs echo -ne >> $@
|
|
endef
|
|
|
|
define Build/cybertan-trx
|
|
@echo -n '' > $@-empty.bin
|
|
-$(STAGING_DIR_HOST)/bin/trx -o $@.new \
|
|
-f $(IMAGE_KERNEL) -F $@-empty.bin \
|
|
-x 32 -a 0x10000 -x -32 -f $@
|
|
-mv "$@.new" "$@"
|
|
-rm $@-empty.bin
|
|
endef
|
|
|
|
define Build/mkdapimg2
|
|
$(STAGING_DIR_HOST)/bin/mkdapimg2 \
|
|
-i $@ -o $@.new \
|
|
-s $(DAP_SIGNATURE) \
|
|
-v $(VERSION_DIST)-$(firstword $(subst +, , \
|
|
$(firstword $(subst -, ,$(REVISION))))) \
|
|
-r Default \
|
|
$(if $(1),-k $(1))
|
|
mv $@.new $@
|
|
endef
|
|
|
|
define Build/mkmylofw_16m
|
|
$(eval device_id=$(word 1,$(1)))
|
|
$(eval revision=$(word 2,$(1)))
|
|
|
|
# On WPJ344, WPJ531, and WPJ563, the default boot command tries 0x9f680000
|
|
# first and fails if the remains of the stock image are sill there
|
|
# - resulting in an infinite boot loop.
|
|
# The size parameter is grown to have that block deleted if the firmware
|
|
# isn't big enough by itself.
|
|
|
|
let \
|
|
size="$$(stat -c%s $@)" \
|
|
pad="$(subst k,* 1024,$(BLOCKSIZE))" \
|
|
pad="(pad - (size % pad)) % pad" \
|
|
newsize='size + pad' ; \
|
|
[ $$newsize -lt $$((0x660000)) ] && newsize=0x660000 ; \
|
|
$(STAGING_DIR_HOST)/bin/mkmylofw \
|
|
-B WPE72 -i 0x11f6:$(device_id):0x11f6:$(device_id) -r $(revision) \
|
|
-s 0x1000000 -p0x30000:$$newsize:al:0x80060000:"OpenWRT":$@ \
|
|
$@.new
|
|
@mv $@.new $@
|
|
endef
|
|
|
|
define Build/mkwrggimg
|
|
$(STAGING_DIR_HOST)/bin/mkwrggimg -b \
|
|
-i $@ -o $@.imghdr -d /dev/mtdblock/1 \
|
|
-m $(DEVICE_MODEL)-$(DEVICE_VARIANT) -s $(DAP_SIGNATURE) \
|
|
-v $(VERSION_DIST) -B $(REVISION)
|
|
mv $@.imghdr $@
|
|
endef
|
|
|
|
define Build/nec-enc
|
|
$(STAGING_DIR_HOST)/bin/nec-enc \
|
|
-i $@ -o $@.new -k $(1)
|
|
mv $@.new $@
|
|
endef
|
|
|
|
define Build/nec-fw
|
|
( stat -c%s $@ | tr -d "\n" | dd bs=16 count=1 conv=sync; ) >> $@
|
|
( \
|
|
echo -n -e "$(1)" | dd bs=16 count=1 conv=sync; \
|
|
echo -n "0.0.00" | dd bs=16 count=1 conv=sync; \
|
|
dd if=$@; \
|
|
) > $@.new
|
|
mv $@.new $@
|
|
endef
|
|
|
|
define Build/pisen_wmb001n-factory
|
|
-[ -f "$@" ] && \
|
|
mkdir -p "$@.tmp" && \
|
|
cp "$(KDIR)/loader-$(word 1,$(1)).uImage" "$@.tmp/uImage" && \
|
|
mv "$@" "$@.tmp/rootfs" && \
|
|
cp "bin/pisen_wmb001n_factory-header.bin" "$@" && \
|
|
$(TAR) -cp --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name \
|
|
$(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \
|
|
-C "$@.tmp" . | gzip -9n >> "$@" && \
|
|
rm -rf "$@.tmp"
|
|
endef
|
|
|
|
define Build/teltonika-fw-fake-checksum
|
|
# Teltonika U-Boot web based firmware upgrade/recovery routine compares
|
|
# 16 bytes from md5sum1[16] field in TP-Link v1 header (offset: 76 bytes
|
|
# from begin of the firmware file) with 16 bytes stored just before
|
|
# 0xdeadc0de marker. Values are only compared, MD5 sum is not verified.
|
|
let \
|
|
offs="$$(stat -c%s $@) - 20"; \
|
|
dd if=$@ bs=1 count=16 skip=76 |\
|
|
dd of=$@ bs=1 count=16 seek=$$offs conv=notrunc
|
|
endef
|
|
|
|
define Build/wrgg-pad-rootfs
|
|
$(STAGING_DIR_HOST)/bin/padjffs2 $(IMAGE_ROOTFS) -c 64 >>$@
|
|
endef
|
|
|
|
define Device/seama
|
|
KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma
|
|
KERNEL_INITRAMFS := $$(KERNEL) | seama
|
|
IMAGES += factory.bin
|
|
SEAMA_MTDBLOCK := 1
|
|
|
|
# 64 bytes offset:
|
|
# - 28 bytes seama_header
|
|
# - 36 bytes of META data (4-bytes aligned)
|
|
IMAGE/default := append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | seama | pad-rootfs | \
|
|
append-metadata | check-size
|
|
IMAGE/factory.bin := $$(IMAGE/default) | pad-rootfs -x 64 | seama | \
|
|
seama-seal | check-size
|
|
SEAMA_SIGNATURE :=
|
|
endef
|
|
|
|
|
|
define Device/8dev_carambola2
|
|
SOC := ar9331
|
|
DEVICE_VENDOR := 8devices
|
|
DEVICE_MODEL := Carambola2
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-chipidea2
|
|
IMAGE_SIZE := 16000k
|
|
SUPPORTED_DEVICES += carambola2
|
|
endef
|
|
TARGET_DEVICES += 8dev_carambola2
|
|
|
|
define Device/8dev_lima
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := 8devices
|
|
DEVICE_MODEL := Lima
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
IMAGE_SIZE := 15616k
|
|
SUPPORTED_DEVICES += lima
|
|
endef
|
|
TARGET_DEVICES += 8dev_lima
|
|
|
|
define Device/adtran_bsap1880
|
|
SOC := ar7161
|
|
DEVICE_VENDOR := Adtran/Bluesocket
|
|
DEVICE_PACKAGES += -swconfig -uboot-envtools fconfig
|
|
KERNEL := kernel-bin | append-dtb | lzma | pad-to $$(BLOCKSIZE)
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb
|
|
IMAGE_SIZE := 11200k
|
|
IMAGES += kernel.bin rootfs.bin
|
|
IMAGE/kernel.bin := append-kernel
|
|
IMAGE/rootfs.bin := append-rootfs | pad-rootfs
|
|
IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | \
|
|
check-size | sysupgrade-tar rootfs=$$$$@ | append-metadata
|
|
endef
|
|
|
|
define Device/adtran_bsap1800-v2
|
|
$(Device/adtran_bsap1880)
|
|
DEVICE_MODEL := BSAP-1800
|
|
DEVICE_VARIANT := v2
|
|
endef
|
|
TARGET_DEVICES += adtran_bsap1800-v2
|
|
|
|
define Device/adtran_bsap1840
|
|
$(Device/adtran_bsap1880)
|
|
DEVICE_MODEL := BSAP-1840
|
|
endef
|
|
TARGET_DEVICES += adtran_bsap1840
|
|
|
|
define Device/alfa-network_ap121f
|
|
SOC := ar9331
|
|
DEVICE_VENDOR := ALFA Network
|
|
DEVICE_MODEL := AP121F
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-chipidea2 kmod-usb-storage -swconfig
|
|
IMAGE_SIZE := 16064k
|
|
SUPPORTED_DEVICES += ap121f
|
|
endef
|
|
TARGET_DEVICES += alfa-network_ap121f
|
|
|
|
define Device/allnet_all-wap02860ac
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := ALLNET
|
|
DEVICE_MODEL := ALL-WAP02860AC
|
|
DEVICE_PACKAGES := ath10k-firmware-qca988x-ct kmod-ath10k-ct
|
|
IMAGE_SIZE := 13120k
|
|
endef
|
|
TARGET_DEVICES += allnet_all-wap02860ac
|
|
|
|
define Device/arduino_yun
|
|
SOC := ar9331
|
|
DEVICE_VENDOR := Arduino
|
|
DEVICE_MODEL := Yun
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-chipidea2 kmod-usb-ledtrig-usbport \
|
|
kmod-usb-storage block-mount -swconfig
|
|
IMAGE_SIZE := 15936k
|
|
SUPPORTED_DEVICES += arduino-yun
|
|
endef
|
|
TARGET_DEVICES += arduino_yun
|
|
|
|
define Device/aruba_ap-105
|
|
SOC := ar7161
|
|
DEVICE_VENDOR := Aruba
|
|
DEVICE_MODEL := AP-105
|
|
IMAGE_SIZE := 16000k
|
|
DEVICE_PACKAGES := kmod-i2c-gpio kmod-tpm-i2c-atmel
|
|
endef
|
|
TARGET_DEVICES += aruba_ap-105
|
|
|
|
define Device/avm
|
|
DEVICE_VENDOR := AVM
|
|
KERNEL := kernel-bin | append-dtb | lzma | eva-image
|
|
KERNEL_INITRAMFS := $$(KERNEL)
|
|
IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | \
|
|
append-squashfs-fakeroot-be | pad-to 256 | append-rootfs | pad-rootfs | \
|
|
append-metadata | check-size
|
|
DEVICE_PACKAGES := fritz-tffs
|
|
endef
|
|
|
|
define Device/avm_fritz1750e
|
|
$(Device/avm)
|
|
SOC := qca9556
|
|
IMAGE_SIZE := 15232k
|
|
DEVICE_MODEL := FRITZ!WLAN Repeater 1750E
|
|
DEVICE_PACKAGES += rssileds kmod-ath10k-ct-smallbuffers \
|
|
ath10k-firmware-qca988x-ct -swconfig
|
|
endef
|
|
TARGET_DEVICES += avm_fritz1750e
|
|
|
|
define Device/avm_fritz300e
|
|
$(Device/avm)
|
|
SOC := ar7242
|
|
IMAGE_SIZE := 15232k
|
|
DEVICE_MODEL := FRITZ!WLAN Repeater 300E
|
|
DEVICE_PACKAGES += rssileds -swconfig
|
|
SUPPORTED_DEVICES += fritz300e
|
|
endef
|
|
TARGET_DEVICES += avm_fritz300e
|
|
|
|
define Device/avm_fritz4020
|
|
$(Device/avm)
|
|
SOC := qca9561
|
|
IMAGE_SIZE := 15232k
|
|
DEVICE_MODEL := FRITZ!Box 4020
|
|
SUPPORTED_DEVICES += fritz4020
|
|
endef
|
|
TARGET_DEVICES += avm_fritz4020
|
|
|
|
define Device/avm_fritz450e
|
|
$(Device/avm)
|
|
SOC := qca9556
|
|
IMAGE_SIZE := 15232k
|
|
DEVICE_MODEL := FRITZ!WLAN Repeater 450E
|
|
SUPPORTED_DEVICES += fritz450e
|
|
endef
|
|
TARGET_DEVICES += avm_fritz450e
|
|
|
|
define Device/avm_fritzdvbc
|
|
$(Device/avm)
|
|
SOC := qca9556
|
|
IMAGE_SIZE := 15232k
|
|
DEVICE_MODEL := FRITZ!WLAN Repeater DVB-C
|
|
DEVICE_PACKAGES += rssileds kmod-ath10k-ct-smallbuffers \
|
|
ath10k-firmware-qca988x-ct -swconfig
|
|
endef
|
|
TARGET_DEVICES += avm_fritzdvbc
|
|
|
|
define Device/buffalo_bhr-4grv
|
|
SOC := ar7242
|
|
DEVICE_VENDOR := Buffalo
|
|
DEVICE_MODEL := BHR-4GRV
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
|
IMAGE_SIZE := 32256k
|
|
IMAGES += factory.bin tftp.bin
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | \
|
|
pad-rootfs | check-size
|
|
IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc BHR-4GRV 1.99 | \
|
|
buffalo-tag BHR-4GRV 3
|
|
IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
|
|
SUPPORTED_DEVICES += wzr-hp-g450h
|
|
endef
|
|
TARGET_DEVICES += buffalo_bhr-4grv
|
|
|
|
define Device/buffalo_bhr-4grv2
|
|
SOC := qca9557
|
|
DEVICE_VENDOR := Buffalo
|
|
DEVICE_MODEL := BHR-4GRV2
|
|
IMAGE_SIZE := 16000k
|
|
endef
|
|
TARGET_DEVICES += buffalo_bhr-4grv2
|
|
|
|
define Device/buffalo_wzr-hp-ag300h
|
|
SOC := ar7161
|
|
DEVICE_VENDOR := Buffalo
|
|
DEVICE_MODEL := WZR-HP-AG300H
|
|
IMAGE_SIZE := 32320k
|
|
IMAGES += factory.bin tftp.bin
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | \
|
|
pad-rootfs | check-size
|
|
IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-AG300H 1.99 | \
|
|
buffalo-tag WZR-HP-AG300H 3
|
|
IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
|
|
kmod-leds-reset kmod-owl-loader
|
|
SUPPORTED_DEVICES += wzr-hp-ag300h
|
|
endef
|
|
TARGET_DEVICES += buffalo_wzr-hp-ag300h
|
|
|
|
define Device/buffalo_wzr-hp-g302h-a1a0
|
|
SOC := ar7242
|
|
DEVICE_VENDOR := Buffalo
|
|
DEVICE_MODEL := WZR-HP-G302H
|
|
DEVICE_VARIANT := A1A0
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
|
IMAGE_SIZE := 32128k
|
|
IMAGES += factory.bin tftp.bin
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | \
|
|
pad-rootfs | check-size
|
|
IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-G302H 1.99 | \
|
|
buffalo-tag WZR-HP-G302H 4
|
|
IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
|
|
SUPPORTED_DEVICES += wzr-hp-g300nh2
|
|
endef
|
|
TARGET_DEVICES += buffalo_wzr-hp-g302h-a1a0
|
|
|
|
define Device/buffalo_wzr-hp-g450h
|
|
SOC := ar7242
|
|
DEVICE_VENDOR := Buffalo
|
|
DEVICE_MODEL := WZR-HP-G450H/WZR-450HP
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
|
IMAGE_SIZE := 32256k
|
|
IMAGES += factory.bin tftp.bin
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | \
|
|
pad-rootfs | check-size
|
|
IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-G450H 1.99 | \
|
|
buffalo-tag WZR-HP-G450H 3
|
|
IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
|
|
SUPPORTED_DEVICES += wzr-hp-g450h
|
|
endef
|
|
TARGET_DEVICES += buffalo_wzr-hp-g450h
|
|
|
|
define Device/comfast_cf-e110n-v2
|
|
SOC := qca9533
|
|
DEVICE_VENDOR := COMFAST
|
|
DEVICE_MODEL := CF-E110N
|
|
DEVICE_VARIANT := v2
|
|
DEVICE_PACKAGES := rssileds -swconfig -uboot-envtools
|
|
IMAGE_SIZE := 16192k
|
|
endef
|
|
TARGET_DEVICES += comfast_cf-e110n-v2
|
|
|
|
define Device/comfast_cf-e120a-v3
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := COMFAST
|
|
DEVICE_MODEL := CF-E120A
|
|
DEVICE_VARIANT := v3
|
|
DEVICE_PACKAGES := rssileds -uboot-envtools
|
|
IMAGE_SIZE := 8000k
|
|
endef
|
|
TARGET_DEVICES += comfast_cf-e120a-v3
|
|
|
|
define Device/comfast_cf-e130n-v2
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := COMFAST
|
|
DEVICE_MODEL := CF-E130N
|
|
DEVICE_VARIANT := v2
|
|
DEVICE_PACKAGES := rssileds -swconfig -uboot-envtools
|
|
IMAGE_SIZE := 7936k
|
|
endef
|
|
TARGET_DEVICES += comfast_cf-e130n-v2
|
|
|
|
define Device/comfast_cf-e313ac
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := COMFAST
|
|
DEVICE_MODEL := CF-E313AC
|
|
DEVICE_PACKAGES := rssileds kmod-ath10k-ct-smallbuffers \
|
|
ath10k-firmware-qca9888-ct -swconfig -uboot-envtools
|
|
IMAGE_SIZE := 7936k
|
|
endef
|
|
TARGET_DEVICES += comfast_cf-e313ac
|
|
|
|
define Device/comfast_cf-e314n-v2
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := COMFAST
|
|
DEVICE_MODEL := CF-E314N
|
|
DEVICE_VARIANT := v2
|
|
DEVICE_PACKAGES := rssileds
|
|
IMAGE_SIZE := 7936k
|
|
endef
|
|
TARGET_DEVICES += comfast_cf-e314n-v2
|
|
|
|
define Device/comfast_cf-e5
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := COMFAST
|
|
DEVICE_MODEL := CF-E5/E7
|
|
DEVICE_PACKAGES := rssileds kmod-usb2 kmod-usb-net-qmi-wwan -swconfig \
|
|
-uboot-envtools
|
|
IMAGE_SIZE := 16192k
|
|
endef
|
|
TARGET_DEVICES += comfast_cf-e5
|
|
|
|
define Device/comfast_cf-e560ac
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := COMFAST
|
|
DEVICE_MODEL := CF-E560AC
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
IMAGE_SIZE := 16128k
|
|
endef
|
|
TARGET_DEVICES += comfast_cf-e560ac
|
|
|
|
define Device/comfast_cf-ew72
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := COMFAST
|
|
DEVICE_MODEL := CF-EW72
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9888-ct \
|
|
-uboot-envtools -swconfig
|
|
IMAGE_SIZE := 16192k
|
|
endef
|
|
TARGET_DEVICES += comfast_cf-ew72
|
|
|
|
define Device/comfast_cf-wr650ac-v1
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := COMFAST
|
|
DEVICE_MODEL := CF-WR650AC
|
|
DEVICE_VARIANT := v1
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
IMAGE_SIZE := 16128k
|
|
endef
|
|
TARGET_DEVICES += comfast_cf-wr650ac-v1
|
|
|
|
define Device/comfast_cf-wr650ac-v2
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := COMFAST
|
|
DEVICE_MODEL := CF-WR650AC
|
|
DEVICE_VARIANT := v2
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
IMAGE_SIZE := 16000k
|
|
endef
|
|
TARGET_DEVICES += comfast_cf-wr650ac-v2
|
|
|
|
define Device/comfast_cf-wr752ac-v1
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := COMFAST
|
|
DEVICE_MODEL := CF-WR752AC
|
|
DEVICE_VARIANT := v1
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9888-ct \
|
|
-uboot-envtools
|
|
IMAGE_SIZE := 16192k
|
|
endef
|
|
TARGET_DEVICES += comfast_cf-wr752ac-v1
|
|
|
|
define Device/compex_wpj344-16m
|
|
SOC := ar9344
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
IMAGE_SIZE := 16128k
|
|
DEVICE_VENDOR := Compex
|
|
DEVICE_MODEL := WPJ344
|
|
DEVICE_VARIANT := 16M
|
|
SUPPORTED_DEVICES += wpj344
|
|
IMAGES += cpximg-6a08.bin
|
|
IMAGE/cpximg-6a08.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | mkmylofw_16m 0x690 3
|
|
endef
|
|
TARGET_DEVICES += compex_wpj344-16m
|
|
|
|
define Device/compex_wpj531-16m
|
|
SOC := qca9531
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
IMAGE_SIZE := 16128k
|
|
DEVICE_VENDOR := Compex
|
|
DEVICE_MODEL := WPJ531
|
|
DEVICE_VARIANT := 16M
|
|
SUPPORTED_DEVICES += wpj531
|
|
IMAGES += cpximg-7a03.bin cpximg-7a04.bin cpximg-7a06.bin cpximg-7a07.bin
|
|
IMAGE/cpximg-7a03.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | mkmylofw_16m 0x68a 2
|
|
IMAGE/cpximg-7a04.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | mkmylofw_16m 0x693 3
|
|
IMAGE/cpximg-7a06.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | mkmylofw_16m 0x693 3
|
|
IMAGE/cpximg-7a07.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | mkmylofw_16m 0x693 3
|
|
endef
|
|
TARGET_DEVICES += compex_wpj531-16m
|
|
|
|
define Device/compex_wpj563
|
|
SOC := qca9563
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb3
|
|
IMAGE_SIZE := 16128k
|
|
DEVICE_VENDOR := Compex
|
|
DEVICE_MODEL := WPJ563
|
|
SUPPORTED_DEVICES += wpj563
|
|
IMAGES += cpximg-7a02.bin
|
|
IMAGE/cpximg-7a02.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | mkmylofw_16m 0x694 2
|
|
endef
|
|
TARGET_DEVICES += compex_wpj563
|
|
|
|
define Device/devolo_dvl1200e
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := devolo
|
|
DEVICE_MODEL := WiFi pro 1200e
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
IMAGE_SIZE := 15936k
|
|
endef
|
|
TARGET_DEVICES += devolo_dvl1200e
|
|
|
|
define Device/devolo_dvl1200i
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := devolo
|
|
DEVICE_MODEL := WiFi pro 1200i
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
IMAGE_SIZE := 15936k
|
|
endef
|
|
TARGET_DEVICES += devolo_dvl1200i
|
|
|
|
define Device/devolo_dvl1750c
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := devolo
|
|
DEVICE_MODEL := WiFi pro 1750c
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
IMAGE_SIZE := 15936k
|
|
endef
|
|
TARGET_DEVICES += devolo_dvl1750c
|
|
|
|
define Device/devolo_dvl1750e
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := devolo
|
|
DEVICE_MODEL := WiFi pro 1750e
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
IMAGE_SIZE := 15936k
|
|
endef
|
|
TARGET_DEVICES += devolo_dvl1750e
|
|
|
|
define Device/devolo_dvl1750i
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := devolo
|
|
DEVICE_MODEL := WiFi pro 1750i
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
IMAGE_SIZE := 15936k
|
|
endef
|
|
TARGET_DEVICES += devolo_dvl1750i
|
|
|
|
define Device/devolo_dvl1750x
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := devolo
|
|
DEVICE_MODEL := WiFi pro 1750x
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
IMAGE_SIZE := 15936k
|
|
endef
|
|
TARGET_DEVICES += devolo_dvl1750x
|
|
|
|
define Device/devolo_magic-2-wifi
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := Devolo
|
|
DEVICE_MODEL := Magic 2 WiFi
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
IMAGE_SIZE := 15872k
|
|
endef
|
|
TARGET_DEVICES += devolo_magic-2-wifi
|
|
|
|
define Device/dlink_dap-13xx
|
|
SOC := qca9533
|
|
DEVICE_VENDOR := D-Link
|
|
DEVICE_PACKAGES += rssileds
|
|
IMAGE_SIZE := 7936k
|
|
IMAGES += factory.bin
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | check-size | mkdapimg2 0xE0000
|
|
endef
|
|
|
|
define Device/dlink_dap-1330-a1
|
|
$(Device/dlink_dap-13xx)
|
|
DEVICE_MODEL := DAP-1330
|
|
DEVICE_VARIANT := A1
|
|
DAP_SIGNATURE := HONEYBEE-FIRMWARE-DAP-1330
|
|
SUPPORTED_DEVICES += dap-1330-a1
|
|
endef
|
|
TARGET_DEVICES += dlink_dap-1330-a1
|
|
|
|
define Device/dlink_dap-1365-a1
|
|
$(Device/dlink_dap-13xx)
|
|
DEVICE_MODEL := DAP-1365
|
|
DEVICE_VARIANT := A1
|
|
DAP_SIGNATURE := HONEYBEE-FIRMWARE-DAP-1365
|
|
endef
|
|
TARGET_DEVICES += dlink_dap-1365-a1
|
|
|
|
define Device/dlink_dap-2695-a1
|
|
SOC := qca9558
|
|
DEVICE_PACKAGES := ath10k-firmware-qca988x-ct kmod-ath10k-ct
|
|
DEVICE_VENDOR := D-Link
|
|
DEVICE_MODEL := DAP-2965
|
|
DEVICE_VARIANT := A1
|
|
IMAGES := factory.img sysupgrade.bin
|
|
IMAGE_SIZE := 15360k
|
|
IMAGE/default := append-kernel | pad-offset 65536 160
|
|
IMAGE/factory.img := $$(IMAGE/default) | append-rootfs | wrgg-pad-rootfs | \
|
|
mkwrggimg | check-size
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | mkwrggimg | append-rootfs | \
|
|
wrgg-pad-rootfs | append-metadata | check-size
|
|
KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma
|
|
KERNEL_INITRAMFS := $$(KERNEL) | mkwrggimg
|
|
DAP_SIGNATURE := wapac02_dkbs_dap2695
|
|
SUPPORTED_DEVICES += dap-2695-a1
|
|
endef
|
|
TARGET_DEVICES += dlink_dap-2695-a1
|
|
|
|
define Device/dlink_dch-g020-a1
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := D-Link
|
|
DEVICE_MODEL := DCH-G020
|
|
DEVICE_VARIANT := A1
|
|
DEVICE_PACKAGES := kmod-gpio-pca953x kmod-i2c-gpio kmod-usb2 kmod-usb-acm
|
|
IMAGES += factory.bin
|
|
IMAGE_SIZE := 14784k
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | check-size | mkdapimg2 0x20000
|
|
DAP_SIGNATURE := HONEYBEE-FIRMWARE-DCH-G020
|
|
endef
|
|
TARGET_DEVICES += dlink_dch-g020-a1
|
|
|
|
define Device/dlink_dir-505
|
|
SOC := ar9330
|
|
DEVICE_VENDOR := D-Link
|
|
DEVICE_MODEL := DIR-505
|
|
IMAGE_SIZE := 7680k
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
SUPPORTED_DEVICES += dir-505-a1
|
|
endef
|
|
TARGET_DEVICES += dlink_dir-505
|
|
|
|
define Device/dlink_dir-825-b1
|
|
SOC := ar7161
|
|
DEVICE_VENDOR := D-Link
|
|
DEVICE_MODEL := DIR-825
|
|
DEVICE_VARIANT := B1
|
|
IMAGE_SIZE := 6208k
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
|
append-metadata | check-size
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
|
|
kmod-leds-reset kmod-owl-loader
|
|
SUPPORTED_DEVICES += dir-825-b1
|
|
endef
|
|
TARGET_DEVICES += dlink_dir-825-b1
|
|
|
|
define Device/dlink_dir-825-c1
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := D-Link
|
|
DEVICE_MODEL := DIR-825
|
|
DEVICE_VARIANT := C1
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset \
|
|
kmod-owl-loader
|
|
SUPPORTED_DEVICES += dir-825-c1
|
|
IMAGE_SIZE := 15936k
|
|
IMAGES := factory.bin sysupgrade.bin
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | \
|
|
pad-rootfs
|
|
IMAGE/factory.bin := $$(IMAGE/default) | pad-offset $$$$(IMAGE_SIZE) 26 | \
|
|
append-string 00DB120AR9344-RT-101214-00 | check-size
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | \
|
|
check-size
|
|
endef
|
|
TARGET_DEVICES += dlink_dir-825-c1
|
|
|
|
define Device/dlink_dir-835-a1
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := D-Link
|
|
DEVICE_MODEL := DIR-835
|
|
DEVICE_VARIANT := A1
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-leds-reset kmod-owl-loader
|
|
SUPPORTED_DEVICES += dir-835-a1
|
|
IMAGE_SIZE := 15936k
|
|
IMAGES := factory.bin sysupgrade.bin
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | \
|
|
pad-rootfs
|
|
IMAGE/factory.bin := $$(IMAGE/default) | pad-offset $$$$(IMAGE_SIZE) 26 | \
|
|
append-string 00DB120AR9344-RT-101214-00 | check-size
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | \
|
|
check-size
|
|
endef
|
|
TARGET_DEVICES += dlink_dir-835-a1
|
|
|
|
define Device/dlink_dir-842-c
|
|
SOC := qca9563
|
|
DEVICE_VENDOR := D-Link
|
|
DEVICE_MODEL := DIR-842
|
|
KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma
|
|
KERNEL_INITRAMFS := $$(KERNEL) | seama
|
|
IMAGES += factory.bin
|
|
SEAMA_MTDBLOCK := 5
|
|
SEAMA_SIGNATURE := wrgac65_dlink.2015_dir842
|
|
# 64 bytes offset:
|
|
# - 28 bytes seama_header
|
|
# - 36 bytes of META data (4-bytes aligned)
|
|
IMAGE/default := append-kernel | uImage lzma | \
|
|
pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | seama | pad-rootfs | \
|
|
append-metadata | check-size
|
|
IMAGE/factory.bin := $$(IMAGE/default) | pad-rootfs -x 64 | seama | \
|
|
seama-seal | check-size
|
|
IMAGE_SIZE := 15680k
|
|
endef
|
|
|
|
define Device/dlink_dir-842-c1
|
|
$(Device/dlink_dir-842-c)
|
|
DEVICE_VARIANT := C1
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
endef
|
|
TARGET_DEVICES += dlink_dir-842-c1
|
|
|
|
define Device/dlink_dir-842-c2
|
|
$(Device/dlink_dir-842-c)
|
|
DEVICE_VARIANT := C2
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
endef
|
|
TARGET_DEVICES += dlink_dir-842-c2
|
|
|
|
define Device/dlink_dir-842-c3
|
|
$(Device/dlink_dir-842-c)
|
|
DEVICE_VARIANT := C3
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
endef
|
|
TARGET_DEVICES += dlink_dir-842-c3
|
|
|
|
define Device/dlink_dir-859-a1
|
|
$(Device/seama)
|
|
SOC := qca9563
|
|
DEVICE_VENDOR := D-Link
|
|
DEVICE_MODEL := DIR-859
|
|
DEVICE_VARIANT := A1
|
|
IMAGE_SIZE := 15872k
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
|
|
SEAMA_SIGNATURE := wrgac37_dlink.2013gui_dir859
|
|
endef
|
|
TARGET_DEVICES += dlink_dir-859-a1
|
|
|
|
define Device/elecom_wrc-1750ghbk2-i
|
|
SOC := qca9563
|
|
DEVICE_VENDOR := ELECOM
|
|
DEVICE_MODEL := WRC-1750GHBK2-I/C
|
|
IMAGE_SIZE := 15808k
|
|
KERNEL_INITRAMFS := $$(KERNEL) | pad-to 2 | \
|
|
add-elecom-factory-initramfs RN68 WRC-1750GHBK2
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
endef
|
|
TARGET_DEVICES += elecom_wrc-1750ghbk2-i
|
|
|
|
define Device/elecom_wrc-300ghbk2-i
|
|
SOC := qca9563
|
|
DEVICE_VENDOR := ELECOM
|
|
DEVICE_MODEL := WRC-300GHBK2-I
|
|
IMAGE_SIZE := 7616k
|
|
KERNEL_INITRAMFS := $$(KERNEL) | pad-to 2 | \
|
|
add-elecom-factory-initramfs RN51 WRC-300GHBK2-I
|
|
endef
|
|
TARGET_DEVICES += elecom_wrc-300ghbk2-i
|
|
|
|
define Device/embeddedwireless_dorin
|
|
SOC := ar9331
|
|
DEVICE_VENDOR := Embedded Wireless
|
|
DEVICE_MODEL := Dorin
|
|
DEVICE_PACKAGES := kmod-usb-chipidea2
|
|
IMAGE_SIZE := 16000k
|
|
endef
|
|
TARGET_DEVICES += embeddedwireless_dorin
|
|
|
|
define Device/engenius_ecb1750
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := EnGenius
|
|
DEVICE_MODEL := ECB1750
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
IMAGE_SIZE := 15680k
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | check-size | \
|
|
senao-header -r 0x101 -p 0x6d -t 2
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
|
append-metadata | check-size
|
|
endef
|
|
TARGET_DEVICES += engenius_ecb1750
|
|
|
|
define Device/engenius_epg5000
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := EnGenius
|
|
DEVICE_MODEL := EPG5000
|
|
DEVICE_PACKAGES := ath10k-firmware-qca988x-ct kmod-ath10k-ct kmod-usb2
|
|
IMAGE_SIZE := 14656k
|
|
IMAGES += factory.dlf
|
|
IMAGE/factory.dlf := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | check-size | \
|
|
senao-header -r 0x101 -p 0x71 -t 2
|
|
SUPPORTED_DEVICES += epg5000
|
|
endef
|
|
TARGET_DEVICES += engenius_epg5000
|
|
|
|
define Device/engenius_ews511ap
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := EnGenius
|
|
DEVICE_MODEL := EWS511AP
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9887-ct
|
|
IMAGE_SIZE := 16000k
|
|
endef
|
|
TARGET_DEVICES += engenius_ews511ap
|
|
|
|
define Device/enterasys_ws-ap3705i
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := Enterasys
|
|
DEVICE_MODEL := WS-AP3705i
|
|
IMAGE_SIZE := 30528k
|
|
endef
|
|
TARGET_DEVICES += enterasys_ws-ap3705i
|
|
|
|
define Device/etactica_eg200
|
|
SOC := ar9331
|
|
DEVICE_VENDOR := eTactica
|
|
DEVICE_MODEL := EG200
|
|
DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-ledtrig-oneshot \
|
|
kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage kmod-fs-ext4
|
|
IMAGE_SIZE := 16000k
|
|
SUPPORTED_DEVICES += rme-eg200
|
|
endef
|
|
TARGET_DEVICES += etactica_eg200
|
|
|
|
define Device/glinet_6408
|
|
$(Device/tplink-8mlzma)
|
|
SOC := ar9331
|
|
DEVICE_VENDOR := GL.iNet
|
|
DEVICE_MODEL := 6408
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
IMAGE_SIZE := 8000k
|
|
TPLINK_HWID := 0x08000001
|
|
IMAGES := sysupgrade.bin
|
|
SUPPORTED_DEVICES += gl-inet
|
|
endef
|
|
TARGET_DEVICES += glinet_6408
|
|
|
|
define Device/glinet_6416
|
|
$(Device/tplink-16mlzma)
|
|
SOC := ar9331
|
|
DEVICE_VENDOR := GL.iNet
|
|
DEVICE_MODEL := 6416
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
IMAGE_SIZE := 16192k
|
|
TPLINK_HWID := 0x08000001
|
|
IMAGES := sysupgrade.bin
|
|
SUPPORTED_DEVICES += gl-inet
|
|
endef
|
|
TARGET_DEVICES += glinet_6416
|
|
|
|
define Device/glinet_gl-ar150
|
|
SOC := ar9330
|
|
DEVICE_VENDOR := GL.iNet
|
|
DEVICE_MODEL := GL-AR150
|
|
DEVICE_PACKAGES := kmod-usb-chipidea2
|
|
IMAGE_SIZE := 16000k
|
|
SUPPORTED_DEVICES += gl-ar150
|
|
endef
|
|
TARGET_DEVICES += glinet_gl-ar150
|
|
|
|
define Device/glinet_gl-ar300m-common-nor
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := GL.iNet
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
IMAGE_SIZE := 16000k
|
|
SUPPORTED_DEVICES += gl-ar300m
|
|
endef
|
|
|
|
define Device/glinet_gl-ar300m-lite
|
|
$(Device/glinet_gl-ar300m-common-nor)
|
|
DEVICE_MODEL := GL-AR300M
|
|
DEVICE_VARIANT := Lite
|
|
endef
|
|
TARGET_DEVICES += glinet_gl-ar300m-lite
|
|
|
|
define Device/glinet_gl-ar300m16
|
|
$(Device/glinet_gl-ar300m-common-nor)
|
|
DEVICE_MODEL := GL-AR300M16
|
|
endef
|
|
TARGET_DEVICES += glinet_gl-ar300m16
|
|
|
|
define Device/glinet_gl-ar750
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := GL.iNet
|
|
DEVICE_MODEL := GL-AR750
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9887-ct
|
|
IMAGE_SIZE := 16000k
|
|
SUPPORTED_DEVICES += gl-ar750
|
|
endef
|
|
TARGET_DEVICES += glinet_gl-ar750
|
|
|
|
define Device/glinet_gl-mifi
|
|
SOC := ar9331
|
|
DEVICE_VENDOR := GL.iNET
|
|
DEVICE_MODEL := GL-MiFi
|
|
DEVICE_PACKAGES := kmod-usb-chipidea2
|
|
IMAGE_SIZE := 16000k
|
|
SUPPORTED_DEVICES += gl-mifi
|
|
endef
|
|
TARGET_DEVICES += glinet_gl-mifi
|
|
|
|
define Device/glinet_gl-x750
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := GL.iNet
|
|
DEVICE_MODEL := GL-X750
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9887-ct
|
|
IMAGE_SIZE := 16000k
|
|
endef
|
|
TARGET_DEVICES += glinet_gl-x750
|
|
|
|
define Device/iodata_etg3-r
|
|
SOC := ar9342
|
|
DEVICE_VENDOR := I-O DATA
|
|
DEVICE_MODEL := ETG3-R
|
|
IMAGE_SIZE := 7680k
|
|
DEVICE_PACKAGES := -iwinfo -kmod-ath9k -wpad-basic
|
|
endef
|
|
TARGET_DEVICES += iodata_etg3-r
|
|
|
|
define Device/iodata_wn-ac1167dgr
|
|
SOC := qca9557
|
|
DEVICE_VENDOR := I-O DATA
|
|
DEVICE_MODEL := WN-AC1167DGR
|
|
IMAGE_SIZE := 14656k
|
|
IMAGES += factory.bin
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | check-size | \
|
|
senao-header -r 0x30a -p 0x61 -t 2
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
endef
|
|
TARGET_DEVICES += iodata_wn-ac1167dgr
|
|
|
|
define Device/iodata_wn-ac1600dgr
|
|
SOC := qca9557
|
|
DEVICE_VENDOR := I-O DATA
|
|
DEVICE_MODEL := WN-AC1600DGR
|
|
IMAGE_SIZE := 14656k
|
|
IMAGES += factory.bin
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | check-size | \
|
|
senao-header -r 0x30a -p 0x60 -t 2 -v 200
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
endef
|
|
TARGET_DEVICES += iodata_wn-ac1600dgr
|
|
|
|
define Device/iodata_wn-ac1600dgr2
|
|
SOC := qca9557
|
|
DEVICE_VENDOR := I-O DATA
|
|
DEVICE_MODEL := WN-AC1600DGR2/DGR3
|
|
IMAGE_SIZE := 14656k
|
|
IMAGES += dgr2-dgr3-factory.bin
|
|
IMAGE/dgr2-dgr3-factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | check-size | \
|
|
senao-header -r 0x30a -p 0x60 -t 2 -v 200
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
endef
|
|
TARGET_DEVICES += iodata_wn-ac1600dgr2
|
|
|
|
define Device/iodata_wn-ag300dgr
|
|
SOC := ar1022
|
|
DEVICE_VENDOR := I-O DATA
|
|
DEVICE_MODEL := WN-AG300DGR
|
|
IMAGE_SIZE := 15424k
|
|
IMAGES += factory.bin
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | check-size | \
|
|
senao-header -r 0x30a -p 0x47 -t 2
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
endef
|
|
TARGET_DEVICES += iodata_wn-ag300dgr
|
|
|
|
define Device/jjplus_ja76pf2
|
|
SOC := ar7161
|
|
DEVICE_VENDOR := jjPlus
|
|
DEVICE_MODEL := JA76PF2
|
|
DEVICE_PACKAGES += -kmod-ath9k -swconfig -wpad-mini -uboot-envtools fconfig
|
|
IMAGES := kernel.bin rootfs.bin
|
|
IMAGE/kernel.bin := append-kernel
|
|
IMAGE/rootfs.bin := append-rootfs | pad-rootfs
|
|
KERNEL := kernel-bin | append-dtb | lzma | pad-to $$(BLOCKSIZE)
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb
|
|
IMAGE_SIZE := 16000k
|
|
SUPPORTED_DEVICES += ja76pf2
|
|
endef
|
|
TARGET_DEVICES += jjplus_ja76pf2
|
|
|
|
define Device/librerouter_librerouter-v1
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := Librerouter
|
|
DEVICE_MODEL := LibreRouter
|
|
DEVICE_VARIANT := v1
|
|
IMAGE_SIZE := 7936k
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
endef
|
|
TARGET_DEVICES += librerouter_librerouter-v1
|
|
|
|
define Device/nec_wg1200cr
|
|
SOC := qca9563
|
|
DEVICE_VENDOR := NEC
|
|
DEVICE_MODEL := Aterm WG1200CR
|
|
IMAGE_SIZE := 7616k
|
|
SEAMA_MTDBLOCK := 6
|
|
SEAMA_SIGNATURE := wrgac72_necpf.2016gui_wg1200cr
|
|
IMAGES += factory.bin
|
|
IMAGE/default := append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | seama | pad-rootfs | \
|
|
append-metadata | check-size
|
|
IMAGE/factory.bin := $$(IMAGE/default) | pad-rootfs -x 64 | seama | \
|
|
seama-seal | nec-enc 9gsiy9nzep452pad | check-size
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
endef
|
|
TARGET_DEVICES += nec_wg1200cr
|
|
|
|
define Device/nec_wg800hp
|
|
SOC := qca9563
|
|
DEVICE_VENDOR := NEC
|
|
DEVICE_MODEL := Aterm WG800HP
|
|
IMAGE_SIZE := 7104k
|
|
IMAGES += factory.bin
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | check-size | \
|
|
xor-image -p 6A57190601121E4C004C1E1201061957 -x | nec-fw LASER_ATERM
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9887-ct-full-htt
|
|
endef
|
|
TARGET_DEVICES += nec_wg800hp
|
|
|
|
define Device/netgear_ex6400_ex7300
|
|
$(Device/netgear_generic)
|
|
SOC := qca9558
|
|
NETGEAR_KERNEL_MAGIC := 0x27051956
|
|
NETGEAR_BOARD_ID := EX7300series
|
|
NETGEAR_HW_ID := 29765104+16+0+128
|
|
IMAGE_SIZE := 15552k
|
|
IMAGE/default := append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
|
|
netgear-rootfs | pad-rootfs
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | \
|
|
check-size
|
|
IMAGE/factory.img := $$(IMAGE/default) | netgear-dni | \
|
|
check-size
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca99x0-ct
|
|
endef
|
|
|
|
define Device/netgear_ex6400
|
|
$(Device/netgear_ex6400_ex7300)
|
|
DEVICE_MODEL := EX6400
|
|
endef
|
|
TARGET_DEVICES += netgear_ex6400
|
|
|
|
define Device/netgear_ex7300
|
|
$(Device/netgear_ex6400_ex7300)
|
|
DEVICE_MODEL := EX7300
|
|
endef
|
|
TARGET_DEVICES += netgear_ex7300
|
|
|
|
define Device/netgear_wndr3x00
|
|
$(Device/netgear_generic)
|
|
SOC := ar7161
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
|
|
kmod-leds-reset kmod-owl-loader
|
|
endef
|
|
|
|
define Device/netgear_wndr3700
|
|
$(Device/netgear_wndr3x00)
|
|
DEVICE_MODEL := WNDR3700
|
|
DEVICE_VARIANT := v1
|
|
NETGEAR_KERNEL_MAGIC := 0x33373030
|
|
NETGEAR_BOARD_ID := WNDR3700
|
|
IMAGE_SIZE := 7680k
|
|
IMAGES += factory-NA.img
|
|
IMAGE/factory-NA.img := $$(IMAGE/default) | netgear-dni NA | \
|
|
check-size
|
|
SUPPORTED_DEVICES += wndr3700
|
|
endef
|
|
TARGET_DEVICES += netgear_wndr3700
|
|
|
|
define Device/netgear_wndr3700-v2
|
|
$(Device/netgear_wndr3x00)
|
|
DEVICE_MODEL := WNDR3700
|
|
DEVICE_VARIANT := v2
|
|
NETGEAR_KERNEL_MAGIC := 0x33373031
|
|
NETGEAR_BOARD_ID := WNDR3700v2
|
|
NETGEAR_HW_ID := 29763654+16+64
|
|
IMAGE_SIZE := 15872k
|
|
SUPPORTED_DEVICES += wndr3700 netgear,wndr3700v2
|
|
endef
|
|
TARGET_DEVICES += netgear_wndr3700-v2
|
|
|
|
define Device/netgear_wndr3800
|
|
$(Device/netgear_wndr3x00)
|
|
DEVICE_MODEL := WNDR3800
|
|
NETGEAR_KERNEL_MAGIC := 0x33373031
|
|
NETGEAR_BOARD_ID := WNDR3800
|
|
NETGEAR_HW_ID := 29763654+16+128
|
|
IMAGE_SIZE := 15872k
|
|
SUPPORTED_DEVICES += wndr3700
|
|
endef
|
|
TARGET_DEVICES += netgear_wndr3800
|
|
|
|
define Device/netgear_wndr3800ch
|
|
$(Device/netgear_wndr3x00)
|
|
DEVICE_MODEL := WNDR3800CH
|
|
NETGEAR_KERNEL_MAGIC := 0x33373031
|
|
NETGEAR_BOARD_ID := WNDR3800CH
|
|
NETGEAR_HW_ID := 29763654+16+128
|
|
IMAGE_SIZE := 15872k
|
|
SUPPORTED_DEVICES += wndr3700
|
|
endef
|
|
TARGET_DEVICES += netgear_wndr3800ch
|
|
|
|
define Device/netgear_wndrmac-v1
|
|
$(Device/netgear_wndr3x00)
|
|
DEVICE_MODEL := WNDRMAC
|
|
DEVICE_VARIANT := v1
|
|
NETGEAR_KERNEL_MAGIC := 0x33373031
|
|
NETGEAR_BOARD_ID := WNDRMAC
|
|
NETGEAR_HW_ID := 29763654+16+64
|
|
IMAGE_SIZE := 15872k
|
|
SUPPORTED_DEVICES += wndr3700
|
|
endef
|
|
TARGET_DEVICES += netgear_wndrmac-v1
|
|
|
|
define Device/netgear_wndrmac-v2
|
|
$(Device/netgear_wndr3x00)
|
|
DEVICE_MODEL := WNDRMAC
|
|
DEVICE_VARIANT := v2
|
|
NETGEAR_KERNEL_MAGIC := 0x33373031
|
|
NETGEAR_BOARD_ID := WNDRMACv2
|
|
NETGEAR_HW_ID := 29763654+16+128
|
|
IMAGE_SIZE := 15872k
|
|
SUPPORTED_DEVICES += wndr3700
|
|
endef
|
|
TARGET_DEVICES += netgear_wndrmac-v2
|
|
|
|
define Device/netgear_wnr2200_common
|
|
$(Device/netgear_generic)
|
|
SOC := ar7241
|
|
DEVICE_MODEL := WNR2200
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
|
NETGEAR_KERNEL_MAGIC := 0x32323030
|
|
NETGEAR_BOARD_ID := wnr2200
|
|
endef
|
|
|
|
define Device/netgear_wnr2200-8m
|
|
$(Device/netgear_wnr2200_common)
|
|
DEVICE_VARIANT := 8M
|
|
NETGEAR_HW_ID := 29763600+08+64
|
|
IMAGE_SIZE := 7808k
|
|
IMAGES += factory-NA.img
|
|
IMAGE/factory-NA.img := $$(IMAGE/default) | netgear-dni NA | \
|
|
check-size
|
|
SUPPORTED_DEVICES += wnr2200
|
|
endef
|
|
TARGET_DEVICES += netgear_wnr2200-8m
|
|
|
|
define Device/netgear_wnr2200-16m
|
|
$(Device/netgear_wnr2200_common)
|
|
DEVICE_VARIANT := 16M
|
|
DEVICE_ALT0_VENDOR := NETGEAR
|
|
DEVICE_ALT0_MODEL := WNR2200
|
|
DEVICE_ALT0_VARIANT := CN/RU
|
|
NETGEAR_HW_ID :=
|
|
IMAGE_SIZE := 16000k
|
|
endef
|
|
TARGET_DEVICES += netgear_wnr2200-16m
|
|
|
|
define Device/ocedo_koala
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := Ocedo
|
|
DEVICE_MODEL := Koala
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
SUPPORTED_DEVICES += koala
|
|
IMAGE_SIZE := 7424k
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
|
append-metadata | check-size
|
|
endef
|
|
TARGET_DEVICES += ocedo_koala
|
|
|
|
define Device/ocedo_raccoon
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := Ocedo
|
|
DEVICE_MODEL := Raccoon
|
|
IMAGE_SIZE := 7424k
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
|
append-metadata | check-size
|
|
endef
|
|
TARGET_DEVICES += ocedo_raccoon
|
|
|
|
define Device/ocedo_ursus
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := Ocedo
|
|
DEVICE_MODEL := Ursus
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
IMAGE_SIZE := 7424k
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
|
append-metadata | check-size
|
|
endef
|
|
TARGET_DEVICES += ocedo_ursus
|
|
|
|
define Device/openmesh_om5p-ac-v2
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := OpenMesh
|
|
DEVICE_MODEL := OM5P-AC
|
|
DEVICE_VARIANT := v2
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct om-watchdog
|
|
IMAGE_SIZE := 7808k
|
|
SUPPORTED_DEVICES += om5p-acv2
|
|
endef
|
|
TARGET_DEVICES += openmesh_om5p-ac-v2
|
|
|
|
define Device/pcs_cap324
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := PowerCloud Systems
|
|
DEVICE_MODEL := CAP324
|
|
IMAGE_SIZE := 16000k
|
|
SUPPORTED_DEVICES += cap324
|
|
endef
|
|
TARGET_DEVICES += pcs_cap324
|
|
|
|
define Device/pcs_cr3000
|
|
SOC := ar9341
|
|
DEVICE_VENDOR := PowerCloud Systems
|
|
DEVICE_MODEL := CR3000
|
|
IMAGE_SIZE := 7808k
|
|
SUPPORTED_DEVICES += cr3000
|
|
endef
|
|
TARGET_DEVICES += pcs_cr3000
|
|
|
|
define Device/pcs_cr5000
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := PowerCloud Systems
|
|
DEVICE_MODEL := CR5000
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
IMAGE_SIZE := 7808k
|
|
SUPPORTED_DEVICES += cr5000
|
|
endef
|
|
TARGET_DEVICES += pcs_cr5000
|
|
|
|
define Device/phicomm_k2t
|
|
SOC := qca9563
|
|
DEVICE_VENDOR := Phicomm
|
|
DEVICE_MODEL := K2T
|
|
IMAGE_SIZE := 15744k
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
|
append-metadata | check-size
|
|
DEVICE_PACKAGES := kmod-leds-reset kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9888-ct
|
|
endef
|
|
TARGET_DEVICES += phicomm_k2t
|
|
|
|
define Device/pisen_ts-d084
|
|
$(Device/tplink-8mlzma)
|
|
SOC := ar9331
|
|
DEVICE_VENDOR := PISEN
|
|
DEVICE_MODEL := TS-D084
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-chipidea2
|
|
TPLINK_HWID := 0x07030101
|
|
endef
|
|
TARGET_DEVICES += pisen_ts-d084
|
|
|
|
define Device/pisen_wmb001n
|
|
SOC := ar9341
|
|
DEVICE_VENDOR := PISEN
|
|
DEVICE_MODEL := WMB001N
|
|
IMAGE_SIZE := 14080k
|
|
DEVICE_PACKAGES := kmod-i2c-gpio kmod-usb2
|
|
LOADER_TYPE := bin
|
|
LOADER_FLASH_OFFS := 0x20000
|
|
COMPILE := loader-$(1).bin loader-$(1).uImage
|
|
COMPILE/loader-$(1).bin := loader-okli-compile
|
|
COMPILE/loader-$(1).uImage := append-loader-okli $(1) | pad-to 64k | lzma | \
|
|
uImage lzma
|
|
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma -M 0x4f4b4c49
|
|
IMAGES += factory.bin
|
|
IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | pisen_wmb001n-factory $(1)
|
|
endef
|
|
TARGET_DEVICES += pisen_wmb001n
|
|
|
|
define Device/pisen_wmm003n
|
|
$(Device/tplink-8mlzma)
|
|
SOC := ar9331
|
|
DEVICE_VENDOR := PISEN
|
|
DEVICE_MODEL := Cloud Easy Power (WMM003N)
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-chipidea2
|
|
TPLINK_HWID := 0x07030101
|
|
endef
|
|
TARGET_DEVICES += pisen_wmm003n
|
|
|
|
define Device/qihoo_c301
|
|
$(Device/seama)
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := Qihoo
|
|
DEVICE_MODEL := C301
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct \
|
|
uboot-envtools
|
|
IMAGE_SIZE := 15744k
|
|
SEAMA_SIGNATURE := wrgac26_qihoo360_360rg
|
|
SUPPORTED_DEVICES += qihoo-c301
|
|
endef
|
|
TARGET_DEVICES += qihoo_c301
|
|
|
|
define Device/rosinson_wr818
|
|
SOC := qca9563
|
|
DEVICE_VENDOR := Rosinson
|
|
DEVICE_MODEL := WR818
|
|
IMAGE_SIZE := 15872k
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
|
endef
|
|
TARGET_DEVICES += rosinson_wr818
|
|
|
|
define Device/siemens_ws-ap3610
|
|
SOC := ar7161
|
|
DEVICE_VENDOR := Siemens
|
|
DEVICE_MODEL := WS-AP3610
|
|
IMAGE_SIZE := 14336k
|
|
BLOCKSIZE := 256k
|
|
LOADER_TYPE := bin
|
|
LOADER_FLASH_OFFS := 0x82000
|
|
COMPILE := loader-$(1).bin
|
|
COMPILE/loader-$(1).bin := loader-okli-compile
|
|
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma -M 0x4f4b4c49 | loader-okli $(1) 8128 | uImage none
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | uImage none
|
|
endef
|
|
TARGET_DEVICES += siemens_ws-ap3610
|
|
|
|
define Device/sitecom_wlr-7100
|
|
SOC := ar1022
|
|
DEVICE_VENDOR := Sitecom
|
|
DEVICE_MODEL := WLR-7100
|
|
DEVICE_VARIANT := v1 002
|
|
DEVICE_PACKAGES := ath10k-firmware-qca988x-ct kmod-ath10k-ct-smallbuffers kmod-usb2
|
|
IMAGES += factory.dlf
|
|
IMAGE/factory.dlf := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | check-size | \
|
|
senao-header -r 0x222 -p 0x53 -t 2
|
|
IMAGE_SIZE := 7488k
|
|
endef
|
|
TARGET_DEVICES += sitecom_wlr-7100
|
|
|
|
define Device/sitecom_wlr-8100
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := Sitecom
|
|
DEVICE_MODEL := WLR-8100
|
|
DEVICE_ALT0_VENDOR := Sitecom
|
|
DEVICE_ALT0_MODEL := X8 AC1750
|
|
DEVICE_PACKAGES := ath10k-firmware-qca988x-ct kmod-ath10k-ct kmod-usb2 kmod-usb3
|
|
SUPPORTED_DEVICES += wlr8100
|
|
IMAGES += factory.dlf
|
|
IMAGE/factory.dlf := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | check-size | \
|
|
senao-header -r 0x222 -p 0x56 -t 2
|
|
IMAGE_SIZE := 15424k
|
|
endef
|
|
TARGET_DEVICES += sitecom_wlr-8100
|
|
|
|
define Device/telco_t1
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := Telco
|
|
DEVICE_MODEL := T1
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-net-qmi-wwan \
|
|
kmod-usb-serial-option uqmi -swconfig -uboot-envtools
|
|
IMAGE_SIZE := 16192k
|
|
SUPPORTED_DEVICES += telco_electronics,tel-t1
|
|
endef
|
|
TARGET_DEVICES += telco_t1
|
|
|
|
define Device/teltonika_rut955
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := Teltonika
|
|
DEVICE_MODEL := RUT955
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-acm kmod-usb-net-qmi-wwan \
|
|
kmod-usb-serial-option kmod-hwmon-mcp3021 uqmi -uboot-envtools
|
|
IMAGE_SIZE := 15552k
|
|
TPLINK_HWID := 0x35000001
|
|
TPLINK_HWREV := 0x1
|
|
TPLINK_HEADER_VERSION := 1
|
|
KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
|
|
IMAGES += factory.bin
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs |\
|
|
pad-rootfs | teltonika-fw-fake-checksum | append-string master |\
|
|
append-md5sum-bin | check-size
|
|
IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) |\
|
|
append-rootfs | pad-rootfs | append-metadata |\
|
|
check-size
|
|
endef
|
|
TARGET_DEVICES += teltonika_rut955
|
|
|
|
define Device/teltonika_rut955-h7v3c0
|
|
$(Device/teltonika_rut955)
|
|
DEVICE_VARIANT := H7V3C0
|
|
endef
|
|
TARGET_DEVICES += teltonika_rut955-h7v3c0
|
|
|
|
define Device/trendnet_tew-823dru
|
|
SOC := qca9558
|
|
DEVICE_VENDOR := Trendnet
|
|
DEVICE_MODEL := TEW-823DRU
|
|
DEVICE_VARIANT := v1.0R
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
SUPPORTED_DEVICES += tew-823dru
|
|
IMAGE_SIZE := 15296k
|
|
IMAGES := factory.bin sysupgrade.bin
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | \
|
|
pad-rootfs
|
|
IMAGE/factory.bin := $$(IMAGE/default) | pad-offset $$$$(IMAGE_SIZE) 26 | \
|
|
append-string 00AP135AR9558-RT-131129-00 | check-size
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | \
|
|
check-size
|
|
endef
|
|
TARGET_DEVICES += trendnet_tew-823dru
|
|
|
|
define Device/wd_mynet-n750
|
|
$(Device/seama)
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := Western Digital
|
|
DEVICE_MODEL := My Net N750
|
|
IMAGE_SIZE := 15872k
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
SEAMA_SIGNATURE := wrgnd13_wd_av
|
|
SUPPORTED_DEVICES += mynet-n750
|
|
endef
|
|
TARGET_DEVICES += wd_mynet-n750
|
|
|
|
define Device/wd_mynet-wifi-rangeextender
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := Western Digital
|
|
DEVICE_MODEL := My Net Wi-Fi Range Extender
|
|
DEVICE_PACKAGES := rssileds nvram -swconfig
|
|
IMAGE_SIZE := 7808k
|
|
ADDPATTERN_ID := mynet-rext
|
|
ADDPATTERN_VERSION := 1.00.01
|
|
IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | cybertan-trx | \
|
|
addpattern | append-metadata
|
|
SUPPORTED_DEVICES += mynet-rext
|
|
endef
|
|
TARGET_DEVICES += wd_mynet-wifi-rangeextender
|
|
|
|
define Device/winchannel_wb2000
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := Winchannel
|
|
DEVICE_MODEL := WB2000
|
|
IMAGE_SIZE := 15872k
|
|
DEVICE_PACKAGES := kmod-i2c-gpio kmod-rtc-ds1307 kmod-usb2 \
|
|
kmod-usb-ledtrig-usbport
|
|
endef
|
|
TARGET_DEVICES += winchannel_wb2000
|
|
|
|
define Device/xiaomi_mi-router-4q
|
|
SOC := qca9561
|
|
DEVICE_VENDOR := Xiaomi
|
|
DEVICE_MODEL := Mi Router 4Q
|
|
IMAGE_SIZE := 14336k
|
|
endef
|
|
TARGET_DEVICES += xiaomi_mi-router-4q
|
|
|
|
define Device/yuncore_a770
|
|
SOC := qca9531
|
|
DEVICE_VENDOR := YunCore
|
|
DEVICE_MODEL := A770
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9887-ct
|
|
IMAGE_SIZE := 16000k
|
|
IMAGES += tftp.bin
|
|
IMAGE/tftp.bin := $$(IMAGE/sysupgrade.bin) | yuncore-tftp-header-16m
|
|
endef
|
|
TARGET_DEVICES += yuncore_a770
|
|
|
|
define Device/yuncore_a782
|
|
SOC := qca9563
|
|
DEVICE_VENDOR := YunCore
|
|
DEVICE_MODEL := A782
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
IMAGE_SIZE := 16000k
|
|
IMAGES += tftp.bin
|
|
IMAGE/tftp.bin := $$(IMAGE/sysupgrade.bin) | yuncore-tftp-header-16m
|
|
endef
|
|
TARGET_DEVICES += yuncore_a782
|
|
|
|
define Device/yuncore_xd4200
|
|
SOC := qca9563
|
|
DEVICE_VENDOR := YunCore
|
|
DEVICE_MODEL := XD4200
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
IMAGE_SIZE := 16000k
|
|
IMAGES += tftp.bin
|
|
IMAGE/tftp.bin := $$(IMAGE/sysupgrade.bin) | yuncore-tftp-header-16m
|
|
endef
|
|
TARGET_DEVICES += yuncore_xd4200
|
|
|
|
define Device/zbtlink_zbt-wd323
|
|
SOC := ar9344
|
|
DEVICE_VENDOR := ZBT
|
|
DEVICE_MODEL := WD323
|
|
IMAGE_SIZE := 16000k
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-i2c-gpio kmod-rtc-pcf8563 \
|
|
kmod-usb-serial kmod-usb-serial-cp210x uqmi
|
|
endef
|
|
TARGET_DEVICES += zbtlink_zbt-wd323
|
|
|
|
define Device/zyxel_nbg6616
|
|
SOC := qca9557
|
|
DEVICE_VENDOR := ZyXEL
|
|
DEVICE_MODEL := NBG6616
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-rtc-pcf8563 \
|
|
kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
IMAGE_SIZE := 15232k
|
|
RAS_BOARD := NBG6616
|
|
RAS_ROOTFS_SIZE := 14464k
|
|
RAS_VERSION := "OpenWrt Linux-$(LINUX_VERSION)"
|
|
IMAGES += factory.bin
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | pad-to 64k | check-size | zyxel-ras-image
|
|
SUPPORTED_DEVICES += nbg6616
|
|
endef
|
|
TARGET_DEVICES += zyxel_nbg6616
|