User Tools

Site Tools


toh:ubiquiti:ubiquiti_edgeswitch_8xp

Ubiquiti EdgeSwitch 8XP

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/useless stuff. Two to four sentences is about right. A picture is good, too. Edit the page to see how to add pictures.

FIXME Any text with a light background (like this one) provides instructions for creating the Details Page. When you have filled in correct/useful information (instead of any template that's there) remove the instructions, as well as the <WRAP> that encloses it.

Generic Router

FIXME

Getting started with a new Device Page

  1. This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that you have to fill it with life and information.
  2. There are several “fixme” tags with text on a light background (like this text) throughout this template. As you fill in the page, remove those tags so that people can judge its completeness.
  3. When there are no more “fixme” tags left, delete this one too, along with the <WRAP> that encloses it.

Keep the articles modular

  • Please include only model specific information, omit bla,bla and put everything generic into separate articles
  • If you have no time to write certain stuff, link to docs
  • base-system should lead the way, do not explain this again
  • DO NOT provide a complete howto here! Instead groom the general documentation.

Supported Versions

Hardware Highlights

Installation

Flash Layout

FIXME Find out flash layout, then add the flash layout table here (copy, paste, modify the example).

Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.

OEM easy installation

FIXME The instructions below are for Broadcom devices and only serve as an example.
Remove / modify them if they do not apply to this particular device!

This section deals with

  • How you install OpenWrt from a device freshly opened
  • The steps required such as reset to factory defaults if the device has already been configured

Note: Reset router to factory defaults if it has been previously configured.

  • Browse to http://192.168.1.1/Upgrade.asp
  • Upload .bin file to router
  • Wait for it to reboot
  • Telnet to 192.168.1.1 and set a root password, or browse to http://192.168.1.1 if LuCI is installed.

OEM installation using the TFTP method

Specific values needed for tftp

FIXME Enter values for “FILL-IN” below

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain “tftp”)
TFTP transfer window FILL-IN seconds
TFTP window start approximately FILL-IN seconds after power on
TFTP client required IP address FILL-IN

Upgrading OpenWrt

generic.sysupgrade

FIXME These are generic instructions. Update with your router's specifics.

LuCI Web Upgrade Process

  • Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
  • Upload image file for sysupgrade to LuCI
  • Wait for reboot

Terminal Upgrade Process

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

mtd

If sysupgrade does not support this router, use mtd.

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Debricking

Failsafe mode

Basic configuration

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Specific Configuration

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Network interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan EXAMPLE LAN & WiFi EXAMPLE 192.168.1.1/24
vlan0 (eth0.0) EXAMPLE LAN ports (1 to 4) EXAMPLE None
vlan1 (eth0.1) EXAMPLE WAN port EXAMPLE DHCP
wl0 EXAMPLE WiFi EXAMPLE Disabled

Switch Ports (for VLANs)

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

Buttons

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The Ubiquiti EdgeSwitch 8XP has the following buttons:

BUTTON Event
EXAMPLE Reset reset
EXAMPLE Secure Easy Setup ses
EXAMPLE No buttons at all. -

Hardware

Info

General
Brand Ubiquiti
Model EdgeSwitch 8XP (ES-8XP)
Versions
Device Type other
Availability Available 2020
Comments - general
OpenWrt Support
Supported Since Commit https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=b6946542f85014096c08f58c3c0acbbfe623a734
Supported Since Release
Supported Current Release snapshot
Unsupported
Hardware
Bootloader U-Boot
Target ath79
System-On-Chip
CPU MHz 400
Flash MB 8
RAM MB 64
Network
Ethernet 100M ports 1
Ethernet Gbit ports 8
Switch BCM53128
Modem -
VLAN Yes
Comments - network ports
Wireless
WLAN 2.4GHz -
WLAN 5.0GHz -
WLAN Hardware -
Detachable Antennas -
Comments - WLAN
Interfaces
USB ports 1x 2.0
SATA ports -
Serial Yes
JTAG ¿
Comments - USB & SATA ports
Misc
LED count 4
Button count 1
Power supply 24V/48V Passive PoE, PoE 802.3af/at
Links
Forum Topic URL
WikiDevi URL
OEM device homepage URL https://www.ui.com/edgemax/edgeswitch-xp/
Firmware OEM Stock URL http://¿
Firmware OpenWrt Install URL
Firmware OpenWrt Upgrade URL
Edit the underlying data View/Edit data

Photos

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

Opening the case

Note: This will void your warranty!

FIXME Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, …

  • To remove the cover and open the device, do a/b/c

Main PCB:
Insert photo of PCB

Serial

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port

Serial connection parameters
for Ubiquiti EdgeSwitch 8XP
115200, 8N1

JTAG

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

Bootloader mods

Bootlogs

OEM bootlog

COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE


OpenWrt bootlog

BusyBox v1.31.1 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt SNAPSHOT, r13655-7da3c3b491 ----------------------------------------------------- root@OpenWrt:~# dmesg [ 0.000000] Linux version 5.4.48 (@) (gcc version 9.3.0 (OpenWrt GCC 9.3.0 r12991-75ef28be59)) #0 Sun Jun 28 00:27:36 2020 [ 0.000000] printk: bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) [ 0.000000] MIPS: machine is Ubiquiti EdgeSwitch 8XP [ 0.000000] SoC: Atheros AR7242 rev 1 [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] Normal zone: 144 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 57472K/65536K available (4677K kernel code, 183K rwdata, 1100K rodata, 1200K init, 196K bss, 8064K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 51 [ 0.000000] random: get_random_bytes called from start_kernel+0x32c/0x518 with crng_init=0 [ 0.000000] CPU clock: 390.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns [ 0.000012] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns [ 0.007881] Calibrating delay loop... 259.58 BogoMIPS (lpj=519168) [ 0.046033] pid_max: default: 32768 minimum: 301 [ 0.050874] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.058166] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.073374] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.083133] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.090098] pinctrl core: initialized pinctrl subsystem [ 0.096812] NET: Registered protocol family 16 [ 0.150647] clocksource: Switched to clocksource MIPS [ 0.157461] NET: Registered protocol family 2 [ 0.163155] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.171559] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.179208] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.186251] TCP: Hash tables configured (established 1024 bind 1024) [ 0.192817] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.199401] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.206834] NET: Registered protocol family 1 [ 0.211274] PCI: CLS 0 bytes, default 32 [ 0.220617] workingset: timestamp_bits=14 max_order=14 bucket_order=0 [ 0.238405] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.244280] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.275211] pinctrl-single 18040028.pinmux: 64 pins, size 8 [ 0.282339] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.289760] printk: console [ttyS0] disabled [ 0.294164] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 12187500) is a 16550A [ 0.302852] printk: console [ttyS0] enabled [ 0.311250] printk: bootconsole [early0] disabled [ 0.330398] gpio_spi@0 enforce active low on chipselect handle [ 0.342276] spi-nor spi0.0: mx25l6405d (8192 Kbytes) [ 0.347421] 5 fixed-partitions partitions found on MTD device spi0.0 [ 0.353808] Creating 5 MTD partitions on "spi0.0": [ 0.358650] 0x000000000000-0x000000040000 : "u-boot" [ 0.365085] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.371893] 0x000000050000-0x0000007b0000 : "firmware" [ 0.382794] 2 uimage-fw partitions found on MTD device firmware [ 0.388789] Creating 2 MTD partitions on "firmware": [ 0.393796] 0x000000000000-0x0000001f0000 : "kernel" [ 0.400096] 0x0000001f0000-0x000000760000 : "rootfs" [ 0.406463] mtd: device 4 (rootfs) set to be root filesystem [ 0.414988] 1 squashfs-split partitions found on MTD device rootfs [ 0.421297] 0x0000005c0000-0x000000760000 : "rootfs_data" [ 0.428125] 0x0000007b0000-0x0000007f0000 : "cfg" [ 0.434273] 0x0000007f0000-0x000000800000 : "art" [ 0.443529] libphy: Fixed MDIO Bus: probed [ 1.107114] libphy: ag71xx_mdio: probed [ 1.113016] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY] [ 1.123111] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii-rxid [ 1.130712] random: fast init done [ 1.452802] ag71xx 1a000000.eth: connected to PHY at fixed-0:01 [uid=00000000, driver=Generic PHY] [ 1.462904] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: gmii [ 1.469353] i2c /dev entries driver [ 1.475648] NET: Registered protocol family 10 [ 1.487511] Segment Routing with IPv6 [ 1.491431] NET: Registered protocol family 17 [ 1.496007] 8021q: 802.1Q VLAN Support v1.8 [ 1.501478] PCI host bridge /ahb/apb/pcie-controller@180c0000 ranges: [ 1.508073] MEM 0x0000000010000000..0x0000000013ffffff [ 1.513336] IO 0x0000000000000000..0x0000000000000000 [ 1.518605] ar724x-pci 180c0000.pcie-controller: PCIe link is down [ 1.525051] PCI host bridge to bus 0000:00 [ 1.529219] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff] [ 1.536135] pci_bus 0000:00: root bus resource [io 0x0000] [ 1.541746] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 1.548571] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 1.558110] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 [ 1.574901] gpio-export gpio-export: 16 gpio(s) exported [ 1.591945] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 1.609140] Freeing unused kernel memory: 1200K [ 1.613720] This architecture does not have kernel memory protection. [ 1.620185] Run /sbin/init as init process [ 3.193654] init: Console is alive [ 3.197562] init: - watchdog - [ 5.571722] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.667756] usbcore: registered new interface driver usbfs [ 5.673416] usbcore: registered new interface driver hub [ 5.678926] usbcore: registered new device driver usb [ 5.693427] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.702375] ehci-fsl: Freescale EHCI Host controller driver [ 5.710311] ehci-platform: EHCI generic platform driver [ 5.715975] ehci-platform 1b000000.usb: EHCI Host Controller [ 5.721776] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1 [ 5.729830] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000 [ 5.750684] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00 [ 5.758234] hub 1-0:1.0: USB hub found [ 5.762619] hub 1-0:1.0: 1 port detected [ 5.774290] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.782553] ohci-platform: OHCI generic platform driver [ 5.789091] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.807042] init: - preinit - [ 7.808057] random: jshn: uninitialized urandom read (4 bytes read) [ 8.014750] random: jshn: uninitialized urandom read (4 bytes read) [ 8.344359] random: jshn: uninitialized urandom read (4 bytes read) [ 9.438097] eth0: link up (1000Mbps/Full duplex) [ 9.450796] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 9.461178] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready [ 9.562258] urandom_read: 4 callbacks suppressed [ 9.562270] random: procd: uninitialized urandom read (4 bytes read) [ 13.978108] jffs2: notice: (562) jffs2_build_xattr_subsystem: complete building xattr subsystem, 9 of xdatum (0 unchecked, 1 orphan) and 10 of xref (1 dead, 0 orphan) found. [ 13.996607] mount_root: switching to jffs2 overlay [ 14.043046] overlayfs: upper fs does not support tmpfile. [ 14.063260] urandom-seed: Seeding with /etc/urandom.seed [ 14.229854] eth0: link down [ 14.264752] procd: - early - [ 14.267901] procd: - watchdog - [ 14.957845] procd: - watchdog - [ 14.961502] procd: - ubus - [ 15.087934] random: ubusd: uninitialized urandom read (4 bytes read) [ 15.097900] random: ubusd: uninitialized urandom read (4 bytes read) [ 15.106557] procd: - init - [ 16.522927] kmodloader: loading kernel modules from /etc/modules.d/* [ 16.736112] b53_common: found switch: BCM53128, rev 4 [ 16.766821] Loading modules backported from Linux version v5.7-rc3-0-g6a8b55ed4056 [ 16.774451] Backport generated by backports.git v5.7-rc3-1-0-gc0c7d2bb [ 16.857941] xt_time: kernel timezone is -0000 [ 17.074753] PPP generic driver version 2.4.2 [ 17.092169] NET: Registered protocol family 24 [ 17.239306] kmodloader: done loading kernel modules from /etc/modules.d/* [ 17.384735] urngd: v1.0.2 started. [ 17.685721] random: crng init done [ 40.931951] eth0: link up (1000Mbps/Full duplex) [ 41.046811] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 41.063383] br-lan: port 1(eth0.1) entered blocking state [ 41.068883] br-lan: port 1(eth0.1) entered disabled state [ 41.074873] device eth0.1 entered promiscuous mode [ 41.079731] device eth0 entered promiscuous mode [ 41.132724] br-lan: port 1(eth0.1) entered blocking state [ 41.138221] br-lan: port 1(eth0.1) entered forwarding state [ 41.200196] eth1: link up (1000Mbps/Full duplex) [ 41.215283] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 41.950748] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready


Notes

Space for additional notes, links to forum threads or other resources.

Tags

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
toh/ubiquiti/ubiquiti_edgeswitch_8xp.txt · Last modified: 2020/06/28 12:08 by lister-wrt