openwrt/target/linux
Edward Chow 8122aa92fd ath79: add support for Linksys EA4500 v3
Add support for the Linksys EA4500 v3 wireless router

Hardware
--------
SoC:    Qualcomm Atheros QCA9558
RAM:    128M DDR2 (Winbond W971GG6KB-25)
FLASH:  128M SPI-NAND (Spansion S34ML01G100TFI00)
WLAN:   QCA9558 3T3R 802.11 bgn
        QCA9580 3T3R 802.11 an
ETH:    Qualcomm Atheros QCA8337
UART:   115200 8n1, same as ea4500 v2
USB:	1 single USB 2.0 host port
BUTTON: Reset - WPS
LED:    1x system-LED
        LEDs besides the ethernet ports are controlled
        by the ethernet switch

MAC Address:
 use        address(sample 1)    source
 label      94:10:3e:xx:xx:6f   caldata@cal_macaddr
 lan        94:10:3e:xx:xx:6f   $label
 wan        94:10:3e:xx:xx:6f   $label
 WiFi4_2G   94:10:3e:xx:xx:70   caldata@cal_ath9k_soc
 WiFi4_5G   94:10:3e:xx:xx:71   caldata@cal_ath9k_pci

Installation from Serial Console
------------

1. Connect to the serial console. Power up the device and interrupt
   autoboot when prompted

2. Connect a TFTP server reachable at 192.168.1.0/24
   (e.g. 192.168.1.66) to the ethernet port. Serve the OpenWrt
   initramfs image as "openwrt.bin"

3. To test OpenWrt only, go to step 4 and never execute step 5;
   To install, auto_recovery should be disabled first, and boot_part
   should be set to 1 if its current value is not.

   ath> setenv auto_recovery no
   ath> setenv boot_part 1
   ath> saveenv

4. Boot the initramfs image using U-Boot

   ath> setenv serverip 192.168.1.66
   ath> tftpboot 0x84000000 openwrt.bin
   ath> bootm

5. Copy the OpenWrt sysupgrade image to the device using scp and
   install it like a normal upgrade (with no need to keeping config
   since no config from "previous OpenWRT installation" could be kept
   at all)

   # sysupgrade -n /path/to/openwrt/sysupgrade.bin

Note: Like many other routers produced by Linksys, it has a dual
      firmware flash layout, but because I do not know how to handle
      it, I decide to disable it for more usable space. (That is why
      the "auto_recovery" above should be disabled before installing
      OpenWRT.) If someone is interested in generating factory
      firmware image capable to flash from stock firmware, as well as
      restoring the dual firmware layout, commented-out layout for the
      original secondary partitions left in the device tree may be a
      useful hint.

Installation from Web Interface
------------

1. Login to the router via its web interface (default password: admin)

2. Find the firmware update interface under "Connectivity/Basic"

3. Choose the OpenWrt factory image and click "Start"

4. If the router still boots into the stock firmware, it means that
   the OpenWrt factory image has been installed to the secondary
   partitions and failed to boot (since OpenWrt on EA4500 v3 does not
   support dual boot yet), and the router switched back to the stock
   firmware on the primary partitions. You have to install a stock
   firmware (e.g. 3.1.6.172023, downloadable from
   https://www.linksys.com/support-article?articleNum=148385 ) first
   (to the secondary partitions) , and after that, install OpenWrt
   factory image (to the primary partitions). After successful
   installation of OpenWrt, auto_recovery will be automatically
   disabled and router will only boot from the primary partitions.

Signed-off-by: Edward Chow <equu@openmail.cc>
(cherry picked from commit 50f727b773)
2022-11-12 18:45:59 +01:00
..
apm821xx kernel: bump 5.10 to 5.10.150 2022-11-01 13:56:10 +01:00
archs38 generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
armvirt generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
at91 kernel: bump 5.10 to 5.10.143 2022-09-17 15:58:25 +02:00
ath25 kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
ath79 ath79: add support for Linksys EA4500 v3 2022-11-12 18:45:59 +01:00
bcm27xx kernel: bump 5.10 to 5.10.152 2022-11-01 13:56:11 +01:00
bcm47xx generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
bcm53xx kernel: bump 5.10 to 5.10.150 2022-11-01 13:56:10 +01:00
bcm63xx kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
bcm4908 bcm4908: backport upstream BQL support for bcm4908_enet 2022-11-03 07:53:51 +01:00
bmips bmips: dgnd3700v2: fix network config 2022-06-07 21:36:58 +02:00
gemini generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
generic kernel: bump 5.10 to 5.10.152 2022-11-01 13:56:11 +01:00
imx imx: fix USB support 2022-03-11 00:04:05 +01:00
ipq40xx ipq40xx: fix ZTE MF289F port mapping 2022-11-05 22:49:43 +01:00
ipq806x kernel: bump 5.10 to 5.10.152 2022-11-01 13:56:11 +01:00
kirkwood generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
lantiq kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
layerscape kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
malta generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
mediatek kernel: bump 5.10 to 5.10.150 2022-11-01 13:56:10 +01:00
mpc85xx kernel: bump 5.10 to 5.10.150 2022-11-01 13:56:10 +01:00
mvebu mvebu: backport pending Turris Omnia LEDs improvements 2022-08-16 15:39:16 +02:00
mxs generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
octeon octeon: fix imagebuilder generation by introducing generic target 2022-10-23 14:21:03 +02:00
octeontx kernel: bump 5.10 to 5.10.138 2022-08-28 07:24:59 +02:00
omap generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
oxnas kernel: bump 5.10 to 5.10.150 2022-11-01 13:56:10 +01:00
pistachio kernel: mtd: backport extended dynamic partitions support 2022-10-27 08:41:33 +02:00
qoriq qoriq: fix typo in FEATURES 2022-11-11 16:25:29 +02:00
ramips ramips: backport TP-Link RE200 v3/v4 LED fix 2022-11-08 14:15:51 +01:00
realtek kernel: bump 5.10 to 5.10.146 2022-10-04 00:03:27 +02:00
rockchip kernel: bump 5.10 to 5.10.152 2022-11-01 13:56:11 +01:00
sunxi kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
tegra kernel: bump 5.10 to 5.10.132 2022-07-30 17:21:47 +02:00
uml generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
x86 kernel: bump 5.10 to 5.10.136 2022-08-14 21:06:53 +02:00
zynq generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
Makefile build: fix issues with targets installed via feeds 2022-09-27 13:45:03 +02:00