1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 13:29:16 +02:00
openwrt/package/boot
Michael Pratt 4ef86c620f ramips: add support for Senao Engenius EPG600
FCC ID: A8J-EPG600

Engenius EPG600 is an indoor wireless router with
1 Gb ethernet switch, dual-band wireless,
internal antenna plates, USB, and phone lines (not supported)

this board is a Senao device:
the hardware is equivalent to EnGenius ESR600 (except for phone lines)
the software is Senao SDK which is based on openwrt and uboot
which uses the legacy Senao header with Vendor / Product IDs
to verify the firmware upgrade image.

**Specification:**

  - MT7620 SOC		MIPS 24kec, 2.4 GHz WMAC, 2x2
  - RT5592N WLAN	PCI chip, 5 GHz, 2x2
  - QCA8337N Gb SW	RGMII GbE, SW P0 -- SOC P5, 5 LEDs
  - 40 MHz clock
  - 16 MB FLASH		MX25L12845EMI-10G
  - 64 MB RAM		NT5TU32M16
  - UART console	J2, populated
  - USB 2.0 port	direct to SOC
  - 6 GPIO LEDs		power, 2G, 5G, wps2g, wps5g, line
  - 3 buttons		reset, wps, "reg" (registeration)
  - 4 antennas		internal omni-directional plates

NOT YET SUPPORTED: VoIP

  - Si3050-FT + Si3019-FT	Voice DAA, SPI control, PCM data
  - Phone Ports "TEL", "LINE"	RJ11, 4P2C (2 pins)

**MAC addresses:**

  MAC address labeled as MAC ADDRESS
  MACs present in both wifi cal data and uboot environment

  eth0.1/phy1	----	*:82	rf 0x4
  phy0		----	*:83	factory 0x4
  eth0.2	MAC	*:b8	"wanaddr"

**Installation:**

  Method 1: Firmware upgrade page:

    (if you cannot access the APs webpage)
    factory reset with the reset button
    connect ethernet to a computer
    OEM webpage at 192.168.0.1
    username and password 'admin'

    Navigate to gear icon, "Device Management", "Tools"
    select the factory.dlf image
    Upload and verify checksum

  Method 2: Serial to upload initramfs:

    Follow directions for TFTP recovery
    upload and boot initramfs and do a sysupgrade

**TFTP recovery:**

  Requires UART serial console, reset button does nothing

  rename initramfs-kernel.bin to 'uImageEPG600'
  make available on TFTP server at 192.168.99.8
  power board, interrupt boot with "4"
  execute `tftpboot` and `bootm` (with the load address)

**Return to OEM:**

  Images from OEM are provided, but not compatible
  with openwrt sysupgrade. So it must be modified.

  Alternatively, back up all mtd partitions before flashing

**Note on switch registers:**

  The necessary registers needed for the QCA8337 switch
  can be read from interrupted boot (tftpboot, bootm)
  by using the following lines in the switch driver ar8327.c
  in the function 'ar8327_hw_config_of'
  where 'qca,ar8327-initvals' is parsed from DTS
  before the new register values are written:

    pr_info("0x04 %08x\n", ar8xxx_read(priv, AR8327_REG_PAD0_MODE));
    pr_info("0x08 %08x\n", ar8xxx_read(priv, AR8327_REG_PAD5_MODE));
    pr_info("0x0c %08x\n", ar8xxx_read(priv, AR8327_REG_PAD6_MODE));
    pr_info("0x10 %08x\n", ar8xxx_read(priv, AR8327_REG_POWER_ON_STRAP));

Signed-off-by: Michael Pratt <mcpratt@pm.me>
2023-02-18 16:55:35 +01:00
..
arm-trusted-firmware-bcm63xx trusted-firmware-a.mk: pass DTC path similar to u-boot.mk 2022-08-28 19:01:55 +01:00
arm-trusted-firmware-mediatek arm-trusted-firmware-mediatek: update to sources of 2022-08-31 2022-08-31 21:10:39 +01:00
arm-trusted-firmware-mvebu arm-trusted-firmware-mvebu: Use host flags for cryptest compilation 2022-12-31 19:55:42 +01:00
arm-trusted-firmware-rockchip
arm-trusted-firmware-sunxi arm-trusted-firmware-sunxi: Use common trusted-firmware-a.mk 2022-12-31 19:03:00 +01:00
arm-trusted-firmware-tools arm-trusted-firmware-tools: update to v2.7 2022-09-07 04:22:40 +01:00
at91bootstrap at91bootstrap: use sdmmc0 as booting media for sama5d27_som1_ek 2022-09-02 20:43:51 +02:00
fconfig
grub2 grub2: add missing license 2022-04-04 18:15:02 +02:00
imx-bootlets
kexec-tools kexec-tools: add kdump scripts util 2022-06-25 10:14:18 +02:00
kobs-ng
mt7623n-preloader
tfa-layerscape tfa-layerscape: Use trusted-firmware-a.mk 2022-12-31 20:02:09 +01:00
uboot-at91 uboot-at91: use sdmmc0 as booting media for sama5d27_som1_ek 2022-09-02 20:43:51 +02:00
uboot-bcm4908 uboot-bcm4908: update to the latest generic 2022-12-08 12:10:21 +01:00
uboot-envtools ramips: add support for Senao Engenius EPG600 2023-02-18 16:55:35 +01:00
uboot-fritz4040 uboot-fritz4040: build FritzBox 7520 variant 2022-10-20 17:42:06 +02:00
uboot-imx uboot-imx: pico-pi-imx7d: fix wrong make flags overriding 2022-07-12 09:25:43 +02:00
uboot-kirkwood uboot-kirkwood: build with kirkwood generic subtarget 2022-12-25 11:55:52 +01:00
uboot-lantiq uboot-lantiq: danube: fix hanging lzma kernel uncompression #2 2021-11-27 21:49:10 +01:00
uboot-layerscape layerscape: Switch LS1012A-FRDM initramfs to gzip 2022-11-27 13:18:29 +01:00
uboot-mediatek uboot-mediatek: Fix ramips/mt76x8 buildbot 2023-01-18 20:26:39 +00:00
uboot-mvebu uboot-mvebu: update to version 2023.01 2023-01-17 23:17:33 +01:00
uboot-mxs uboot-mxs: build with mxs generic subtarget 2022-12-25 11:55:52 +01:00
uboot-omap uboot-omap: build with omap generic subtarget 2022-12-25 11:55:54 +01:00
uboot-oxnas
uboot-rockchip uboot-rockchip: drop CONFIG_IDENT_STRING 2022-06-19 12:31:02 +02:00
uboot-sunxi arm-trusted-firmware-sunxi: Use common trusted-firmware-a.mk 2022-12-31 19:03:00 +01:00
uboot-tegra uboot-tegra: build with tegra generic subtarget 2022-12-25 11:55:53 +01:00
uboot-zynq uboot-zynq: build with zynq generic subtarget 2022-12-25 11:55:53 +01:00