ZyXEL XGS1010-12 A1
Since this is a unmanaged switch, ZyXEL does not distrubute or make avalible firmware for it. Make sure to have your own backups
ZyXEL XGS1010-12 is a unmanaged 12-port switch. Identical to the XGS1210-12, with the exception that it comes with unmanaged firmware, has no reset button, and features a slightly different U-Boot.
Ports:
- 8 10/100/1000BaseT Ethernet ports
- 2 10/100/1000/2500BaseT Ethernet ports
- 2 SFP+ 1/10GBit cages
A newer version of this switch - the XGS1010-12 B1 was introduced around 2023, functionally identical but said to be optimised for power efficiency with RTL8221B-VB-CG 2.5Gbps PHYs replacing the RTL8226-CG found in the A1 revision. One unwelcome “upgrade”, however, is that it seems impossible to flash the XGS1210 firmware onto this newer version to create a managed switch. OpenWrt is supported on the B1 since mid June 2026 (openwrt/openwrt/commit/?id=304525e7545110d1d46117a1759a22280c608f46)
Much of the information regarding the XGS1210 will also apply to the XGS1010 as the hardware is essentially identical.
Supported Versions
Flash Layout
The XGS1010-12 has 16MB of NOR flash provided by a Macronix MX25L12833F laid out as follows
| Start | End | Size | u-boot label | OpenWrt label | OpenWrt mtd device | mount point |
|---|---|---|---|---|---|---|
| Physical Partitions (offsets are within the flash chip and partition sizes fixed but there is overlap between u-boot and OpenWrt) | ||||||
| 0x0000000 | 0x00DFFFF | 896KiB | LOADER | u-boot | mtd0 | |
| 0x00E0000 | 0x00EFFFF | 64KiB | BDINFO | u-boot-env | mtd1 | |
| 0x00F0000 | 0x00FFFFF | 64KiB | SYSINFO | u-boot-env2 | mtd2 | |
| 0x0100000 | 0x01FFFFF | 1024KiB | JFFS2_CFG | jffs2-cfg | mtd3 | |
| 0x0200000 | 0x02FFFFF | 1024KiB | JFFS2_LOG | jffs2-log | mtd4 | |
| 0x0300000 | 0x097FFFF | 6656KiB | RUNTIME1 | |||
| 0x0300000 | 0x08FFFFF | 5184KiB | fwconcat1 | mtd5 | ||
| 0x0810000 | 0x081FFFF | 64KiB | htp-log | mtd6 | ||
| 0x0820000 | 0x08EFFFF | 832KiB | fwconcat2 | mtd7 | ||
| 0x08F0000 | 0x08FFFFF | 64KiB | htp-flash-test | mtd8 | ||
| 0x0900000 | 0x0FFFFFF | 7168KiB | fwconcat0 | mtd9 | ||
| 0x0980000 | 0x0FFFFFF | 6656KiB | RUNTIME2 | |||
| Logical partitions (offsets are within the “firmware” partition - note that size of these partitions is dynamic) | ||||||
| fwconcat0+fwconcat1+fwconcat2 | 13184KiB | firmware | mtd10 | |||
| 0x000000 - 0x31FFFF | 3200KiB | kernel | mtd11 | |||
| 0x320000 - 0xCE0000 | 9984KiB | rootfs | mtd12 | /rom | ||
| 0x550000 - 0xCE0000 | 7744KiB | rootfs_data | mtd13 | /overlay | ||
Note that u-boot defines two identically sized partitions for the firmware - RUNTIME1 & RUNTIME2 - which can be booted with “boota 0” or “boota 1” respectively, these overlap with the partitions used by OpenWrt which defines three partitions - fwconcat0, fwconcat1 and fwconcat2 avoiding some areas potentially used by the boot loader Realtek HTP flash tests. These three partitions are then concatenated to produce a logical partition labelled “firmware”, which is then (dynamically) sub-divided into kernel, squashfs and jffs2 partitions.
The order in which the fwconcat partitions are glued together means that the firmware partition jumps around the flash somewhat, the start of “firmware” being at offset 0x900000 (9MiB) in the flash, after 7MiB it “wraps” to offset 0x300000 (3MiB) which is also the start of RUNTIME1 where the stock firmware is loaded. the practical upshot of which is that as long as the OpenWrt firmware image is less than 7MiB (it is currently about 5.5MiB) then a sysupgrade from stock firmware will not overwrite the Zyxel firmware and, if you do not set the bootcmd correctly, it will load the stock firmware when it reboots. Note that once you have booted OpenWrt from flash and the JFFS2 filesystem has been initialised there is no guarantee that the stock firmware will not have been corrupted.
Installation
As these switches are unmanaged and do not have a web interface it is not possible to use exactly the same method as on an XGS1210, also they do not ship with a MAC address so we have to assign one.
As the Realtek platform is actively being developed, consider using the snapshot release rather than the current stable version.
Configure a tftp server, download openwrt-realtek-rtl930x-zyxel_xgs1010-12-a1-initramfs-kernel.bin from rtl930x snapshots directory and place it in the tftp spool directory, also download the sysupgrade image and place it somewhere you will be able to use scp to download it to the target device. The default IP address for the unit is 192.168.1.1 and it expects the tftp server to be at 192.168.1.111
Connect a serial adapter to the header pins as shown below serial and power up the switch.
You should see the device start to boot
U-Boot 2011.12.(TRUNK_CURRENT)-svn99721 (Oct 24 2019 - 09:15:40) Board: RTL9300 CPU:800MHz LX:175MHz DDR:600MHz DRAM: 128 MB SPI-F: MXIC/C22018/MMIO16-1/ModeC 1x16 MB (plr_flash_info @ 83f831e4) Loading 65536B env. variables from offset 0xe0000 Net: Net Initialization Skipped No ethernet found. Hit Esc key to stop autoboot: 1
You have 1 second to hit Escape so you have to be fairly quick off the mark, you should then drop to the uboot prompt
RTL9300# #
If you type the command “printenv” (or “env print”) you will see the current set of environment variables; these are the defaults.
RTL9300# # printenv baudrate=115200 boardmodel=RTL8393M_DEMO bootcmd=boota bootdelay=1 ethaddr=00:E0:4C:00:00:00 ipaddr=192.168.1.1 ledModeInitSkip=0 serverip=192.168.1.111 stderr=serial stdin=serial stdout=serial
You can set the local and TFTP server IP address here if you want but the important thing is to give the device a mac address, the default has the vendor part set to “00:E0:4C” which is Realtek, you could use that unchanged but it should probably be changed to Zyxel. The XGS1210 switches use D8:EC:E5 or BC:CF:4F - both these vendor prefixes are registered to Zxyel. It's possible that Zyxel use other MAC prefixes on these switches but those are the only two that seem to be common. The final three octets are supposed to be unique to an individual device to produce a globally unique address. Unfortunately the only way to assign one is to choose three values at random. As long as the resultant MAC address is unique on your local network it will work just fine.
If you are uneasy about “faking” a Zyxel MAC address you could generate a locally administered MAC address which is somewhat akin to using RFC1918 private network addresses for IPv4, but at layer 2.
RTL9300# # set env ethaddr D8:EC:E5:XX:YY:ZZ RTL9300# # saveenv Saving Environment to SPI Flash... Erasing SPI flash...Writing to SPI flash...done RTL9300# #
Enable the network
RTL9300# # rtk network on
This will print several lines as it initialises the network ports - once this is done you should be able to ping the tftp server ip
RTL9300# # ping 192.168.1.111 Using rtl9300#0 device host 192.168.1.111 is alive
Download the initramfs image
RTL9300# # tftpboot 0x84f00000 openwrt-realtek-rtl930x-zyxel_xgs1010-12-a1-initramfs-kernel.bin Using rtl9300#0 device TFTP from server 192.168.1.111; our IP address is 192.168.1.1 Filename 'openwrt-realtek-rtl930x-zyxel_xgs1010-12-a1-initramfs-kernel.bin'. Load address: 0x84f00000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ########################################## done Bytes transferred = 5336398 (516D4E hex)
Now boot the image
RTL9300# # bootm
You should see OpenWrt boot up, once it has finished initialising the switch hardware press “Enter” to activate the serial console.
BusyBox v1.38.0 (2026-05-13 02:19:59 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r34881-ee02f6f16b
-----------------------------------------------------
=== 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:~#
To complete the installation copy the sysupgrade image to /tmp, then set the boot command for u-boot and finally perform the sysupgrade
root@OpenWrt:~# scp user@192.168.1.111:/tmp/openwrt-realtek-rtl930x-zyxel_xgs1010-12-a1-squashfs-sysupgrade.bin /tmp root@OpenWrt:~# root@OpenWrt:~# fw_setenv bootcmd "rtk network on; bootm 0xb4900000" root@OpenWrt:~# sysupgrade -n -p /tmp/openwrt-realtek-rtl930x-zyxel_xgs1010-12-a1-squashfs-sysupgrade.bin
Obviously replace user@192.168.1.111 and the path to the sysupgrade image with values for your environment.
Once the sysupgrade is complete the unit will reboot. Congratulations, you have installed OpenWrt, note that it is important not to omit the fw_setenv command because otherwise the unit will boot back into the Zyxel firmware (at some future point the OpenWrt firmware image might be large enough to overwrite the stock firmware but for the moment this does not happen).
Router Performance
Note that this is a layer 2 device and should be treated as such, the SoC CPU is dual virtual core MIPS 34Kc @ 800Mhz - it is powerful enough for configuration and perhaps some light duty such as DHCP/DNS but it is not going to perform well as a router/firewall or VPN endpoint where packets need to be handled by the CPU. As an example of this iperf3 performance with the client running on the switch CPU gives about 125Mbit/s sending and about 400Mbit/s receiving compared with 2.4Gbit/s between two PCs connected across the switch 2.5GbE ports.
Serial
→ port.serial general information about the serial port, serial port cable, etc.
Access to the serial port is identical on the XGS1010, XGS1210 and XGS1250 switches and does not need the case to be opened. The serial header can be connected to with a standard 2.54mm header/Dupont connector.
Pins are, from top to bottom:
- Vcc (3.3V)
- TX
- RX
- GND
| Serial connection parameters for ZyXEL XGS1010-12 | 115200, 8N1 |
|---|
Bootlogs
OEM bootlog
U-Boot 2011.12.(TRUNK_CURRENT)-svn99721 (Oct 24 2019 - 09:15:40) Board: RTL9300 CPU:800MHz LX:175MHz DDR:600MHz DRAM: 128 MB SPI-F: MXIC/C22018/MMIO16-1/ModeC 1x16 MB (plr_flash_info @ 83f831e4) Loading 65536B env. variables from offset 0xe0000 Net: Net Initialization Skipped No ethernet found. Hit Esc key to stop autoboot: 0 ## Booting image from partition ... 0 ## Booting kernel from Legacy Image at 81000000 ... Image Name: RTK_SDK Created: 2019-10-24 9:16:10 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 4577343 Bytes = 4.4 MB Load Address: 80000000 Entry Point: 80283510 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Starting kernel ... console [ttyS0] enabled bootconsole [early0] disabled Calibrating delay loop... 531.66 BogoMIPS (lpj=2658304) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) NET: Registered protocol family 16 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 2, 20480 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP: reno registered UDP hash table entries: 256 (order: 1, 12288 bytes) UDP-Lite hash table entries: 256 (order: 1, 12288 bytes) NET: Registered protocol family 1 futex hash table entries: 256 (order: 0, 7168 bytes) msgmni has been set to 239 random: modprobe urandom read with 0 bits of entropy available io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x0 (irq = 39, base_baud = 10764700) is a 16550A RTK_SPI_FLASH_MIO driver is bypassed RTK_NORSFG3 driver is used ================================================================= init_luna_nor_spi_map: flash map at 0xb4000000 SPI NOR driver probe... MXIC/C22018/MMIO16-1/ModeC add SPI NOR partition MTD partitions obtained from built-in array Creating 7 MTD partitions on "rtk_norsf_g3": 0x000000000000-0x0000000e0000 : "LOADER" 0x0000000e0000-0x0000000f0000 : "BDINFO" 0x0000000f0000-0x000000100000 : "SYSINFO" 0x000000100000-0x000000200000 : "JFFS2 CFG" 0x000000200000-0x000000300000 : "JFFS2 LOG" 0x000000300000-0x000000980000 : "RUNTIME" 0x000000980000-0x000001000000 : "RUNTIME2" ================================================================= ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver rtk_gen1_hcd_cs_init: rtk_gen1_hcd_cs_init()! rtk_gen1_hcd_cs_init: register rtk_gen1_ehci ok! usb_phy_configure_process: usb_phy_configure_process()! rtk_gen1-ehci rtk_gen1-ehci: Realtek On-Chip EHCI Host Controller rtk_gen1-ehci rtk_gen1-ehci: new USB bus registered, assigned bus number 1 rtk_gen1-ehci rtk_gen1-ehci: irq 20, io mem 0x18021000 rtk_gen1-ehci rtk_gen1-ehci: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected usbcore: registered new interface driver usbtmc usbcore: registered new interface driver usb-storage TCP: cubic registered NET: Registered protocol family 17 Freeing unused kernel memory: 3316K (803a3000 - 806e0000) init started: BusyBox v1.00 (2019.10.23-06:17+0000) multi-call binary Starting pid 25, console : '/etc/rc' RTCORE LKM Insert... allocate mem to rtcore_devices[0].rt_data=0x87c8f000 RTCORE Driver Module Initialize IOAL init Log init Hardware-profile probe (Forced profile: RTL9302B_8218D_2x8226_2xGE) (RTL9302B_8218D_2x8226_2xGE) Hardware-profile init GPIO probe (unit 0): (found) GPIO Init Reset PHY gpio OK! SPI init (unit 0) (type3) SPI Master init TC probe (unit 0): (found) TC init (unit 0) TC util init (unit 0) TC util init (isr) Watchdog probe (unit 0): (found) Watchdog init (unit 0) I2C probe (unit 0) I2C init (unit 0) RTL8231 probe (unit 0): (found) RTL8231 init (unit 0) NIC probe (unit 0) IOAL init L2Ntfy probe (unit 0): (found) RTK Driver Module Initialize MAC probe (unit 0) Chip 9302 (found) MAC init (unit 0) SMI protocol probe (unit 0) PHY probe (unit 0) Chip Construct (unit 0) Chip Construct Disable PHY Polling PHY Reset MAC Construct Turn Off Serdes Serdes Construct PHY Construct Turn On Serdes Enable PHY Polling Misc PHY init (unit 0) Mgmt_dev init (unit 0) I2C device init (unit 0) I2C device init (unit 0) RTNIC Driver Module Initialize RTDRV Driver Module Initialize route: not found RTK.0>
OpenWRT bootlog
U-Boot 2011.12.(TRUNK_CURRENT)-svn99721 (Oct 24 2019 - 09:15:40) Board: RTL9300 CPU:800MHz LX:175MHz DDR:600MHz DRAM: 128 MB SPI-F: MXIC/C22018/MMIO16-1/ModeC 1x16 MB (plr_flash_info @ 83f831e4) Loading 65536B env. variables from offset 0xe0000 Net: Net Initialization Skipped No ethernet found. Hit Esc key to stop autoboot: 0 Enable network RTCORE Driver Module Initialize IOAL init Hardware-profile probe (Forced profile: RTL9302B_8218D_2x8226_2xGE) (RTL9302B_8218D_2x8226_2xGE) Hardware-profile init GPIO probe (unit 0): (found) GPIO Init Reset PHY gpio OK! SPI init (unit 0) (type3) SPI Master init I2C probe (unit 0) I2C init (unit 0) RTL8231 probe (unit 0): (found) RTL8231 init (unit 0) NIC probe (unit 0) Loader RTNIC Driver Module Initialize IOAL init RTK Driver Module Initialize MAC probe (unit 0) Chip 9302 (found) MAC init (unit 0) SMI protocol probe (unit 0) PHY probe (unit 0) Chip Construct (unit 0) Chip Construct Disable PHY Polling PHY Reset MAC Construct Turn Off Serdes Serdes Construct PHY Construct Turn On Serdes Enable PHY Polling Misc PHY init (unit 0) Mgmt_dev init (unit 0) Please wait for PHY init-time ... ## Booting kernel from Legacy Image at b4900000 ... Image Name: MIPS OpenWrt Linux-6.18.35 Created: 2026-06-13 20:15:02 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 3241082 Bytes = 3.1 MB Load Address: 80100000 Entry Point: 80100000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Starting kernel ... [ 0.000000] Linux version 6.18.35 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r34881-ee02f6f16b) 14.3.0, GNU ld (GNU Binutils) 2.44) #0 SMP Sat Jun 13 20:15:02 2026 [ 0.000000] Realtek RTL9302B rev B (6487) SoC with 128 MB [ 0.000000] printk: legacy bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019555 (MIPS 34Kc) [ 0.000000] MIPS: machine is Zyxel XGS1010-12 A1 [ 0.000000] earlycon: ns16550a0 at MMIO 0x18002000 (options '115200n8') [ 0.000000] printk: legacy bootconsole [ns16550a0] enabled [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Using appended Device Tree. [ 0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT [ 0.000000] Detected 1 available secondary CPU(s) [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] HighMem empty [ 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] percpu: Embedded 12 pages/cpu s18544 r8192 d22416 u49152 [ 0.000000] pcpu-alloc: s18544 r8192 d22416 u49152 alloc=12*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Kernel command line: earlycon [ 0.000000] printk: log buffer data + meta data: 131072 + 409600 = 540672 bytes [ 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] Writing ErrCtl register=00030080 [ 0.000000] Readback ErrCtl register=00030080 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32768 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2. [ 0.000000] NR_IRQS: 256 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] Failed to get CPU clock: -2 [ 0.000000] CPU frequency from device tree: 800MHz [ 0.000000] clocksource: realtek_otto_timer: mask: 0xfffffff max_cycles: 0xfffffff, max_idle_ns: 38225208801 ns [ 0.000002] sched_clock: 28 bits at 3125kHz, resolution 320ns, wraps every 42949672800ns [ 0.009149] Calibrating delay loop... 531.66 BogoMIPS (lpj=2658304) [ 0.065737] pid_max: default: 32768 minimum: 301 [ 0.082263] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.090308] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.119268] rcu: Hierarchical SRCU implementation. [ 0.124513] rcu: Max phase no-delay instances is 1000. [ 0.132173] smp: Bringing up secondary CPUs ... [ 0.138996] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.139049] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.139239] CPU1 revision is: 00019555 (MIPS 34Kc) [ 0.218920] Counter synchronization [CPU#0 -> CPU#1]: passed [ 0.246158] smp: Brought up 1 node, 2 CPUs [ 0.252039] Memory: 116536K/131072K available (8207K kernel code, 659K rwdata, 1840K rodata, 1256K init, 248K bss, 13656K reserved, 0K cma-reserved, 0K highmem) [ 0.274615] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.285795] posixtimers hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.293918] futex hash table entries: 512 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear). [ 0.310336] pinctrl core: initialized pinctrl subsystem [ 0.319202] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.326528] thermal_sys: Registered thermal governor 'step_wise' [ 0.358393] clocksource: Switched to clocksource realtek_otto_timer [ 0.383577] NET: Registered PF_INET protocol family [ 0.389296] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.399348] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.408582] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.417059] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.425516] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.433447] TCP: Hash tables configured (established 1024 bind 1024) [ 0.441043] MPTCP token hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.449467] UDP hash table entries: 256 (order: 2, 14336 bytes, linear) [ 0.456766] UDP-Lite hash table entries: 256 (order: 2, 14336 bytes, linear) [ 0.465844] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.474495] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 0.484603] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.491099] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.510648] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.520425] pinctrl-single 1b000200.pinmux: 32 pins, size 4 [ 0.526974] pinctrl-single 1b000204.pinmux: 32 pins, size 4 [ 0.533858] pinctrl-single 1b00c600.pinmux: 32 pins, size 4 [ 0.540528] pinctrl-single 1b00cc00.pinmux: 32 pins, size 4 [ 0.551280] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.571256] printk: legacy console [ttyS0] disabled [ 0.578021] 18002000.uart: ttyS0 at MMIO 0x18002000 (irq = 30, base_baud = 10937500) is a 16550A [ 0.587848] printk: legacy console [ttyS0] enabled [ 0.587848] printk: legacy console [ttyS0] enabled [ 0.598754] printk: legacy bootconsole [early0] disabled [ 0.598754] printk: legacy bootconsole [early0] disabled [ 0.612341] printk: legacy bootconsole [ns16550a0] disabled [ 0.612341] printk: legacy bootconsole [ns16550a0] disabled [ 0.657722] brd: module loaded [ 0.666392] 10 fixed-partitions partitions found on MTD device spi0.0 [ 0.673709] Creating 10 MTD partitions on "spi0.0": [ 0.679222] 0x000000000000-0x0000000e0000 : "u-boot" [ 0.686729] 0x0000000e0000-0x0000000f0000 : "u-boot-env" [ 0.694826] 0x0000000f0000-0x000000100000 : "u-boot-env2" [ 0.702834] 0x000000100000-0x000000200000 : "jffs2-cfg" [ 0.710707] 0x000000200000-0x000000300000 : "jffs2-log" [ 0.718883] 0x000000300000-0x000000810000 : "fwconcat1" [ 0.726821] 0x000000810000-0x000000820000 : "htp-log" [ 0.734551] 0x000000820000-0x0000008f0000 : "fwconcat2" [ 0.742413] 0x0000008f0000-0x000000900000 : "htp-flash-test" [ 0.750759] 0x000000900000-0x000001000000 : "fwconcat0" [ 0.836519] realtek-otto-serdes-mdio 1b000000.ethernet-switch:mdio-serdes: Realtek SerDes mdio bus initialized, 12 SerDes, 64 pages, 32 registers [ 0.851896] realtek-otto-pcs 1b000000.ethernet-switch:pcs: Realtek PCS driver initialized [ 0.862004] Probing RTL838X eth device pdev: 81908600, dev: 81908610 [ 0.869975] rtl838x_eth 1b000000.ethernet-switch:ethernet: Using MAC 00:e0:4c:00:00:00 [ 0.880590] i2c_dev: i2c /dev entries driver [ 0.892977] NET: Registered PF_INET6 protocol family [ 0.904463] Segment Routing with IPv6 [ 0.908972] In-situ OAM (IOAM) with IPv6 [ 0.913549] NET: Registered PF_PACKET protocol family [ 0.919469] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 0.935150] 8021q: 802.1Q VLAN Support v1.8 [ 0.990712] Concatenating MTD devices: [ 0.994949] (0): "fwconcat0" [ 0.998170] (1): "fwconcat1" [ 1.001551] (2): "fwconcat2" [ 1.004770] into device "virtual_flash" [ 1.009268] 1 fixed-partitions partitions found on MTD device virtual_flash [ 1.017418] Creating 1 MTD partitions on "virtual_flash": [ 1.023639] 0x000000000000-0x000000ce0000 : "firmware" [ 1.031905] 2 uimage-fw partitions found on MTD device firmware [ 1.038636] Creating 2 MTD partitions on "firmware": [ 1.044210] 0x000000000000-0x000000320000 : "kernel" [ 1.051800] 0x000000320000-0x000000ce0000 : "rootfs" [ 1.059323] mtd: setting mtd12 (rootfs) as root device [ 1.065136] 1 squashfs-split partitions found on MTD device rootfs [ 1.072202] 0x000000550000-0x000000ce0000 : "rootfs_data" [ 1.083360] sfp sfp-p11: Host maximum power 1.0W [ 1.094255] sfp sfp-p12: Host maximum power 1.0W [ 1.105285] rtldsa_93xx_setup called [ 1.109526] In rtldsa_vlan_setup [ 2.118502] rtldsa_enable_phy_polling: f0000ff [ 2.124704] rtl83xx-switch 1b000000.ethernet-switch: led_set0 has 2 LEDs configured [ 2.133327] rtl83xx-switch 1b000000.ethernet-switch: led_set1 has 4 LEDs configured [ 2.141935] rtl83xx-switch 1b000000.ethernet-switch: led_set2 has 2 LEDs configured [ 2.150702] rtl83xx-switch 1b000000.ethernet-switch: configuring for fixed/internal link mode [ 2.160689] rtl83xx-switch 1b000000.ethernet-switch: Link is Up - 1Gbps/Full - flow control off [ 2.170928] RTL8218D (chip_id=1, rev_id=1) on port 0 running in XSGMII mode [ 2.185309] rtl83xx-switch 1b000000.ethernet-switch lan1 (uninitialized): PHY [realtek-mdio-0:00] driver [REALTEK RTL8218D] (irq=POLL) [ 2.202175] rtl83xx-switch 1b000000.ethernet-switch lan2 (uninitialized): PHY [realtek-mdio-0:01] driver [REALTEK RTL8218D] (irq=POLL) [ 2.218865] rtl83xx-switch 1b000000.ethernet-switch lan3 (uninitialized): PHY [realtek-mdio-0:02] driver [REALTEK RTL8218D] (irq=POLL) [ 2.235602] rtl83xx-switch 1b000000.ethernet-switch lan4 (uninitialized): PHY [realtek-mdio-0:03] driver [REALTEK RTL8218D] (irq=POLL) [ 2.252345] rtl83xx-switch 1b000000.ethernet-switch lan5 (uninitialized): PHY [realtek-mdio-0:04] driver [REALTEK RTL8218D] (irq=POLL) [ 2.269672] rtl83xx-switch 1b000000.ethernet-switch lan6 (uninitialized): PHY [realtek-mdio-0:05] driver [REALTEK RTL8218D] (irq=POLL) [ 2.286507] rtl83xx-switch 1b000000.ethernet-switch lan7 (uninitialized): PHY [realtek-mdio-0:06] driver [REALTEK RTL8218D] (irq=POLL) [ 2.303184] rtl83xx-switch 1b000000.ethernet-switch lan8 (uninitialized): PHY [realtek-mdio-0:07] driver [REALTEK RTL8218D] (irq=POLL) [ 2.358512] rtl83xx-switch 1b000000.ethernet-switch lan9 (uninitialized): PHY [realtek-mdio-1:08] driver [RTL8226-CG 2.5Gbps PHY] (irq=POLL) [ 2.418503] rtl83xx-switch 1b000000.ethernet-switch lan10 (uninitialized): PHY [realtek-mdio-2:09] driver [RTL8226-CG 2.5Gbps PHY] (irq=POLL) [ 2.437510] rtl838x_eth 1b000000.ethernet-switch:ethernet eth0: Failed to create a device link to DSA switch 1b000000.ethernet-switch [ 2.451128] rtl838x_eth 1b000000.ethernet-switch:ethernet eth0: entered promiscuous mode [ 2.460343] DSA: tree 0 setup [ 2.463743] LINK state irq: 23 [ 2.467333] rtl930x_dbgfs_init called [ 2.472637] clk: Disabling unused clocks [ 2.477597] check access for rdinit=/init failed: -2, ignoring [ 2.490880] VFS: Mounted root (squashfs filesystem) readonly on device 31:12. [ 2.504407] Freeing unused kernel image (initmem) memory: 1256K [ 2.511097] This architecture does not have kernel memory protection. [ 2.518288] Run /sbin/init as init process [ 2.522895] with arguments: [ 2.526210] /sbin/init [ 2.529256] with environment: [ 2.532757] HOME=/ [ 2.535372] TERM=linux [ 3.308751] init: Console is alive [ 3.313047] init: - watchdog - [ 3.703335] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.712967] gpio_button_hotplug: loading out-of-tree module taints kernel. [ 3.723269] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 3.736567] init: - preinit - [ 6.798494] random: crng init done Cannot parse config file '/etc/fw_env.config': No such file or directory Failed to find NVMEM device [ 8.459004] RESETTING CPU_PORT 28 [ 8.698861] rtl838x_eth 1b000000.ethernet-switch:ethernet eth0: receive page pool below 41 MB [ 8.708463] rtl838x_eth 1b000000.ethernet-switch:ethernet eth0: configuring for fixed/internal link mode [ 8.719081] In rteth_mac_config, mode 1 [ 8.724210] rtl83xx-switch 1b000000.ethernet-switch lan1: configuring for phy/usxgmii link mode [ 8.733991] realtek-otto-pcs 1b000000.ethernet-switch:pcs: configure SerDes 2 for mode usxgmii [ 8.743773] rtl838x_eth 1b000000.ethernet-switch:ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 9.025076] vthp_set_bin = 3, vthn_set_bin = 3, manual = 0 [ 9.132579] tap0: coef_bin = 19, sign = + [ 9.137073] tap0: manual = 0 [ 9.212255] 8021q: adding VLAN 0 to HW filter on device lan1 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 [ 13.711112] jffs2: notice: (803) jffs2_build_xattr_subsystem: complete building xattr subsystem, 19 of xdatum (17 unchecked, 2 orphan) and 23 of xref (2 dead, 0 orphan) found. [ 13.731460] mount_root: switching to jffs2 overlay [ 13.741723] overlayfs: upper fs does not support tmpfile. [ 13.759711] urandom-seed: Seeding with /etc/urandom.seed [ 13.963716] procd: - early - [ 13.967344] procd: - watchdog - [ 14.663376] procd: - watchdog - [ 14.668213] procd: - ubus - [ 14.778504] procd: - init - Please press Enter to activate this console. [ 15.902540] kmodloader: loading kernel modules from /etc/modules.d/* [ 16.052477] kmodloader: done loading kernel modules from /etc/modules.d/* [ 18.146843] urngd: v1.0.2 started. [ 24.966632] in rteth_stop [ 24.970246] rtl838x_eth 1b000000.ethernet-switch:ethernet eth0: Link is Down [ 25.641137] Using MAC d8:ec:e5:f2:d4:65 [ 25.645790] RESETTING CPU_PORT 28 [ 25.868785] rtl838x_eth 1b000000.ethernet-switch:ethernet eth0: receive page pool below 41 MB [ 25.878513] rtl838x_eth 1b000000.ethernet-switch:ethernet eth0: configuring for fixed/internal link mode [ 25.889262] In rteth_mac_config, mode 1 [ 25.894036] rtl838x_eth 1b000000.ethernet-switch:ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 25.912530] rtl83xx-switch 1b000000.ethernet-switch lan1: configuring for phy/usxgmii link mode [ 25.924902] 8021q: adding VLAN 0 to HW filter on device lan1 [ 25.940366] switch: port 1(lan1) entered blocking state [ 25.946264] switch: port 1(lan1) entered disabled state [ 25.952387] rtl83xx-switch 1b000000.ethernet-switch lan1: entered allmulticast mode [ 25.961119] rtl838x_eth 1b000000.ethernet-switch:ethernet eth0: entered allmulticast mode [ 25.971267] rtl83xx-switch 1b000000.ethernet-switch lan1: entered promiscuous mode [ 26.059190] rtl83xx-switch 1b000000.ethernet-switch lan2: configuring for phy/usxgmii link mode [ 26.091316] 8021q: adding VLAN 0 to HW filter on device lan2 [ 26.108710] switch: port 2(lan2) entered blocking state [ 26.114628] switch: port 2(lan2) entered disabled state [ 26.120804] rtl83xx-switch 1b000000.ethernet-switch lan2: entered allmulticast mode [ 26.147420] rtl83xx-switch 1b000000.ethernet-switch lan2: entered promiscuous mode [ 26.215862] rtl83xx-switch 1b000000.ethernet-switch lan3: configuring for phy/usxgmii link mode [ 26.226588] 8021q: adding VLAN 0 to HW filter on device lan3 [ 26.269035] switch: port 3(lan3) entered blocking state [ 26.274885] switch: port 3(lan3) entered disabled state [ 26.280988] rtl83xx-switch 1b000000.ethernet-switch lan3: entered allmulticast mode [ 26.291483] rtl83xx-switch 1b000000.ethernet-switch lan3: entered promiscuous mode [ 26.322291] rtl83xx-switch 1b000000.ethernet-switch lan4: configuring for phy/usxgmii link mode [ 26.332823] 8021q: adding VLAN 0 to HW filter on device lan4 [ 26.349482] switch: port 4(lan4) entered blocking state [ 26.355380] switch: port 4(lan4) entered disabled state [ 26.361556] rtl83xx-switch 1b000000.ethernet-switch lan4: entered allmulticast mode [ 26.372026] rtl83xx-switch 1b000000.ethernet-switch lan4: entered promiscuous mode [ 26.401659] rtl83xx-switch 1b000000.ethernet-switch lan5: configuring for phy/usxgmii link mode [ 26.412554] 8021q: adding VLAN 0 to HW filter on device lan5 [ 26.429602] switch: port 5(lan5) entered blocking state [ 26.435495] switch: port 5(lan5) entered disabled state [ 26.441542] rtl83xx-switch 1b000000.ethernet-switch lan5: entered allmulticast mode [ 26.451304] rtl83xx-switch 1b000000.ethernet-switch lan5: entered promiscuous mode [ 26.476840] rtl83xx-switch 1b000000.ethernet-switch lan6: configuring for phy/usxgmii link mode [ 26.487449] 8021q: adding VLAN 0 to HW filter on device lan6 [ 26.503903] switch: port 6(lan6) entered blocking state [ 26.509917] switch: port 6(lan6) entered disabled state [ 26.515856] rtl83xx-switch 1b000000.ethernet-switch lan6: entered allmulticast mode [ 26.525444] rtl83xx-switch 1b000000.ethernet-switch lan6: entered promiscuous mode [ 26.549116] rtl83xx-switch 1b000000.ethernet-switch lan7: configuring for phy/usxgmii link mode [ 26.559653] 8021q: adding VLAN 0 to HW filter on device lan7 [ 26.575936] switch: port 7(lan7) entered blocking state [ 26.581919] switch: port 7(lan7) entered disabled state [ 26.587852] rtl83xx-switch 1b000000.ethernet-switch lan7: entered allmulticast mode [ 26.597445] rtl83xx-switch 1b000000.ethernet-switch lan7: entered promiscuous mode [ 26.619997] rtl83xx-switch 1b000000.ethernet-switch lan8: configuring for phy/usxgmii link mode [ 26.630967] 8021q: adding VLAN 0 to HW filter on device lan8 [ 26.647325] switch: port 8(lan8) entered blocking state [ 26.653310] switch: port 8(lan8) entered disabled state [ 26.659374] rtl83xx-switch 1b000000.ethernet-switch lan8: entered allmulticast mode [ 26.668893] rtl83xx-switch 1b000000.ethernet-switch lan8: entered promiscuous mode [ 26.691131] rtl83xx-switch 1b000000.ethernet-switch lan9: configuring for inband/sgmii link mode [ 26.701072] realtek-otto-pcs 1b000000.ethernet-switch:pcs: configure SerDes 6 for mode sgmii [ 26.728764] rtpcs_93xx_sds_config_cmu: SDS 6 using ring PLL for mode 5 [ 26.794581] rtpcs_930x_sds_10g_idle: WARNING Waiting for RX idle timed out, SDS 6 [ 27.085095] vthp_set_bin = 7, vthn_set_bin = 3, manual = 0 [ 27.215201] tap0: coef_bin = 31, sign = + [ 27.219835] tap0: manual = 0 [ 27.340432] 8021q: adding VLAN 0 to HW filter on device lan9 [ 27.356945] switch: port 9(lan9) entered blocking state [ 27.362956] switch: port 9(lan9) entered disabled state [ 27.369072] rtl83xx-switch 1b000000.ethernet-switch lan9: entered allmulticast mode [ 27.378720] rtl83xx-switch 1b000000.ethernet-switch lan9: entered promiscuous mode [ 27.404268] rtl83xx-switch 1b000000.ethernet-switch lan10: configuring for inband/sgmii link mode [ 27.414409] realtek-otto-pcs 1b000000.ethernet-switch:pcs: configure SerDes 7 for mode sgmii [ 27.438753] rtpcs_93xx_sds_config_cmu: SDS 7 using ring PLL for mode 5 [ 27.504608] rtpcs_930x_sds_10g_idle: WARNING Waiting for RX idle timed out, SDS 7 [ 27.757796] vthp_set_bin = 7, vthn_set_bin = 3, manual = 0 [ 27.865434] tap0: coef_bin = 31, sign = + [ 27.869999] tap0: manual = 0 [ 27.978726] 8021q: adding VLAN 0 to HW filter on device lan10 [ 27.994504] switch: port 10(lan10) entered blocking state [ 28.000648] switch: port 10(lan10) entered disabled state [ 28.006730] rtl83xx-switch 1b000000.ethernet-switch lan10: entered allmulticast mode [ 28.016379] rtl83xx-switch 1b000000.ethernet-switch lan10: entered promiscuous mode [ 28.033675] rtl83xx-switch 1b000000.ethernet-switch lan11: configuring for inband/1000base-x link mode [ 28.044190] realtek-otto-pcs 1b000000.ethernet-switch:pcs: configure SerDes 8 for mode 1000base-x [ 28.068637] rtpcs_93xx_sds_config_cmu: SDS 8 using ring PLL for mode 2 [ 28.133570] rtpcs_930x_sds_10g_idle: WARNING Waiting for RX idle timed out, SDS 8 [ 28.374010] vthp_set_bin = 7, vthn_set_bin = 3, manual = 0 [ 28.481657] tap0: coef_bin = 31, sign = + [ 28.486154] tap0: manual = 0 [ 28.561148] 8021q: adding VLAN 0 to HW filter on device lan11 [ 28.570040] switch: port 11(lan11) entered blocking state [ 28.576191] switch: port 11(lan11) entered disabled state [ 28.582517] rtl83xx-switch 1b000000.ethernet-switch lan11: entered allmulticast mode [ 28.592182] rtl83xx-switch 1b000000.ethernet-switch lan11: entered promiscuous mode [ 28.609424] rtl83xx-switch 1b000000.ethernet-switch lan12: configuring for inband/1000base-x link mode [ 28.619899] realtek-otto-pcs 1b000000.ethernet-switch:pcs: configure SerDes 9 for mode 1000base-x [ 28.648594] rtpcs_93xx_sds_config_cmu: SDS 9 using ring PLL for mode 2 [ 28.713553] rtpcs_930x_sds_10g_idle: WARNING Waiting for RX idle timed out, SDS 9 [ 28.953876] vthp_set_bin = 7, vthn_set_bin = 3, manual = 0 [ 29.063278] tap0: coef_bin = 31, sign = + [ 29.067772] tap0: manual = 0 [ 29.142816] 8021q: adding VLAN 0 to HW filter on device lan12 [ 29.150239] switch: port 12(lan12) entered blocking state [ 29.156280] switch: port 12(lan12) entered disabled state [ 29.162538] rtl83xx-switch 1b000000.ethernet-switch lan12: entered allmulticast mode [ 29.172059] rtl83xx-switch 1b000000.ethernet-switch lan12: entered promiscuous mode
\

