HPE 1920-8G-PoE+ (65W) (JG921A)
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 JG921A variant features 8 1000BASE-T ports, and 2 SFP ports. It has an integral AC supply (100 - 240V AC 50/60Hz 2.05A 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.
Design Origins and Alternative Brandings
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+ (65W) Switch” and the same JG921A 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.
Supported Versions
Experimental Versions
None at this time.
Hardware Highlights
Installation
→ 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.
- Configure a tftp server on a computer which is reachable from the switch via Ethernet. Note the IPv4 of the tftp server.
- Download the “initramfs-kernel” image from the download link below (either current or stable), rename it with a file name of 50 characters or less e.g.
host
(the default), and make it available to the tftp server. - Connect to the serial port on the front of the switch using an 8P8C RS232 adapter.
- Power on the switch.
- Allow the switch to begin booting its second stage bootloader.
- When prompted
Press Ctrl+B to enter extended boot menu...
, do-so. - Select menu item 3
Enter Ethernet SubMenu
. - In the
Ethernet SubMenu
, select item 5Modify Ethernet Parameter
. - When prompted
Protocol (FTP or TFTP)
, entertftp
. - When prompted
Load File Name
enter the name you chose above. - When prompted
Target File Name
leave it unchanged (value is not used). - When prompted
Server IP Address
enter the IPv4 address of the tftp server. (default is 192.168.0.1) - When prompted
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). - When prompted
Gateway IP Address
enter a value if the Local and tftp Servers are on different subnets, otherwise leave at the default. - Back at the
Ethernet SubMenu
, select item1
-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.
Flash Layout
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"
OEM easy installation
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
Of note at least on my JG921A the TFTP defaults were different than JG922A firmware.
→ generic.flashing.tftp Console log of booting by TFTP and defaults:
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.1 Local IP Address :192.168.0.253 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!
Specific values needed for tftp
Enter values for “FILL-IN” below
Bootloader tftp server IPv4 address | 192.168.0.1 |
---|---|
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.
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!
Upgrading OpenWrt
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
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)
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.
Please fill in real values for this device, then remove the EXAMPLEs
The HPE 1920-8G JG921A has the following buttons: NONE
Hardware
Info
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!
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
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.
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
Hardware mods
None so far.
Bootlogs
OEM bootlog
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+ (65W) Switch JG921A BootWare, Version 1.22 * * * Copyright © 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... Normal Basic BootWare Version is newer than Backup Basic BootWare! Begin to Update the Backup Basic BootWare............Done! Normal Extend BootWare Version is newer than Backup Extend BootWare! Begin to Update the Backup Extend BootWare..........Done! Press Ctrl+B to enter extended boot menu... Starting to get the main application file--flash:/target!................... ............................................................................ . The main application file is self-decompressing............................. ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ .........................................................Done! System application is starting... User interface aux0 is available.
Press ENTER to get started.
</code>
OpenWrt bootlog
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+ (65W) Switch JG921A 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:/openwrt-kernel.bin!....... ........... The main application file is self-decompressing............................. ............................................................................ ............................................................................ ............................................................................ ............................................................................ ...Done! System application is starting...[ 0.000000] Linux version 5.15.162 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24012-d8dd03c46f) 12.3.0, GNU ld (GNU Binutils)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+ 65W (JG921A) [ 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 rodata, 1260K init, 219K bss, 10448K reserved, 0K cma-reserved) [ 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_idle_ns: 38225208801 ns [ 0.000005] sched_clock: 28 bits at 3125kHz, resolution 320ns, wraps every 42949672800ns [ 0.027189] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464) [ 0.167685] pid_max: default: 32768 minimum: 301 [ 0.185580] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.209968] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.259956] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.292676] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.315694] pinctrl core: initialized pinctrl subsystem [ 0.337109] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.391555] rtl83xx-clk clock-controller: rate setting enabled, CPU 300-625 MHz, MEM 300-300 MHz, LXB 200-200 MHz, OVERCLOCK AT OWN RISK [ 0.437909] clocksource: Switched to clocksource realtek_otto_timer [ 0.463031] NET: Registered PF_INET protocol family [ 0.479920] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.506359] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.534562] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.560392] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.585951] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.609501] TCP: Hash tables configured (established 1024 bind 1024) [ 0.631288] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.653270] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.677510] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.707739] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 0.750173] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.769695] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.808895] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.838878] pinctrl-single 1b001000.pinmux: 32 pins, size 4 [ 0.858498] pinctrl-single 1b00a000.pinmux: 32 pins, size 4 [ 0.879886] Probing RTL8231 GPIOs [ 0.891029] rtl8231_init called, MDIO bus ID: 0 [ 0.908976] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.939503] printk: console [ttyS0] disabled [ 0.953978] 18002000.uart: ttyS0 at MMIO 0x18002000 (irq = 31, base_baud = 12500000) is a 16550A [ 0.983275] printk: console [ttyS0] enabled [ 0.983275] printk: console [ttyS0] enabled [ 1.011061] printk: bootconsole [early0] disabled [ 1.011061] printk: bootconsole [early0] disabled [ 1.042301] printk: bootconsole [ns16550a0] disabled [ 1.042301] printk: bootconsole [ns16550a0] disabled [ 1.076882] 18002100.uart: ttyS1 at MMIO 0x18002100 (irq = 30, base_baud = 12500000) is a 16550A [ 1.261296] brd: module loaded [ 1.284490] spi-nor spi0.0: mx25l25635e (32768 Kbytes) [ 1.301825] 8 fixed-partitions partitions found on MTD device spi0.0 [ 1.323059] OF: Bad cell count for /soc/spi@1200/flash@0/partitions [ 1.344008] OF: Bad cell count for /soc/spi@1200/flash@0/partitions [ 1.365512] Creating 8 MTD partitions on "spi0.0": [ 1.381531] 0x000000000000-0x000000050000 : "bootware_basic" [ 1.408320] 0x000000060000-0x000000090000 : "bootware_data" [ 1.432344] 0x000000090000-0x0000000d0000 : "bootware_extend" [ 1.458441] 0x000000100000-0x000000150000 : "bootware_basic_backup" [ 1.482800] 0x000000160000-0x000000190000 : "bootware_data_backup" [ 1.511827] 0x000000190000-0x0000001d0000 : "bootware_extend_backup" [ 1.536899] 0x000000300000-0x000001ff0000 : "firmware" [ 1.563530] 2 h3c-vfs partitions found on MTD device firmware [ 1.582746] Creating 2 MTD partitions on "firmware": [ 1.599342] 0x000000000000-0x000000260000 : "kernel" [ 1.621770] 0x000000260000-0x000001cf0000 : "rootfs" [ 1.641574] mtd: setting mtd8 (rootfs) as root device [ 1.661141] 1 squashfs-split partitions found on MTD device rootfs [ 1.681836] 0x000000510000-0x000001cf0000 : "rootfs_data" [ 1.705572] 0x000001ff0000-0x000002000000 : "factory" [ 1.755996] Probing RTL838X eth device pdev: 8209aa00, dev: 8209aa10 [ 1.827662] Found SoC ID: 8380: RTL8380, family 8380 [ 1.844365] rtl8380_init_mac [ 1.854053] Using MAC 0000000000010000 [ 1.984082] Realtek RTL8218B (internal) mdio-bus:08: Detected internal RTL8218B [ 2.008462] Firmware loaded. Size 1184, magic: 83808380 [ 4.571024] Realtek RTL8380 SERDES mdio-bus:18: Detected internal RTL8380 SERDES [ 4.595734] Firmware loaded. Size 1184, magic: 83808380 [ 4.613220] SDS power down value: 3 [ 4.648958] PLL control register: efffffff [ 4.662642] SDS power down value now: 3f [ 4.675724] Configuration of SERDES done [ 4.697284] i2c_dev: i2c /dev entries driver [ 4.721094] NET: Registered PF_INET6 protocol family [ 4.768587] Segment Routing with IPv6 [ 4.781113] In-situ OAM (IOAM) with IPv6 [ 4.794530] NET: Registered PF_PACKET protocol family [ 4.811654] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 4.856181] 8021q: 802.1Q VLAN Support v1.8 [ 4.872842] i2c-gpio i2c-gpio-0: Slow GPIO pins might wreak havoc into I2C/SMBus bus timing [ 4.901460] i2c-gpio i2c-gpio-0: using lines 474 (SDA) and 475 (SCL) [ 4.923390] i2c-gpio i2c-gpio-1: Slow GPIO pins might wreak havoc into I2C/SMBus bus timing [ 4.951731] i2c-gpio i2c-gpio-1: using lines 464 (SDA) and 465 (SCL) [ 4.975496] sfp sfp-0: Host maximum power 1.0W [ 4.990426] sfp sfp-0: No tx_disable pin: SFP modules will always be emitting. [ 5.017039] sfp sfp-1: Host maximum power 1.0W [ 5.031969] sfp sfp-1: No tx_disable pin: SFP modules will always be emitting. [ 5.119076] Realtek RTL8218B (internal) rtl838x slave mii-0:08: Detected internal RTL8218B [ 5.146648] Firmware loaded. Size 1184, magic: 83808380 [ 7.714419] Realtek RTL8380 SERDES rtl838x slave mii-0:18: Detected internal RTL8380 SERDES [ 7.742290] Firmware loaded. Size 1184, magic: 83808380 [ 7.759772] SDS power down value: 3 [ 7.795483] PLL control register: f [ 7.807172] SDS power down value now: 3f [ 7.820284] Configuration of SERDES done [ 7.865257] In rtl83xx_vlan_setup [ 7.876433] UNKNOWN_MC_PMASK: 000000001fffffff [ 7.891268] VLAN profile 0: L2 learning: 1, UNKN L2MC FLD PMSK 511,
Notes
Factory PoE had 65W PoE limit:
[HP 1920G Switch]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 : 65 W PSE Remaining Guaranteed : 65 W PSE CPLD Version : - PSE Software Version : 140 PSE Hardware Version : 57633 PSE Legacy Detection : disabled PSE Utilization-threshold : 80
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="-JG921A" prefix="OpenWrt" hostname=$prefix$model$serial uci set system.@system[0].hostname=$hostname uci commit echo $hostname > /proc/sys/kernel/hostname
- ...
Tags
Add tags below, then remove this fixme.