Hi all, So I have an industrial switch from China, a Gxcom device that has 8 GE with POE+ and 2 SFP. It's a lovely compact design and has a console port that allows easy access to the serial console. The partition layout is similar to the Zyxel gs1900-10hp but has a U-Boot part that's 512KB. It boots with the initramfs Zyxel image but with errors in the bootlog and takes a very long time before ports become active. I think the SFP ports aren't working but have never actually used them!
Here's the bootlog from OpenWrt:
<CMD># # bootm
## Booting kernel from Legacy Image at 84f00000 ...
Image Name: MIPS OpenWrt Linux-5.10.120
Created: 2022-06-22 16:37:40 UTC
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size: 6529735 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.120 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r19878-d6eebaf995) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 Wed Jun 22 16:37:40 2022
[ 0.000000] RTL838X model is 83826800
[ 0.000000] SoC Type: RTL8382
[ 0.000000] Kernel command line:
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019070 (MIPS 4KEc)
[ 0.000000] MIPS: machine is ZyXEL GS1900-10HP Switch
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Using appended Device Tree.
[ 0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] 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] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 113600K/131072K available (5874K kernel code, 624K rwdata, 1264K rodata, 8164K init, 212K bss, 17472K 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] CPU frequency from device tree: 500MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[ 0.000018] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[ 0.008812] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
[ 0.075666] pid_max: default: 32768 minimum: 301
[ 0.081154] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.089200] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.104113] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.119251] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.130177] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.137841] pinctrl core: initialized pinctrl subsystem
[ 0.149353] NET: Registered protocol family 16
[ 0.330398] clocksource: Switched to clocksource MIPS
[ 0.338901] NET: Registered protocol family 2
[ 0.344372] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.354174] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.363609] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.372177] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.379940] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.387586] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.394953] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.403395] NET: Registered protocol family 1
[ 0.823904] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.839596] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.846103] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.861177] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.872803] pinctrl-single 1b001000.pinmux: 32 pins, size 4
[ 0.879584] pinctrl-single 1b00a000.pinmux: 32 pins, size 4
[ 0.887883] Probing RTL8231 GPIOs
[ 0.891669] rtl8231_init called, MDIO bus ID: 0
[ 0.896625] rtl8231-gpio rtl8231-gpio: no device found at bus address 0
[ 1.009468] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 1.023229] printk: console [ttyS0] disabled
[ 1.028028] 18002000.uart: ttyS0 at MMIO 0x18002000 (irq = 31, base_baud = 12500000) is a 16550A
[ 1.037859] printk: console [ttyS0] enabled
[ 1.037859] printk: console [ttyS0] enabled
[ 1.047204] printk: bootconsole [early0] disabled
[ 1.047204] printk: bootconsole [early0] disabled
[ 1.059268] 18002100.uart: ttyS1 at MMIO 0x18002100 (irq = 30, base_baud = 12500000) is a 16550A
[ 1.815740] brd: module loaded
[ 1.830576] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[ 1.836177] 7 fixed-partitions partitions found on MTD device spi0.0
[ 1.843446] Creating 7 MTD partitions on "spi0.0":
[ 1.848839] 0x000000000000-0x000000040000 : "u-boot"
[ 1.860742] 0x000000040000-0x000000050000 : "u-boot-env"
[ 1.869589] 0x000000050000-0x000000060000 : "u-boot-env2"
[ 1.883553] 0x000000060000-0x000000160000 : "jffs"
[ 1.892002] 0x000000160000-0x000000260000 : "jffs2"
[ 1.905307] 0x000000260000-0x000000930000 : "firmware"
[ 1.915215] 2 uimage-fw partitions found on MTD device firmware
[ 1.922009] Creating 2 MTD partitions on "firmware":
[ 1.927588] 0x000000000000-0x000000040000 : "rootfs"
[ 1.940783] mtd: device 6 (rootfs) set to be root filesystem
[ 1.947287] mtdsplit: no squashfs found in "rootfs"
[ 1.953000] 0x000000040000-0x00000067abb0 : "kernel"
[ 1.958561] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[ 1.973177] 0x000000930000-0x000001000000 : "runtime2"
[ 1.999304] Probing RTL838X eth device pdev: 82092e00, dev: 82092e10
[ 2.057011] Found SoC ID: 8382: RTL8382, family 8380
[ 2.062798] rtl8380_init_mac
[ 2.066072] Using MAC 000000e04c000000
[ 2.206692] Realtek RTL8218B (internal) mdio-bus:08: Detected internal RTL8218B
[ 2.214994] Firmware loaded. Size 1184, magic: 83808380
[ 5.006411] mdio_bus mdio-bus: MDIO device at address 24 is missing.
[ 5.013841] mdio_bus mdio-bus: MDIO device at address 26 is missing.
[ 5.022840] i2c /dev entries driver
[ 5.031483] NET: Registered protocol family 10
[ 5.061706] Segment Routing with IPv6
[ 5.066043] NET: Registered protocol family 17
[ 5.071345] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 5.086697] 8021q: 802.1Q VLAN Support v1.8
[ 5.145024] Realtek RTL8218B (internal) rtl838x slave mii-0:08: Detected internal RTL8218B
[ 5.154398] Firmware loaded. Size 1184, magic: 83808380
[ 8.101067] rtl83xx_mdio_probe found port 8
[ 8.105773] rtl83xx_mdio_probe port 8 has phandle
[ 8.111152] rtl83xx_mdio_probe port -1 has SDS
[ 8.116144] rtl83xx_mdio_probe found port 9
[ 8.120931] rtl83xx_mdio_probe port 9 has phandle
[ 8.126197] rtl83xx_mdio_probe port -1 has SDS
[ 8.131277] rtl83xx_mdio_probe found port 10
[ 8.136068] rtl83xx_mdio_probe port 10 has phandle
[ 8.141516] rtl83xx_mdio_probe port -1 has SDS
[ 8.146504] rtl83xx_mdio_probe found port 11
[ 8.151387] rtl83xx_mdio_probe port 11 has phandle
[ 8.156751] rtl83xx_mdio_probe port -1 has SDS
[ 8.161850] rtl83xx_mdio_probe found port 12
[ 8.166640] rtl83xx_mdio_probe port 12 has phandle
[ 8.172122] rtl83xx_mdio_probe port -1 has SDS
[ 8.177110] rtl83xx_mdio_probe found port 13
[ 8.181999] rtl83xx_mdio_probe port 13 has phandle
[ 8.187367] rtl83xx_mdio_probe port -1 has SDS
[ 8.192445] rtl83xx_mdio_probe found port 14
[ 8.197237] rtl83xx_mdio_probe port 14 has phandle
[ 8.202685] rtl83xx_mdio_probe port -1 has SDS
[ 8.207672] rtl83xx_mdio_probe found port 15
[ 8.212553] rtl83xx_mdio_probe port 15 has phandle
[ 8.217921] rtl83xx_mdio_probe port -1 has SDS
[ 8.222998] rtl83xx_mdio_probe found port 28
[ 8.227791] rtl83xx_mdio_probe found port 24
[ 8.232682] rtl83xx-switch switch@1b000000: Port node 24 misses phy-handle
[ 8.240476] rtl83xx_mdio_probe found port 26
[ 8.245275] rtl83xx-switch switch@1b000000: Port node 26 misses phy-handle
[ 8.292320] In rtl83xx_vlan_setup
[ 8.296065] UNKNOWN_MC_PMASK: 000000001fffffff
[ 8.301182] VLAN profile 0: L2 learning: 1, UNKN L2MC FLD PMSK 511, UNKN IPMC FLD PMSK 511, UNKN IPv6MC FLD PMSK: 511
[ 9.390446] rtl83xx_enable_phy_polling: ff00
[ 10.431253] rtl83xx-switch switch@1b000000 lan1 (uninitialized): PHY [mdio-bus:08] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 10.447035] rtl83xx-switch switch@1b000000 lan2 (uninitialized): PHY [mdio-bus:09] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 10.462808] rtl83xx-switch switch@1b000000 lan3 (uninitialized): PHY [mdio-bus:0a] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 10.478584] rtl83xx-switch switch@1b000000 lan4 (uninitialized): PHY [mdio-bus:0b] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 10.494354] rtl83xx-switch switch@1b000000 lan5 (uninitialized): PHY [mdio-bus:0c] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 10.510128] rtl83xx-switch switch@1b000000 lan6 (uninitialized): PHY [mdio-bus:0d] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 10.525903] rtl83xx-switch switch@1b000000 lan7 (uninitialized): PHY [mdio-bus:0e] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 10.541674] rtl83xx-switch switch@1b000000 lan8 (uninitialized): PHY [mdio-bus:0f] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 10.561468] rtl83xx-switch switch@1b000000: configuring for fixed/internal link mode
[ 10.570957] DSA: tree 0 setup
[ 10.574363] LINK state irq: 20
[ 10.577839] In rtl83xx_setup_qos
[ 10.581586] Setting up RTL838X QoS
[ 10.585406] RTL838X_PRI_SEL_TBL_CTRL(i): 00033112
[ 10.590754] Current Intprio2queue setting: 00000000
[ 10.596213] QM_PKT2CPU_INTPRI_MAP: 00fac688
[ 10.601184] rtl838x_dbgfs_init called
[ 10.729950] Freeing unused kernel memory: 8164K
[ 10.735161] This architecture does not have kernel memory protection.
[ 10.742480] Run /init as init process
[ 10.746585] with arguments:
[ 10.749893] /init
[ 10.752527] with environment:
[ 10.756046] HOME=/
[ 10.758675] TERM=linux
[ 10.761973] rtl83xx-switch switch@1b000000: Link is Up - 1Gbps/Full - flow control off
[ 10.771893] rtl83xx_fib_event_work_do: FIB4 default rule failed
[ 10.778539] rtl83xx_fib_event_work_do: FIB4 default rule failed
[ 11.968102] init: Console is alive
[ 11.973065] init: - watchdog -
[ 12.017000] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 12.036274] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 12.056218] init: - preinit -
[ 12.526005] random: jshn: uninitialized urandom read (4 bytes read)
[ 12.680659] random: jshn: uninitialized urandom read (4 bytes read)
[ 12.990017] RTL8380 Link change: status: 1, ports 8000
[ 13.778862] random: jshn: uninitialized urandom read (4 bytes read)
[ 13.874871] random: jshn: uninitialized urandom read (4 bytes read)
[ 14.096599] random: jshn: uninitialized urandom read (4 bytes read)
[ 14.249261] RESETTING 8380, CPU_PORT 28
[ 14.454407] rtl838x-eth 1b00a300.ethernet eth0: configuring for fixed/internal link mode
[ 14.463477] In rtl838x_mac_config, mode 1
[ 14.471186] rtl83xx-switch switch@1b000000 lan1: configuring for phy/internal link mode
[ 14.480989] 8021q: adding VLAN 0 to HW filter on device lan1
[ 14.487830] In rtl838x_mac_config, mode 1
[ 14.492497] rtl838x-eth 1b00a300.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 14.551102] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 14.558239] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 14.565945] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 14.607424] rtl83xx_fib_event_work_do: FIB4 failed
[ 14.620580] rtl83xx_fib_event_work_do: FIB4 failed
[ 14.625970] rtl83xx_fib_event_work_do: FIB4 failed
[ 14.640920] 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
[ 15.710535] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 16.954310] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[ 16.960092] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[ 16.977081] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[ 16.990601] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[ 17.031080] procd: - early -
[ 17.034983] procd: - watchdog -
[ 19.742863] procd: - watchdog -
[ 19.747616] procd: - ubus -
[ 19.770812] urandom_read_iter: 1 callbacks suppressed
[ 19.770829] random: ubusd: uninitialized urandom read (4 bytes read)
[ 19.802480] random: ubusd: uninitialized urandom read (4 bytes read)
[ 19.810915] random: ubusd: uninitialized urandom read (4 bytes read)
[ 19.825454] procd: - init -
Please press Enter to activate this console.
[ 21.001961] urandom_read_iter: 13 callbacks suppressed
[ 21.001978] random: jshn: uninitialized urandom read (4 bytes read)
[ 21.084440] random: ubusd: uninitialized urandom read (4 bytes read)
[ 21.185927] kmodloader: loading kernel modules from /etc/modules.d/*
[ 21.207268] GACT probability on
[ 21.224253] Mirror/redirect action on
[ 21.288640] u32 classifier
[ 21.291818] input device check on
[ 21.295918] Actions configured
[ 21.681782] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 21.774605] urngd: v1.0.2 started.
[ 22.054456] random: crng init done
[ 22.058287] random: 2 urandom warning(s) missed due to ratelimiting
[ 26.739362] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 69.500972] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 69.596471] in rtl838x_eth_stop
[ 69.600144] rtl838x-eth 1b00a300.ethernet eth0: Link is Down
[ 70.143329] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 70.150959] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 70.158442] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 70.166064] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 71.080871] RESETTING 8380, CPU_PORT 28
[ 71.286022] rtl838x-eth 1b00a300.ethernet eth0: configuring for fixed/internal link mode
[ 71.295058] In rtl838x_mac_config, mode 1
[ 71.300014] In rtl838x_mac_config, mode 1
[ 71.304680] rtl838x-eth 1b00a300.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 71.321931] rtl83xx-switch switch@1b000000 lan1: configuring for phy/internal link mode
[ 71.342078] 8021q: adding VLAN 0 to HW filter on device lan1
[ 71.349441] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 71.356723] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 71.364420] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 71.373963] switch: port 1(lan1) entered blocking state
[ 71.379839] switch: port 1(lan1) entered disabled state
[ 71.387147] device lan1 entered promiscuous mode
[ 71.392437] device eth0 entered promiscuous mode
[ 71.471747] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 71.491722] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 71.574652] rtl83xx-switch switch@1b000000 lan2: configuring for phy/internal link mode
[ 71.584315] 8021q: adding VLAN 0 to HW filter on device lan2
[ 71.698864] switch: port 2(lan2) entered blocking state
[ 71.704876] switch: port 2(lan2) entered disabled state
[ 71.711676] device lan2 entered promiscuous mode
[ 71.852067] rtl83xx-switch switch@1b000000 lan3: configuring for phy/internal link mode
[ 71.861669] 8021q: adding VLAN 0 to HW filter on device lan3
[ 71.911572] switch: port 3(lan3) entered blocking state
[ 71.917444] switch: port 3(lan3) entered disabled state
[ 71.936518] device lan3 entered promiscuous mode
[ 71.993622] rtl83xx-switch switch@1b000000 lan4: configuring for phy/internal link mode
[ 72.003270] 8021q: adding VLAN 0 to HW filter on device lan4
[ 72.052769] switch: port 4(lan4) entered blocking state
[ 72.058646] switch: port 4(lan4) entered disabled state
[ 72.085851] device lan4 entered promiscuous mode
[ 72.151129] rtl83xx-switch switch@1b000000 lan5: configuring for phy/internal link mode
[ 72.160789] 8021q: adding VLAN 0 to HW filter on device lan5
[ 72.211523] switch: port 5(lan5) entered blocking state
[ 72.217392] switch: port 5(lan5) entered disabled state
[ 72.240649] device lan5 entered promiscuous mode
[ 72.302312] rtl83xx-switch switch@1b000000 lan6: configuring for phy/internal link mode
[ 72.312181] 8021q: adding VLAN 0 to HW filter on device lan6
[ 72.366080] switch: port 6(lan6) entered blocking state
[ 72.372082] switch: port 6(lan6) entered disabled state
[ 72.396239] device lan6 entered promiscuous mode
[ 72.445519] rtl83xx-switch switch@1b000000 lan7: configuring for phy/internal link mode
[ 72.455084] 8021q: adding VLAN 0 to HW filter on device lan7
[ 72.511510] switch: port 7(lan7) entered blocking state
[ 72.517406] switch: port 7(lan7) entered disabled state
[ 72.540642] device lan7 entered promiscuous mode
[ 72.584727] rtl83xx-switch switch@1b000000 lan8: configuring for phy/internal link mode
[ 72.594549] 8021q: adding VLAN 0 to HW filter on device lan8
[ 72.628939] RTL8380 Link change: status: 1, ports 8000
[ 72.651521] switch: port 8(lan8) entered blocking state
[ 72.657393] switch: port 8(lan8) entered disabled state
[ 72.664224] device lan8 entered promiscuous mode
[ 72.718182] rtl83xx-switch switch@1b000000 lan9: configuring for inband/1000base-x link mode
[ 72.728040] 8021q: adding VLAN 0 to HW filter on device lan9
[ 72.750619] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 72.758190] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 72.771556] switch: port 9(lan9) entered blocking state
[ 72.777425] switch: port 9(lan9) entered disabled state
[ 72.784281] device lan9 entered promiscuous mode
[ 72.838711] rtl83xx-switch switch@1b000000 lan10: configuring for inband/1000base-x link mode
[ 72.848696] 8021q: adding VLAN 0 to HW filter on device lan10
[ 72.891530] switch: port 10(lan10) entered blocking state
[ 72.897590] switch: port 10(lan10) entered disabled state
[ 72.904616] device lan10 entered promiscuous mode
[ 72.954693] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 78.435032] RTL8380 Link change: status: 1, ports 8000
[ 78.833968] rtl83xx-switch switch@1b000000 lan8: Link is Up - 100Mbps/Full - flow control rx/tx
[ 78.843888] switch: port 8(lan8) entered blocking state
[ 78.849750] switch: port 8(lan8) entered forwarding state
[ 78.860861] IPv6: ADDRCONF(NETDEV_CHANGE): switch: link becomes ready
[ 78.868977] IPv6: ADDRCONF(NETDEV_CHANGE): switch.1: link becomes ready
[ 80.510664] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
[ 80.518221] rtl83xx_fib_event: FIB_RULE ADD/DELL for IPv6 not supported
Here's the U-Boot log:
U-Boot Version (May 18 2021 - 16:58:03)
Board: RTL838x CPU:500MHz LXB:200MHz MEM:300MHz
DRAM: 128 MB
SPI-F: 1x16 MB
flash id = 0xc22018
Loading 65536B env. variables from offset 0x80000
*** Warning - bad CRC, using default environment
BOARD_VERSION:RTL8380M_INTPHY_2FIB_1G_DEMO
Switch Model: RTL8380M_INTPHY_2FIB_1G_DEMO (Port Count: 10)
Switch Chip: RTL8380M
**************************************************
#### RTL8218B config - MAC ID = 8 ####
Now Internal PHY
PHY[1]: not supported in EEE
Net: Net Initialization Skipped
rtl8380#0
get uid
uid = 4536363634073f4a
Hit any key to stop autoboot: 0
Env variables:
<CMD># # printenv
baudrate=115200
boardmodel=RTL8382M_8218B_INTPHY_8218B_8214FC_DEMO
bootcmd=boota
bootdelay=1
ethact=rtl8380#0
ethaddr=00:E0:4C:00:00:00
file_linux2=vmlinux.bix
flashoffset_env=0x80000
flashoffset_linux=0x2a0000
flashoffset_linux2=0x950000
flashoffset_uboot=0x0
ipaddr=192.168.1.1
load_addr=0xb4100000
serverip=192.168.1.111
ssize_env=0x10000
ssize_linux=0x6b0000
ssize_linux2=0x6b0000
ssize_uboot=0x80000
stderr=serial
stdin=serial
stdout=serial
update_linux2=tftp $(freemem) $(file_linux2);sf probe 0;sf erase $(flashoffset_linux2) $(ssize_linux2);sf write $(fileaddr) $(flashoffset_linux2) $(ssize_linux2)
Environment size: 653/65532 bytes
Sys variables:
<CMD># # printsys
boardid=5
bootpartition=1
resetdefault=0
dualfname1=vmlinux-oem_8 2_en-poe-ic .bix
dualfname0=vmlinux-oem_8 2_cn.bix
System information size: 117/4096 bytes
Flash partition layout:
<CMD># # flshow
=============== FLASH Partition Layout ===============
Index Name Size Address
------------------------------------------------------
0 LOADER 0x80000 0xb4000000-0xb407ffff
1 BDINFO 0x10000 0xb4080000-0xb408ffff
2 SYSINFO 0x10000 0xb4090000-0xb409ffff
3 JFFS2_CFG 0x100000 0xb40a0000-0xb419ffff
4 JFFS2_LOG 0x100000 0xb41a0000-0xb429ffff
5 RUNTIME1 0x6b0000 0xb42a0000-0xb494ffff
6 RUNTIME2 0x6b0000 0xb4950000-0xb4ffffff
======================================================
Would appreciate some pointers on what I should be looking to do to fix the errors and the long boot time so I can get this device ported!