The MikroTik RB5009UG+S+IN is a compact multigig router based on Marvell's Armada 7040 ARM64 SoC. It features an SFP+ port (supporting both 1G SFP and 10G SFP+ modules), one 2.5 GbE port, and seven GbE ports. The device has no wireless capability.
Port 1 supports PoE+ input (802.3af/at standard, 24-57V). Alternative power options include a DC jack or 2-pin screw terminal, both accepting 24-57V input.
The router can be wall-mounted or rack-mounted using the optional MikroTik K-79 rackmount kit (Up to 4 Units per 1U).
WARNING:
Do not sysupgrade from previous unofficial OpenWrt builds (pre-mainline, adron-s builds) to official OpenWrt images - the flash layout differs. First reinstall RouterOS via Netinstall, then follow the installation instructions below.
Fresh installations from RouterOS can proceed directly.
What is initramfs and why U-Boot?
The initramfs image is a temporary, RAM-based OpenWrt system that lets you prepare the router for a permanent installation without overwriting anything yet. You can boot it either from USB or via TFTP.
However, RouterBOOT (MikroTik's built-in bootloader) cannot directly boot OpenWrt's kernel image because it expects a proprietary format. To solve this, a small U-Boot ELF loader is used as an intermediary step:
u-boot.elf from USB or network
This two-stage boot process is why you need both files.
Download all three files needed for installation:
Optional (only if you want UART access for debugging):
Download the checksums file: sha256sums
On Linux:
sha256sum -c sha256sums --ignore-missing
On Windows (Command Prompt):
certutil -hashfile openwrt-25.12.2-mvebu-cortexa72-mikrotik_rb5009-initramfs-uImage.itb SHA256 certutil -hashfile u-boot.elf SHA256 certutil -hashfile openwrt-25.12.2-mvebu-cortexa72-mikrotik_rb5009-squashfs-sysupgrade.bin SHA256
Compare the displayed SHA256 hash values with the checksums in the downloaded sha256sums file.
Optional: The UART RouterBOOT file (70×0-7.15-uart.fwf) does not have an official checksum.
Rename the initramfs file:
From: openwrt-25.12.2-mvebu-cortexa72-mikrotik_rb5009-initramfs-uImage.itb
To: openwrt-mvebu-cortexa72-mikrotik_rb5009-initramfs-uImage.itb
On Linux:
mv openwrt-25.12.2-mvebu-cortexa72-mikrotik_rb5009-initramfs-uImage.itb \
openwrt-mvebu-cortexa72-mikrotik_rb5009-initramfs-uImage.itb
On Windows:
Right-click the file - Rename
Preparation
u-boot.elfopenwrt-mvebu-cortexa72-mikrotik_rb5009-initramfs-uImage.itb
The router will now boot into OpenWrt initramfs from the USB stick. After ~1-2 minutes, you should be able to access OpenWrt at 192.168.1.1.
On Linux
Prerequisites:
Setup your PC network:
# Find your network interface name ip link # Set IP address (replace eth0 with your interface) sudo ip addr flush dev eth0 sudo ip addr add 192.168.88.2/24 dev eth0 sudo ip link set eth0 up # Verify ip addr show eth0
Prepare TFTP directory:
# Navigate to /tmp directory cd /tmp # Place both files here: # - u-boot.elf # - openwrt-mvebu-cortexa72-mikrotik_rb5009-initramfs-uImage.itb # Verify files are present ls -lh
Start dnsmasq TFTP server:
sudo dnsmasq --no-daemon \ --listen-address=192.168.88.2 \ --bind-interfaces \ --port=0 \ --dhcp-authoritative \ --dhcp-range=192.168.88.100,192.168.88.200,1h \ --dhcp-boot=u-boot.elf \ --enable-tftp \ --tftp-root=/tmp \ --log-dhcp \ --bootp-dynamic
Leave this terminal window open - you need to watch the output!
On Windows
Windows requires a TFTP server application. Use a tool of your choice (e.g., Tftpd64 or similar).
Example configuration for Tftpd64:
GLOBAL Tab:
u-boot.elf and openwrt-mvebu-cortexa72-mikrotik_rb5009-initramfs-uImage.itb)DHCP Tab:
192.168.88.10020u-boot.elf255.255.255.0192.168.88.2====TFTP Tab (Advanced options):
192.168.88.2Connect an Ethernet cable between your PC and the RB5009's port 1 (2.5G port).
Start the TFTP server and keep the application window open - you need to watch for file transfers!
u-boot.elfopenwrt-mvebu-cortexa72-mikrotik_rb5009-initramfs-uImage.itbDo NOT release when the LED starts flashing! Wait until you see BOTH file transfers in the server log.
The router will now boot into OpenWrt initramfs. After ~1-2 minutes, you should be able to access OpenWrt at 192.168.1.1.
For reference, see the common MikroTik netboot guide: MikroTik common install – Method 1 (TFTP netboot)
Once the USER LED stops flashing, the router has booted into the initramfs system.
Switch your ethernet cable from the WAN port (p1) to a LAN port (p2–p8) and set your PC to a static IP address in the 192.168.1.x range, e.g. 192.168.1.2/24.
Verify the router is reachable:
ping 192.168.1.1
Once ping responds, connect via SSH:
ssh root@192.168.1.1
No password is required.
Transfer the files to the router that you downloaded and verfied checksums for earlier.
On Linux:
cat openwrt-mvebu-cortexa72-mikrotik_rb5009-squashfs-sysupgrade.bin | ssh root@192.168.1.1 "cat > /tmp/openwrt-mvebu-cortexa72-mikrotik_rb5009-squashfs-sysupgrade.bin" cat u-boot.elf | ssh root@192.168.1.1 "cat > /tmp/u-boot.elf" **Optional:** cat 70x0-7.15-uart.fwf | ssh root@192.168.1.1 "cat > /tmp/70x0-7.15-uart.fwf" exit
On Windows: Use an SFTP client with these settings:
SFTP192.168.1.1rootu-boot.elf, openwrt-25.12.2-mvebu-cortexa72-mikrotik_rb5009-squashfs-sysupgrade.bin, and optionally 70×0-7.15-uart.fwf to /tmp/This step enables serial console access for debugging.
Only useful if you have UART hardware access. Most users can skip this step.
mtd erase RouterBOOT-primary mtd write /tmp/70x0-7.15-uart.fwf RouterBOOT-primary
No output means success.
The YAFFS partition holds the kernel image that RouterBOOT executes at startup. We replace it with U-Boot so RouterBOOT permanently loads U-Boot.
. /lib/functions.sh yafut -d /dev/mtd$(find_mtd_index "YAFFS") -w -i /tmp/u-boot.elf -o kernel -T
No output means success.
RouterOS leaves its root filesystem in the NAND UBI partition. Before installing OpenWrt, this must be wiped to remove old data and prepare a clean UBI volume.
ubiformat /dev/mtd$(find_mtd_index "ubi") -y
This erases the old RouterOS filesystem layout. No output means success.
The sysupgrade image was already transferred to /tmp/ in Transfer installation files. Now install it:
sysupgrade /tmp/openwrt-25.12.2-mvebu-cortexa72-mikrotik_rb5009-squashfs-sysupgrade.bin
If this command shows Image check failed, verify the checksums. The version numbers must match: 25.12.2 u-boot requires 25.12.2 sysupgrade image.
Sample output:
root@OpenWrt:/tmp# sysupgrade /tmp/openwrt-25.12.2-mvebu-cortexa72-mikrotik_rb5009-squashfs-sysupgrade.bin Cannot save config while running from ramdisk. Fri Aug 21 06:56:32 UTC 2105 upgrade: Commencing upgrade. Closing all shell sessions. Command failed: Connection failed root@OpenWrt:/tmp# Connection to 192.168.1.1 closed by remote host. Connection to 192.168.1.1 closed
The SSH session will close immediately. Be patient - the router is now installing OpenWrt.
The RB5009UG has both a 16 MiB NOR flash chip and a 1 GiB NAND one. For now the NOR is used to store the OpenWrt kernel; rootfs and rootfs_data are stored on the NAND. The UBI device is registered as mtd0, so counting on the NOR chip starts from mtd1.
| MikroTik RB5009UG+S+IN NOR Flash Layout | ||||||||
|---|---|---|---|---|---|---|---|---|
| Layer0 | raw NOR flash memory chip (w25q128jv spi0.0: w25q128jv) 16384 KiB | |||||||
| Layer1 | mtd9 first_1M 1024 KiB | mtd8 kernel 15360 KiB | ||||||
| Layer2 | mtd1 ATF 599 KiB | mtd2 backup_RouterBOOT 101 KiB | mtd3 hard_config 4 KiB | mtd4 RouterBOOT 64 KiB | mtd5 soft_config 64 KiB | mtd6 DTS 64 KiB | mtd7 free_space 128 KiB | |
Follow the MikroTik netboot procedure documented on the wiki. To re-enable serial access or recover from a broken install, follow the same installation procedure. If needed, reflash the UART-enabled RouterBOOT as described in Optional: Flash RouterBOOT with UART enabled
Recovery (from the commit message):
In case you need to reinstall OpenWrt if it crashes after U-Boot, there is a recovery mechanism in OpenWrt to boot the OpenWrt initramfs.
You need to hold the reset button while U-Boot is booting and then it will boot the OpenWrt initramfs from:
1. USB
2. Networking
In recovery mode U-Boot will light all of the LED-s except for the switch ones.
In case you want to return to RouterOS, you can simply do that via Netinstall like on any other MikroTik board.
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure USB port, etc.
Below configuration is as configured on OpenWrt; there is no dedicated WAN port, all available ports are connected to the Marvell switch. One can set any port as WAN (e.g. p8).
The default network configuration is:
| Interface Name | Device | Default configuration |
|---|---|---|
| lan | br-lan (p2-p8,sfp) | 192.168.1.1/24 |
| wan/wan6 | p1 | DHCP (client) |
Port setup
| OpenWrt port label | Case label | Switch port | Phy handle | Note |
|---|---|---|---|---|
| cpu | n/a | port@0 | n/a | Not manageable, SoC to switch link, 10gbase-r |
| p1 | 2,5G | port@9 | qca8081 | sgmii |
| p2 | 2 | port@7 | phy7 | |
| p3 | 3 | port@6 | phy6 | |
| p4 | 4 | port@5 | phy5 | |
| p5 | 5 | port@4 | phy4 | |
| p6 | 6 | port@3 | phy3 | |
| p7 | 7 | port@2 | phy2 | |
| p8 | 8 | port@1 | phy1 | |
| sfp | SFP+ | port@a (10) | (sfp module) | 10gbase-r |
→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.
The MikroTik RB5009UG+S+IN has the following buttons:
| BUTTON | Event | Note |
|---|---|---|
| Reset | restart | See also recovery method |
Front:
Insert photo of front of the casing
Back:
Insert photo of back of the casing
Backside label:
Insert photo of backside label
→ Warranty
Just remove 8 screws from bottom side. Hinge up the top plastic. PCB is held to the aluminum backplane with thermal paste and a thin heatsink distance plate for the SoC and switch. There are also two thermal pads (3mm thick) under the SFP case and under some psu chip above the SFP, the pads will hold back with some force some when lifting the PCB from the backplane.
Main PCB:
→ port.serial general information about the serial port, serial port cable, etc.
There is a MikroTik SPI/UART combination 10-pin header (pin spacing=2.0mm) and the pinout is as seen from top side:
2 GND Vcc Rx ? GND #--------------------# |.-. .-. .-. .-. .-. | |'-' '-' '-' '-' '-' | |.-. .-. .-. .-. .-. | |'-' '-' '-' '-' '-' | #--------------------# 1 CLK DO /CS Tx DI
| Serial connection parameters for MikroTik RB5009UG+S+IN | 115200,8N1 |
|---|
Connect the UART/serial to one of the GND pins, Tx and Rx pin, the other pins are used for SPI connections.
→ port.jtag general information about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port
COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd081] [ 0.000000] Linux version 5.10.118 (5800x@crunchbot) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r19160+20-7ea2f3d6e2) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Thu May 26 10:38:36 2022 [ 0.000000] Machine model: MikroTik RB5009 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] node 0: [mem 0x0000000004000000-0x00000000041fffff] [ 0.000000] node 0: [mem 0x0000000004200000-0x000000003fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff] [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] DMA zone: 4096 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 262144 pages, LIFO batch:63 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS resident on physical CPU 0x0 [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] percpu: Embedded 16 pages/cpu s27608 r8192 d29736 u65536 [ 0.000000] pcpu-alloc: s27608 r8192 d29736 u65536 alloc=16*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] CPU features: detected: Spectre-v2 [ 0.000000] CPU features: detected: Spectre-BHB [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048 [ 0.000000] Kernel command line: [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 1017160K/1048576K available (7998K kernel code, 900K rwdata, 1312K rodata, 448K init, 272K bss, 31416K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f022f000 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:160, num:32) [ 0.000000] GICv2m: range[mem 0xf0280000-0xf0280fff], SPI[160:191] [ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:192, num:32) [ 0.000000] GICv2m: range[mem 0xf0290000-0xf0290fff], SPI[192:223] [ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:224, num:32) [ 0.000000] GICv2m: range[mem 0xf02a0000-0xf02a0fff], SPI[224:255] [ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:256, num:32) [ 0.000000] GICv2m: range[mem 0xf02b0000-0xf02b0fff], SPI[256:287] [ 0.000000] random: get_random_bytes called from 0xffffffc010920cac with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns [ 0.000003] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns [ 0.000079] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000) [ 0.000087] pid_max: default: 32768 minimum: 301 [ 0.000153] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.000165] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.000894] rcu: Hierarchical SRCU implementation. [ 0.000960] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build [ 0.001133] smp: Bringing up secondary CPUs ... [ 0.001462] Detected PIPT I-cache on CPU1 [ 0.001501] CPU1: Booted secondary processor 0x0000000001 [0x410fd081] [ 0.001854] Detected PIPT I-cache on CPU2 [ 0.001885] CPU2: Booted secondary processor 0x0000000100 [0x410fd081] [ 0.002245] Detected PIPT I-cache on CPU3 [ 0.002266] CPU3: Booted secondary processor 0x0000000101 [0x410fd081] [ 0.002310] smp: Brought up 1 node, 4 CPUs [ 0.002322] SMP: Total of 4 processors activated. [ 0.002327] CPU features: detected: 32-bit EL0 Support [ 0.002332] CPU features: detected: CRC32 instructions [ 0.002367] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching [ 0.002372] CPU: All CPU(s) started at EL2 [ 0.002388] alternatives: patching kernel code [ 0.004432] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.004444] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.004523] pinctrl core: initialized pinctrl subsystem [ 0.004835] NET: Registered protocol family 16 [ 0.005281] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.005318] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.005353] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.005556] thermal_sys: Registered thermal governor 'step_wise' [ 0.006000] cpuidle: using governor ladder [ 0.006024] ASID allocator initialised with 65536 entries [ 0.015545] cryptd: max_cpu_qlen set to 1000 [ 0.016691] SCSI subsystem initialized [ 0.016806] libata version 3.00 loaded. [ 0.016898] usbcore: registered new interface driver usbfs [ 0.016920] usbcore: registered new interface driver hub [ 0.016943] usbcore: registered new device driver usb [ 0.017539] clocksource: Switched to clocksource arch_sys_counter [ 0.017858] NET: Registered protocol family 2 [ 0.017995] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.018411] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) [ 0.018426] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.018468] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 0.018554] TCP: Hash tables configured (established 8192 bind 8192) [ 0.018653] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.018672] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.018743] NET: Registered protocol family 1 [ 0.018760] PCI: CLS 0 bytes, default 64 [ 0.020798] workingset: timestamp_bits=46 max_order=18 bucket_order=0 [ 0.022530] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.022536] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc. [ 0.026214] armada-ap806-pinctrl f06f4000.system-controller:pinctrl: registered pinctrl driver [ 0.026613] armada-cp110-pinctrl f2440000.system-controller:pinctrl: registered pinctrl driver [ 0.027305] gpio-87 (enable USB power): hogged as output/high [ 0.027320] gpio-91 (enable LED-s power): hogged as output/high [ 0.029065] mv_xor_v2 f0400000.xor: Marvell Version 2 XOR driver [ 0.029588] mv_xor_v2 f0420000.xor: Marvell Version 2 XOR driver [ 0.030103] mv_xor_v2 f0440000.xor: Marvell Version 2 XOR driver [ 0.030612] mv_xor_v2 f0460000.xor: Marvell Version 2 XOR driver [ 0.031172] mv_xor_v2 f26a0000.xor: Marvell Version 2 XOR driver [ 0.031692] mv_xor_v2 f26c0000.xor: Marvell Version 2 XOR driver [ 0.031833] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.032257] printk: console [ttyS0] disabled [ 0.052418] f0512000.serial: ttyS0 at MMIO 0xf0512000 (irq = 17, base_baud = 12500000) is a 16550A [ 0.721676] printk: console [ttyS0] enabled [ 0.726477] omap_rng f2760000.trng: Random Number Generator ver. 203b34c [ 0.726793] random: fast init done [ 0.736652] random: crng init done [ 0.741651] loop: module loaded [ 0.746024] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xd3 [ 0.752417] nand: Macronix MX60LF8G18AC [ 0.756269] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.764465] Bad block table found at page 524224, version 0x01 [ 0.771201] Bad block table found at page 524160, version 0x01 [ 0.777494] nand_read_bbt: bad block at 0x000002a60000 [ 0.782668] nand_read_bbt: bad block at 0x000019b80000 [ 0.787835] nand_read_bbt: bad block at 0x000024ea0000 [ 0.792997] nand_read_bbt: bad block at 0x00002aac0000 [ 0.798301] 1 fixed-partitions partitions found on MTD device f2720000.nand [ 0.805291] Creating 1 MTD partitions on “f2720000.nand”: [ 0.810722] 0x000000000000-0x000040000000 : “ubi” [ 0.818604] spi-nor spi0.0: w25q128jv (16384 Kbytes) [ 0.823704] 9 fixed-partitions partitions found on MTD device spi0.0 [ 0.830091] Creating 9 MTD partitions on “spi0.0”: [ 0.834902] 0x000000000000-0x000000095c04 : “ATF” [ 0.839805] 0x000000095c04-0x0000000af000 : “backup_RouterBOOT” [ 0.845886] 0x0000000af000-0x0000000b0000 : “hard_config” [ 0.851463] 0x0000000b0000-0x0000000c0000 : “RouterBOOT” [ 0.856932] 0x0000000c0000-0x0000000d0000 : “soft_config” [ 0.862493] 0x0000000d0000-0x0000000e0000 : “DTS” [ 0.867363] 0x0000000e0000-0x000000100000 : “free_space” [ 0.872856] 0x000000100000-0x000001000000 : “kernel” [ 0.877988] 0x000000000000-0x000000100000 : “first_1M” [ 0.886748] mv88e6085 f212a200.mdio-mii:00: switch 0x3930 detected: Marvell 88E6393X, revision 0 [ 0.908910] hwmon hwmon0: temp1_input not attached to any thermal zone [ 0.948090] hwmon hwmon1: temp1_input not attached to any thermal zone [ 0.987354] hwmon hwmon2: temp1_input not attached to any thermal zone [ 1.025814] hwmon hwmon3: temp1_input not attached to any thermal zone [ 1.065077] hwmon hwmon4: temp1_input not attached to any thermal zone [ 1.103552] hwmon hwmon5: temp1_input not attached to any thermal zone [ 1.143531] hwmon hwmon6: temp1_input not attached to any thermal zone [ 1.199104] mvpp2 f2000000.ethernet: using 8 per-cpu buffers [ 1.219281] mvpp2 f2000000.ethernet eth0: Using dtb mac address dc:2c:6e:45:cf:71 [ 1.237252] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.243826] ehci-pci: EHCI PCI platform driver [ 1.248320] ehci-platform: EHCI generic platform driver [ 1.253651] ehci-orion: EHCI orion driver [ 1.257966] xhci-hcd f2510000.usb3: xHCI Host Controller [ 1.263310] xhci-hcd f2510000.usb3: new USB bus registered, assigned bus number 1 [ 1.270897] xhci-hcd f2510000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 [ 1.280189] xhci-hcd f2510000.usb3: irq 40, io mem 0xf2510000 [ 1.286340] hub 1-0:1.0: USB hub found [ 1.290131] hub 1-0:1.0: 1 port detected [ 1.294169] xhci-hcd f2510000.usb3: xHCI Host Controller [ 1.299547] xhci-hcd f2510000.usb3: new USB bus registered, assigned bus number 2 [ 1.307065] xhci-hcd f2510000.usb3: Host supports USB 3.0 SuperSpeed [ 1.313475] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.321774] hub 2-0:1.0: USB hub found [ 1.325551] hub 2-0:1.0: 1 port detected [ 1.329729] usbcore: registered new interface driver usb-storage [ 1.335997] armada38x-rtc f2284000.rtc: registered as rtc0 [ 1.341530] armada38x-rtc f2284000.rtc: setting system clock to 2022-05-29T17:51:51 UTC (1653846711) [ 1.350757] i2c /dev entries driver [ 1.367905] sbsa-gwdt f0610000.watchdog: Initialized with 10s timeout @ 25000000 Hz, action=0. [enabled] [ 1.378118] sdhci: Secure Digital Host Controller Interface driver [ 1.384330] sdhci: Copyright© Pierre Ossman [ 1.388928] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.409499] MikroTik RouterBOARD hardware configuration sysfs driver v0.07 [ 1.429700] MikroTik RouterBOARD software configuration sysfs driver v0.05 [ 1.437479] NET: Registered protocol family 10 [ 1.442844] Segment Routing with IPv6 [ 1.446553] NET: Registered protocol family 17 [ 1.451158] 8021q: 802.1Q VLAN Support v1.8 [ 1.458282] mv88e6085 f212a200.mdio-mii:00: switch 0x3930 detected: Marvell 88E6393X, revision 0 [ 1.483854] hwmon hwmon0: temp1_input not attached to any thermal zone [ 1.520856] hwmon hwmon1: temp1_input not attached to any thermal zone [ 1.560104] hwmon hwmon2: temp1_input not attached to any thermal zone [ 1.598619] hwmon hwmon3: temp1_input not attached to any thermal zone [ 1.636638] hwmon hwmon4: temp1_input not attached to any thermal zone [ 1.674213] hwmon hwmon5: temp1_input not attached to any thermal zone [ 1.713125] hwmon hwmon6: temp1_input not attached to any thermal zone [ 2.286862] mvpp2 f2000000.ethernet: all ports have a low MTU, switching to per-cpu buffers [ 2.345512] mvpp2 f2000000.ethernet: using 8 per-cpu buffers [ 2.459415] mv88e6085 f212a200.mdio-mii:00 p8 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:01] driver [Marvell 88E6393 Family] (irq=55) [ 2.579416] mv88e6085 f212a200.mdio-mii:00 p7 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:02] driver [Marvell 88E6393 Family] (irq=56) [ 2.699396] mv88e6085 f212a200.mdio-mii:00 p6 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:03] driver [Marvell 88E6393 Family] (irq=57) [ 2.819393] mv88e6085 f212a200.mdio-mii:00 p5 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:04] driver [Marvell 88E6393 Family] (irq=58) [ 2.939393] mv88e6085 f212a200.mdio-mii:00 p4 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:05] driver [Marvell 88E6393 Family] (irq=59) [ 3.059411] mv88e6085 f212a200.mdio-mii:00 p3 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:06] driver [Marvell 88E6393 Family] (irq=60) [ 3.179397] mv88e6085 f212a200.mdio-mii:00 p2 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:07] driver [Marvell 88E6393 Family] (irq=61) [ 3.486023] mv88e6085 f212a200.mdio-mii:00 p1 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio1:00] driver [Qualcomm QCA8081] (irq=POLL) [ 3.502789] DSA: tree 0 setup [ 3.507205] UBI: auto-attach mtd0 [ 3.510568] ubi0: attaching mtd0 [ 10.950134] ubi0: scanning is finished [ 10.967781] ubi0: attached mtd0 (name “ubi”, size 1024 MiB) [ 10.973382] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 10.980295] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 10.987111] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 10.994106] ubi0: good PEBs: 8180, bad PEBs: 12, corrupted PEBs: 0 [ 11.000320] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 11.007578] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 507293880 [ 11.016662] ubi0: available PEBs: 0, total reserved PEBs: 8180, PEBs reserved for bad PEB handling: 148 [ 11.026108] ubi0: background thread “ubi_bgt0d” started, PID 915 [ 11.026874] block ubiblock0_0: created from ubi0:0(rootfs) [ 11.037669] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem [ 11.048723] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 11.056090] Freeing unused kernel memory: 448K [ 11.117723] Run /sbin/init as init process [ 11.121848] with arguments: [ 11.121857] /sbin/init [ 11.121864] with environment: [ 11.121872] HOME=/ [ 11.121879] TERM=linux [ 11.388337] init: Console is alive [ 11.391839] init: - watchdog - [ 11.650055] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 11.710786] ehci-fsl: Freescale EHCI Host controller driver [ 11.716947] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 11.728281] init: - preinit - [ 12.275546] mvpp2 f2000000.ethernet eth0: configuring for inband/10gbase-r link mode [ 12.284810] mv88e6085 f212a200.mdio-mii:00 p2: configuring for phy/ link mode [ 12.295174] 8021q: adding VLAN 0 to HW filter on device p2 [ 12.331417] mvpp2 f2000000.ethernet eth0: Link is Up - 10Gbps/Full - flow control off [ 12.340711] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 15.262078] mv88e6085 f212a200.mdio-mii:00 p2: Link is Up - 1Gbps/Full - flow control rx/tx [ 15.270529] IPv6: ADDRCONF(NETDEV_CHANGE): p2: link becomes ready [ 16.449537] UBIFS (ubi0:1): Mounting in unauthenticated mode [ 16.455347] UBIFS (ubi0:1): background thread “ubifs_bgt0_1” started, PID 1006 [ 16.512595] UBIFS (ubi0:1): recovery needed [ 16.650329] UBIFS (ubi0:1): recovery completed [ 16.654841] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name “rootfs_data” [ 16.662716] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 16.672681] UBIFS (ubi0:1): FS size: 1010094080 bytes (963 MiB, 7955 LEBs), journal size 33521664 bytes (31 MiB, 264 LEBs) [ 16.683775] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB) [ 16.690423] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 7A2EA4F9-3FB1-4552-8605-2D4FADC1BB0E, small LPT model [ 16.706870] mount_root: switching to ubifs overlay [ 16.717470] overlayfs: “xino” feature enabled using 2 upper inode bits. [ 16.737155] urandom-seed: Seeding with /etc/urandom.seed [ 16.864878] mv88e6085 f212a200.mdio-mii:00 p2: Link is Down [ 16.877294] procd: - early - [ 16.880348] procd: - watchdog - [ 17.434980] procd: - watchdog - [ 17.440867] procd: - ubus - [ 17.503437] procd: - init - [ 17.780246] urngd: v1.0.2 started. [ 17.799280] kmodloader: loading kernel modules from /etc/modules.d/* [ 17.875416] i2c-gpio sfp-i2c: using lines 32 (SDA) and 33 (SCL) [ 17.881792] sfp sfp: Host maximum power 1.0W [ 17.912207] xt_time: kernel timezone is -0000 [ 17.928207] PPP generic driver version 2.4.2 [ 17.933269] NET: Registered protocol family 24 [ 17.938908] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 17.946773] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved. [ 17.961213] kmodloader: done loading kernel modules from /etc/modules.d/* [ 21.103050] mvpp2 f2000000.ethernet eth0: Link is Down [ 21.120545] mvpp2 f2000000.ethernet eth0: configuring for inband/10gbase-r link mode [ 21.159931] mv88e6085 f212a200.mdio-mii:00 p1: configuring for inband/sgmii link mode [ 21.212404] mvpp2 f2000000.ethernet eth0: Link is Up - 10Gbps/Full - flow control off [ 21.249251] 8021q: adding VLAN 0 to HW filter on device p1 [ 21.273560] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 21.341983] br-lan: port 1(p1) entered blocking state [ 21.347095] br-lan: port 1(p1) entered disabled state [ 21.371425] device p1 entered promiscuous mode [ 21.375894] device eth0 entered promiscuous mode [ 21.464799] mv88e6085 f212a200.mdio-mii:00 p2: configuring for phy/ link mode [ 21.476985] 8021q: adding VLAN 0 to HW filter on device p2 [ 21.482842] br-lan: port 2(p2) entered blocking state [ 21.488025] br-lan: port 2(p2) entered disabled state [ 21.493670] device p2 entered promiscuous mode [ 21.513320] mv88e6085 f212a200.mdio-mii:00 p3: configuring for phy/ link mode [ 21.527931] 8021q: adding VLAN 0 to HW filter on device p3 [ 21.624039] br-lan: port 3(p3) entered blocking state [ 21.629145] br-lan: port 3(p3) entered disabled state [ 21.648003] device p3 entered promiscuous mode [ 21.660187] mv88e6085 f212a200.mdio-mii:00 p4: configuring for phy/ link mode [ 21.670085] 8021q: adding VLAN 0 to HW filter on device p4 [ 21.737758] br-lan: port 4(p4) entered blocking state [ 21.742854] br-lan: port 4(p4) entered disabled state [ 21.749307] device p4 entered promiscuous mode [ 21.772049] mv88e6085 f212a200.mdio-mii:00 p5: configuring for phy/ link mode [ 21.781947] 8021q: adding VLAN 0 to HW filter on device p5 [ 21.837756] br-lan: port 5(p5) entered blocking state [ 21.842850] br-lan: port 5(p5) entered disabled state [ 21.849204] device p5 entered promiscuous mode [ 21.871689] mv88e6085 f212a200.mdio-mii:00 p6: configuring for phy/ link mode [ 21.881363] 8021q: adding VLAN 0 to HW filter on device p6 [ 21.937769] br-lan: port 6(p6) entered blocking state [ 21.942862] br-lan: port 6(p6) entered disabled state [ 21.949308] device p6 entered promiscuous mode [ 21.971964] mv88e6085 f212a200.mdio-mii:00 p7: configuring for phy/ link mode [ 21.981833] 8021q: adding VLAN 0 to HW filter on device p7 [ 22.034163] br-lan: port 7(p7) entered blocking state [ 22.039278] br-lan: port 7(p7) entered disabled state [ 22.045773] device p7 entered promiscuous mode [ 22.104722] mv88e6085 f212a200.mdio-mii:00 sfp: configuring for inband/10gbase-r link mode [ 22.236017] 8021q: adding VLAN 0 to HW filter on device sfp [ 22.246689] br-lan: port 8(sfp) entered blocking state [ 22.251972] br-lan: port 8(sfp) entered disabled state [ 22.258657] device sfp entered promiscuous mode [ 22.284734] mv88e6085 f212a200.mdio-mii:00 p8: configuring for phy/ link mode [ 22.294658] 8021q: adding VLAN 0 to HW filter on device p8 [ 24.652106] mv88e6085 f212a200.mdio-mii:00 p2: Link is Up - 1Gbps/Full - flow control rx/tx [ 24.660581] br-lan: port 2(p2) entered blocking state [ 24.665676] br-lan: port 2(p2) entered forwarding state [ 24.671747] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 25.202107] mv88e6085 f212a200.mdio-mii:00 p8: Link is Up - 1Gbps/Full - flow control rx/tx