From 987d9028e12f37fcb3ca095efd6ffde6d7007469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=B9=8F?= Date: Fri, 16 Oct 2020 12:42:15 +0200 Subject: ath79: add support for Qxwlan E558 v2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Qxwlan E558 v2 is based on Qualcomm QCA9558 + AR8327. Specification: - 720/600/200 MHz (CPU/DDR/AHB) - 128 MB of RAM (DDR2) - 8/16 MB of FLASH (SPI NOR) - 2T2R 2.4 GHz (QCA9558) - 3x 10/100/1000 Mbps Ethernet (one port with PoE support) - 4x miniPCIe slot (USB 2.0 bus only) - 1x microSIM slot - 5x LED (4 driven by GPIO) - 1x button (reset) - 1x 3-pos switch - 1x DC jack for main power input (9-48 V) - UART (JP5) and LEDs (J8) headers on PCB Flash instruction: 1.Using tftp mode with UART connection and original LEDE image - Configure PC with static IP 192.168.1.10 and tftp server. - Rename "openwrt-ar71xx-generic-xxx-squashfs-sysupgrade.bin" to "firmware.bin" and place it in tftp server directory. - Connect PC with one of LAN ports, power up the router and press key "Enter" to access U-Boot CLI. - Use the following commands to update the device to LEDE: run lfw - After that the device will reboot and boot to LEDE. - Wait until all LEDs stops flashing and use the router. 2.Using httpd mode with Web UI connection and original LEDE image - Configure PC with static IP 192.168.1.xxx(2-255) and tftp server. - 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 leds flashing. - Open your browser and enter 192.168.1.1,You will see the upgrade interface, select "openwrt-ar71xx-generic-xxx-squashfs- sysupgrade.bin" and click the upgrade button. - After that the device will reboot and boot to LEDE. - Wait until all LEDs stops flashing and use the router. Signed-off-by: 张鹏 [cut out of bigger patch, keep swconfig, whitespace adjustments] Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/generic.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'target/linux/ath79/image') diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk index 71dc261b2c..528a63f629 100644 --- a/target/linux/ath79/image/generic.mk +++ b/target/linux/ath79/image/generic.mk @@ -1475,6 +1475,27 @@ define Device/qihoo_c301 endef TARGET_DEVICES += qihoo_c301 +define Device/qxwlan_e558-v2 + SOC := qca9558 + DEVICE_VENDOR := Qxwlan + DEVICE_MODEL := E558 + DEVICE_PACKAGES := kmod-usb2 +endef + +define Device/qxwlan_e558-v2-16m + $(Device/qxwlan_e558-v2) + DEVICE_VARIANT := v2 (16M) + IMAGE_SIZE := 15936k +endef +TARGET_DEVICES += qxwlan_e558-v2-16m + +define Device/qxwlan_e558-v2-8m + $(Device/qxwlan_e558-v2) + DEVICE_VARIANT := v2 (8M) + IMAGE_SIZE := 7744k +endef +TARGET_DEVICES += qxwlan_e558-v2-8m + define Device/qxwlan_e750a-v4 SOC := ar9344 DEVICE_VENDOR := Qxwlan -- cgit v1.2.3