2015-12-11 21:12:14 +00:00
|
|
|
#
|
|
|
|
# Makefile for the Atheros AR71XX/AR724X/AR913X specific parts of the kernel
|
|
|
|
#
|
|
|
|
# Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
|
|
|
|
# Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License version 2 as published
|
|
|
|
# by the Free Software Foundation.
|
|
|
|
|
|
|
|
obj-y := prom.o setup.o irq.o common.o clock.o gpio.o
|
|
|
|
|
|
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
|
|
obj-$(CONFIG_PCI) += pci.o
|
|
|
|
|
|
|
|
#
|
|
|
|
# Devices
|
|
|
|
#
|
|
|
|
obj-y += dev-common.o
|
|
|
|
obj-$(CONFIG_ATH79_DEV_AP9X_PCI) += dev-ap9x-pci.o
|
|
|
|
obj-$(CONFIG_ATH79_DEV_DSA) += dev-dsa.o
|
|
|
|
obj-$(CONFIG_ATH79_DEV_ETH) += dev-eth.o
|
|
|
|
obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS) += dev-gpio-buttons.o
|
|
|
|
obj-$(CONFIG_ATH79_DEV_LEDS_GPIO) += dev-leds-gpio.o
|
|
|
|
obj-$(CONFIG_ATH79_DEV_M25P80) += dev-m25p80.o
|
|
|
|
obj-$(CONFIG_ATH79_DEV_NFC) += dev-nfc.o
|
|
|
|
obj-$(CONFIG_ATH79_DEV_SPI) += dev-spi.o
|
|
|
|
obj-$(CONFIG_ATH79_DEV_USB) += dev-usb.o
|
|
|
|
obj-$(CONFIG_ATH79_DEV_WMAC) += dev-wmac.o
|
|
|
|
|
|
|
|
#
|
|
|
|
# Miscellaneous objects
|
|
|
|
#
|
|
|
|
obj-$(CONFIG_ATH79_NVRAM) += nvram.o
|
|
|
|
obj-$(CONFIG_ATH79_PCI_ATH9K_FIXUP) += pci-ath9k-fixup.o
|
|
|
|
obj-$(CONFIG_ATH79_ROUTERBOOT) += routerboot.o
|
|
|
|
|
|
|
|
#
|
|
|
|
# Machines
|
|
|
|
#
|
2016-08-09 13:58:08 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_A60) += mach-a60.o
|
2017-06-27 21:26:03 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_WI2A_AC200I) += mach-wi2a-ac200i.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_ALFA_AP120C) += mach-alfa-ap120c.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ALFA_AP96) += mach-alfa-ap96.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ALFA_NX) += mach-alfa-nx.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ALL0258N) += mach-all0258n.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ALL0315N) += mach-all0315n.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ANTMINER_S1) += mach-antminer-s1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ANTMINER_S3) += mach-antminer-s3.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ANTROUTER_R1) += mach-antrouter-r1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
|
2017-03-31 11:37:31 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_AP121F) += mach-ap121f.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_AP132) += mach-ap132.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_AP136) += mach-ap136.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_AP143) += mach-ap143.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_AP147) += mach-ap147.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_AP152) += mach-ap152.o
|
2017-03-02 17:23:50 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_AP531B0) += mach-ap531b0.o
|
2016-10-06 00:19:17 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_AP90Q) += mach-ap90q.o
|
2017-12-18 13:51:28 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_AP91_5G) += mach-ap91-5g.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_AP96) += mach-ap96.o
|
2017-04-22 16:21:47 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_ARCHER_C25_V1) += mach-archer-c25-v1.o
|
2017-06-16 13:26:30 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_ARCHER_C58_V1) += mach-archer-c59-v1.o
|
2016-12-27 21:41:41 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_ARCHER_C59_V1) += mach-archer-c59-v1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ARCHER_C60_V1) += mach-archer-c60-v1.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_ARCHER_C7) += mach-archer-c7.o
|
2017-07-25 11:32:47 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_ARCHER_C7) += mach-archer-c7-v4.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_ARDUINO_YUN) += mach-arduino-yun.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_AW_NR580) += mach-aw-nr580.o
|
2016-11-08 13:45:00 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_BHR_4GRV2) += mach-bhr-4grv2.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_BHU_BXU2000N2_A) += mach-bhu-bxu2000n2-a.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_BSB) += mach-bsb.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_C55) += mach-c55.o
|
2016-10-05 12:53:11 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_C60) += mach-c60.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_CAP324) += mach-cap324.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_CAP4200AG) += mach-cap4200ag.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_CARAMBOLA2) += mach-carambola2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_CF_E316N_V2) += mach-cf-e316n-v2.o
|
ar71xx: add support for COMFAST CF-E320N v2 and CF-E520N/CF-E530N
As we already have support for CF-E316N v2 and many devices from
this vendor look similar, the support was included in existing
mach-*.c file, with few cleanups and fixes.
All 3 devices are based on Qualcomm/Atheros QCA9531 v2.
COMFAST CF-E320N v2 is a ceiling mount AP with PoE support.
Short specification:
- 650/393/216 MHz (CPU/DDR/AHB)
- 2x 10/100 Mbps Ethernet, both with PoE support
- 64 MB of RAM (DDR2)
- 16 MB of FLASH
- 2T2R 2.4 GHz, up to 22 dBm
- 2x internal antennas
- 1x RGB LED, 1x button
- UART (J1), GPIO (J9) and USB (J2) headers on PCB
- external watchdog (Pericon Technology PT7A7514)
COMFAST CF-E520N/CF-E530N are in-wall APs with USB and PoE support.
They seem to have different only the front panel.
Short specification:
- 650/393/216 MHz (CPU/DDR/AHB)
- 2x 10/100 Mbps Ethernet, WAN with PoE support
- 1x USB 2.0 (in CF-E520N covered by panel, available on PCB)
- 32 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz, up to 22 dBm
- 2x internal antennas
- 1x LED, 1x button
- UART (J1) headers on PCB
Flash instruction:
Original firmware is based on OpenWrt.
Use sysupgrade image directly in vendor GUI.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2016-10-05 00:24:58 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_CF_E320N_V2) += mach-cf-e316n-v2.o
|
2017-06-29 10:03:03 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_CF_E355AC) += mach-cf-e316n-v2.o
|
2018-02-07 03:47:52 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_CF_E375AC) += mach-cf-e316n-v2.o
|
ar71xx: add support for COMFAST CF-E380AC v1 and v2
COMFAST CF-E380AC v1/v2 is a ceiling mount AP with PoE
support, based on Qualcomm/Atheros QCA9558+QCA9880+AR8035.
There are two versions of this model, with different RAM
and U-Boot mtd partition sizes:
- v1: 128 MB of RAM, 128 KB U-Boot image size
- v2: 256 MB of RAM, 256 KB U-Boot image size
Version number is available only inside vendor GUI,
hardware and markings are the same.
Short specification:
- 720/600/200 MHz (CPU/DDR/AHB)
- 1x 10/100/1000 Mbps Ethernet, with PoE support
- 128 or 256 MB of RAM (DDR2)
- 16 MB of FLASH
- 3T3R 2.4 GHz, with external PA (SE2576L), up to 28 dBm
- 3T3R 5 GHz, with external PA (SE5003L1), up to 30 dBm
- 6x internal antennas
- 1x RGB LED, 1x button
- UART (T11), LEDs/GPIO (J7) and USB (T12) headers on PCB
- external watchdog (Pericon Technology PT7A7514)
Flash instruction:
Original firmware is based on OpenWrt.
Use sysupgrade image directly in vendor GUI.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2016-11-14 16:38:23 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_CF_E380AC_V1) += mach-cf-e316n-v2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_CF_E380AC_V2) += mach-cf-e316n-v2.o
|
ar71xx: add support for COMFAST CF-E320N v2 and CF-E520N/CF-E530N
As we already have support for CF-E316N v2 and many devices from
this vendor look similar, the support was included in existing
mach-*.c file, with few cleanups and fixes.
All 3 devices are based on Qualcomm/Atheros QCA9531 v2.
COMFAST CF-E320N v2 is a ceiling mount AP with PoE support.
Short specification:
- 650/393/216 MHz (CPU/DDR/AHB)
- 2x 10/100 Mbps Ethernet, both with PoE support
- 64 MB of RAM (DDR2)
- 16 MB of FLASH
- 2T2R 2.4 GHz, up to 22 dBm
- 2x internal antennas
- 1x RGB LED, 1x button
- UART (J1), GPIO (J9) and USB (J2) headers on PCB
- external watchdog (Pericon Technology PT7A7514)
COMFAST CF-E520N/CF-E530N are in-wall APs with USB and PoE support.
They seem to have different only the front panel.
Short specification:
- 650/393/216 MHz (CPU/DDR/AHB)
- 2x 10/100 Mbps Ethernet, WAN with PoE support
- 1x USB 2.0 (in CF-E520N covered by panel, available on PCB)
- 32 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz, up to 22 dBm
- 2x internal antennas
- 1x LED, 1x button
- UART (J1) headers on PCB
Flash instruction:
Original firmware is based on OpenWrt.
Use sysupgrade image directly in vendor GUI.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2016-10-05 00:24:58 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_CF_E520N) += mach-cf-e316n-v2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_CF_E530N) += mach-cf-e316n-v2.o
|
ar71xx: add support for P&W R602N and CPE505N
P&W (full name: Shenzhen Progress&Win Technologies) R602N (could be also
labeled as R602F, R602, etc.) is a simple N300 router with 5-port
10/100 Mbps switch, non-detachable antennas and USB.
CPE505 is an outdoor CPE with PoE support and detachable antennas.
Both devices are based on Qualcomm/Atheros QCA9531 v2.
Common specification:
- 650/597/216 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 16 MB of FLASH
- UART (J2) header on PCB
R602N specification:
- 5x 10/100 Mbps Ethernet
- 1x USB 2.0
- 2T2R 2.4 GHz with external LNA and PA (SE2576L), up to 28 dBm
- 2x external, non-detachable antennas
- 7x LED, 1x button
CPE505N specification:
- 2x 10/100 Mbps Ethernet (both ports support passive PoE 12-24 V)
- 2T2R 2.4 GHz with external LNA and PA (SKY65174-21), up to 30 dBm
- 2x external, detachable antennas (RP-SMA connectors)
- 1x RGB LED, 2x LEDs (in RJ45 sockets), 1x button
Flash instructions:
It seems that there are many different versions of the firmware which
these devices are shipped with. The generic/standard one is based on
some modified OpenWrt and LEDE firmware can be flashed directly from
vendor's webgui or with sysupgrade (root password is "admin123").
Before flashing, make sure (use "fw_printenv") that the kernel load
address in your device is set to "0x9f050000" (bootcmd variable is
"bootm 0x9f050000"). If your device uses different load address, you
should first change it, under vendor's firmware, with command:
fw_setenv bootcmd "bootm 0x9f050000 || bootm OLD_ADDRESS"
Where OLD_ADDRESS is previous kernel load address (in CPE505 version
I got access to, it was "0x9fe80000"). This will allow you to use
both the vendor's and LEDE firmware.
If version of your device contains empty U-Boot environment (you will
get information about this after issuing "fw_printenv"), you should
use U-Boot, serial line access and TFTP to perform firmware upgrade:
1. tftp 0x80060000 lede-ar71xx-generic-...-squashfs-sysupgrade.bin
2. erase 0x9f050000 +$filesize
3. cp.b $fileaddr 0x9f050000 $filesize
4. setenv bootcmd "bootm 0x9f050000 || bootm OLD_ADDRESS"
5. saveenv && reset
These devices contain also web recovery mode inside U-Boot. It can be
started with pressing the reset button for around 3 seconds just after
the device powerup. Web recovery panel is available on "192.168.10.9"
and to be able to use it, IP on your PC must be set to "192.168.10.10".
Make sure to change kernel load address before using recovery mode or
the U-Boot will not be able to load LEDE firmware.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-03-15 23:54:08 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_CPE505N) += mach-r602n.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_CPE510) += mach-cpe510.o
|
2016-10-08 01:36:35 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_CPE830) += mach-ap90q.o
|
2016-10-07 23:17:04 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_CPE870) += mach-cpe870.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_CR3000) += mach-cr3000.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_CR5000) += mach-cr5000.o
|
2016-07-18 17:39:57 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_DAP_2695_A1) += mach-dap-2695-a1.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_DB120) += mach-db120.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_DGL_5500_A1) += mach-dgl-5500-a1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_DHP_1565_A1) += mach-dhp-1565-a1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_DIR_505_A1) += mach-dir-505-a1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_DIR_600_A1) += mach-dir-600-a1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_DIR_615_C1) += mach-dir-615-c1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_DIR_615_I1) += mach-dir-615-i1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_DIR_825_B1) += mach-dir-825-b1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_DIR_825_C1) += mach-dir-825-c1.o
|
2016-10-11 18:32:26 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_DIR_869_A1) += mach-dir-869-a1.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_DLAN_HOTSPOT) += mach-dlan-hotspot.o
|
2015-12-11 21:12:14 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_DLAN_PRO_1200_AC) += mach-dlan-pro-1200-ac.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_DLAN_PRO_500_WP) += mach-dlan-pro-500-wp.o
|
2016-10-18 08:18:50 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_DOMYWIFI_DW33D) += mach-domywifi-dw33d.o
|
2017-10-23 11:30:20 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_DR342) += mach-dr344.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_DR344) += mach-dr344.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_DR531) += mach-dr531.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_DRAGINO2) += mach-dragino2.o
|
ar71xx: add support for WHQX E1700AC/E600G/E600GAC v2
WHQX E1700AC v2 is based on Qualcomm QCA9563 + QCA9880 + QCA8334.
Specification:
- 750/400/250 MHz (CPU/DDR/AHB)
- 128 MB of RAM (DDR2)
- 8/16 MB of FLASH (SPI NOR)
- 3T3R 2.4 GHz (QCA9563) with external FEM (SKY85309-11)
- 3T3R 5 GHz (QCA9880) with external FEM (SKY85728-11)
- 2x 10/100/1000 Mbps Ethernet (one port with PoE support)
- 1x miniPCIe slot (USB 2.0 bus only)
- 1x microSIM slot
- 1x USB 2.0
- 5x LED (4 driven by GPIO)
- 1x button (reset)
- 1x 2-pos switch
- 1x DC jack for main power input (9-48 V)
- UART (J5) and LEDs (J13) headers on PCB
WHQX E600G is based on Qualcomm QCA9531.
Specification:
- 650/391/216 MHz (CPU/DDR/AHB)
- 64/128 MB of RAM (DDR2)
- 8/16 MB of FLASH (SPI NOR)
- 2T2R 2.4 GHz (QCA9531) with external PA (LXK-6601)
- 2x 10/100 Mbps Ethernet (one port with PoE support)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 1x microSIM slot
- 5x LED (4 driven by GPIO)
- 1x button (reset)
- 1x DC jack for main power input (9-48 V)
- UART (J100), SIM (J34), JTAG (J5) and LEDs (J7) headers on PCB
WHQX E600GAC is based on Qualcomm QCA9531 + QCA9887.
Specification:
- 650/391/216 MHz (CPU/DDR/AHB)
- 64/128 MB of RAM (DDR2)
- 8/16 MB of FLASH (SPI NOR)
- 2T2R 2.4 GHz (QCA9531)
- 1T1R 5 GHz (QCA9887) with external FEM (SKY85703-11)
- 2x 10/100 Mbps Ethernet
- 6x LED (1x RGB, 5 driven by GPIO)
- 1x button (reset)
- 1x DC jack for main power input (9-12 V)
- UART (J100), USB (J102), JTAG (J5) and LEDs (J7) header on PCB
Important notice:
First version of these boards are using different mtd layout, with ART
data at the end. You should not use v2 images on v1 board because it
will result in lost of ART data!
Flash instruction (using U-Boot CLI and tftp server):
1. Configure PC with static IP 192.168.1.10 and tftp server.
2. Rename "sysupgrade" filename to "firmware.bin" and place it in tftp
server directory.
3. Connect PC with one of RJ45 ports, power up the board and press
"enter" key to access U-Boot CLI.
4. Use the following command to update the device to OpenWrt: "run lfw".
Flash instruction (using U-Boot web-based recovery):
1. Configure PC with static IP 192.168.1.xxx(2-254)/24.
2. Connect PC with one of RJ45 ports, press the reset button, power up
the board and keep button pressed for around 6-7 seconds, until LEDs
start flashing.
3. Open your browser and enter 192.168.1.1, select "sysupgrade" image
and click the upgrade button.
Signed-off-by: Peng Zhang <sd20@qxwlan.com>
[reworked: image generation code, mach-* files, commit description,
fixed minor code style issues, rebased on master]
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2018-01-05 09:38:05 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_E1700AC_V2) += mach-e1700ac-v2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_E600G_V2) += mach-e600g-v2.o
|
2016-10-06 21:46:38 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_EAP120) += mach-eap120.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_EAP300V2) += mach-eap300v2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_EAP7660D) += mach-eap7660d.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_EL_M150) += mach-el-m150.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_EL_MINI) += mach-el-mini.o
|
2017-04-14 17:08:17 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_ENS202EXT) += mach-ens202ext.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_EPG5000) += mach-epg5000.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ESR1750) += mach-esr1750.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ESR900) += mach-esr900.o
|
2018-01-15 15:45:16 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_EW_BALIN) += mach-ew-balin.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_EW_DORIN) += mach-ew-dorin.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_F9K1115V2) += mach-f9k1115v2.o
|
2016-12-30 10:53:21 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_FRITZ300E) += mach-fritz300e.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_GL_AR150) += mach-gl-ar150.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_GL_AR300) += mach-gl-ar300.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_GL_AR300M) += mach-gl-ar300m.o
|
2017-10-17 21:30:01 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_GL_AR750) += mach-gl-ar750.o
|
2015-12-11 21:12:14 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_GL_DOMINO) += mach-gl-domino.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_GL_INET) += mach-gl-inet.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_GL_MIFI) += mach-gl-mifi.o
|
2017-08-19 16:26:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_GL_USB150) += mach-gl-usb150.o
|
2018-02-15 17:42:45 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_GS_OOLITE_V1) += mach-gs-oolite-v1.o
|
2018-02-15 22:15:53 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_GS_OOLITE_V5_2) += mach-gs-oolite-v5-2.o
|
2017-04-27 03:09:27 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_HIVEAP_121) += mach-hiveap-121.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_HIWIFI_HC6361) += mach-hiwifi-hc6361.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_HORNET_UB) += mach-hornet-ub.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_JWAP003) += mach-jwap003.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_JWAP230) += mach-jwap230.o
|
ar71xx: add support for AR9331 based Hak5 devices
This adds support for AR9331 based Hak5 penetration testing tools:
- WiFi Pineapple NANO
- LAN Turtle
- Packet Squirrel
WiFi Pineapple NANO specifications:
- SoC: Atheros AR9331 (400 MHz)
- RAM: 64 MB (DDR2)
- FLASH: 16 MB
- WiFi: 1T1R AR9331 (built-in), 1T1R AR9271 (built-in via USB bus)
- Ethernet: 1x FE over USB (ASIX AX88772A)
- Ports: 2x RP-SMA for antennas, 1x USB 2.0 (host), 1x micro SD
- Power: USB 5 V, 1.5 A
- Other: status LED, reset button
LAN Turtle specifications:
- SoC: Atheros AR9331 (400 MHz)
- RAM: 64 MB (DDR2)
- FLASH: 16 MB
- WiFi: none
- Ethernet: 1x FE (AR9331), 1x FE over USB (Realtek RTL8152B)
- Ports: 1x RJ45, version dependent: micro SD or 3G SIM slot
- Power: USB 5 V, 0.5 A
- Other: status LED, reset button (inside, on PCB)
Packet Squirrel specifications:
- SoC: Atheros AR9331 (400 MHz)
- RAM: 64 MB (DDR2)
- FLASH: 16 MB
- WiFi: none
- Ethernet: 2x FE (AR9331)
- Ports: 2x RJ45, 1x USB 2.0
- Power: USB 5 V, 0.12 A
- Other: status LED, reset button, 4-way switch
Flash instructions for all 3 devices:
Original firmware is based on OpenWrt.
Use sysupgrade via SSH to flash.
Signed-off-by: Sebastian Kinne <contact@sebkinne.com>
[squashed commits, combined and reworked mach files, aligned board
naming with general convention, fixed minor issues, tested on real
hardware, reworded commit subject and description]
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2018-02-13 02:26:33 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_LAN_TURTLE) += mach-lan-turtle.o
|
2017-02-12 17:34:36 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_LIMA) += mach-lima.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_MC_MAC1200R) += mach-mc-mac1200r.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_MR12) += mach-mr12.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_MR16) += mach-mr16.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_MR1750) += mach-mr1750.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_MR18) += mach-mr18.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_MR600) += mach-mr600.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_MR900) += mach-mr900.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_MYNET_N600) += mach-mynet-n600.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_MYNET_N750) += mach-mynet-n750.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_MYNET_REXT) += mach-mynet-rext.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_MZK_W04NU) += mach-mzk-w04nu.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_MZK_W300NH) += mach-mzk-w300nh.o
|
ar71xx: add support for ALFA Network N5Q
ALFA Network N5Q is a successor of previous model, the N5 (outdoor
CPE/AP, based on Atheros AR7240 + AR9280). New version is based on
Atheros AR9344.
Specification:
- 550/400/200 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 2x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 2T2R 5 GHz (AR9344), with ext. PA (RFPA5542) and LNA, up to 27 dBm
- 8x LED (7 are driven by GPIO)
- 1x button (reset)
- external h/w watchdog (EM6324QYSP5B, disabled and not used)
- header for optional 802.3at/af PoE module
- DC jack for main power input (optional, not installed by default)
- UART header on PCB
Flash instruction:
You can use sysupgrade image directly in vendor firmare which is based
on OpenWrt/LEDE. Alternatively, you can use web recovery mode in U-Boot:
1. Configure PC with static IP 192.168.1.2/24.
2. Connect PC with one of RJ45 ports, press the reset button, power up
device, wait for first blink of all LEDs (indicates network setup),
then keep button for 3 following blinks and release it.
3. Open 192.168.1.1 address in your browser and upload sysupgrade image.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2018-01-05 10:35:45 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_N5Q) += mach-n5q.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_NBG460N) += mach-nbg460n.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_NBG6716) += mach-nbg6716.o
|
2017-05-08 10:28:38 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_RAMBUTAN) += mach-rambutan.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_OM2P) += mach-om2p.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_OM5P) += mach-om5p.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_OM5P_AC) += mach-om5pac.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_OM5P_ACv2) += mach-om5pacv2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_OMY_G1) += mach-omy-g1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_OMY_X1) += mach-omy-x1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ONION_OMEGA) += mach-onion-omega.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
|
2017-01-10 09:47:19 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_PQI_AIR_PEN) += mach-pqi-air-pen.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_QIHOO_C301) += mach-qihoo-c301.o
|
ar71xx: add support for ALFA Network R36A
ALFA Network R36A is a successor of the previous model, the R36 (Ralink
RT3050F based). New version is based on Qualcomm/Atheros QCA9531 v2.
Specification:
- 650/400/200 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 2x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 2T2R (QCA9531) 2.4 GHz, 2x u.fl connectors on PCB
- 1x USB 2.0 (power controlled by GPIO)
- 6x LED (5 of them are driven by GPIO)
- 2x button (reset, wifi/wps)
- external h/w watchdog (EM6324QYSP5B, disabled and not used)
- DC jack for main power input (12 V)
- UART header on PCB
Flash instruction:
You can use sysupgrade image directly in vendor firmware which is based
on LEDE/OpenWrt. Alternatively, you can use web recovery mode in U-Boot:
1. Configure PC with static IP 192.168.1.2/24.
2. Connect PC with one of RJ45 ports, press the reset button, power up
device, wait for first blink of all LEDs (indicates network setup),
then keep button for 3 following blinks and release it.
3. Open 192.168.1.1 address in your browser and upload sysupgrade image.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-12-28 10:07:54 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_R36A) += mach-r36a.o
|
ar71xx: add support for P&W R602N and CPE505N
P&W (full name: Shenzhen Progress&Win Technologies) R602N (could be also
labeled as R602F, R602, etc.) is a simple N300 router with 5-port
10/100 Mbps switch, non-detachable antennas and USB.
CPE505 is an outdoor CPE with PoE support and detachable antennas.
Both devices are based on Qualcomm/Atheros QCA9531 v2.
Common specification:
- 650/597/216 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 16 MB of FLASH
- UART (J2) header on PCB
R602N specification:
- 5x 10/100 Mbps Ethernet
- 1x USB 2.0
- 2T2R 2.4 GHz with external LNA and PA (SE2576L), up to 28 dBm
- 2x external, non-detachable antennas
- 7x LED, 1x button
CPE505N specification:
- 2x 10/100 Mbps Ethernet (both ports support passive PoE 12-24 V)
- 2T2R 2.4 GHz with external LNA and PA (SKY65174-21), up to 30 dBm
- 2x external, detachable antennas (RP-SMA connectors)
- 1x RGB LED, 2x LEDs (in RJ45 sockets), 1x button
Flash instructions:
It seems that there are many different versions of the firmware which
these devices are shipped with. The generic/standard one is based on
some modified OpenWrt and LEDE firmware can be flashed directly from
vendor's webgui or with sysupgrade (root password is "admin123").
Before flashing, make sure (use "fw_printenv") that the kernel load
address in your device is set to "0x9f050000" (bootcmd variable is
"bootm 0x9f050000"). If your device uses different load address, you
should first change it, under vendor's firmware, with command:
fw_setenv bootcmd "bootm 0x9f050000 || bootm OLD_ADDRESS"
Where OLD_ADDRESS is previous kernel load address (in CPE505 version
I got access to, it was "0x9fe80000"). This will allow you to use
both the vendor's and LEDE firmware.
If version of your device contains empty U-Boot environment (you will
get information about this after issuing "fw_printenv"), you should
use U-Boot, serial line access and TFTP to perform firmware upgrade:
1. tftp 0x80060000 lede-ar71xx-generic-...-squashfs-sysupgrade.bin
2. erase 0x9f050000 +$filesize
3. cp.b $fileaddr 0x9f050000 $filesize
4. setenv bootcmd "bootm 0x9f050000 || bootm OLD_ADDRESS"
5. saveenv && reset
These devices contain also web recovery mode inside U-Boot. It can be
started with pressing the reset button for around 3 seconds just after
the device powerup. Web recovery panel is available on "192.168.10.9"
and to be able to use it, IP on your PC must be set to "192.168.10.10".
Make sure to change kernel load address before using recovery mode or
the U-Boot will not be able to load LEDE firmware.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-03-15 23:54:08 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_R602N) += mach-r602n.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_R6100) += mach-r6100.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RB2011) += mach-rb2011.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RB4XX) += mach-rb4xx.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RB750) += mach-rb750.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RB91X) += mach-rb91x.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_RB922) += mach-rb922.o
|
2017-01-04 21:44:54 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_RB941) += mach-rb941.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_RB95X) += mach-rb95x.o
|
2017-02-07 11:06:33 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_RBSPI) += mach-rbspi.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_RBSXTLITE) += mach-rbsxtlite.o
|
2018-02-06 21:08:28 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_RE355) += mach-re450.o
|
2016-01-07 00:40:48 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_RE450) += mach-re450.o
|
2016-05-26 11:20:53 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_RME_EG200) += mach-rme-eg200.o
|
ar71xx: add support for Teltonika RUT900
Teltonika RUT900 is an industrial 3G router based on Atheros AR9344.
There are available 3 other models in RUT9xx series: RUT905, RUT950 and
RUT955, which differ in availability of additional I/O ports, built-in
GSM modem type, GPS antenna and other features. FCC ID of the RUT950
model (LTE module built-in): 2AET4-RUT950.
This patch adds support for the RUT900 model only but can be easily
extended to cover whole series. Also, as there are several different
3/4G modules (Huawei, Quectel, Telit) used in whole series, packages
required for WWAN support are not included by default. It is up to the
user to install required software for built-in modem.
Specification:
- 550/400/200 MHz (CPU/DDR/AHB)
- 128 MB of RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 4x 10/100 Mbps Ethernet, with passive PoE support on LAN1
- 2T2R 2,4 GHz (AR9344), with ext. PA (MGA-22103) and LNA
- built-in 3G module (example: Telit HE910-D)
- 2x miniSIM slot
- 2x RP-SMA/F (Wi-Fi), 2x SMA/F (3G)
- PCA9539 16-bit GPIO I2C expander
- 12x LED (4 are driven by AR9344, 7 by PCA9539)
- 1x button (reset)
- DC jack for main power input (9-30 V)
- UART available on PCB edge connector
Serial console pinout:
- RX: pin1 (square) on top side of the main PCB (AR9344 is on top)
- TX: pin1 (square) on bottom side
Flash instruction:
Vendor firmware is based on OpenWrt CC release. Use the "factory" image
directly in GUI (make sure to uncheck "keep settings") or in U-Boot web
based recovery. To avoid any problems, make sure to first update vendor
firmware to latest version - "factory" image was successfully tested on
device running "RUT9XX_R_00.03.960" firmware and U-Boot "3.0.1".
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-10-15 11:24:02 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_RUT9XX) += mach-rut9xx.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_RW2458N) += mach-rw2458n.o
|
2017-01-15 22:01:05 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_SC1750) += mach-sc1750.o
|
2017-01-15 22:01:03 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_SC300M) += mach-sc300m.o
|
2017-01-15 22:01:04 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_SC450) += mach-sc450.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_SMART_300) += mach-smart-300.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_SOM9331) += mach-som9331.o
|
ar71xx: add support for YunCore SR3200 and XD3200
YunCore SR3200 is a dual-band AC1200 router, based on Qualcomm/Atheros
QCA9563+QCA9882+QCA8337N.
YunCore XD3200 (FCC ID: 2ADUG-XD3200) is a dual-band AC1200 ceiling mount
AP with PoE support, based on Qualcomm/Atheros QCA9563+QCA9882+QCA8334.
Common specification:
- 775/650/258 MHz (CPU/DDR/AHB)
- 128 MB or RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 2T2R 2.4 GHz, with ext. PA (SKY65174-21), up to 30 dBm
- 2T2R 5 GHz, with ext. PA (SKY85405-11) and LNA (SKY85601-11), up to 30 dBm
SR3200 specification:
- 5x 10/100/1000 Mbps Ethernet
- 6x ext. RP-SMA antennas (actually, only 4 are connected with radio chips)
- 3x LED (+ 5x LED in RJ45 sockets), 1x button
- UART header on PCB
XD3200 specification:
- 2x 10/100/1000 Mbps Ethernet, with 802.3at PoE support (WAN port)
- 4x internal antennas
- 3 sets of LEDs on external PCB (+ 2x LED near RJ45 sockets), 1x button
- UART and JTAG (custom 6-pin, 2 mm pitch) headers on PCB
LED for 5 GHz WLAN is currently not supported on both devices as it is
connected directly to the QCA9882 radio chip.
Flash instruction under vendor firmware, using telnet/SSH:
1. If your firmware does not have root password, go to point 5
2. Connect PC with 192.168.1.x address to LAN or WAN port
3. Power up device, enter failsafe mode with button (no LED indicator!)
4. Change root password and reboot (mount_root, passwd ..., reboot -f)
5. Upload lede-ar71xx-...-sysupgrade.bin to /tmp using SCP
6. Connect PC with 192.168.188.x address to LAN port, SSH to 192.168.188.253
7. Invoke:
- cd /tmp
- fw_setenv bootcmd "bootm 0x9fe80000 || bootm 0x9f050000"
- mtd -e firmware -r write lede-ar71xx-...-sysupgrade.bin firmware
Flash instruction under U-Boot, using UART:
1. tftp 0x80060000 lede-ar71xx-...-sysupgrade.bin
2. erase 0x9f050000 +$filesize
3. cp.b $fileaddr 0x9f050000 $filesize
4. setenv bootcmd "bootm 0x9fe80000 || bootm 0x9f050000"
5. saveenv && reset
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2016-12-02 21:42:41 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_SR3200) += mach-sr3200.o
|
2018-02-16 19:30:38 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_T830) += mach-t830.o
|
2016-03-10 19:07:26 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TELLSTICK_ZNET_LITE) += mach-tellstick-znet-lite.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TEW_632BRP) += mach-tew-632brp.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TEW_673GRU) += mach-tew-673gru.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TEW_712BR) += mach-tew-712br.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TEW_732BR) += mach-tew-732br.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TEW_823DRU) += mach-tew-823dru.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_MR11U) += mach-tl-mr11u.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_MR13U) += mach-tl-mr13u.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_MR3020) += mach-tl-mr3020.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_MR3X20) += mach-tl-mr3x20.o
|
2017-05-25 19:51:37 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_MR6400) += mach-tl-mr6400.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WA701ND_V2) += mach-tl-wa701nd-v2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WA7210N_V2) += mach-tl-wa7210n-v2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WA801ND_V3) += mach-tl-wa801nd-v3.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WA830RE_V2) += mach-tl-wa830re-v2.o
|
2017-02-10 12:44:06 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WA850RE_V2) += mach-tl-wax50re.o
|
2017-06-09 15:11:39 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WA855RE_V1) += mach-tl-wax50re.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WA901ND) += mach-tl-wa901nd.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WA901ND_V2) += mach-tl-wa901nd-v2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WA901ND_V4) += mach-tl-wa901nd-v4.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WAX50RE) += mach-tl-wax50re.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WDR3320_V2) += mach-tl-wdr3320-v2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WDR3500) += mach-tl-wdr3500.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WDR4300) += mach-tl-wdr4300.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WDR6500_V2) += mach-tl-wdr6500-v2.o
|
2016-11-07 14:37:25 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WPA8630) += mach-tl-wpa8630.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR1041N_V2) += mach-tl-wr1041n-v2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR1043ND) += mach-tl-wr1043nd.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR1043ND_V2) += mach-tl-wr1043nd-v2.o
|
2016-12-16 11:50:34 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR1043ND_V4) += mach-tl-wr1043nd-v4.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR2543N) += mach-tl-wr2543n.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR703N) += mach-tl-wr703n.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR720N_V3) += mach-tl-wr720n-v3.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR741ND) += mach-tl-wr741nd.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR741ND_V4) += mach-tl-wr741nd-v4.o
|
2016-10-21 09:47:15 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR802N_V1) += mach-tl-wr802n.o
|
2017-11-14 13:15:18 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR802N_V2) += mach-tl-wr802n.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR810N) += mach-tl-wr810n.o
|
2017-11-10 21:18:09 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR810N_V2) += mach-tl-wr810n.o
|
2017-03-16 00:43:43 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR840N_V2) += mach-tl-wr841n-v9.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR841N_V1) += mach-tl-wr841n.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR841N_V8) += mach-tl-wr841n-v8.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR841N_V9) += mach-tl-wr841n-v9.o
|
ar71xx: add support for TP-Link TL-WR902AC v1
TP-Link TL-WR902AC v1 is a pocket-size, dual-band (AC750), successor of
TL-MR3020 (both devices use very similar enclosure, in same size). New
device is based on Qualcomm QCA9531 v2 + QCA9887. FCC ID: TE7WR902AC.
Specification:
- 650/391/216 MHz (CPU/DDR/AHB)
- 1x 10/100 Mbps Ethernet
- 1x USB 2.0 (GPIO-controlled power)
- 64 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz (QCA9531)
- 1T1R 5 GHz (QCA9887)
- 5x LED (GPIO-controlled), 2x button, 1x 3-pos switch
- UART pads on PCB (TP1 -> TX, TP2 -> RX, TP3 -> GND, TP4 -> 3V3, jumper
resitors are missing on TX/RX lines)
- 1x micro USB (for power only)
Flash instructions:
Use "factory" image under vendor GUI.
Recovery instructions:
This device contains tftp recovery mode inside U-Boot. You can use it to
flash LEDE (use "factory" image) or vendor firmware.
1. Configure PC with static IP 192.168.0.66/24 and tftp server.
2. Rename "lede-ar71xx-generic-tl-wr902ac-v1-squashfs-factory.bin"
to "wr902acv1_un_tp_recovery.bin" and place it in tftp server dir.
3. Connect PC with LAN port, press the reset button, power up the router
and keep button pressed until WPS LED lights up.
4. Router will download file from server, write it to flash and reboot.
Root access over serial line in vendor firmware: root/sohoadmin.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-07-02 16:32:38 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR902AC_V1) += mach-tl-wr902ac-v1.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR941ND) += mach-tl-wr941nd.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR941ND_V6) += mach-tl-wr941nd-v6.o
|
2016-12-12 14:59:03 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR940N_V4) += mach-tl-wr940n-v4.o
|
2017-03-08 20:10:05 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TL_WR942N_V1) += mach-tl-wr942n-v1.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_TUBE2H) += mach-tube2h.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_UBNT) += mach-ubnt.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_UBNT_UNIFIAC) += mach-ubnt-unifiac.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
|
ar71xx: add support for Samsung WAM250
Samsung WAM250 is a dual-band (selectable, not simultaneous) wireless
hub, dedicated for Samsung Shape Wireless Audio System. The device is
based on Atheros AR9344. FCC ID: A3LWAM250.
Specification:
- 560/450/225 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 2x 10/100 Mbps Ethernet
- 2T2R 2.4/5 GHz (AR9344), with ext. PA (SE2598L, SE5003L) and LNA
- 1x USB 2.0
- 4x LED (all are driven by GPIO)
- 2x button (reset, wps/speaker add)
- DC jack for main power input (14 V)
- UART header on PCB (J4, RX: 3, TX: 5)
Flash instruction:
This device uses dual-image (switched between upgrades) with a common
jffs2 config partition. Fortunately, there is a way to disable this mode
so that more flash space can be used by OpenWrt image.
You can easily access this device over telnet, using root/root
credentials (the same also work for serial console access).
1. Make sure that your device uses second (bootpart=2) image using
command: "fw_printenv bootpart".
2. If your device uses first image (bootpart=1), perform upgrade to the
latest vendor firmware (after the update, device should boot from
second partition) using web gui (default login: admin/1234567890).
3. Rename "sysupgrade" image to "firmware.bin", download it (you can use
wget, tftp or ftpget) to "/tmp" and issue below commands:
mtd_debug erase /dev/mtd3 0 $(wc -c /tmp/firmware.bin | awk -F' ' '{print $1}')
mtd_debug write /dev/mtd3 0 $(wc -c /tmp/firmware.bin)
fw_setenv bootpart
fw_setenv bootcmd "bootm 0x9f070000"
reboot
Revert to vendor firmware instruction:
1. Download vendor firmware to "/tmp" device and issue below commands:
fw_setenv bootpart 1
sysupgrade -n -F SS_BHUB_v2.2.05.bin
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2018-02-08 21:28:07 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_WAM250) += mach-wam250.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_WEIO) += mach-weio.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WHR_HP_G300N) += mach-whr-hp-g300n.o
|
ar71xx: add support for AR9331 based Hak5 devices
This adds support for AR9331 based Hak5 penetration testing tools:
- WiFi Pineapple NANO
- LAN Turtle
- Packet Squirrel
WiFi Pineapple NANO specifications:
- SoC: Atheros AR9331 (400 MHz)
- RAM: 64 MB (DDR2)
- FLASH: 16 MB
- WiFi: 1T1R AR9331 (built-in), 1T1R AR9271 (built-in via USB bus)
- Ethernet: 1x FE over USB (ASIX AX88772A)
- Ports: 2x RP-SMA for antennas, 1x USB 2.0 (host), 1x micro SD
- Power: USB 5 V, 1.5 A
- Other: status LED, reset button
LAN Turtle specifications:
- SoC: Atheros AR9331 (400 MHz)
- RAM: 64 MB (DDR2)
- FLASH: 16 MB
- WiFi: none
- Ethernet: 1x FE (AR9331), 1x FE over USB (Realtek RTL8152B)
- Ports: 1x RJ45, version dependent: micro SD or 3G SIM slot
- Power: USB 5 V, 0.5 A
- Other: status LED, reset button (inside, on PCB)
Packet Squirrel specifications:
- SoC: Atheros AR9331 (400 MHz)
- RAM: 64 MB (DDR2)
- FLASH: 16 MB
- WiFi: none
- Ethernet: 2x FE (AR9331)
- Ports: 2x RJ45, 1x USB 2.0
- Power: USB 5 V, 0.12 A
- Other: status LED, reset button, 4-way switch
Flash instructions for all 3 devices:
Original firmware is based on OpenWrt.
Use sysupgrade via SSH to flash.
Signed-off-by: Sebastian Kinne <contact@sebkinne.com>
[squashed commits, combined and reworked mach files, aligned board
naming with general convention, fixed minor issues, tested on real
hardware, reworded commit subject and description]
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2018-02-13 02:26:33 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_WIFI_PINEAPPLE_NANO) += mach-wifi-pineapple-nano.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_WLAE_AG300N) += mach-wlae-ag300n.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WLR8100) += mach-wlr8100.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WNDAP360) += mach-wndap360.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WNDR3700) += mach-wndr3700.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WNDR4300) += mach-wndr4300.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WNR2000) += mach-wnr2000.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WNR2000_V3) += mach-wnr2000-v3.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WNR2000_V4) += mach-wnr2000-v4.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WNR2200) += mach-wnr2200.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WP543) += mach-wp543.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WPE72) += mach-wpe72.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WPJ342) += mach-wpj342.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WPJ344) += mach-wpj344.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WPJ531) += mach-wpj531.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WPJ558) += mach-wpj558.o
|
2017-02-26 11:25:57 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_WPJ563) += mach-wpj563.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_WRT160NL) += mach-wrt160nl.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WRT400N) += mach-wrt400n.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WRTNODE2Q) += mach-wrtnode2q.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WZR_450HP2) += mach-wzr-450hp2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WZR_HP_AG300H) += mach-wzr-hp-ag300h.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH) += mach-wzr-hp-g300nh.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2) += mach-wzr-hp-g300nh2.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_WZR_HP_G450H) += mach-wzr-hp-g450h.o
|
ar71xx: add support for YunCore SR3200 and XD3200
YunCore SR3200 is a dual-band AC1200 router, based on Qualcomm/Atheros
QCA9563+QCA9882+QCA8337N.
YunCore XD3200 (FCC ID: 2ADUG-XD3200) is a dual-band AC1200 ceiling mount
AP with PoE support, based on Qualcomm/Atheros QCA9563+QCA9882+QCA8334.
Common specification:
- 775/650/258 MHz (CPU/DDR/AHB)
- 128 MB or RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 2T2R 2.4 GHz, with ext. PA (SKY65174-21), up to 30 dBm
- 2T2R 5 GHz, with ext. PA (SKY85405-11) and LNA (SKY85601-11), up to 30 dBm
SR3200 specification:
- 5x 10/100/1000 Mbps Ethernet
- 6x ext. RP-SMA antennas (actually, only 4 are connected with radio chips)
- 3x LED (+ 5x LED in RJ45 sockets), 1x button
- UART header on PCB
XD3200 specification:
- 2x 10/100/1000 Mbps Ethernet, with 802.3at PoE support (WAN port)
- 4x internal antennas
- 3 sets of LEDs on external PCB (+ 2x LED near RJ45 sockets), 1x button
- UART and JTAG (custom 6-pin, 2 mm pitch) headers on PCB
LED for 5 GHz WLAN is currently not supported on both devices as it is
connected directly to the QCA9882 radio chip.
Flash instruction under vendor firmware, using telnet/SSH:
1. If your firmware does not have root password, go to point 5
2. Connect PC with 192.168.1.x address to LAN or WAN port
3. Power up device, enter failsafe mode with button (no LED indicator!)
4. Change root password and reboot (mount_root, passwd ..., reboot -f)
5. Upload lede-ar71xx-...-sysupgrade.bin to /tmp using SCP
6. Connect PC with 192.168.188.x address to LAN port, SSH to 192.168.188.253
7. Invoke:
- cd /tmp
- fw_setenv bootcmd "bootm 0x9fe80000 || bootm 0x9f050000"
- mtd -e firmware -r write lede-ar71xx-...-sysupgrade.bin firmware
Flash instruction under U-Boot, using UART:
1. tftp 0x80060000 lede-ar71xx-...-sysupgrade.bin
2. erase 0x9f050000 +$filesize
3. cp.b $fileaddr 0x9f050000 $filesize
4. setenv bootcmd "bootm 0x9fe80000 || bootm 0x9f050000"
5. saveenv && reset
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2016-12-02 21:42:41 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_XD3200) += mach-sr3200.o
|
2016-09-29 09:17:46 +00:00
|
|
|
obj-$(CONFIG_ATH79_MACH_Z1) += mach-z1.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ZBT_WE1526) += mach-zbt-we1526.o
|
|
|
|
obj-$(CONFIG_ATH79_MACH_ZCN_1523H) += mach-zcn-1523h.o
|