immortalwrt/tools/firmware-utils/src
Sander Vanheule 5d13d4c40a
ath79: support for TP-Link EAP225-Wall v2
TP-Link EAP225-Wall v2 is an AC1200 (802.11ac Wave-2) wall plate access
point. UART access and debricking require fine soldering.

The device was kindly provided for porting by Stijn Segers.

Device specifications:
* SoC: QCA9561 @ 775MHz
* RAM: 128MiB DDR2
* Flash: 16MiB SPI-NOR (GD25Q127CSIG)
* Wireless 2.4GHz (SoC): b/g/n, 2x2
* Wireless 5Ghz (QCA9886): a/n/ac, 2x2 MU-MIMO
* Ethernet (SoC): 4× 100Mbps
  * Eth0 (back): 802.3af/at PoE in
  * Eth1, Eth2 (bottom)
  * Eth3 (bottom): PoE out (can be toggled by GPIO)
* One status LED
* Two buttons (both work as failsafe)
  * LED button, implemented as KEY_BRIGHTNESS_TOGGLE
  * Reset button

Flashing instructions, requires recent firmware (tested on 1.20.0):
* ssh into target device and run `cliclientd stopcs`
* Upgrade with factory image via web interface

Debricking:
* Serial port can be soldered on PCB J4 (1: TXD, 2: RXD, 3: GND, 4: VCC)
    * Bridge unpopulated resistors R162 (TXD) and R165 (RXD)
      Do NOT bridge R164
    * Use 3.3V, 115200 baud, 8n1
* Interrupt bootloader by holding CTRL+B during boot
* tftp initramfs to flash via sysupgrade or LuCI web interface

MAC addresses:
MAC address (as on device label) is stored in device info partition at
an offset of 8 bytes. ath9k device has same address as ethernet, ath10k
uses address incremented by 1.
From OEM ifconfig:
    br0       Link encap:Ethernet  HWaddr 50:...:04
    eth0      Link encap:Ethernet  HWaddr 50:...:04
    wifi0     Link encap:UNSPEC  HWaddr 50-...-04-...
    wifi1     Link encap:UNSPEC  HWaddr 50-...-05-...

Signed-off-by: Sander Vanheule <sander@svanheule.net>
[fix IMAGE_SIZE]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-19 18:35:32 +08:00
..
add_header.c update source 2017-09-06 19:19:45 +08:00
addpattern.c tools/firmware-utils: use UTC for image timestamps 2020-08-07 17:46:36 +08:00
asustrx.c update source 2017-09-06 19:19:45 +08:00
bcm_tag.h update source 2017-09-06 19:19:45 +08:00
bcmalgo.c update source 2017-09-06 19:19:45 +08:00
bcmalgo.h update source 2017-09-06 19:19:45 +08:00
buffalo-enc.c update source 2017-09-06 19:19:45 +08:00
buffalo-lib.c update source 2017-09-06 19:19:45 +08:00
buffalo-lib.h update source 2017-09-06 19:19:45 +08:00
buffalo-tag.c update source 2017-09-06 19:19:45 +08:00
buffalo-tftp.c update source 2017-09-06 19:19:45 +08:00
csysimg.h update source 2017-09-06 19:19:45 +08:00
cyg_crc16.c update source 2017-09-06 19:19:45 +08:00
cyg_crc32.c update source 2017-09-06 19:19:45 +08:00
cyg_crc.h update source 2017-09-06 19:19:45 +08:00
dgfirmware.c firmware-utils/mksenaofw: fix possible memory leak 2020-01-21 14:33:54 +08:00
dgn3500sum.c update source 2017-09-06 19:19:45 +08:00
dns313-header.c firmware-utils/mksenaofw: fix possible memory leak 2020-01-21 14:33:54 +08:00
edimax_fw_header.c update source 2017-09-06 19:19:45 +08:00
encode_crc.c update source 2017-09-06 19:19:45 +08:00
fix-u-media-header.c update source 2017-09-06 19:19:45 +08:00
fw.h firmware-utils: mkfwimage: fix memcpy and strncpy usage 2020-07-12 11:57:40 +08:00
hcsmakeimage.c firmware-utils/hcsmakeimage: fix possible memory leak and resource leaks 2020-07-09 12:04:37 +08:00
imagetag_cmdline.c update source 2017-09-06 19:19:45 +08:00
imagetag_cmdline.h update source 2017-09-06 19:19:45 +08:00
imagetag.c update source 2017-09-06 19:19:45 +08:00
imagetag.ggo update source 2017-09-06 19:19:45 +08:00
jcgimage.c ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
lxlfw.c mkrasimage: fix segmentation fault 2020-03-02 17:53:40 +08:00
lzma2eva.c update source 2017-09-06 19:19:45 +08:00
makeamitbin.c update source 2017-09-06 19:19:45 +08:00
md5.c update source 2017-09-06 19:19:45 +08:00
md5.h update source 2017-09-06 19:19:45 +08:00
mkbrncmdline.c update source 2017-09-06 19:19:45 +08:00
mkbrnimg.c update source 2017-09-06 19:19:45 +08:00
mkbuffaloimg.c update source 2017-09-06 19:19:45 +08:00
mkcameofw.c update source 2017-09-06 19:19:45 +08:00
mkcasfw.c update source 2017-09-06 19:19:45 +08:00
mkchkimg.c mkchkimg: use higher version code 2020-06-11 11:58:42 +08:00
mkcsysimg.c update source 2017-09-06 19:19:45 +08:00
mkdapimg2.c ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
mkdapimg.c ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
mkdhpimg.c update source 2017-09-06 19:19:45 +08:00
mkdlinkfw-lib.c ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
mkdlinkfw-lib.h ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
mkdlinkfw.c ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
mkdniimg.c update source 2017-09-06 19:19:45 +08:00
mkedimaximg.c Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
mkfwimage2.c firmware-utils/mksenaofw: fix possible memory leak 2020-01-21 14:33:54 +08:00
mkfwimage.c firmware-utils: mkfwimage: fix memcpy and strncpy usage 2020-07-12 11:57:40 +08:00
mkheader_gemtek.c update source 2017-09-06 19:19:45 +08:00
mkhilinkfw.c update source 2017-09-06 19:19:45 +08:00
mkmerakifw-old.c update source 2017-09-06 19:19:45 +08:00
mkmerakifw.c update source 2017-09-06 19:19:45 +08:00
mkmylofw.c update source 2017-09-06 19:19:45 +08:00
mkplanexfw.c update source 2017-09-06 19:19:45 +08:00
mkporayfw.c update source 2017-09-06 19:19:45 +08:00
mkrasimage.c mkrasimage: fix segmentation fault 2020-03-02 17:53:40 +08:00
mkrtn56uimg.c update source 2017-09-06 19:19:45 +08:00
mksenaofw.c firmware-utils/mksenaofw: fix possible memory leak 2020-01-21 14:33:54 +08:00
mksercommfw.c ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
mktitanimg.c firmware-utils/mksenaofw: fix possible memory leak 2020-01-21 14:33:54 +08:00
mktitanimg.h update source 2017-09-06 19:19:45 +08:00
mktplinkfw2.c ramips: fix/tidy up 4M tplink-v2-image flash layouts 2020-08-03 21:00:46 +08:00
mktplinkfw-lib.c Merge branch 'master' of https://github.com/lede-project/source 2018-01-09 14:38:15 +08:00
mktplinkfw-lib.h Merge branch 'master' of https://github.com/lede-project/source 2018-01-09 14:38:15 +08:00
mktplinkfw.c firmware-utils/mksenaofw: fix possible memory leak 2020-01-21 14:33:54 +08:00
mkwrggimg.c update source 2017-09-06 19:19:45 +08:00
mkwrgimg.c update source 2017-09-06 19:19:45 +08:00
mkzcfw.c update source 2017-09-06 19:19:45 +08:00
mkzynfw.c update source 2017-09-06 19:19:45 +08:00
motorola-bin.c update source 2017-09-06 19:19:45 +08:00
myloader.h update source 2017-09-06 19:19:45 +08:00
nand_ecc.c update source 2017-09-06 19:19:45 +08:00
nec-enc.c ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
osbridge-crc.c update source 2017-09-06 19:19:45 +08:00
oseama.c update source 2017-09-06 19:19:45 +08:00
otrx.c Merge branch 'master' of https://github.com/lede-project/source 2018-01-09 14:38:15 +08:00
pc1crypt.c update source 2017-09-06 19:19:45 +08:00
ptgen.c firmware-utils: sync with upstream source 2020-07-23 01:14:02 +08:00
seama.c update source 2017-09-06 19:19:45 +08:00
seama.h update source 2017-09-06 19:19:45 +08:00
sha1.c update source 2017-09-06 19:19:45 +08:00
sha1.h update source 2017-09-06 19:19:45 +08:00
spw303v.c update source 2017-09-06 19:19:45 +08:00
srec2bin.c update source 2017-09-06 19:19:45 +08:00
tplink-safeloader.c ath79: support for TP-Link EAP225-Wall v2 2020-09-19 18:35:32 +08:00
trx2edips.c update source 2017-09-06 19:19:45 +08:00
trx2usr.c update source 2017-09-06 19:19:45 +08:00
trx.c update source 2017-09-06 19:19:45 +08:00
uimage_padhdr.c ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
utils.h firmware-utils: mkfwimage: fix memcpy and strncpy usage 2020-07-12 11:57:40 +08:00
wrt400n.c update source 2017-09-06 19:19:45 +08:00
xorimage.c Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
zyimage.c update source 2017-09-06 19:19:45 +08:00
zynos.h update source 2017-09-06 19:19:45 +08:00
zyxbcm.c update source 2017-09-06 19:19:45 +08:00