mestechs_msg9424

This is an old revision of the document!


Mestechs MSG9424

The MSG9424 is a 24 + 4-port Gigabit L3 switch. It has 24 Gigabit ports and 4 SFP+ 10GBit uplink cages.

  • RTL9301 SoC
  • Winbond 25Q128JVSQ (16MB flash)
  • SKhynix H5TQ4G63EFR (512MB DDR3 SDRAM)
  • RTL8231 GPIO extender to control the port LEDs
  • 3x RTL8218D 8x Gigabit PHY

img_6136.jpg

U-Boot 2011.12.(3.6.6.55087) (Mar 31 2022 - 11:20:31)

Board: RTL9300 CPU:800MHz LX:175MHz DDR:600MHz
DRAM:  512 MB
SPI-F: WINBOND/EF4018/MMIO16-1/ModeC 1x16 MB (plr_flash_info @ 83f8fd8c)
Loading 65536B env. variables from offset 0xe0000
Net:   Net Initialization Skipped
No ethernet found.
Hit Esc key to stop autoboot:  0
RTL9300# # help
?       - alias for 'help'
base    - print or set address offset
boota   - boota  - boot application image from flash partiton

bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
cmp     - memory compare
cp      - memory copy
crc32   - checksum calculation
env     - environment handling commands
erase   - erase FLASH memory
flerase - Erase flash partition
flinfo  - print FLASH memory information
flshow  - Show flash partition layout
go      - start application at address 'addr'
help    - print command description/usage
iminfo  - print header information for application image
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing address)
mtest   - simple RAM read/write test
mw      - memory write (fill)
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
printsys- printsys - print system information variables

protect - enable or disable FLASH write protection
reset   - Perform RESET of the CPU
reset_all- Perform whole chip RESET of the CPU
rtk     - rtk     - Realtek commands

run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
savesys - savesys - save system information variables to persistent storage

setenv  - set environment variables
setsys  - setsys  - set system information variables

sf      - SPI flash sub-system
sleep   - delay execution for some time
tftpboot- boot image via network using TFTP protocol
upgrade - Upgrade loader or runtime image
version - print monitor, compiler and linker version

RTL9300# # version

U-Boot 2011.12.(3.6.6.55087) (Mar 31 2022 - 11:20:31)
mips-linux-uclibc-xgcc (Realtek MSDK-4.8.5p1 Build 2536) 4.8.5 20150209 (prerelease)
GNU ld (Realtek MSDK-4.8.5p1 Build 2536) 2.24.0
RTL9300# # flshow
=============== FLASH Partition Layout ===============
Index  Name       Size       Address
------------------------------------------------------
 0     LOADER     0xe0000    0xb4000000-0xb40dffff
 1     BDINFO     0x10000    0xb40e0000-0xb40effff
 2     SYSINFO    0x10000    0xb40f0000-0xb40fffff
 3     JFFS2_CFG  0x100000   0xb4100000-0xb41fffff
 4     JFFS2_LOG  0x100000   0xb4200000-0xb42fffff
 5     RUNTIME1   0xc00000   0xb4300000-0xb4efffff
 6     OEMINFO    0x100000   0xb4f00000-0xb4ffffff
======================================================
RTL9300# # printenv
baudrate=115200
boardmodel=RTL9301_3x8218D_4XGE
bootcmd=boota
bootdelay=1
ethaddr=44:6F:D8:30:02:61
ipaddr=192.168.1.1
ledModeInitSkip=0
modelname=RTL9301
serialnumber=010100152205120001
serverip=192.168.2.254
stderr=serial
stdin=serial
stdout=serial

Environment size: 278/65532 bytes
U-Boot 2011.12.(3.6.6.55087) (Mar 31 2022 - 11:20:31)

Board: RTL9300 CPU:800MHz LX:175MHz DDR:600MHz
DRAM:  512 MB
SPI-F: WINBOND/EF4018/MMIO16-1/ModeC 1x16 MB (plr_flash_info @ 83f8fd8c)
Loading 65536B env. variables from offset 0xe0000
Net:   Net Initialization Skipped
No ethernet found.
Hit Esc key to stop autoboot:  0
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   1.0.1.12
   Created:      2022-03-31  11:32:47 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    8062273 Bytes = 7.7 MB
   Load Address: 80000000
   Entry Point:  802969d0
   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
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 3, 40960 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
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)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 487
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 = 47, base_baud = 10764700) is a 16550A
loop: module loaded
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...
WINBOND/EF4018/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-0x000000f00000 : "RUNTIME"
0x000000f00000-0x000001000000 : "OEMINFO"
=================================================================
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Freeing unused kernel memory: 6704K (80374000 - 80a00000)
Mount DEV File System....OK
Mount PROC File System........OK
Mount Main SQFS File System........OK
Mount Module SQFS File System....OK
Mount CFG JFFS2 File System....OK
Mount LOG JFFS2 File System....OK
Mount OEM JFFS2 File System....OK
RTCORE LKM Insert...
RTCORE Driver Module Initialize
  IOAL init
  Log init
  Hardware-profile probe (RTL9301_3x8218D_4XGE)
  Hardware-profile init
  GPIO probe (unit 0): (found)
  GPIO Init
  SPI init (unit 0)
  Intr Probe (unit 0)
  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)
  RTL8231 probe (unit 0): (found)
  RTL8231 init (unit 0)
  UART probe (unit 0): (found)
  NIC probe (unit 0)
  IOAL init
  L2Ntfy probe (unit 0): (found)
RTK Driver Module Initialize
  MAC probe (unit 0)
    Chip 9301 (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
    Mac_Polling_PHY Config
    Enable PHY Polling
    Misc
  PHY init (unit 0)
  Mgmt_dev init (unit 0)
RTDRV Driver Module Initialize
Board ID: 9300007
Init Board Configuration Module....OK
net: module license 'Realtek Semiconductor Corp.' taints kernel.
Disabling lock debugging due to kernel taint
Init Net Module....OK
Init Define Database Module....OK
Init KSI Core Driver Module....OK
Init OS Abstract Layer Module....OK
Init SKI Core Driver Module....OK
Init Board Module....
Init Board Module-->watchdog....OK
Init Board Module-->encrypt....OK
Init Board Module-->led....OK
Init Board Module-->fiber....OKOK
Init Board Vendor Module....OK
Init Switch Voice VLAN Module....OK
Init Switch Surveillance VLAN Module....OK
Init Switch GVRP Module....OK
Init Switch STP Module....OK
Init Switch AUTHMGR Module....OK
Init Switch LACP Module....OK
Init Switch Multicast Module....OK
Init Switch IPSG Module....OK
Init Switch DHCP Module....OK
Init Switch DAI Module....OK
Init Switch LLDP Module....OK
Init Switch UDLD Module....OK
Init Switch MAC VLAN Module....OK
Init Switch ERPS Module....OK
Init Custom Module....OK
Init OEM_INFOR ....OK

====== Defaults Initial [Start] ======
Init Switch Factory Default....OK
Init VLAN Factory Default....OK
Init Protocol VLAN Factory Default....OK
Init Vocie VLAN Factory Default....OK
Init Surveillance VLAN Factory Default....OK
Init Mirror Factory Default....OK
Init L2 Factory Default....OK
Init L3 Factory Default....OK
Init Trunk Factory Default....OK
Init Rate Factory Default....OK
Init QoS Factory Default....OK
Init LACP Factory Default....OK
Init EEE Factory Default....OK
Init DoS Factory Default....OK
Init IGMP Factory Default....OK
Init MVR Factory Default....OK
Init MLD Factory Default....OK
Init STP Factory Default....OK
Init LLDP Factory Default....OK
Init System Factory Default....OK
Init SNMP Factory Default....OK
Init Port Security Factory Default....OK
Init Syslog Factory Default....OK
Init AAA Factory Default....OK
Init Auth Manager Factory Default....OK
Init Radius Factory Default....OK
Init Custom Factory Default....OK
Init IP Source Guard Factory Default....OK
Init DHCP Snooping Factory Default....OK
Init Dynamic ARP Inspection Factory Default....OK
Init GVRP Factory Default....OK
Init UDLD Factory Default....OK
Init ERPS Factory Default....OK
Init DHCP Server Factory Default....OK
Init Oem config Factory Default....OK
====== Defaults Initial [Done] ======

====== Initial from startup-config [Start] ======
====== Initial from startup-config [Done] ======

====== Post Initial [Start] ======
System Post Initial....OK
Port Post Initial....OK
====== Post Initial [Done] ======
*Jan 01 2022 00:00:10: %SYSTEM-5-WARMSTART: Warm startup












        Welcome to Layer 3 Managed Switch












  Press <Enter> to continue...
Press any key to continue
*Jan 01 2022 08:00:11: %PORT-5-LINK_UP: Interface GigabitEthernet1 link up
*Jan 01 2022 08:00:11: %PORT-5-LINK_UP: Interface VLAN1 link up
Username: admin
Password: *****
*Jan 01 2022 08:00:31: %AAA-5-CONNECT: New console connection for user admin, source async ACCEPTED
Switch#
Switch# show version
Loader Version   : 3.6.6.55087
Loader Date      : Mar 31 2022 - 11:20:31
Firmware Version : 1.0.1.12
Firmware Date    : Mar 31 2022 - 11:32:47
  • Connect to port 1 on the switch
  • Configure 192.168.1.2/24 on your computer
  • Install and run some tftpserver
  • put zyxel_xgs1250-12-initramfs-kernel.bin in the tftproot directory of your running tftpserver
  • connect to the switch via serial (115200 baud 8n1)
  • (re)boot your switch and press escape in serial terminal
  • in serial terminal run command: rtk network on
  • in serial terminal run command: tftpboot 0x84f00000 192.168.1.2:openwrt-realtek-rtl930x-zyxel_xgs1250-12-initramfs-kernel.bin
  • in serial terminal run command: bootm
U-Boot 2011.12.(3.6.6.55087) (Mar 31 2022 - 11:20:31)

Board: RTL9300 CPU:800MHz LX:175MHz DDR:600MHz
DRAM:  512 MB
SPI-F: WINBOND/EF4018/MMIO16-1/ModeC 1x16 MB (plr_flash_info @ 83f8fd8c)
Loading 65536B env. variables from offset 0xe0000
Net:   Net Initialization Skipped
No ethernet found.
Hit Esc key to stop autoboot:  0
RTL9300# # rtk network on
Enable network
RTCORE Driver Module Initialize
  IOAL init
  Hardware-profile probe (RTL9301_3x8218D_4XGE)
  Hardware-profile init
  GPIO probe (unit 0): (found)
  GPIO Init
  SPI init (unit 0)
  I2C probe (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 9301 (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
    Mac_Polling_PHY Config
    Enable PHY Polling
    Misc
  PHY init (unit 0)
  Mgmt_dev init (unit 0)
Please wait for PHY init-time ...

RTL9300# # printenv
baudrate=115200
boardmodel=RTL9301_3x8218D_4XGE
bootcmd=boota
bootdelay=1
ethact=rtl9300#0
ethaddr=44:6F:D8:30:02:61
ipaddr=192.168.1.1
ledModeInitSkip=0
modelname=RTL9301
serialnumber=010100152205120001
serverip=192.168.2.254
stderr=serial
stdin=serial
stdout=serial

Environment size: 297/65532 bytes
RTL9300# # tftpboot 0x84f00000 192.168.1.2:openwrt-realtek-rtl930x-zyxel_xgs1250-12-initramfs-kernel.bin
Using rtl9300#0 device
TFTP from server 192.168.1.3; our IP address is 192.168.1.1
Filename 'openwrt-realtek-rtl930x-zyxel_xgs1250-12-initramfs-kernel.bin'.
Load address: 0x84f00000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########################################################
done
Bytes transferred = 6543803 (63d9bb hex)
RTL9300# # bootm
## Booting kernel from Legacy Image at 84f00000 ...
   Image Name:   MIPS OpenWrt Linux-5.10.115
   Created:      2022-05-21  17:24:40 UTC
   Image Type:   MIPS Linux Kernel Image (gzip compressed)
   Data Size:    6543739 Bytes = 6.2 MB
   Load Address: 80000000
   Entry Point:  80000400
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 5.10.115 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r19693-21a3ce97d5) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Sat May 21 17:24:40 2022
[    0.000000] RTL838X model is 0
[    0.000000] RTL839X model is 0
[    0.000000] RTL93XX model is 93010001
[    0.000000] SoC Type: RTL9301
[    0.000000] Kernel command line:
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
[    0.000000] MIPS: machine is Zyxel XGS1250-12 Switch
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using appended Device Tree.
[    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] 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] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    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: console=ttyS0,115200
[    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=00028259
[    0.000000] Readback ErrCtl register=00028259
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 113604K/131072K available (5890K kernel code, 626K rwdata, 1268K rodata, 8144K init, 212K bss, 17468K 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] random: get_random_bytes called from start_kernel+0x31c/0x50c with crng_init=0
[    0.000000] CPU frequency from device tree: 800MHz
[    0.000000] rtl9300_clockevent_init called for cpu0
[    0.000000] rtl9300_clockevent_init using IRQ 8
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4778151116 ns
[    0.000008] sched_clock: 32 bits at 400MHz, resolution 2ns, wraps every 5368709118ns
[    0.008504] Calibrating delay loop... 531.66 BogoMIPS (lpj=2658304)
[    0.067047] pid_max: default: 32768 minimum: 301
[    0.072241] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.080106] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.090889] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.101948] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112633] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.120080] pinctrl core: initialized pinctrl subsystem
[    0.127679] NET: Registered protocol family 16
[    0.188578] clocksource: Switched to clocksource MIPS
[    0.195400] NET: Registered protocol family 2
[    0.200297] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.208972] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.218031] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.226378] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.234005] TCP: Hash tables configured (established 1024 bind 1024)
[    0.241065] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.248114] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.256024] NET: Registered protocol family 1
[    0.426447] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.437737] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.444094] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.457511] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.466950] realtek_gpio_probe probing RTL GPIO
[    0.513742] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.523733] printk: console [ttyS0] disabled
[    0.528379] 18002000.uart: ttyS0 at MMIO 0x18002000 (irq = 30, base_baud = 10937500) is a 16550A
[    0.537962] printk: console [ttyS0] enabled
[    0.537962] printk: console [ttyS0] enabled
[    0.547206] printk: bootconsole [early0] disabled
[    0.547206] printk: bootconsole [early0] disabled
[    0.797712] brd: module loaded
[    0.805107] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.810576] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.817636] Creating 7 MTD partitions on "spi0.0":
[    0.823033] 0x000000000000-0x0000000e0000 : "u-boot"
[    0.830969] 0x0000000e0000-0x0000000f0000 : "u-boot-env"
[    0.837935] 0x0000000f0000-0x000000100000 : "u-boot-env2"
[    0.846988] 0x000000100000-0x000000200000 : "jffs"
[    0.853538] 0x000000200000-0x000000300000 : "jffs2"
[    0.861960] 0x000000300000-0x000000fe0000 : "firmware"
[    0.887298] 0x000000fe0000-0x000001000000 : "log"
[    0.901296] Probing RTL838X eth device pdev: 82080a00, dev: 82080a10
[    0.928708] Found SoC ID: 9301: RTL9301, family 9300
[    0.934317] Using MAC 000000e04c000000
[    0.938518] set sds port 0 to 2
[    0.942102] set sds port 24 to 6
[    0.945690] set sds port 25 to 7
[    0.949310] set sds port 26 to 8
[    0.952895] set sds port 27 to 9
[    0.957287] c45_mask: 000e0000
[    1.173621] mdio_bus mdio-bus: MDIO device at address 24 is missing.
[    1.187148] mdio_bus mdio-bus: MDIO device at address 25 is missing.
[    1.200686] mdio_bus mdio-bus: MDIO device at address 26 is missing.
[    1.231413] REALTEK RTL9300 SERDES mdio-bus:1b: Detected internal RTL9300 Serdes
[    1.239739] rtl9300_configure_serdes: Port 27, SerDes is 9
[    1.249866] rtl9300_configure_serdes CMU BAND is 16
[    1.255281] rtl9300_sds_rst 31
[    1.278676] rtl9300_configure_serdes PATCHING SerDes 9
[    1.285418] rtl9300_phy_enable_10g_1g 1gbit phy: 00001140
[    1.291445] rtl9300_phy_enable_10g_1g 1gbit phy enabled: 00001140
[    1.299241] rtl9300_phy_enable_10g_1g 10gbit phy: 00002040
[    1.305338] rtl9300_phy_enable_10g_1g 10gbit phy after: 00002040
[    1.313049] rtl9300_phy_enable_10g_1g set medium: 00000002
[    1.319181] rtl9300_phy_enable_10g_1g set medium after: 00000002
[    1.345837] rtl9300_configure_serdes: Configuring RTL9300 SERDES 9, mode 1a
[    1.355606] rtl9300_serdes_mac_link_config: registers before 00000000 00001403
[    1.365659] rtl9300_serdes_mac_link_config: registers after 00000000 00001403
[    1.393594] rtl9300_force_sds_mode --------------------- serdes 9 forcing to 0 ...
[    1.402043] rtl9300_force_sds_mode: SDS: 9, mode 0
[    1.407363] rtl9300_force_sds_mode: SDS mode 1f
[    1.415423] rtl9300_force_sds_mode --------------------- serdes 9 forcing to 0 ...
[    1.423879] rtl9300_force_sds_mode: SDS: 9, mode 25
[    1.429334] rtl9300_force_sds_mode: SDS mode 1a
[    2.548572] random: fast init done
[    6.149705] rtl9300_force_sds_mode --------------------- serdes 9 forced to 1a DONE
[    6.158212] start_1.1.1 initial value for sds 9
[    6.191266] end_1.1.1 --
[    6.194073] start_1.1.2 Load DFE init. value
[    6.199842] end_1.1.2
[    6.202358] start_1.1.3 disable LEQ training,enable DFE clock
[    6.214758] end_1.1.3 --
[    6.217569] start_1.1.4 offset cali setting
[    6.223232] end_1.1.4
[    6.225749] start_1.1.5 LEQ and DFE setting
[    6.237400] end_1.1.5
[    6.246935] start_1.2.1 ForegroundOffsetCal_Manual
[    6.254284] end_1.2.1
[    6.262297] start_1.2.3 Foreground Calibration
[    6.275767] rtl9300_do_rx_calibration_2_3: fgcal_gray: 3, fgcal_binary 3
[    6.284245] rtl9300_do_rx_calibration_2_3: end_1.2.3
[    6.289792] start_1.4.1
[    6.511456] end_1.4.1
[    6.514176] start_1.4.2
[    6.522714] vth_set_bin = 3
[    6.525428] vth_set_bin = 0
[    6.529555] Vth Maunal = 1
[    6.641502] Tap0 Sign : +
[    6.644509] tap0_coef_bin = 3
[    6.648410] tap0 manual = 1
[    6.654720] end_1.4.2
[    6.657822] start_1.5.2
[    6.734249] end_1.5.2
[    6.821925] i2c /dev entries driver
[    6.828482] rtl9300_i2c_probe probing I2C adapter
[    6.833834] i2c-rtl9300 1b00036c.i2c-rtl9300: SCL speed 100000, mode is 0
[    6.841424] rtl9300_i2c_probe scl_num 0
[    6.845680] rtl9300_i2c_probe sda_num 1
[    6.852072] NET: Registered protocol family 10
[    6.866812] Segment Routing with IPv6
[    6.871090] NET: Registered protocol family 17
[    6.876135] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    6.890936] 8021q: 802.1Q VLAN Support v1.8
[    6.896735] sfp sfp-p12: Host maximum power 1.0W
[    7.448346] REALTEK RTL9300 SERDES rtl838x slave mii-0:1b: Detected internal RTL9300 Serdes
[    7.457730] REALTEK RTL9300 SERDES rtl838x slave mii-0:1b: No DT node.
[    7.465047] REALTEK RTL9300 SERDES: probe of rtl838x slave mii-0:1b failed with error -22
[    7.497374] REALTEK RTL9300 SERDES rtl838x slave mii-0:3f: Detected internal RTL9300 Serdes
[    7.506760] REALTEK RTL9300 SERDES rtl838x slave mii-0:3f: No DT node.
[    7.514077] REALTEK RTL9300 SERDES: probe of rtl838x slave mii-0:3f failed with error -22
[    7.523287] rtl83xx_mdio_probe found port 0
[    7.527932] rtl83xx_mdio_probe port 0 has phandle
[    7.533196] rtl83xx_mdio_probe sds port 0 is 2
[    7.538126] rtl83xx_mdio_probe port 2 has SDS
[    7.543009] rtl83xx_mdio_probe found port 1
[    7.547652] rtl83xx_mdio_probe port 1 has phandle
[    7.552912] rtl83xx_mdio_probe port -1 has SDS
[    7.557856] rtl83xx_mdio_probe found port 2
[    7.562534] rtl83xx_mdio_probe port 2 has phandle
[    7.567759] rtl83xx_mdio_probe port -1 has SDS
[    7.572735] rtl83xx_mdio_probe found port 3
[    7.577380] rtl83xx_mdio_probe port 3 has phandle
[    7.582651] rtl83xx_mdio_probe port -1 has SDS
[    7.587594] rtl83xx_mdio_probe found port 4
[    7.592282] rtl83xx_mdio_probe port 4 has phandle
[    7.597505] rtl83xx_mdio_probe port -1 has SDS
[    7.602480] rtl83xx_mdio_probe found port 5
[    7.607126] rtl83xx_mdio_probe port 5 has phandle
[    7.612387] rtl83xx_mdio_probe port -1 has SDS
[    7.617331] rtl83xx_mdio_probe found port 6
[    7.622017] rtl83xx_mdio_probe port 6 has phandle
[    7.627242] rtl83xx_mdio_probe port -1 has SDS
[    7.632218] rtl83xx_mdio_probe found port 7
[    7.636863] rtl83xx_mdio_probe port 7 has phandle
[    7.642123] rtl83xx_mdio_probe port -1 has SDS
[    7.647067] rtl83xx_mdio_probe found port 24
[    7.651840] rtl83xx_mdio_probe port 24 has phandle
[    7.657164] rtl83xx_mdio_probe sds port 24 is 6
[    7.662231] rtl83xx_mdio_probe port 6 has SDS
[    7.667081] rtl83xx_mdio_probe found port 25
[    7.671863] rtl83xx_mdio_probe port 25 has phandle
[    7.677184] rtl83xx_mdio_probe sds port 25 is 7
[    7.682247] rtl83xx_mdio_probe port 7 has SDS
[    7.687093] rtl83xx_mdio_probe found port 26
[    7.691883] rtl83xx_mdio_probe port 26 has phandle
[    7.697205] rtl83xx_mdio_probe sds port 26 is 8
[    7.702270] rtl83xx_mdio_probe port 8 has SDS
[    7.707113] rtl83xx_mdio_probe found port 27
[    7.711894] rtl83xx_mdio_probe port 27 has phandle
[    7.717216] rtl83xx_mdio_probe sds port 27 is 9
[    7.722279] rtl83xx_mdio_probe port 9 has SDS
[    7.727125] rtl83xx_mdio_probe found port 28
[    7.753055] rtl93xx_setup called
[    7.756681] In rtl83xx_vlan_setup
[    7.760435] In rtl930x_vlan_profile_setup
[    7.764884] In rtl930x_vlan_profile_setup
[    7.769372] UNKNOWN_MC_PMASK: 000000001fffffff
[    7.774306] VLAN 0: L2 learn: 0; Unknown MC PMasks: L2 1fffffff, IPv4 1fffffff, IPv6: 1fffffff
[    7.774313]   Routing enabled: IPv4 UC y, IPv6 UC y, IPv4 MC y, IPv6 MC y
[    7.791466]   Bridge enabled: IPv4 MC n, IPv6 MC n,
[    7.796890] VLAN profile 0: raw 00033000 00000000 1fffffff 1fffffff 1fffffff
[    8.878587] rtl83xx_enable_phy_polling:          f0000ff
[    8.884500] rtl930x_pie_init
[    8.887908] rtl930x_led_init called
[    8.891931] rtl930x_led_init bb00cc00: 01057659
[    8.896960] rtl930x_led_init bb00cc04: 00005555
[    8.902040] rtl930x_led_init bb00cc08: 007f0000
[    8.907072] rtl930x_led_init bb00cc0c: 00000000
[    8.912138] rtl930x_led_init bb00cc10: ffff0a21
[    8.917166] rtl930x_led_init bb00cc14: 0000ffff
[    8.922229] rtl930x_led_init bb00cc18: 0a200a01
[    8.927259] rtl930x_led_init bb00cc1c: 0a0b0a28
[    8.932326] rtl930x_led_init bb00cc20: 0a820a0b
[    8.937353] rtl930x_led_init bb00cc24: 0000ffff
[    8.942418] rtl930x_led_init bb00cc28: 0a200b80
[    8.947447] rtl930x_led_init bb00cc2c: 00000000
[    8.952510] rtl930x_led_init bb00cc30: 00950000
[    8.957540] rtl930x_led_init bb00cc34: 00000000
[    8.962604] rtl930x_led_init bb00cc38: 00950000
[    8.967634] rtl930x_led_init bb00cc3c: 0f0000ff
[    8.972697] rtl930x_led_init bb00cc40: 0f0000ff
[    8.977727] rtl930x_led_init bb00cc44: 0f0000ff
[    8.982792] rtl930x_led_init bb00cc48: 00000000
[    8.987821] rtl930x_led_init bb00cc4c: 00000000
[    8.992884] rtl930x_led_init bb00cc50: 00000000
[    8.997915] rtl930x_led_init bb00cc54: 00000000
[    9.002981] rtl930x_led_init bb00cc58: 00000000
[    9.008009] rtl930x_led_init bb00cc5c: 00000000
[    9.013282] rtl83xx-switch switch@1b000000 lan1 (uninitialized): PHY [mdio-bus:00] driver [REALTEK RTL8218D] (irq=POLL)
[    9.026504] rtl83xx-switch switch@1b000000 lan2 (uninitialized): PHY [mdio-bus:01] driver [REALTEK RTL8218D] (irq=POLL)
[    9.039778] rtl83xx-switch switch@1b000000 lan3 (uninitialized): PHY [mdio-bus:02] driver [REALTEK RTL8218D] (irq=POLL)
[    9.052999] rtl83xx-switch switch@1b000000 lan4 (uninitialized): PHY [mdio-bus:03] driver [REALTEK RTL8218D] (irq=POLL)
[    9.066274] rtl83xx-switch switch@1b000000 lan5 (uninitialized): PHY [mdio-bus:04] driver [REALTEK RTL8218D] (irq=POLL)
[    9.079549] rtl83xx-switch switch@1b000000 lan6 (uninitialized): PHY [mdio-bus:05] driver [REALTEK RTL8218D] (irq=POLL)
[    9.092823] rtl83xx-switch switch@1b000000 lan7 (uninitialized): PHY [mdio-bus:06] driver [REALTEK RTL8218D] (irq=POLL)
[    9.106097] rtl83xx-switch switch@1b000000 lan8 (uninitialized): PHY [mdio-bus:07] driver [REALTEK RTL8218D] (irq=POLL)
[    9.119425] rtl83xx-switch switch@1b000000 lan9 (uninitialized): no phy at 24
[    9.127369] rtl83xx-switch switch@1b000000 lan9 (uninitialized): failed to connect to PHY: -ENODEV
[    9.137411] rtl83xx-switch switch@1b000000 lan9 (uninitialized): error -19 setting up PHY for tree 0, switch 0, port 24
[    9.149623] rtl83xx-switch switch@1b000000 lan10 (uninitialized): no phy at 25
[    9.157665] rtl83xx-switch switch@1b000000 lan10 (uninitialized): failed to connect to PHY: -ENODEV
[    9.167793] rtl83xx-switch switch@1b000000 lan10 (uninitialized): error -19 setting up PHY for tree 0, switch 0, port 25
[    9.180083] rtl83xx-switch switch@1b000000 lan11 (uninitialized): no phy at 26
[    9.188122] rtl83xx-switch switch@1b000000 lan11 (uninitialized): failed to connect to PHY: -ENODEV
[    9.198248] rtl83xx-switch switch@1b000000 lan11 (uninitialized): error -19 setting up PHY for tree 0, switch 0, port 26
[    9.211625] rtl83xx-switch switch@1b000000: configuring for fixed/internal link mode
[    9.220327] rtl93xx_phylink_mac_config port 28, mode 1, phy-mode: internal, speed 10000, link 0
[    9.230400] DSA: tree 0 setup
[    9.233749] LINK state irq: 23
[    9.237172] In rtl83xx_setup_qos
[    9.240877] L3_IPUC_ROUTE_CTRL 00002000, IPMC_ROUTE 0000077e, IP6UC_ROUTE 00014400, IP6MC_ROUTE 0001db7e
[    9.251447] L3_IPUC_ROUTE_CTRL 00002001, IPMC_ROUTE 00000501, IP6UC_ROUTE 00014581, IP6MC_ROUTE 00012881
[    9.262015] L3_IP_ROUTE_CTRL 0000013f
[    9.266168] rtl930x_dbgfs_init called
[    9.315869] Freeing unused kernel memory: 8144K
[    9.320970] This architecture does not have kernel memory protection.
[    9.328141] Run /init as init process
[    9.332235]   with arguments:
[    9.335527]     /init
[    9.338044]   with environment:
[    9.341563]     HOME=/
[    9.344180]     TERM=linux
[    9.347277] rtl93xx_phylink_mac_config port 28, mode 1, phy-mode: internal, speed 10000, link 1
[    9.357010] rtl83xx-switch switch@1b000000: Link is Up - 10Gbps/Full - flow control off
[    9.366312] rtl83xx_fib_event_work_do: FIB4 default rule failed
[    9.867311] init: Console is alive
[    9.871714] init: - watchdog -
[    9.896873] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    9.909651] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    9.928308] init: - preinit -
[   10.168802] random: jshn: uninitialized urandom read (4 bytes read)
[   10.265230] random: jshn: uninitialized urandom read (4 bytes read)
[   10.816739] random: jshn: uninitialized urandom read (4 bytes read)
[   11.046251] RESETTING 9300, CPU_PORT 28
[   11.250922] rtl838x-eth 1b00a300.ethernet eth0: configuring for fixed/internal link mode
[   11.259926] In rtl838x_mac_config, mode 1
[   11.265900] rtl83xx-switch switch@1b000000 lan1: configuring for phy/xgmii link mode
[   11.274609] rtl93xx_phylink_mac_config port 0, mode 0, phy-mode: xgmii, speed -1, link 0
[   11.283632] rtl93xx_phylink_mac_config SDS is 2
[   11.288905] 8021q: adding VLAN 0 to HW filter on device lan1
[   11.295518] In rtl838x_mac_config, mode 1
[   11.300067] rtl838x-eth 1b00a300.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   11.310636] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   11.317676] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   11.325171] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   11.342472] rtl83xx_fib_event_work_do: FIB4 failed
[   11.347818] rtl83xx_fib_event_work_do: FIB4 failed
[   11.362547] rtl83xx_fib_event_work_do: FIB4 failed
[   11.367893] 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
[   12.718640] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   14.399316] rtl93xx_phylink_mac_config port 0, mode 0, phy-mode: xgmii, speed 1000, link 1
[   14.408518] rtl93xx_phylink_mac_config SDS is 2
[   14.413620] rtl83xx-switch switch@1b000000 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   14.423167] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   14.430591] rtl93xx_phylink_mac_config port 0, mode 0, phy-mode: xgmii, speed 1000, link 1
[   14.439842] rtl93xx_phylink_mac_config SDS is 2
[   15.504935] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[   15.518672] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[   15.524404] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[   15.531815] rtl83xx-switch switch@1b000000 lan1: Link is Down
[   15.540054] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[   15.556196] procd: - early -
[   15.559956] procd: - watchdog -
[   17.026618] procd: - watchdog -
[   17.030754] procd: - ubus -
[   17.043063] urandom_read: 2 callbacks suppressed
[   17.043071] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.084184] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.091940] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.101984] procd: - init -
Please press Enter to activate this console.
[   17.774072] kmodloader: loading kernel modules from /etc/modules.d/*
[   17.791818] GACT probability on
[   17.809658] Mirror/redirect action on
[   17.834202] u32 classifier
[   17.837219]     input device check on
[   17.841350]     Actions configured
[   18.027571] kmodloader: done loading kernel modules from /etc/modules.d/*
[   18.156311] urngd: v1.0.2 started.
[   18.354735] random: crng init done
[   18.358530] random: 2 urandom warning(s) missed due to ratelimiting
[   21.553699] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported



BusyBox v1.35.0 (2022-05-21 17:24:40 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r19693-21a3ce97d5
 -----------------------------------------------------
=== 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:/# [   49.725041] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   49.790835] in rtl838x_eth_stop
[   49.794419] rtl838x-eth 1b00a300.ethernet eth0: Link is Down
[   50.330923] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   50.338335] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   50.345801] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   50.353243] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   50.729467] Using MAC 0000446fd8300261
[   50.733831] RESETTING 9300, CPU_PORT 28
[   50.938501] rtl838x-eth 1b00a300.ethernet eth0: configuring for fixed/internal link mode
[   50.947491] In rtl838x_mac_config, mode 1
[   50.952256] In rtl838x_mac_config, mode 1
[   50.956753] rtl838x-eth 1b00a300.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   50.970273] rtl83xx-switch switch@1b000000 lan1: configuring for phy/xgmii link mode
[   50.978979] rtl93xx_phylink_mac_config port 0, mode 0, phy-mode: xgmii, speed 1000, link 0
[   50.988162] rtl93xx_phylink_mac_config SDS is 2
[   50.993567] 8021q: adding VLAN 0 to HW filter on device lan1
[   51.000726] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   51.007769] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   51.015288] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   51.025168] switch: port 1(lan1) entered blocking state
[   51.031067] switch: port 1(lan1) entered disabled state
[   51.037391] device lan1 entered promiscuous mode
[   51.042613] device eth0 entered promiscuous mode
[   51.071999] rtl930x_set_l3_egress_intf writing to index 0: 00000201 10101492
[   51.081350] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   51.099937] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   51.135147] rtl83xx-switch switch@1b000000 lan2: configuring for phy/xgmii link mode
[   51.143850] rtl93xx_phylink_mac_config port 1, mode 0, phy-mode: xgmii, speed -1, link 0
[   51.152893] rtl93xx_phylink_mac_config SDS is -1
[   51.158254] 8021q: adding VLAN 0 to HW filter on device lan2
[   51.259038] switch: port 2(lan2) entered blocking state
[   51.264864] switch: port 2(lan2) entered disabled state
[   51.271157] device lan2 entered promiscuous mode
[   51.314748] rtl83xx-switch switch@1b000000 lan3: configuring for phy/xgmii link mode
[   51.323455] rtl93xx_phylink_mac_config port 2, mode 0, phy-mode: xgmii, speed -1, link 0
[   51.332498] rtl93xx_phylink_mac_config SDS is -1
[   51.337868] 8021q: adding VLAN 0 to HW filter on device lan3
[   51.369678] switch: port 3(lan3) entered blocking state
[   51.375505] switch: port 3(lan3) entered disabled state
[   51.394723] device lan3 entered promiscuous mode
[   51.434800] rtl83xx-switch switch@1b000000 lan4: configuring for phy/xgmii link mode
[   51.443509] rtl93xx_phylink_mac_config port 3, mode 0, phy-mode: xgmii, speed -1, link 0
[   51.452552] rtl93xx_phylink_mac_config SDS is -1
[   51.457905] 8021q: adding VLAN 0 to HW filter on device lan4
[   51.491411] switch: port 4(lan4) entered blocking state
[   51.497237] switch: port 4(lan4) entered disabled state
[   51.518783] device lan4 entered promiscuous mode
[   51.549958] rtl83xx-switch switch@1b000000 lan5: configuring for phy/xgmii link mode
[   51.558663] rtl93xx_phylink_mac_config port 4, mode 0, phy-mode: xgmii, speed -1, link 0
[   51.567655] rtl93xx_phylink_mac_config SDS is -1
[   51.573072] 8021q: adding VLAN 0 to HW filter on device lan5
[   51.609202] switch: port 5(lan5) entered blocking state
[   51.615024] switch: port 5(lan5) entered disabled state
[   51.638751] device lan5 entered promiscuous mode
[   51.669757] rtl83xx-switch switch@1b000000 lan6: configuring for phy/xgmii link mode
[   51.678391] rtl93xx_phylink_mac_config port 5, mode 0, phy-mode: xgmii, speed -1, link 0
[   51.687478] rtl93xx_phylink_mac_config SDS is -1
[   51.692900] 8021q: adding VLAN 0 to HW filter on device lan6
[   51.739182] switch: port 6(lan6) entered blocking state
[   51.745005] switch: port 6(lan6) entered disabled state
[   51.758807] device lan6 entered promiscuous mode
[   51.777479] rtl83xx-switch switch@1b000000 lan7: configuring for phy/xgmii link mode
[   51.786186] rtl93xx_phylink_mac_config port 6, mode 0, phy-mode: xgmii, speed -1, link 0
[   51.795229] rtl93xx_phylink_mac_config SDS is -1
[   51.800590] 8021q: adding VLAN 0 to HW filter on device lan7
[   51.849198] switch: port 7(lan7) entered blocking state
[   51.855017] switch: port 7(lan7) entered disabled state
[   51.861324] device lan7 entered promiscuous mode
[   51.896961] rtl83xx-switch switch@1b000000 lan8: configuring for phy/xgmii link mode
[   51.905669] rtl93xx_phylink_mac_config port 7, mode 0, phy-mode: xgmii, speed -1, link 0
[   51.914714] rtl93xx_phylink_mac_config SDS is -1
[   51.920108] 8021q: adding VLAN 0 to HW filter on device lan8
[   51.969195] switch: port 8(lan8) entered blocking state
[   51.975018] switch: port 8(lan8) entered disabled state
[   51.981329] device lan8 entered promiscuous mode
[   52.007084] rtl83xx-switch switch@1b000000 lan12: configuring for fixed/10gbase-r link mode
[   52.016467] rtl93xx_phylink_mac_config port 27, mode 1, phy-mode: 10gbase-r, speed 10000, link 0
[   52.026280] rtl93xx_phylink_mac_config SDS is 9
[   52.032337] rtl9300_phy_enable_10g_1g 1gbit phy: 00001140
[   52.038329] rtl9300_phy_enable_10g_1g 1gbit phy enabled: 00001140
[   52.046136] rtl9300_phy_enable_10g_1g 10gbit phy: 00002040
[   52.052280] rtl9300_phy_enable_10g_1g 10gbit phy after: 00002040
[   52.060000] rtl9300_phy_enable_10g_1g set medium: 00000002
[   52.066091] rtl9300_phy_enable_10g_1g set medium after: 00000002
[   52.072802] rtl9300_sds_set 26
[   52.086205] start_1.1.1 initial value for sds 9
[   52.119269] end_1.1.1 --
[   52.122080] start_1.1.2 Load DFE init. value
[   52.127817] end_1.1.2
[   52.130366] start_1.1.3 disable LEQ training,enable DFE clock
[   52.142769] end_1.1.3 --
[   52.145576] start_1.1.4 offset cali setting
[   52.151254] end_1.1.4
[   52.153774] start_1.1.5 LEQ and DFE setting
[   52.165443] end_1.1.5
[   52.174987] start_1.2.1 ForegroundOffsetCal_Manual
[   52.182335] end_1.2.1
[   52.190347] start_1.2.3 Foreground Calibration
[   52.203825] rtl9300_do_rx_calibration_2_3: fgcal_gray: 3, fgcal_binary 3
[   52.212306] rtl9300_do_rx_calibration_2_3: end_1.2.3
[   52.217820] start_1.4.1
[   52.439507] end_1.4.1
[   52.442227] start_1.4.2
[   52.450769] vth_set_bin = 3
[   52.453487] vth_set_bin = 0
[   52.457581] Vth Maunal = 1
[   52.569569] Tap0 Sign : +
[   52.572578] tap0_coef_bin = 3
[   52.576477] tap0 manual = 1
[   52.582794] end_1.4.2
[   52.585890] start_1.5.2
[   52.662333] end_1.5.2
[   52.743106] 8021q: adding VLAN 0 to HW filter on device lan12
[   52.798717] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   52.806153] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   53.154276] switch: port 9(lan12) entered blocking state
[   53.160277] switch: port 9(lan12) entered disabled state
[   53.166596] device lan12 entered promiscuous mode
[   53.179880] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   54.802006] rtl93xx_phylink_mac_config port 0, mode 0, phy-mode: xgmii, speed 1000, link 1
[   54.811268] rtl93xx_phylink_mac_config SDS is 2
[   54.816321] rtl83xx-switch switch@1b000000 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   54.858696] switch: port 1(lan1) entered blocking state
[   54.864527] switch: port 1(lan1) entered forwarding state
[   54.878709] rtl93xx_phylink_mac_config port 0, mode 0, phy-mode: xgmii, speed 1000, link 1
[   54.887901] rtl93xx_phylink_mac_config SDS is 2
[   54.908731] IPv6: ADDRCONF(NETDEV_CHANGE): switch: link becomes ready
[   54.928734] IPv6: ADDRCONF(NETDEV_CHANGE): switch.1: link becomes ready
[   56.798642] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   56.806074] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
root@OpenWrt:/#
  • boot initramfs-kernel.bin via tftp (see above)
  • connect switch to your network to access the internet
  • set an unused ip from your network: ip a a 192.168.1.250/24 dev switch.1
  • add nameserver in resolv.conf: echo "nameserver 9.9.9.9" > /etc/resolv.conf
  • opkg update
  • opkg install luci
  • access your switch via webif: http://192.168.1.250/
  • backup all mtd partitions!!!
  • in luci upload squashfs-sysupgrade.bin as firmware upgrade
  • in uboot update bootcmd: setenv bootcmd 'rtk network on ; boota'
  • in uboot save modified bootcmd: saveenv

console output while upgrading:

root@OpenWrt:/# Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Sun May 22 23:54:56 UTC 2022 upgrade: Sending TERM to remaining processes ...
Sun May 22 23:55:00 UTC 2022 upgrade: Sending KILL to remaining processes ...
[  620.539066] stage2 (4895): drop_caches: 3
Sun May 22 23:55:06 UTC 2022 upgrade: Switching to ramdisk...
Sun May 22 23:55:08 UTC 2022 upgrade: Performing system upgrade...
[  622.967119] do_stage2 (4895): drop_caches: 3
Unlocking firmware ...

Writing from <stdin> to firmware ...
Sun May 22 23:55:43 UTC 2022 upgrade: Upgrade completed
Sun May 22 23:55:44 UTC 2022 upgrade: Rebooting system...
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: [  658.721289] reboot: Restarting system
Resource busy


U-Boot 2011.12.(3.6.6.55087) (Mar 31 2022 - 11:20:31)

Board: RTL9300 CPU:800MHz LX:175MHz DDR:600MHz
DRAM:  512 MB
SPI-F: WINBOND/EF4018/MMIO16-1/ModeC 1x16 MB (plr_flash_info @ 83f8fd8c)
Loading 65536B env. variables from offset 0xe0000
Net:   Net Initialization Skipped
No ethernet found.
Hit Esc key to stop autoboot:  0
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   MIPS OpenWrt Linux-5.10.115
   Created:      2022-05-20  19:00:24 UTC
   Image Type:   MIPS Linux Kernel Image (gzip compressed)
   Data Size:    3397799 Bytes = 3.2 MB
   Load Address: 80000000
   Entry Point:  80000400
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 5.10.115 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r19689-19ef3b54f4) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Fri May 20 19:00:24 2022
[    0.000000] RTL838X model is 0
[    0.000000] RTL839X model is 0
[    0.000000] RTL93XX model is 93010001
[    0.000000] SoC Type: RTL9301
[    0.000000] Kernel command line:
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
[    0.000000] MIPS: machine is Zyxel XGS1250-12 Switch
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using appended Device Tree.
[    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] 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] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    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: console=ttyS0,115200
[    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=0007119d
[    0.000000] Readback ErrCtl register=0007119d
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 120516K/131072K available (5890K kernel code, 626K rwdata, 1268K rodata, 1232K init, 212K bss, 10556K 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] random: get_random_bytes called from start_kernel+0x31c/0x50c with crng_init=0
[    0.000000] CPU frequency from device tree: 800MHz
[    0.000000] rtl9300_clockevent_init called for cpu0
[    0.000000] rtl9300_clockevent_init using IRQ 8
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4778151116 ns
[    0.000009] sched_clock: 32 bits at 400MHz, resolution 2ns, wraps every 5368709118ns
[    0.008504] Calibrating delay loop... 531.66 BogoMIPS (lpj=2658304)
[    0.067047] pid_max: default: 32768 minimum: 301
[    0.072242] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.080114] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.090908] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.101975] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112660] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.120107] pinctrl core: initialized pinctrl subsystem
[    0.127715] NET: Registered protocol family 16
[    0.188798] clocksource: Switched to clocksource MIPS
[    0.195617] NET: Registered protocol family 2
[    0.200512] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.209189] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.218254] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.226601] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.234228] TCP: Hash tables configured (established 1024 bind 1024)
[    0.241288] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.248329] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.256240] NET: Registered protocol family 1
[    0.267653] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.279052] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.285317] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.298900] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.308266] realtek_gpio_probe probing RTL GPIO
[    0.355107] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.365102] printk: console [ttyS0] disabled
[    0.369827] 18002000.uart: ttyS0 at MMIO 0x18002000 (irq = 30, base_baud = 10937500) is a 16550A
[    0.379375] printk: console [ttyS0] enabled
[    0.379375] printk: console [ttyS0] enabled
[    0.388559] printk: bootconsole [early0] disabled
[    0.388559] printk: bootconsole [early0] disabled
[    0.636705] brd: module loaded
[    0.644371] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.649856] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.656921] Creating 7 MTD partitions on "spi0.0":
[    0.662317] 0x000000000000-0x0000000e0000 : "u-boot"
[    0.670272] 0x0000000e0000-0x0000000f0000 : "u-boot-env"
[    0.677254] 0x0000000f0000-0x000000100000 : "u-boot-env2"
[    0.686288] 0x000000100000-0x000000200000 : "jffs"
[    0.692859] 0x000000200000-0x000000300000 : "jffs2"
[    0.701258] 0x000000300000-0x000000fe0000 : "firmware"
[    0.708387] 2 uimage-fw partitions found on MTD device firmware
[    0.715051] Creating 2 MTD partitions on "firmware":
[    0.720631] 0x000000000000-0x000000340000 : "kernel"
[    0.729101] 0x000000340000-0x000000ce0000 : "rootfs"
[    0.735600] mtd: device 7 (rootfs) set to be root filesystem
[    0.743078] 1 squashfs-split partitions found on MTD device rootfs
[    0.750048] 0x0000005b0000-0x000000ce0000 : "rootfs_data"
[    0.757086] 0x000000fe0000-0x000001000000 : "log"
[    0.774273] Probing RTL838X eth device pdev: 82080a00, dev: 82080a10
[    0.801730] Found SoC ID: 9301: RTL9301, family 9300
[    0.807343] Using MAC 000000e04c000000
[    0.811624] set sds port 0 to 2
[    0.815148] set sds port 24 to 6
[    0.818732] set sds port 25 to 7
[    0.822363] set sds port 26 to 8
[    0.825946] set sds port 27 to 9
[    0.830398] c45_mask: 000e0000
[    0.883632] mdio_bus mdio-bus: MDIO device at address 24 is missing.
[    0.894073] mdio_bus mdio-bus: MDIO device at address 25 is missing.
[    0.904496] mdio_bus mdio-bus: MDIO device at address 26 is missing.
[    0.915999] REALTEK RTL9300 SERDES mdio-bus:1b: Detected internal RTL9300 Serdes
[    0.924310] rtl9300_configure_serdes: Port 27, SerDes is 9
[    0.934446] rtl9300_configure_serdes CMU BAND is 16
[    0.939900] rtl9300_sds_rst 31
[    0.963281] rtl9300_configure_serdes PATCHING SerDes 9
[    0.970057] rtl9300_phy_enable_10g_1g 1gbit phy: 00001140
[    0.976058] rtl9300_phy_enable_10g_1g 1gbit phy enabled: 00001140
[    0.983867] rtl9300_phy_enable_10g_1g 10gbit phy: 00002040
[    0.990000] rtl9300_phy_enable_10g_1g 10gbit phy after: 00002040
[    0.997672] rtl9300_phy_enable_10g_1g set medium: 00000000
[    1.003798] rtl9300_phy_enable_10g_1g set medium after: 00000002
[    1.030478] rtl9300_configure_serdes: Configuring RTL9300 SERDES 9, mode 1a
[    1.040249] rtl9300_serdes_mac_link_config: registers before 00000000 00001403
[    1.050308] rtl9300_serdes_mac_link_config: registers after 00000000 00001403
[    1.078227] rtl9300_force_sds_mode --------------------- serdes 9 forcing to 0 ...
[    1.086675] rtl9300_force_sds_mode: SDS: 9, mode 0
[    1.092036] rtl9300_force_sds_mode: SDS mode 1f
[    1.100103] rtl9300_force_sds_mode --------------------- serdes 9 forcing to 0 ...
[    1.108514] rtl9300_force_sds_mode: SDS: 9, mode 25
[    1.113964] rtl9300_force_sds_mode: SDS mode 1a
[    2.558792] random: fast init done
[    5.834372] rtl9300_force_sds_mode --------------------- serdes 9 forced to 1a DONE
[    5.842913] start_1.1.1 initial value for sds 9
[    5.875946] end_1.1.1 --
[    5.878757] start_1.1.2 Load DFE init. value
[    5.884517] end_1.1.2
[    5.887034] start_1.1.3 disable LEQ training,enable DFE clock
[    5.899450] end_1.1.3 --
[    5.902263] start_1.1.4 offset cali setting
[    5.907903] end_1.1.4
[    5.910447] start_1.1.5 LEQ and DFE setting
[    5.922111] end_1.1.5
[    5.931654] start_1.2.1 ForegroundOffsetCal_Manual
[    5.939007] end_1.2.1
[    5.946992] start_1.2.3 Foreground Calibration
[    5.960490] rtl9300_do_rx_calibration_2_3: fgcal_gray: 20, fgcal_binary 20
[    5.969157] rtl9300_do_rx_calibration_2_3: end_1.2.3
[    5.974675] start_1.4.1
[    6.196346] end_1.4.1
[    6.199091] start_1.4.2
[    6.207603] vth_set_bin = 4
[    6.210348] vth_set_bin = 2
[    6.214445] Vth Maunal = 1
[    6.326391] Tap0 Sign : +
[    6.329426] tap0_coef_bin = 20
[    6.333332] tap0 manual = 1
[    6.339737] end_1.4.2
[    6.342840] start_1.5.2
[    6.419270] end_1.5.2
[    6.506945] i2c /dev entries driver
[    6.513596] rtl9300_i2c_probe probing I2C adapter
[    6.518924] i2c-rtl9300 1b00036c.i2c-rtl9300: SCL speed 100000, mode is 0
[    6.526470] rtl9300_i2c_probe scl_num 0
[    6.530769] rtl9300_i2c_probe sda_num 1
[    6.537159] NET: Registered protocol family 10
[    6.551829] Segment Routing with IPv6
[    6.556024] NET: Registered protocol family 17
[    6.561150] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    6.575937] 8021q: 802.1Q VLAN Support v1.8
[    6.581814] sfp sfp-p12: Host maximum power 1.0W
[    6.634865] REALTEK RTL9300 SERDES rtl838x slave mii-0:1b: Detected internal RTL9300 Serdes
[    6.644251] REALTEK RTL9300 SERDES rtl838x slave mii-0:1b: No DT node.
[    6.651570] REALTEK RTL9300 SERDES: probe of rtl838x slave mii-0:1b failed with error -22
[    6.664641] REALTEK RTL9300 SERDES rtl838x slave mii-0:3f: Detected internal RTL9300 Serdes
[    6.674012] REALTEK RTL9300 SERDES rtl838x slave mii-0:3f: No DT node.
[    6.681340] REALTEK RTL9300 SERDES: probe of rtl838x slave mii-0:3f failed with error -22
[    6.690554] rtl83xx_mdio_probe found port 0
[    6.695204] rtl83xx_mdio_probe port 0 has phandle
[    6.700479] rtl83xx_mdio_probe sds port 0 is 2
[    6.705416] rtl83xx_mdio_probe port 2 has SDS
[    6.710302] rtl83xx_mdio_probe found port 1
[    6.714951] rtl83xx_mdio_probe port 1 has phandle
[    6.720212] rtl83xx_mdio_probe port -1 has SDS
[    6.725155] rtl83xx_mdio_probe found port 2
[    6.729841] rtl83xx_mdio_probe port 2 has phandle
[    6.735066] rtl83xx_mdio_probe port -1 has SDS
[    6.740044] rtl83xx_mdio_probe found port 3
[    6.744688] rtl83xx_mdio_probe port 3 has phandle
[    6.749948] rtl83xx_mdio_probe port -1 has SDS
[    6.754891] rtl83xx_mdio_probe found port 4
[    6.759569] rtl83xx_mdio_probe port 4 has phandle
[    6.764794] rtl83xx_mdio_probe port -1 has SDS
[    6.769771] rtl83xx_mdio_probe found port 5
[    6.774416] rtl83xx_mdio_probe port 5 has phandle
[    6.779677] rtl83xx_mdio_probe port -1 has SDS
[    6.784620] rtl83xx_mdio_probe found port 6
[    6.789299] rtl83xx_mdio_probe port 6 has phandle
[    6.794524] rtl83xx_mdio_probe port -1 has SDS
[    6.799500] rtl83xx_mdio_probe found port 7
[    6.804144] rtl83xx_mdio_probe port 7 has phandle
[    6.809412] rtl83xx_mdio_probe port -1 has SDS
[    6.814357] rtl83xx_mdio_probe found port 24
[    6.819143] rtl83xx_mdio_probe port 24 has phandle
[    6.824462] rtl83xx_mdio_probe sds port 24 is 6
[    6.829524] rtl83xx_mdio_probe port 6 has SDS
[    6.834371] rtl83xx_mdio_probe found port 25
[    6.839151] rtl83xx_mdio_probe port 25 has phandle
[    6.844474] rtl83xx_mdio_probe sds port 25 is 7
[    6.849537] rtl83xx_mdio_probe port 7 has SDS
[    6.854382] rtl83xx_mdio_probe found port 26
[    6.859164] rtl83xx_mdio_probe port 26 has phandle
[    6.864485] rtl83xx_mdio_probe sds port 26 is 8
[    6.869549] rtl83xx_mdio_probe port 8 has SDS
[    6.874394] rtl83xx_mdio_probe found port 27
[    6.879175] rtl83xx_mdio_probe port 27 has phandle
[    6.884498] rtl83xx_mdio_probe sds port 27 is 9
[    6.889561] rtl83xx_mdio_probe port 9 has SDS
[    6.894407] rtl83xx_mdio_probe found port 28
[    6.900568] rtl93xx_setup called
[    6.904196] In rtl83xx_vlan_setup
[    6.907869] In rtl930x_vlan_profile_setup
[    6.912382] In rtl930x_vlan_profile_setup
[    6.916834] UNKNOWN_MC_PMASK: 000000001fffffff
[    6.921819] VLAN 0: L2 learn: 0; Unknown MC PMasks: L2 1fffffff, IPv4 1fffffff, IPv6: 1fffffff
[    6.921827]   Routing enabled: IPv4 UC y, IPv6 UC y, IPv4 MC y, IPv6 MC y
[    6.938982]   Bridge enabled: IPv4 MC n, IPv6 MC n,
[    6.944405] VLAN profile 0: raw 00033000 00000000 1fffffff 1fffffff 1fffffff
[    7.998812] rtl83xx_enable_phy_polling:          f0000ff
[    8.004727] rtl930x_pie_init
[    8.008136] rtl930x_led_init called
[    8.012161] rtl930x_led_init bb00cc00: 01057659
[    8.017196] rtl930x_led_init bb00cc04: aaaa5555
[    8.022269] rtl930x_led_init bb00cc08: 007faaaa
[    8.027298] rtl930x_led_init bb00cc0c: 0a400a80
[    8.032362] rtl930x_led_init bb00cc10: 0a200a01
[    8.037392] rtl930x_led_init bb00cc14: 0000ffff
[    8.042454] rtl930x_led_init bb00cc18: 0a200a01
[    8.047485] rtl930x_led_init bb00cc1c: 0a0b0a28
[    8.052547] rtl930x_led_init bb00cc20: 0a820a0b
[    8.057579] rtl930x_led_init bb00cc24: 0000ffff
[    8.062641] rtl930x_led_init bb00cc28: 0a200b80
[    8.067673] rtl930x_led_init bb00cc2c: 00000000
[    8.072745] rtl930x_led_init bb00cc30: 00950000
[    8.077775] rtl930x_led_init bb00cc34: 00000000
[    8.082842] rtl930x_led_init bb00cc38: 00950000
[    8.087869] rtl930x_led_init bb00cc3c: 0f0000ff
[    8.092932] rtl930x_led_init bb00cc40: 0f0000ff
[    8.097963] rtl930x_led_init bb00cc44: 0f0000ff
[    8.103026] rtl930x_led_init bb00cc48: 00000000
[    8.108056] rtl930x_led_init bb00cc4c: 00000000
[    8.113121] rtl930x_led_init bb00cc50: 00000000
[    8.118150] rtl930x_led_init bb00cc54: 00000000
[    8.123214] rtl930x_led_init bb00cc58: 00000000
[    8.128244] rtl930x_led_init bb00cc5c: 00000000
[    8.133508] rtl83xx-switch switch@1b000000 lan1 (uninitialized): PHY [mdio-bus:00] driver [REALTEK RTL8218D] (irq=POLL)
[    8.146785] rtl83xx-switch switch@1b000000 lan2 (uninitialized): PHY [mdio-bus:01] driver [REALTEK RTL8218D] (irq=POLL)
[    8.160058] rtl83xx-switch switch@1b000000 lan3 (uninitialized): PHY [mdio-bus:02] driver [REALTEK RTL8218D] (irq=POLL)
[    8.173332] rtl83xx-switch switch@1b000000 lan4 (uninitialized): PHY [mdio-bus:03] driver [REALTEK RTL8218D] (irq=POLL)
[    8.186607] rtl83xx-switch switch@1b000000 lan5 (uninitialized): PHY [mdio-bus:04] driver [REALTEK RTL8218D] (irq=POLL)
[    8.199932] rtl83xx-switch switch@1b000000 lan6 (uninitialized): PHY [mdio-bus:05] driver [REALTEK RTL8218D] (irq=POLL)
[    8.213207] rtl83xx-switch switch@1b000000 lan7 (uninitialized): PHY [mdio-bus:06] driver [REALTEK RTL8218D] (irq=POLL)
[    8.226481] rtl83xx-switch switch@1b000000 lan8 (uninitialized): PHY [mdio-bus:07] driver [REALTEK RTL8218D] (irq=POLL)
[    8.239806] rtl83xx-switch switch@1b000000 lan9 (uninitialized): no phy at 24
[    8.247753] rtl83xx-switch switch@1b000000 lan9 (uninitialized): failed to connect to PHY: -ENODEV
[    8.257796] rtl83xx-switch switch@1b000000 lan9 (uninitialized): error -19 setting up PHY for tree 0, switch 0, port 24
[    8.269995] rtl83xx-switch switch@1b000000 lan10 (uninitialized): no phy at 25
[    8.278033] rtl83xx-switch switch@1b000000 lan10 (uninitialized): failed to connect to PHY: -ENODEV
[    8.288159] rtl83xx-switch switch@1b000000 lan10 (uninitialized): error -19 setting up PHY for tree 0, switch 0, port 25
[    8.300448] rtl83xx-switch switch@1b000000 lan11 (uninitialized): no phy at 26
[    8.308489] rtl83xx-switch switch@1b000000 lan11 (uninitialized): failed to connect to PHY: -ENODEV
[    8.318608] rtl83xx-switch switch@1b000000 lan11 (uninitialized): error -19 setting up PHY for tree 0, switch 0, port 26
[    8.331987] rtl83xx-switch switch@1b000000: configuring for fixed/internal link mode
[    8.340695] rtl93xx_phylink_mac_config port 28, mode 1, phy-mode: internal, speed 10000, link 0
[    8.350782] DSA: tree 0 setup
[    8.354125] LINK state irq: 23
[    8.357546] In rtl83xx_setup_qos
[    8.361252] L3_IPUC_ROUTE_CTRL 00002000, IPMC_ROUTE 00000500, IP6UC_ROUTE 00014580, IP6MC_ROUTE 00012880
[    8.371823] L3_IPUC_ROUTE_CTRL 00002001, IPMC_ROUTE 00000501, IP6UC_ROUTE 00014581, IP6MC_ROUTE 00012881
[    8.382392] L3_IP_ROUTE_CTRL 00000130
[    8.386535] rtl930x_dbgfs_init called
[    8.399420] rtl93xx_phylink_mac_config port 28, mode 1, phy-mode: internal, speed 10000, link 1
[    8.409190] rtl83xx-switch switch@1b000000: Link is Up - 10Gbps/Full - flow control off
[    8.424647] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    8.438166] Freeing unused kernel memory: 1232K
[    8.443273] This architecture does not have kernel memory protection.
[    8.450471] Run /sbin/init as init process
[    8.455015]   with arguments:
[    8.458298]     /sbin/init
[    8.461339]   with environment:
[    8.464829]     HOME=/
[    8.467434]     TERM=linux
[    8.470905] rtl83xx_fib_event_work_do: FIB4 default rule failed
[    9.049561] init: Console is alive
[    9.053859] init: - watchdog -
[    9.451278] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    9.540091] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    9.558746] init: - preinit -
[   10.695952] random: jshn: uninitialized urandom read (4 bytes read)
[   10.791924] random: jshn: uninitialized urandom read (4 bytes read)
[   11.340144] random: jshn: uninitialized urandom read (4 bytes read)
[   11.983518] RESETTING 9300, CPU_PORT 28
[   12.188193] rtl838x-eth 1b00a300.ethernet eth0: configuring for fixed/internal link mode
[   12.197197] In rtl838x_mac_config, mode 1
[   12.203170] rtl83xx-switch switch@1b000000 lan1: configuring for phy/xgmii link mode
[   12.211881] rtl93xx_phylink_mac_config port 0, mode 0, phy-mode: xgmii, speed -1, link 0
[   12.220903] rtl93xx_phylink_mac_config SDS is 2
[   12.226161] 8021q: adding VLAN 0 to HW filter on device lan1
[   12.232831] In rtl838x_mac_config, mode 1
[   12.237316] rtl838x-eth 1b00a300.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   12.247742] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   12.254836] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   12.262337] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   12.279308] rtl83xx_fib_event_work_do: FIB4 failed
[   12.284648] rtl83xx_fib_event_work_do: FIB4 failed
[   12.299415] rtl83xx_fib_event_work_do: FIB4 failed
[   12.304758] 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
[   14.158861] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   15.359549] rtl93xx_phylink_mac_config port 0, mode 0, phy-mode: xgmii, speed 1000, link 1
[   15.368749] rtl93xx_phylink_mac_config SDS is 2
[   15.373853] rtl83xx-switch switch@1b000000 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   15.383400] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   15.390836] rtl93xx_phylink_mac_config port 0, mode 0, phy-mode: xgmii, speed 1000, link 1
[   15.400091] rtl93xx_phylink_mac_config SDS is 2
[   16.596582] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   16.608756] urandom-seed: Seed file not found (/etc/urandom.seed)
[   16.798477] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[   16.808932] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[   16.814666] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[   16.825467] rtl83xx-switch switch@1b000000 lan1: Link is Down
[   16.833789] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[   16.850843] procd: - early -
[   16.854418] procd: - watchdog -
[   18.406088] procd: - watchdog -
[   18.410418] procd: - ubus -
[   18.509804] urandom_read: 2 callbacks suppressed
[   18.509813] random: ubusd: uninitialized urandom read (4 bytes read)
[   18.523197] random: ubusd: uninitialized urandom read (4 bytes read)
[   18.530962] random: ubusd: uninitialized urandom read (4 bytes read)
[   18.541128] procd: - init -
Please press Enter to activate this console.
[   19.547993] kmodloader: loading kernel modules from /etc/modules.d/*
[   19.572440] GACT probability on
[   19.590307] Mirror/redirect action on
[   19.618560] u32 classifier
[   19.621653]     input device check on
[   19.625720]     Actions configured
[   19.818048] kmodloader: done loading kernel modules from /etc/modules.d/*
[   19.985390] urngd: v1.0.2 started.
[   20.177036] random: crng init done
[   20.180897] random: 2 urandom warning(s) missed due to ratelimiting
[   24.310843] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   49.253772] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   49.278644] jffs2_build_filesystem(): unlocking the mtd device...
[   49.278656] done.
[   49.287748] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   49.566450] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   49.628040] in rtl838x_eth_stop
[   49.631706] rtl838x-eth 1b00a300.ethernet eth0: Link is Down
[   50.153482] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   50.160963] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   50.168340] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   50.175797] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   50.987645] Using MAC 0000446fd8300261
[   51.001093] RESETTING 9300, CPU_PORT 28
[   51.205761] rtl838x-eth 1b00a300.ethernet eth0: configuring for fixed/internal link mode
[   51.214751] In rtl838x_mac_config, mode 1
[   51.219496] In rtl838x_mac_config, mode 1
[   51.223985] rtl838x-eth 1b00a300.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   51.246010] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   51.253119] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   51.260638] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   51.551288] rtl83xx-switch switch@1b000000 lan1: configuring for phy/xgmii link mode
[   51.559995] rtl93xx_phylink_mac_config port 0, mode 0, phy-mode: xgmii, speed 1000, link 0
[   51.569232] rtl93xx_phylink_mac_config SDS is 2
[   51.574593] 8021q: adding VLAN 0 to HW filter on device lan1
[   51.631279] switch: port 1(lan1) entered blocking state
[   51.637106] switch: port 1(lan1) entered disabled state
[   51.643509] device lan1 entered promiscuous mode
[   51.648658] device eth0 entered promiscuous mode
[   51.725677] rtl930x_set_l3_egress_intf writing to index 0: 00000201 10101492
[   51.735697] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   51.768018] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   51.818230] rtl83xx-switch switch@1b000000 lan2: configuring for phy/xgmii link mode
[   51.826935] rtl93xx_phylink_mac_config port 1, mode 0, phy-mode: xgmii, speed -1, link 0
[   51.835979] rtl93xx_phylink_mac_config SDS is -1
[   51.841407] 8021q: adding VLAN 0 to HW filter on device lan2
[   52.013430] switch: port 2(lan2) entered blocking state
[   52.019330] switch: port 2(lan2) entered disabled state
[   52.025544] device lan2 entered promiscuous mode
[   52.112055] rtl83xx-switch switch@1b000000 lan3: configuring for phy/xgmii link mode
[   52.120758] rtl93xx_phylink_mac_config port 2, mode 0, phy-mode: xgmii, speed -1, link 0
[   52.129801] rtl93xx_phylink_mac_config SDS is -1
[   52.135183] 8021q: adding VLAN 0 to HW filter on device lan3
[   52.212524] switch: port 3(lan3) entered blocking state
[   52.218350] switch: port 3(lan3) entered disabled state
[   52.252323] device lan3 entered promiscuous mode
[   52.319188] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   52.326626] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   52.335040] rtl83xx-switch switch@1b000000 lan4: configuring for phy/xgmii link mode
[   52.343754] rtl93xx_phylink_mac_config port 3, mode 0, phy-mode: xgmii, speed -1, link 0
[   52.352789] rtl93xx_phylink_mac_config SDS is -1
[   52.358148] 8021q: adding VLAN 0 to HW filter on device lan4
[   52.442215] switch: port 4(lan4) entered blocking state
[   52.448043] switch: port 4(lan4) entered disabled state
[   52.480541] device lan4 entered promiscuous mode
[   52.539752] rtl83xx-switch switch@1b000000 lan5: configuring for phy/xgmii link mode
[   52.548385] rtl93xx_phylink_mac_config port 4, mode 0, phy-mode: xgmii, speed -1, link 0
[   52.557458] rtl93xx_phylink_mac_config SDS is -1
[   52.562865] 8021q: adding VLAN 0 to HW filter on device lan5
[   52.641654] switch: port 5(lan5) entered blocking state
[   52.647474] switch: port 5(lan5) entered disabled state
[   52.684367] device lan5 entered promiscuous mode
[   52.739424] rtl83xx-switch switch@1b000000 lan6: configuring for phy/xgmii link mode
[   52.748056] rtl93xx_phylink_mac_config port 5, mode 0, phy-mode: xgmii, speed -1, link 0
[   52.757129] rtl93xx_phylink_mac_config SDS is -1
[   52.762562] 8021q: adding VLAN 0 to HW filter on device lan6
[   52.833053] switch: port 6(lan6) entered blocking state
[   52.838948] switch: port 6(lan6) entered disabled state
[   52.873040] device lan6 entered promiscuous mode
[   52.914084] rtl83xx-switch switch@1b000000 lan7: configuring for phy/xgmii link mode
[   52.922787] rtl93xx_phylink_mac_config port 6, mode 0, phy-mode: xgmii, speed -1, link 0
[   52.931829] rtl93xx_phylink_mac_config SDS is -1
[   52.937169] 8021q: adding VLAN 0 to HW filter on device lan7
[   53.025596] switch: port 7(lan7) entered blocking state
[   53.031492] switch: port 7(lan7) entered disabled state
[   53.037717] device lan7 entered promiscuous mode
[   53.106712] rtl83xx-switch switch@1b000000 lan8: configuring for phy/xgmii link mode
[   53.115420] rtl93xx_phylink_mac_config port 7, mode 0, phy-mode: xgmii, speed -1, link 0
[   53.124461] rtl93xx_phylink_mac_config SDS is -1
[   53.129860] 8021q: adding VLAN 0 to HW filter on device lan8
[   53.220043] switch: port 8(lan8) entered blocking state
[   53.225870] switch: port 8(lan8) entered disabled state
[   53.232197] device lan8 entered promiscuous mode
[   53.298726] rtl83xx-switch switch@1b000000 lan12: configuring for fixed/10gbase-r link mode
[   53.308114] rtl93xx_phylink_mac_config port 27, mode 1, phy-mode: 10gbase-r, speed 10000, link 0
[   53.317940] rtl93xx_phylink_mac_config SDS is 9
[   53.324005] rtl9300_phy_enable_10g_1g 1gbit phy: 00001140
[   53.330047] rtl9300_phy_enable_10g_1g 1gbit phy enabled: 00001140
[   53.337813] rtl9300_phy_enable_10g_1g 10gbit phy: 00002040
[   53.343938] rtl9300_phy_enable_10g_1g 10gbit phy after: 00002040
[   53.351649] rtl9300_phy_enable_10g_1g set medium: 00000000
[   53.357739] rtl9300_phy_enable_10g_1g set medium after: 00000002
[   53.364449] rtl9300_sds_set 26
[   53.377850] start_1.1.1 initial value for sds 9
[   53.410902] end_1.1.1 --
[   53.413711] start_1.1.2 Load DFE init. value
[   53.419487] end_1.1.2
[   53.422015] start_1.1.3 disable LEQ training,enable DFE clock
[   53.434421] end_1.1.3 --
[   53.437253] start_1.1.4 offset cali setting
[   53.442940] end_1.1.4
[   53.445465] start_1.1.5 LEQ and DFE setting
[   53.457137] end_1.1.5
[   53.466677] start_1.2.1 ForegroundOffsetCal_Manual
[   53.474030] end_1.2.1
[   53.482044] start_1.2.3 Foreground Calibration
[   53.495517] rtl9300_do_rx_calibration_2_3: fgcal_gray: 20, fgcal_binary 20
[   53.504196] rtl9300_do_rx_calibration_2_3: end_1.2.3
[   53.509751] start_1.4.1
[   53.731435] end_1.4.1
[   53.734156] start_1.4.2
[   53.742698] vth_set_bin = 4
[   53.745416] vth_set_bin = 2
[   53.749553] Vth Maunal = 1
[   53.861536] Tap0 Sign : +
[   53.864541] tap0_coef_bin = 20
[   53.868442] tap0 manual = 1
[   53.874858] end_1.4.2
[   53.877959] start_1.5.2
[   53.954407] end_1.5.2
[   54.035182] 8021q: adding VLAN 0 to HW filter on device lan12
[   55.122175] rtl93xx_phylink_mac_config port 0, mode 0, phy-mode: xgmii, speed 1000, link 1
[   55.131428] rtl93xx_phylink_mac_config SDS is 2
[   55.136490] rtl83xx-switch switch@1b000000 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   55.179561] switch: port 1(lan1) entered blocking state
[   55.185388] switch: port 1(lan1) entered forwarding state
[   55.204489] rtl93xx_phylink_mac_config port 0, mode 0, phy-mode: xgmii, speed 1000, link 1
[   55.213745] rtl93xx_phylink_mac_config SDS is 2
[   55.235468] IPv6: ADDRCONF(NETDEV_CHANGE): switch: link becomes ready
[   55.255031] IPv6: ADDRCONF(NETDEV_CHANGE): switch.1: link becomes ready
[   55.460165] switch: port 9(lan12) entered blocking state
[   55.466087] switch: port 9(lan12) entered disabled state
[   55.472473] device lan12 entered promiscuous mode
[   55.513902] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   56.958947] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   56.966384] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[   57.201877] rtl93xx_phylink_mac_config port 4, mode 0, phy-mode: xgmii, speed 1000, link 1
[   57.211128] rtl93xx_phylink_mac_config SDS is -1
[   57.216286] rtl83xx-switch switch@1b000000 lan5: Link is Up - 1Gbps/Full - flow control rx/tx
[   57.303495] switch: port 5(lan5) entered blocking state
[   57.309386] switch: port 5(lan5) entered forwarding state
[   57.343597] rtl93xx_phylink_mac_config port 4, mode 0, phy-mode: xgmii, speed 1000, link 1
[   57.352876] rtl93xx_phylink_mac_config SDS is -1
[   81.631841] done.
[   81.634014] jffs2: notice: (2545) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   81.738359] overlayfs: upper fs does not support tmpfile.
  • mestechs_msg9424.1653778257.txt.gz
  • Last modified: 2022/05/28 22:50
  • by vchrizz