openwrt/target/linux
Michael Pratt 7a38578705 ath79: add support for Senao Engenius EAP300 v2
FCC ID: A8J-EAP300A

Engenius EAP300 v2 is an indoor wireless access point with a
100/10-BaseT ethernet port, 2.4 GHz wireless, internal antennas,
and 802.3af PoE.

**Specification:**

  - AR9341
  - 40 MHz reference clock
  - 16 MB FLASH			MX25L12845EMI-10G
  - 64 MB RAM
  - UART at J1			(populated)
  - Ethernet port with POE
  - internal antennas
  - 3 LEDs, 1 button		(power, eth, wlan) (reset)

**MAC addresses:**

  phy0  *:d3   art 0x1002 (label)
  eth0  *:d4   art 0x0/0x6

**Installation:**

  - if you get Failsafe Mode from failed flash:
      only use it to flash Original firmware from Engenius
      or risk kernel loop or halt which requires serial cable

  Method 1: Firmware upgrade page:

  OEM webpage at 192.168.1.1
  username and password "admin"
  Navigate to "Firmware" page from left pane
  Click Browse and select the factory.bin image
  Upload and verify checksum
  Click Continue to confirm and wait 3 minutes

  Method 2: Serial to load Failsafe webpage:

  After connecting to serial console and rebooting...
  Interrupt uboot with any key pressed rapidly
  execute `run failsafe_boot` OR `bootm 0x9fdf0000`
  wait a minute
  connect to ethernet and navigate to
  "192.168.1.1/index.htm"
  Select the factory.bin image and upload
  wait about 3 minutes

**Return to OEM:**

  If you have a serial cable, see Serial Failsafe instructions

  *DISCLAIMER*
  The Failsafe image is unique to Engenius boards.
  If the failsafe image is missing or damaged this will not work
  DO NOT downgrade to ar71xx this way, can cause kernel loop or halt

  The easiest way to return to the OEM software is the Failsafe image
  If you dont have a serial cable, you can ssh into openwrt and run

  `mtd -r erase fakeroot`

  Wait 3 minutes
  connect to ethernet and navigate to 192.168.1.1/index.htm
  select OEM firmware image from Engenius and click upgrade

**TFTP recovery** (unstable / not reliable):

  rename initramfs to 'vmlinux-art-ramdisk'
  make available on TFTP server at 192.168.1.101
  power board while holding or pressing reset button repeatedly

  NOTE: for some Engenius boards TFTP is not reliable
  try setting MTU to 600 and try many times

**Format of OEM firmware image:**

  The OEM software of EAP300 v2 is a heavily modified version
  of Openwrt Kamikaze. One of the many modifications
  is to the sysupgrade program. Image verification is performed
  simply by the successful ungzip and untar of the supplied file
  and name check and header verification of the resulting contents.
  To form a factory.bin that is accepted by OEM Openwrt build,
  the kernel and rootfs must have specific names
  and begin with the respective headers (uImage, squashfs).
  Then the files must be tarballed and gzipped.
  The resulting binary is actually a tar.gz file in disguise.
  This can be verified by using binwalk on the OEM firmware images,
  ungzipping then untaring.

  The OEM upgrade script is at /etc/fwupgrade.sh.

  OKLI kernel loader is required because the OEM software
  expects the kernel size to be no greater than 1536k
  and otherwise the factory.bin upgrade procedure would
  overwrite part of the kernel when writing rootfs.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
[clarify MAC address section, bump PKG_RELEASE for uboot-envtools]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:14 +00:00
..
apm821xx apm821xx: clean up target/subtarget features 2021-09-01 08:07:14 +00:00
arc770 arc770: drop support for kernel 4.14 2021-09-01 08:06:56 +00:00
archs38 treewide: use wpad-basic-wolfssl as default 2021-09-01 08:06:52 +00:00
armvirt kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
at91 at91: explicitly set CONFIG_USB_SUPPORT for sam9x subtarget 2021-09-01 08:06:54 +00:00
ath25 ath25: fix preinit Ethernet port configuration 2021-09-01 08:06:58 +00:00
ath79 ath79: add support for Senao Engenius EAP300 v2 2021-09-01 08:07:14 +00:00
bcm27xx kernel: bump 5.4 to 5.4.79 2021-09-01 08:07:13 +00:00
bcm47xx kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
bcm53xx kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
bcm63xx bcm63xx: reorganize board patches into fewer files 2021-09-01 08:07:07 +00:00
gemini kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
generic kernel: bump 5.4 to 5.4.79 2021-09-01 08:07:13 +00:00
imx6 kernel: bump 5.4 to 5.4.77 2021-09-01 08:07:12 +00:00
ipq40xx ipq40xx: DTS style updates for OpenMesh devices 2021-09-01 08:07:13 +00:00
ipq806x kernel: bump 5.4 to 5.4.79 2021-09-01 08:07:13 +00:00
ipq807x kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
kirkwood target: update SPDX license names 2021-09-01 08:07:01 +00:00
lantiq lantiq: clean up target/subtarget features 2021-09-01 08:07:14 +00:00
layerscape kernel: bump 5.4 to 5.4.79 2021-09-01 08:07:13 +00:00
malta kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
mediatek kernel: bump 5.4 to 5.4.77 2021-09-01 08:07:12 +00:00
mpc85xx kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
mvebu mvebu: add initial support for Globalscale ESPRESSObin-Ultra 2021-09-01 08:07:13 +00:00
mxs treewide: make dependency on kmod-usb-net selective 2021-09-01 08:06:49 +00:00
octeon kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
octeontx kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2021-09-01 08:07:04 +00:00
omap kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
oxnas kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
pistachio kernel: bump 5.4 to 5.4.77 2021-09-01 08:07:12 +00:00
ramips ramips: add license to TP-Link MR6400 v4's DTS 2021-09-01 08:07:14 +00:00
rockchip rockchip: remove unused config symbols 2021-09-01 08:07:09 +00:00
rtl838x rtl838x: Add switch and ethernet driver support for RTL839x SoCs 2021-09-01 08:07:11 +00:00
sunxi sunxi: add support for Libre Computer ALL-H3-CC H5 2021-09-01 08:07:11 +00:00
tegra treewide: update email address of Tomasz Maciej Nowak 2021-09-01 08:07:13 +00:00
uml kernel: bump 5.4 to 5.4.71 2021-09-01 08:07:05 +00:00
x86 x86: generic: disable CONFIG_EFI_VARS 2021-09-01 08:07:11 +00:00
zynq kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00