mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
**SPECIFICATION:**
- Chipset: IPQ8072A+QCN5054+QCN5024+QCA80812
- Flash: NOR-8MB AND NAND-128MB
- Memory: 1Gb DDR
- IEEE 802.11: 802.11ax/ac/b/g/n
- 44 2.4G Wi-Fi standard 802.11b/g/n/ax
- 4*4 5.8G Wi-Fi Standard 802.11 a/n/ac/ax
- 2x 1 Gbps Ethernet (QCA8081) with 802.3at PoE input support
- 1x DC Port 12V 3A
- 4x Antenna IPEX Connector, 3dBi omni antennas
- Data Rate: 3657Mbps ( 2.4G: 1182Mbps (11ax 4x4); 5.8G: 2475Mbps (11ax 4x4))
- RF Power: 2.4g ≤ 20dBm; 5.8g ≤ 19dBm
- Max Power Consumption: ≤ 22W
**BACKUP YOUR STOCK FIRMWARE:**
- Put openwrt-*-initramfs-kernel.bin to your TFTP server and rename it to initramfs.bin
- Enable serial console and enter to u-boot cli and exec these commands:
```
tftpboot <your_tftp_server_ip>:initramfs.bin
bootm
```
- Once boot completed and you get the openwrt shell execute below commands:
```
device=<divice_name>
mkdir -p /tmp/fw_backup; cd /tmp/fw_backup
rootfs=$(cat /proc/mtd | grep \"rootfs\" | cut -d: -f1)
rootfs_1=$(cat /proc/mtd | grep \"rootfs_1\" | cut -d: -f1)
dd if=/dev/${rootfs} of=rootfs_${rootfs} bs=1M
dd if=/dev/${rootfs_1} of=rootfs_1_${rootfs_1} bs=1M
cp /sys/firmware/fdt fdt.dtb
md5sum * > md5sum
tar -cvzf /tmp/${device}.tar.gz .
sum=$(md5sum /tmp/${device}.tar.gz | cut -d' ' -f1)
mv /tmp/${device}.tar.gz /tmp/${device}_${sum}.tar.gz
echo "stock fw backup saved to: /tmp/${device}_${sum}.tar.gz"
```
- Upload/save your backup to a safe place.
**STOCK FIRMWARE RECOVERY:**
- Boot initramfs image
- Upload your backed-up stock fw tarball to the device
using scp or download it from the device using wget.
- Enter device ssh cli or tty and exec:
```
cd /tmp && wget <your_web_server_ip>/${stock_fw_backup}.tar.gz`
tar -xpzf ${stock_fw_backup}.tar.gz
rootfs=$(cat /proc/mtd | grep \"rootfs\" | cut -d: -f1)
rootfs_1=$(cat /proc/mtd | grep \"rootfs_1\" | cut -d: -f1)
ubiformat /dev/${rootfs} -y -f /tmp/rootfs_${rootfs}
ubiformat /dev/${rootfs_1} -y -f /tmp/rootfs_1_${rootfs_1}
reboot
```
**INSTALLATION:**
1. initramfs method
- Put openwrt-*-initramfs-kernel.bin to your TFTP server and rename it to initramfs.bin
- Enable serial console and enter to u-boot cli and exec these commands:
```
tftpboot <your_tftp_server_ip>:initramfs.bin
bootm
```
- Once boot completed and you get the openwrt shell execute below commands:
```
cd /tmp && wget <your_web_server_ip>/factory.ubi`
export rootfs=$(cat /proc/mtd | grep rootfs | cut -d: -f1)
export rootfs_1=$(cat /proc/mtd | grep rootfs_1 | cut -d: -f1)
ubiformat /dev/${rootfs} -y -f factory.ubi
ubiformat /dev/${rootfs_1} -y -f factory.ubi
reboot
```
2. u-boot nand-factory.bin image method
- Put openwrt-*-squashfs-nand-factory.bin to your TFTP server and enter u-boot cli and exec these commands:
```
tftpboot <your_tftp_server_ip>:factory.bin
#After downloading is finished:
imxtract 0x44000000 ubi
flash rootfs
flash rootfs_1
reset
```
Signed-off-by: Shubham Vishwakarma <shubhamvis98@fossfrog.in>
114 lines
3.6 KiB
Makefile
114 lines
3.6 KiB
Makefile
KERNEL_LOADADDR := 0x41080000
|
|
|
|
define Device/cig_wf194c4
|
|
DEVICE_TITLE := CIG WF194C4
|
|
DEVICE_DTS := qcom-ipq807x-wf194c4
|
|
DEVICE_DTS_CONFIG=config@hk09
|
|
SUPPORTED_DEVICES := cig,wf194c4
|
|
DEVICE_PACKAGES := ath11k-wifi-cig-wf194c4 aq-fw-download uboot-envtools kmod-usb3 kmod-usb2
|
|
endef
|
|
TARGET_DEVICES += cig_wf194c4
|
|
|
|
define Device/cig_wf196
|
|
DEVICE_TITLE := CIG WF196
|
|
DEVICE_DTS := qcom-ipq807x-wf196
|
|
DEVICE_DTS_CONFIG=config@hk14
|
|
SUPPORTED_DEVICES := cig,wf196
|
|
BLOCKSIZE := 256k
|
|
PAGESIZE := 4096
|
|
DEVICE_PACKAGES := ath11k-wifi-cig-wf196 aq-fw-download uboot-envtools kmod-usb3 kmod-usb2 \
|
|
ath11k-firmware-qcn9000
|
|
endef
|
|
TARGET_DEVICES += cig_wf196
|
|
|
|
define Device/edgecore_eap102
|
|
DEVICE_TITLE := Edgecore EAP102
|
|
DEVICE_DTS := qcom-ipq807x-eap102
|
|
DEVICE_DTS_CONFIG=config@ac02
|
|
SUPPORTED_DEVICES := edgecore,eap102
|
|
DEVICE_PACKAGES := ath11k-wifi-edgecore-eap102 kmod-usb2 kmod-usb3 uboot-envtools
|
|
endef
|
|
TARGET_DEVICES += edgecore_eap102
|
|
|
|
define Device/edgecore_oap102
|
|
DEVICE_TITLE := Edgecore OAP102
|
|
DEVICE_DTS := qcom-ipq807x-oap102
|
|
DEVICE_DTS_CONFIG=config@ac02
|
|
SUPPORTED_DEVICES := edgecore,oap102
|
|
DEVICE_PACKAGES := ath11k-wifi-edgecore-eap102 kmod-usb2 kmod-usb3 uboot-envtools
|
|
endef
|
|
TARGET_DEVICES += edgecore_oap102
|
|
|
|
define Device/edgecore_oap103
|
|
DEVICE_TITLE := Edgecore OAP103
|
|
DEVICE_DTS := qcom-ipq807x-oap103
|
|
DEVICE_DTS_CONFIG=config@ac02
|
|
SUPPORTED_DEVICES := edgecore,oap103
|
|
DEVICE_PACKAGES := ath11k-wifi-edgecore-oap103 kmod-usb2 kmod-usb3 uboot-envtools
|
|
endef
|
|
TARGET_DEVICES += edgecore_oap103
|
|
|
|
define Device/edgecore_eap106
|
|
DEVICE_TITLE := Edgecore EAP106
|
|
DEVICE_DTS := qcom-ipq807x-eap106
|
|
DEVICE_DTS_CONFIG=config@hk02
|
|
SUPPORTED_DEVICES := edgecore,eap106
|
|
DEVICE_PACKAGES := ath11k-wifi-edgecore-eap106 aq-fw-download kmod-usb2 kmod-usb3 uboot-envtools
|
|
endef
|
|
#TARGET_DEVICES += edgecore_eap106
|
|
|
|
define Device/emplus_wap380c
|
|
DEVICE_TITLE := Emplus WAP380C
|
|
DEVICE_DTS := qcom-ipq807x-wap380c
|
|
DEVICE_DTS_CONFIG=config@hk07
|
|
SUPPORTED_DEVICES := emplus,wap380c
|
|
DEVICE_PACKAGES := ath11k-wifi-emplus-wap380c uboot-envtools
|
|
endef
|
|
TARGET_DEVICES += emplus_wap380c
|
|
|
|
define Device/indio_um-345ax
|
|
DEVICE_TITLE := Indio UM-345AX
|
|
DEVICE_DTS := qcom-ipq807x-indio-um-345ax
|
|
DEVICE_DTS_CONFIG=config@hk09
|
|
SUPPORTED_DEVICES := indio,um-345ax
|
|
DEVICE_PACKAGES := ath11k-wifi-indio-um-345ax uboot-envtools
|
|
endef
|
|
TARGET_DEVICES += indio_um-345ax
|
|
|
|
define Device/sonicfi_rap650c
|
|
DEVICE_TITLE := SonicFi RAP650C
|
|
DEVICE_DTS := qcom-ipq807x-rap650c
|
|
DEVICE_DTS_CONFIG=config@hk09
|
|
SUPPORTED_DEVICES := sonicfi,rap650c
|
|
DEVICE_PACKAGES := ath11k-wifi-sonicfi-rap650c uboot-envtools
|
|
IMAGES := sysupgrade.tar nand-factory.bin nand-factory.ubi
|
|
IMAGE/nand-factory.ubi := append-ubi
|
|
endef
|
|
TARGET_DEVICES += sonicfi_rap650c
|
|
|
|
define Device/tplink_ex227
|
|
DEVICE_TITLE := TP-Link EX227
|
|
DEVICE_DTS := qcom-ipq807x-ex227
|
|
DEVICE_DTS_CONFIG=config@hk07
|
|
SUPPORTED_DEVICES := tplink,ex227
|
|
DEVICE_PACKAGES := ath11k-wifi-tplink-ex227
|
|
IMAGES := sysupgrade.tar nand-factory.bin nand-factory.ubi
|
|
IMAGE/sysupgrade.tar := sysupgrade-tar | append-metadata
|
|
IMAGE/nand-factory.bin := append-ubi | qsdk-ipq-factory-nand
|
|
IMAGE/nand-factory.ubi := append-ubi
|
|
endef
|
|
TARGET_DEVICES += tplink_ex227
|
|
|
|
define Device/tplink_ex447
|
|
DEVICE_TITLE := TP-Link EX447
|
|
DEVICE_DTS := qcom-ipq807x-ex447
|
|
DEVICE_DTS_CONFIG=config@hk09
|
|
SUPPORTED_DEVICES := tplink,ex447
|
|
DEVICE_PACKAGES := ath11k-wifi-tplink-ex447
|
|
IMAGES := sysupgrade.tar nand-factory.bin nand-factory.ubi
|
|
IMAGE/sysupgrade.tar := sysupgrade-tar | append-metadata
|
|
IMAGE/nand-factory.bin := append-ubi | qsdk-ipq-factory-nand
|
|
IMAGE/nand-factory.ubi := append-ubi
|
|
endef
|
|
TARGET_DEVICES += tplink_ex447
|