HPE (Hewlett Packard Enterprise) OfficeConnect 1920 Series Switch.
The 1920 series features a variable number of gigabit (1000BASE-T / IEEE 802.3ab) ports, as well as a smaller number of 1 Gbit/s SFP ports.
The JG922A variant features 8 1000BASE-T ports, and 2 SFP ports. It is has two 40mm fans, and has an integral AC supply (100 - 240V AC 50/60Hz 3.3A nominal). There is a console port which uses the H3C/Cisco pinout to provide RS232 on an 8P8C (RJ45) connector.
The 1920 series all use single core 500 MHz MIPS-4KEc Realtek RTL83xx SoCs, have 32 MB of flash, and 128 MB of RAM.
All 1920 series switches are designed to occupy “1U” (1.75“ / 44.5mm) in a standard 19” equipment rack. All models have rack mount options, but the 8 port models have smaller (under 19“ wide) enclosures which may be useful for non-rack usage.
General info about OpenWRT on Realtek switch SoCs can be found on the wiki that OpenWRT developer Sander Vanheule maintains.
break the generic 1920 series info out in to a separate page, since so much info is shared between all models in this series.
The software and hardware design of these switches appears to originate from 3Com (which was acquired by HP in 2010), rather than the “HP ProCurve” line of switches which run HP's own in-house embedded OS rather than Linux. The design and manufacturing was carried out by H3C (which was wholly owned by HP during this time, but was later sold off).
Older examples of these switches were manufactured before Hewlett Packard split into “consumer” and “enterprise” divisions. These carried the branding “HP 1920-8G-PoE+ (180W) Switch” and the same JG922A model number.
H3C also sold these switches under their own brand as the H3C S5110 switch series, with the S5110-28P-SI assumed to be equivalent to the JG924A.
None at this time.
→ Install OpenWrt (generic explanation)
Before installing OpenWrt, you may wish to install the latest OEM firmware (at time of writing CMW520-R1120) in order to ensure you are running the latest bootloader version. You can either do-so via the OEM software web interface, or using the tftp method as outlined below.
Installation is currently via TFTP.
host
(the default), and make it available to the tftp server.Press Ctrl+B to enter extended boot menu...
, do-so.Enter Ethernet SubMenu
.Ethernet SubMenu
, select item 5 Modify Ethernet Parameter
.Protocol (FTP or TFTP)
, enter tftp
.Load File Name
enter the name you chose above.Target File Name
leave it unchanged (value is not used).Server IP Address
enter the IPv4 address of the tftp server. (default is 192.168.0.11)Local IP Address
enter a spare unused IPv4 address which is accessible from the tftp server (e.g. an unused IP address on the local subnet) (default is 192.168.0.123).Gateway IP Address
enter a value if the Local and tftp Servers are on different subnets, otherwise leave at the default.Ethernet SubMenu
, select item 1
- Download Application Program To SDRAM And Run
.OpenWRT will now boot from RAM (it is not yet on flash). At this point you may wish to backup the existing factory firmware and configuration - either by following the create_full_mtd_backup instructions, or by downloading a copy of every mtd partition via the LuCI web interface (e.g. at http://192.168.1.1/cgi-bin/luci/admin/system/flash ).
Of note is no DHCP server on the switch, unlinke routers, at least on the build 23.05.4 so go for static IP in the 192.168.1.0/24 range.
Once that is done, you can download and install the sysupgrade package to overwrite the factory firmware install, then you will need to follow the instructions in the Initial installation:
section of the git commit message to configure the bootloader to automatically run OpenWrt.
dev: size erasesize name mtd0: 00050000 00010000 "bootware_basic" mtd1: 00030000 00010000 "bootware_data" mtd2: 00040000 00010000 "bootware_extend" mtd3: 00050000 00010000 "bootware_basic_backup" mtd4: 00030000 00010000 "bootware_data_backup" mtd5: 00040000 00010000 "bootware_extend_backup" mtd6: 01cf0000 00010000 "firmware" mtd7: 00010000 00010000 "factory"
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
Note: Reset router to factory defaults if it has been previously configured.
http://192.168.1.1/Upgrade.asp
http://192.168.1.1
if LuCI is installed.→ generic.flashing.tftp Console log of booting by TFTP and defaults:
System is starting... Press Ctrl+D to access BASIC-BOOTWARE MENU Booting Normal Extend BootWare The Extend BootWare is self-decompressing..........................Done! **************************************************************************** * * * HPE 1920-8G-PoE+ (180W) Switch JG922A BootWare, Version 1.22 * * * **************************************************************************** Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP Compiled Date : Apr 14 2017 15:05:19 CPU Type : MIPS4kec CPU L1 Cache : 16KB CPU Clock Speed : 500MHz Memory Type : DDR3 SDRAM Memory Size : 128MB Memory Speed : 300MHz BootWare Size : 3MB Flash Size : 32MB BootWare Validating... Press Ctrl+B to enter extended boot menu... BootWare password: Not required. Please press Enter to continue. Password recovery capability is enabled. Note: The current operating device is flash Enter < Storage Device Operation > to select device. ===========================<EXTEND-BOOTWARE MENU>=========================== |<1> Boot System | |<2> Enter Serial SubMenu | |<3> Enter Ethernet SubMenu | |<4> File Control | |<5> Restore to Factory Default Configuration | |<6> Skip Current System Configuration | |<7> BootWare Operation Menu | |<8> Clear Super Password | |<9> Storage Device Operation | |<0> Reboot | ===================9======================================================== Ctrl+Z: Access EXTEND-ASSISTANT MENU Ctrl+F: Format File System Ctrl+C: Display Copyright Enter your choice(0-9): 3 ==========================<Enter Ethernet SubMenu>========================== |Note:the operating device is flash | |<1> Download Application Program To SDRAM And Run | |<2> Update Main Application File | |<3> Update Backup Application File | |<4> Update Secure Application File | |<5> Modify Ethernet Parameter | |<0> Exit To Main Menu | |<Ensure The Parameter Be Modified Before Downloading!> | ============================================================================ Enter your choice(0-5): 5 ==========================<ETHERNET PARAMETER SET>========================== |Note: '.' = Clear field. | | '-' = Go to previous field. | | Ctrl+D = Quit. | ============================================================================ Protocol (FTP or TFTP) :tftp Load File Name :host : Target File Name :target : Server IP Address :192.168.0.11 Local IP Address :192.168.0.123 Gateway IP Address :0.0.0.0 ==========================<Enter Ethernet SubMenu>========================== |Note:the operating device is flash | |<1> Download Application Program To SDRAM And Run | |<2> Update Main Application File | |<3> Update Backup Application File | |<4> Update Secure Application File | |<5> Modify Ethernet Parameter | |<0> Exit To Main Menu | |<Ensure The Parameter Be Modified Before Downloading!> | ============================================================================ Enter your choice(0-5): 1 Loading..................................................................... ...............................Done! 4984304 bytes downloaded! The App file is self-decompressing.......................................... ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ...............................Done!
Enter values for “FILL-IN” below
Bootloader tftp server IPv4 address | 192.168.0.11 |
---|---|
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 |
Console log for setting bootloader: Note for bootloader, only set this, all other file system operations aren't supported as it would go in the openwrt's file system area.
System is starting... Press Ctrl+D to access BASIC-BOOTWARE MENU Booting Normal Extend BootWare The Extend BootWare is self-decompressing..........................Done! **************************************************************************** * * * HPE 1920-8G-PoE+ (180W) Switch JG922A BootWare, Version 1.22 * * * **************************************************************************** Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP Compiled Date : Apr 14 2017 15:05:19 CPU Type : MIPS4kec CPU L1 Cache : 16KB CPU Clock Speed : 500MHz Memory Type : DDR3 SDRAM Memory Size : 128MB Memory Speed : 300MHz BootWare Size : 3MB Flash Size : 32MB BootWare Validating... Application program does not exist. BootWare password: Not required. Please press Enter to continue. Password recovery capability is enabled. Note: The current operating device is flash Enter < Storage Device Operation > to select device. ===========================<EXTEND-BOOTWARE MENU>=========================== |<1> Boot System | |<2> Enter Serial SubMenu | |<3> Enter Ethernet SubMenu | |<4> File Control | |<5> Restore to Factory Default Configuration | |<6> Skip Current System Configuration | |<7> BootWare Operation Menu | |<8> Clear Super Password | |<9> Storage Device Operation | |<0> Reboot | ============================================================================ Ctrl+Z: Access EXTEND-ASSISTANT MENU Ctrl+F: Format File System Ctrl+C: Display Copyright Enter your choice(0-9): 4 ===============================<File CONTROL>=============================== |Note:the operating device is flash | |<1> Display All File(s) | |<2> Set Application File type | |<3> Set Configuration File type | |<4> Delete File | |<0> Exit To Main Menu | ============================================================================ Enter your choice(0-4): 2 'M' = MAIN 'B' = BACKUP 'S' = SECURE 'N/A' = NOT ASSIGNED ============================================================================ |NO. Size(B) Time Type Name | |1 2398688 Jan/01/1970 00:00:00 N/A openwrt-kernel.bin | |0 Exit | ============================================================================ Enter file No:1 Modify the file attribute: ============================================================================ |<1> +Main | |<2> -Main | |<3> +Backup | |<4> -Backup | |<0> Exit | ============================================================================ Enter your choice(0-4):1 This operation may take several minutes. Please wait.... Set the file attribute success! ===============================<File CONTROL>=============================== |Note:the operating device is flash | |<1> Display All File(s) | |<2> Set Application File type | |<3> Set Configuration File type | |<4> Delete File | |<0> Exit To Main Menu | ============================================================================ Enter your choice(0-4): 0 ===========================<EXTEND-BOOTWARE MENU>=========================== |<1> Boot System | |<2> Enter Serial SubMenu | |<3> Enter Ethernet SubMenu | |<4> File Control | |<5> Restore to Factory Default Configuration | |<6> Skip Current System Configuration | |<7> BootWare Operation Menu | |<8> Clear Super Password | |<9> Storage Device Operation | |<0> Reboot | ============================================================================ Ctrl+Z: Access EXTEND-ASSISTANT MENU Ctrl+F: Format File System Ctrl+C: Display Copyright Enter your choice(0-9): 1 Starting to get the main application file--flash:/openwrt-kernel.bin!....... ........... The main application file is self-decompressing............................. ............................................................................ ............................................................................ ............................................................................ ............................................................................ ..Done!
These are generic instructions. Update with your router's specifics.
http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/
LuCI Upgrade URLIf 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.
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc
If sysupgrade
does not support this router, use mtd
.
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Please fill in real values for this device, then remove the EXAMPLEs
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 |
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 |
→ 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.
Please fill in real values for this device, then remove the EXAMPLEs
The HPE 1920-8G JG922A has the following buttons: NONE
Measured with the switch idle, with all Ethernet ports down, and no SFP modules installed:
OpenWRT 23.05.4 Initial Boot (Max) | 11.2 Watts |
OpenWRT 23.05.4 Initial Boot (Booting with Fan Max) | 9.8 Watts |
OpenWRT 23.05.4 Idle (Fan idle) | 8.6 Watts |
Front:
Insert photo of front of the casing
Back:
Insert photo of back of the casing
Backside label:
Insert photo of backside label
Note: This will void your warranty!
Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...
Main PCB:
Insert photo of PCB
Use the “console” port on the right of the switch's front panel. This is an 8P8C (“RJ45”) connector which uses the “H3C” pin-out and RS232 voltage level signalling (±3v to ±15V), 38400 baud, 8N1.
→ 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
None so far.
Latest Firmware jg922a-cmw520-r1120.bin
System is starting... Press Ctrl+D to access BASIC-BOOTWARE MENU Booting Normal Extend BootWare The Extend BootWare is self-decompressing..........................Done! **************************************************************************** * * * HPE 1920-8G-PoE+ (180W) Switch JG922A BootWare, Version 1.22 * * * **************************************************************************** Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP Compiled Date : Apr 14 2017 15:05:19 CPU Type : MIPS4kec CPU L1 Cache : 16KB CPU Clock Speed : 500MHz Memory Type : DDR3 SDRAM Memory Size : 128MB Memory Speed : 300MHz BootWare Size : 3MB Flash Size : 32MB BootWare Validating... Press Ctrl+B to enter extended boot menu... Starting to get the main application file--flash:/jg922a-cmw520-r1120.bin!.. ............................................................................ .................. The main application file is self-decompressing............................. ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ..............................Done! System application is starting... User interface aux0 is available. Press ENTER to get started.
System is starting... Press Ctrl+D to access BASIC-BOOTWARE MENU Booting Normal Extend BootWare The Extend BootWare is self-decompressing..........................Done! **************************************************************************** * * * HPE 1920-8G-PoE+ (180W) Switch JG922A BootWare, Version 1.22 * * * **************************************************************************** Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP Compiled Date : Apr 14 2017 15:05:19 CPU Type : MIPS4kec CPU L1 Cache : 16KB CPU Clock Speed : 500MHz Memory Type : DDR3 CDRAM Memory Size : 128MB Memory Speed : 300MHz BootWare Size : 3MB Flash Size : 32MB BootWare Validating... Press Ctrl+B to enter extended boot menu... Starting to get the main application file--flash:/openwrt-kernel.bin!....... ........... The main application file is self-decompressing............................. ............................................................................ ............................................................................ ............................................................................ ............................................................................ ..Done! System application is starting...[ 0.000000] Linux version 5.15.162 (builder@buildhost) (4 [ 0.000000] RTL838X model is 83806800 [ 0.000000] SoC Type: RTL8380 [ 0.000000] printk: bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019070 (MIPS 4KEc) [ 0.000000] MIPS: machine is HPE 1920-8G-PoE+ 180W (JG922A) [ 0.000000] earlycon: ns16550a0 at MMIO 0x18002000 (options '38400n8') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Using appended Device Tree. [ 0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes. [ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 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: 32480 [ 0.000000] Kernel command line: earlycon [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 120624K/131072K available (6234K kernel code, 616K rwdata, 780K rodat) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] rtl83xx-clk: initialized, CPU 500 MHz, MEM 300 MHz (8 Bit DDR3), LXB 200 MHz [ 0.000000] clocksource: realtek_otto_timer: mask: 0xfffffff max_cycles: 0xfffffff, max_is [ 0.000005] sched_clock: 28 bits at 3125kHz, resolution 320ns, wraps every 42949672800ns [ 0.027186] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464) [ 0.167685] pid_max: default: 32768 minimum: 301 [ 0.185559] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.209941] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.259641] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1s [ 0.292361] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.315373] pinctrl core: initialized pinctrl subsystem [ 0.336629] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.390909] rtl83xx-clk clock-controller: rate setting enabled, CPU 300-625 MHz, MEM 300-K [ 0.437226] clocksource: Switched to clocksource realtek_otto_timer [ 0.462265] NET: Registered PF_INET protocol family [ 0.479156] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.505572] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, line) [ 0.533776] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.559605] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.585165] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.608715] TCP: Hash tables configured (established 1024 bind 1024) [ 0.630499] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.652457] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.676660] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.706727] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 0.748948] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.768461] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c. [ 0.807602] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.837548] pinctrl-single 1b001000.pinmux: 32 pins, size 4 [ 0.857004] pinctrl-single 1b00a000.pinmux: 32 pins, size 4 [ 0.878387] Probing RTL8231 GPIOs [ 0.889509] rtl8231_init called, MDIO bus ID: 0 [ 0.907391] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.937798] printk: con{ole [ttyS0] disabled [ 0.952268] 18002000.uart: ttyS0 at MMIO 0x18002000 (irq = 31, base_baud = 12500000) is aA [ 0.981575] printk: console [ttyS0] enabled [ 0.981575] printk: console [ttyS0] enabled [ 1.009360] printk: bootconsole [early0] disabled [ 1.009360] printk: bootconsole [early0] disabled [ 1.040600] printk: bootconsole [ns16550a0] disabled [ 1.040600] printk: bootconsole [ns16550a0] disabled [ 1.075151] 18002100.uart: ttyS1 at MMIO 0x18002100 (irq = 30, base_baud = 12500000) is aA [ 1.258928] brd: module loaded [ 1.281191] spi-nor spi0.0: mx25l25635e (32768 Kbytes) [ 1.298499] 8 fixed-partitions partitions found on MTD device spi0.0 [ 1.319737] OF: Bad cell count for /soc/spi@1200/flash@0/partitions [ 1.340687] OF: Bad cell count for /soc/spi@1200/flash@0/partitions [ 1.362180] Creating 8 MTD partitions on "spi0.0": [ 1.378208] 0x000000000000-0x000000050000 : "bootware_basic" [ 1.404824] 0x000000060000-0x000000090000 : "bootware_data" [ 1.427116] 0x000000090000-0x0000000d0000 : "bootware_extend" [ 1.454631] 0x000000100000-0x000000150000 : "bootware_basic_backup" [ 1.479100] 0x000000160000-0x000000190000 : "bootware_data_backup" [ 1.508008] 0x000000190000-0x0000001d0000 : "bootware_extend_backup" [ 1.533063] 0x000000300000-0x000001ff0000 : "firmware" [ 1.559577] 2 h3c-vfs partitions found on MTD device firmware [ 1.578798] Creating 2 MTD partitions on "firmware": [ 1.595362] 0x000000000000-0x000000260000 : "kernel" [ 1.617740] 0x000000260000-0x000001cf0000 : "rootfs" [ 1.637667] mtd: setting mtd8 (rootfs) as root device [ 1.657191] 1 squashfs-split partitions found on MTD device rootfs [ 1.677945] 0x000000510000-0x000001cf0000 : "rootfs_data" [ 1.701762] 0x000001ff0000-0x000002000000 : "factory" [ 1.751819] Probing RTL838X eth device pdev: 8209a200, dev: 8209a210 [ 1.823526] Found SoC ID: 8380: RTL8380, family 8380 [ 1.840229] rtl8380_init_mac [ 1.849920] Using MAC 0000000000010000 [ 1.979285] Realtek RTL8218B (internal) mdio-bus:08: Detected internal RTL8218B [ 2.003672] Firmware loaded. Size 1184, magic: 83808380 [ 4.569602] Realtek RTL8380 SERDES mdio-bus:18: Detected internal RTL8380 SERDES [ 4.594264] Firmware loaded. Size 1184, magic: 83808380 [ 4.611731] SDS power down value: 3 [ 4.647462] PLL control register: efffffff [ 4.661152] SDS power down value now: 3f [ 4.674233] Configuration of SERDES done [ 4.695773] i2c_dev: i2c /dev entries driver [ 4.719508] NET: Registered PF_INET6 protocol family [ 4.766599] Segment Routing with IPv6 [ 4.779155] In-situ OAM (IOAM) with IPv6 [ 4.792568] NET: Registered PF_PACKET protocol family [ 4.809714] bridge: filtering via arp/ip/ip6tables is no longer available by default. Upd. [ 4.854206] 8021q: 802.1Q VLAN Support v1.8 [ 4.870985] i2c-gpio i2c-gpio-0: Slow GPIO pins might wreak havoc into I2C/SMBus bus timig [ 4.899587] i2c-gpio i2c-gpio-0: using lines 474 (SDA) and 475 (SCL) [ 4.921490] i2c-gpio i2c-gpio-1: Slow GPIO pins might wreak havoc into I2C/SMBus bus timig [ 4.949850] i2c-gpio i2c-gpio-1: using lines 464 (SDA) and 465 (SCL) [ 4.973580] sfp sfp-0: Host maximum power 1.0W [ 4.988517] sfp sfp-0: No tx_disable pin: SFP modules will always be emitting. [ 5.015101] sfp sfp-1: Host maximum power 1.0W [ 5.030030] sfp sfp-1: No tx_disable pin: SFP modules will always be emitting. [ 5.116276] Realtek RTL8218B (internal) rtl838x slave mii-0:08: Detected internal RTL8218B [ 5.143842] Firmware loaded. Size 1184, magic: 83808380 [ 7.713167] Realtek RTL8380 SERDES rtl838x slave mii-0:18: Detected internal RTL8380 SERDS [ 7.741034] Firmware loaded. Size 1184, magic: 83808380 [ 7.758516] SDS power down value: 3 [ 7.794236] PLL control register: f [ 7.805938] SDS power down value now: 3f [ 7.819067] Configuration of SERDES done [ 7.863597] In rtl83xx_vlan_setup [ 7.874753] UNKNOWN_MC_PMASK: 000000001fffffff [ 7.889593] VLAN profile 0: L2 learning: 1, UNKN L2MC FLD PMSK 511, UNKN IPMC FL1 [ 8.947283] rtl83xx_enable_phy_polling: 500ff00 [ 10.068083] rtl83xx-switch switch@1b000000: configuring for fixed/internal link mode [ 10.094798] rtl83xx-switch switch@1b000000: Link is Up - 1Gbps/Full - flow control off [ 10.122054] rtl83xx-switch switch@1b000000 lan1 (uninitialized): PHY [mdio-bus:08] driver) [ 10.176860] rtl83xx-switch switch@1b000000 lan2 (uninitialized): PHY [mdio-bus:09] driver) [ 10.231752] rtl83xx-switch switch@1b000000 lan3 (uninitialized): PHY [mdio-bus:0a] driver) [ 10.286795] rtl83xx-switch switch@1b000000 lan4 (uninitialized): PHY [mdio-bus:0b] driver) [ 10.341741] rtl83xx-switch switch@1b000000 lan5 (uninitialized): PHY [mdio-bus:0c] driver) [ 10.396738] rtl83xx-switch switch@1b000000 lan6 (uninitialized): PHY [mdio-bus:0d] driver) [ 10.451687] rtl83xx-switch switch@1b000000 lan7 (uninitialized): PHY [mdio-bus:0e] driver) [ 10.506733] rtl83xx-switch switch@1b000000 lan8 (uninitialized): PHY [mdio-bus:0f] driver) [ 10.554079] DSA: tree 0 setup [ 10.564128] LINK state irq: 20 [ 10.574414] In rtl83xx_setup_qos [ 10.585199] Setting up RTL838X QoS [ 10.596541] RTL838X_PRI_SEL_TBL_CTRL(i): 00033112 [ 10.612236] Current Intprio2queue setting: 00000000 [ 10.628492] QM_PKT2CPU_INTPRI_MAP: 00fac688 [ 10.642665] rtl838x_dbgfs_init called [ 10.655097] rtl83xx_fib_event_work_do: FIB4 default rule failed [ 10.682504] rtl83xx_fib_event_work_do: FIB4 default rule failed [ 10.708094] clk: Disabling unused clocks [ 10.736237] VFS: Mounted root (squashfs filesystem) readonly on device 31:8. [ 10.773713] Freeing unused kernel image (initmem) memory: 1260K [ 10.793509] This architecture does not have kernel memory protection. [ 10.814981] Run /sbin/init as init process [ 10.828642] with arguments: [ 10.838550] /sbin/init [ 10.847623] with environment: [ 10.858116] HOME=/ [ 10.865929] TERM=linux [ 11.656110] init: Console is alive [ 11.668817] init: - watchdog - [ 12.231164] kmodloader: loading iernel modules from /etc/modules-boot.d/* [ 12.313469] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 12.348765] init: - preinit - [ 14.053292] random: jshn: uninitialized urandom read (4 bytes read) [ 14.275107] random: jshn: uninitialized urandom read (4 bytes read) [ 15.284024] random: jshn: uninitialized urandom read (4 bytes read) [ 15.400144] random: jshn: uninitialized urandom read (4 bytes read) [ 15.608050] random: jshn: uninitialized urandom read (4 bytes read) [ 16.845897] RESETTING 8380, CPU_PORT 28 [ 17.059472] rtl838x-eth 1b00a300.ethernet eth0: configuring for fixed/internal link mode [ 17.086289] In rtl838x_mac_config, mode 1 [ 17.102654] rtl83xx-switch switch@1b000000 lan1: configuring for phy/internal link mode [ 17.129529] rtl838x-eth 1b00a300.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 17.157674] 8021q: adding VLAN 0 to HW filter on device lan1 [ 17.177347] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 17.198352] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 17.220303] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not suppopted [ 17.318015] rtl83xx_fib_event_work_do: FIB4 failed [ 17.352585] rtl83xx_fib_event_work_do: FIB4 failed [ 17.383832] rtl83xx_fib_event_work_do: FIB4 failed Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 18.947358] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 19.984181] jffs2: notice: (571) jffs2_build_xattr_subsystem: complete building xattr sub. [ 20.040237] mount_root: overlay filesystem has not been fully initialized yet [ 20.333789] mount_root: switching to jffs2 overlay [ 20.356706] overlayfs: upper fs does not support tmpfile. [ 20.386831] urandom-seed: Seed file not found (/etc/urandom.seed) [ 20.583500] rtl83xx_fib4_del: no such gateway: 0.0.0.0 [ 20.617537] rtl83xx_fib4_del: no such gateway: 0.0.0.0 [ 20.668750] rtl83xx_fib4_del: no such gateway: 0.0.0.0 [ 20.694150] procd: - early - [ 20.706669] procd: - watchdog - [ 21.689340] procd: - watchdog - [ 21.701548] procd: - ubus - [ 21.813928] random: ubusd: uninitialized urandom read (4 bytes read) [ 21.838660] random: ubusd: uninitialized urandom read (4 bytes read) [ 21.861008] random: ubusd: uninitialized urandom read (4 bytes read) [ 21.889936] procd: - init - Please press Enter to activate this console. [ 23.569309] random: jshn: uninitialized urandom read (4 bytes read) [ 23.667937] random: ubusd: uninitialized urandom read (4 bytes read) [ 23.825589] kmodloader: loading kernel modules from /etc/modules.d/* [ 23.960369] GACT probability on [ 23.989816] Mirror/redirect action on [ 24.061804] u32 classifier [ 24.070913] input device check on [ 24.083120] Actions configured [ 24.501911] kmodloader: done loading kernel modules from /etc/modules.d/* [ 26.598283] urngd: v1.0.2 started. [ 30.058100] random: crng init done [ 30.069504] random: 21 urandom warning(s) missed due to ratelimiting [ 34.768086] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 53.629939] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 53.784272] in rtl838x_eth_stop [ 53.794945] rtl838x-eth 1b00a300.ethernet eth0: Link is Down [ 54.363673] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 54.385533] rtl83xx_fib_event: FIB_RULE ADD/DEL fmr IPv6 not supported [ 54.407421] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 54.429251] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 55.625461] Using MAC 00002c233a90f520 [ 55.657719] RESETTING 8380, CPU_PORT 28 [ 55.871286] rtl838x-eth 1b00a300.ethernet eth0: configuring for fixed/internal link mode [ 55.898102] In rtl838x_mac_config, mode 1 [ 55.911877] rtl838x-eth 1b00a300.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 55.967430] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 55.988439] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 56.010386] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 56.427707] device eth0 entered promiscuous mode [ 56.443199] rtl83xx-switch switch@1b000000 lan1: configuring for phy/internal link mode [ 56.707727] 8021q: adding VLAN 0 to HW filter on device lan1 [ 56.792277] switch: port 1(lan1) entered blocking state [ 56.809760] switch: port 1(lan1) entered disabled state [ 56.828242] device lan1 entered promiscuous mode [ 57.148559] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 57.238541] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 57.817590] rtl83xx-switch switch@1b000000 lan2: configuring for phy/internal link mode [ 57.901139] 8021q: adding VLAN 0 to HW filter on device lan2 [ 57.983906] switch: port 2(lan2) entered blocking state [ 58.001416] switch: port 2(lan2) entered disabled state [ 58.109859] device lan2 entered promiscuous mode [ 58.126538] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 58.148497] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 58.558094] rtl83xx-switch switch@1b000000 lan3: configuring for phy/internal link mode [ 58.681812] 8021q: adding VLAN 0 to HW filter on device lan3 [ 58.793859] switch: port 3(lan3) entered blocking state [ 58.811357] switch: port 3(lan3) entered disabled state [ 58.957695] device lan3 entered promiscuous mode [ 59.387049] rtl83xx-switch switch@1b000000 lan4: configuring for phy/internal link mode [ 59.483414] 8021q: adding VLAN 0 to HW filter on device lan4 [ 59.570258] switch: port 4(lan4) entered blocking state [ 59.587751] switch: port 4(lan4) entered disabled state [ 59.687749] device lan4 entered promiscuous mode [ 60.017598] rtl83xx-switch switch@1b000000 lan5: configuring for phy/internal link mode [ 60.107693] 8021q: adding VLAN 0 to HW filter on device lan5 [ 60.202268] switch: port 5(lan5) entered blocking state [ 60.219730] switch: port 5(lan5) entered disabled state [ 60.337789] device lan5 entered promiscuous mode [ 60.670275] rtl83xx-switch switch@1b000000 lan6: configuring for phy/internal link mode [ 60.767639] 8021q: adding VLAN 0 to HW filter on device lan6 [ 60.850250] switch: port 6(lan6) entered blocking state [ 60.867706] switch: port 6(lan6) entered disabled state [ 60.886222] device lan6 entered promiscuous mode [ 61.285647] rtl83xx-switch switch@1b000000 lan7: configuring for phy/internal link mode [ 61.377645] 8021q: adding VLAN 0 to HW filter on device lan7 [ 61.469743] switch: port 7(lan7) entered blocking state [ 61.487193] switch: port 7(lan7) entered disabled state [ 61.505811] device lan7 entered promiscuous mode [ 61.827615] rtl83xx-switch switch@1b000000 lan8: configuring for phy/internal link mode [ 61.882719] 8021q: adding VLAN 0 to HW filter on device lan8 [ 61.954529] switch: port 8(lan8) entered blocking state [ 61.972001] switch: port 8(lan8) entered disabled state [ 61.990574] device lan8 entered promiscuous mode [ 62.108065] rtl83xx-switch switch@1b000000 lan9: configuring for inband/1000base-x link me [ 62.136477] 8021q: adding VLAN 0 to HW filter on device lan9 [ 62.208671] switch: port 9(lan9) entered blocking state [ 62.226149] switch: port 9(lan9) entered disabled state [ 62.244769] device lan9 entered promiscuous mode [ 62.363141] rtl83xx-switch switch@1b000000 lan10: configuring for inband/1000base-x link e [ 62.391854] 8021q: adding VLAN 0 to HW filter on device lan10 [ 62.468645] switch: port 10(lan10) entered blocking state [ 62.486702] switch: port 10(lan10) entered disabled state [ 62.505898] device lan10 entered promiscuous mode [ 62.608545] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported BusyBox v1.36.1 (2024-07-15 22:14:18 UTC) built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt 23.05.4, r24012-d8dd03c46f ----------------------------------------------------- === WARNING! ===================================== There is no root password defined on this device! Use the "passwd" command to set up a new password in order to prevent unauthorized SSH logins. -------------------------------------------------- root@OpenWrt:/#
Fan failure is indicated by GPIO457. If it's low that means one of the two fans or both has failed. Future work could be moving to gpio-fan hwmon devices in device tree.
The PoE ID's are backwards to the port numbers if you're going to use realtek-poe As of time of writing the PoE LED's don't light but PoE itself works. Factory PoE had 190W PoE limit:
<HPE>display poe pse PSE ID : 1 PSE Slot No : 1 PSE SubSlot No : 0 PSE Model : LSW-BCM-POE PSE Current Power : 0 W PSE Average Power : 0 W PSE Peak Power : 0 W PSE Max Power : 190 W PSE Remaining Guaranteed : 190 W PSE CPLD Version : - PSE Software Version : 140 PSE Hardware Version : 57633 PSE Legacy Detection : disabled PSE Utilization-threshold : 80
i.e.:
cat /etc/config/poe config global option budget '170' config port option enable '1' option id '1' option name 'lan8' option poe_plus '1' option priority '2' config port option enable '1' option id '2' option name 'lan7' option poe_plus '1' option priority '2' config port option enable '1' option id '3' option name 'lan6' option poe_plus '1' option priority '2' config port option enable '1' option id '4' option name 'lan5' option poe_plus '1' option priority '2' config port option enable '1' option id '5' option name 'lan4' option poe_plus '1' option priority '2' config port option enable '1' option id '6' option name 'lan3' option poe_plus '1' option priority '2' config port option enable '1' option id '7' option name 'lan2' option poe_plus '1' option priority '2' config port option enable '1' option id '8' option name 'lan1' option poe_plus '1' option priority '2'
SFP listed as unsupported but “works for me” at least for an H3C and HP branded 1000Base-T:
[ 871.336318] sfp sfp-0: module AVAGO ABCU-5710RZ-H3C rev B1.1 [ 871.495919] rtl83xx-switch switch@1b000000 lan9: switched to inband/sgmii link mode [ 871.715154] rtl83xx-switch switch@1b000000 lan9: PHY [i2c:sfp-0:16] driver [Marvell 88E11) [ 874.776316] sfp sfp-1: module AVAGO ABCU-5712RZ-HP1 rev sn 2Y1138MAN5 [ 874.929357] rtl83xx-switch switch@1b000000 lan10: switched to inband/sgmii link mode [ 875.155213] rtl83xx-switch switch@1b000000 lan10: PHY [i2c:sfp-1:16] driver [Marvell 88E1) [ 892.172518] RTL8380 Link change: status: 1, ports 4000000 [ 892.970426] rtl83xx-switch switch@1b000000 lan10: Link is Up - 1Gbps/Full - flow control x [ 892.999417] switch: port 10(lan10) entered blocking state [ 893.017481] switch: port 10(lan10) entered forwarding state [ 893.040107] IPv6: ADDRCONF(NETDEV_CHANGE): switch: link becomes ready [ 893.064795] IPv6: ADDRCONF(NETDEV_CHANGE): switch.1: link becomes ready [ 894.547710] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 894.569636] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported [ 908.343264] RTL8380 Link change: status: 1, ports 1000000 [ 909.290036] rtl83xx-switch switch@1b000000 lan9: Link is Up - 1Gbps/Full - flow control rx [ 909.319489] switch: port 9(lan9) entered blocking state [ 909.337001] switch: port 9(lan9) entered forwarding state
For easy multiple deployment, serial number is in mtd10. Can set hostname with this in uci-defaults:
serial="-$(dd if=/dev/mtd10ro skip=200 count=10 bs=1)" model="-JG922A" prefix="OpenWrt" hostname=$prefix$model$serial uci set system.@system[0].hostname=$hostname uci commit echo $hostname > /proc/sys/kernel/hostname
Add tags below, then remove this fixme.