[A370] Porting to Shuttle KD22

Not really, both PCBs are blue :slight_smile:

If you want dhcp network configuration instead static, you can use this patch

diff --git a/target/linux/mvebu/cortexa9/base-files/etc/board.d/02_network b/target/linux/mvebu/cortexa9/base-files/etc/board.d/02_network
index c613a3cd60..bbe3ce54cb 100644
--- a/target/linux/mvebu/cortexa9/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/cortexa9/base-files/etc/board.d/02_network
@@ -12,7 +12,8 @@ mvebu_setup_interfaces()
 	local board="$1"
 
 	case "$board" in
-	ctera,c200-v2)
+	ctera,c200-v2|\
+	shuttle,kd22)
 		ucidef_set_interface_lan "eth0" "dhcp"
 		;;
 	cznic,turris-omnia)

Probably you may also need to set a static MAC by reading the uboot env partition, or it will set a random one everytime it boots.

Okay, I'll give it a try.
Do you have any idea how could I speedup the build?
I assume, I don't need to recompile every used package and binary all the time, just rebuild the piece of puzzles.

You don't need anything, just compile with the command:
make -j$(nproc) V=s

If you modify the dts file, or any kernel patch, it will rebuild the whole kernel again. If you didn't want this, then, to save time, your modifications should be done under build kernel tree subdirectories instead.

Yes, I know. I used to rebuild the kernel with this and it takes around 5 minutes. For example it works if I change the dts.
But if I edit the base- or the makefiles(like target/linux/mvebu/image/cortexa9.mk) the change didn't take place.

Then you should delete the tmp/ directory before compiling again. At least this worked for me when I added new devices for a target.

1 Like

Now it seems it cannot mount the rootfs during the boot. I tried nearly everything.
I can manually boot the ubifs to the root. Do you might have any idea how it should work?
I removed the nullparameter from the dts, it's better to configure the bootargs from uboot.
So far all the bootargs I have tried:

earlycon root=ubi0:rootfs ubi.mtd=2,2048 rootfstype=ubifs
earlycon root=/dev/ubi0_0 ubi.mtd=2,2048 rootfstype=ubifs
earlycon rootfstype=ubifs ubi.mtd=rootfs root=ubi0:rootfs rootwait
earlycon rootfstype=ubifs ubi.mtd=2,2048 root=/dev/ubi0_0 rootdelay=10
earlycon rootfstype=ubifs ubi.mtd=rootfs root=ubi0:rootfs rootdelay=10

dmesg:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.161 (balazs@archBalazsPC) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r20028-43d71ad93e) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Tue Jan 3 00:24:21 2023
[    0.000000] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Shuttle Omninas KD22
[    0.000000] earlycon: uart0 at MMIO 0xd0012000 (options '115200n8')
[    0.000000] printk: bootconsole [uart0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   Normal zone: 1152 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 11 pages/cpu s16268 r8192 d20596 u45056
[    0.000000] pcpu-alloc: s16268 r8192 d20596 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: earlycone earlycon root=ubi0:rootfs ubi.mtd=2,2048 rootfstype=ubifs
[    0.000000] Bootloader command line (ignored): e earlycon root=ubi0:rootfs ubi.mtd=2,2048 rootfstype=ubifs
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 498832K/524288K available (8192K kernel code, 629K rwdata, 1796K rodata, 9216K init, 230K bss, 25456K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x12086302 -> 0x1a086302
[    0.000000] Aurora cache controller enabled, 4 ways, 256 kB
[    0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a086302
[    0.000000] Switching to timer-based delay loop, resolution 53ns
[    0.000007] sched_clock: 32 bits at 18MHz, resolution 53ns, wraps every 114840871909ns
[    0.007893] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 102208375848 ns
[    0.019025] Calibrating delay loop (skipped), value calculated using timer frequency.. 37.39 BogoMIPS (lpj=186996)
[    0.029359] pid_max: default: 32768 minimum: 301
[    0.034077] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.041365] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.049707] CPU: Testing write buffer coherency: ok
[    0.054793] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.060547] Setting up static identity map for 0x100000 - 0x100060
[    0.066979] mvebu-soc-id: MVEBU SoC ID=0x6707, Rev=0x1
[    0.072209] mvebu-pmsu: Initializing Power Management Service Unit
[    0.078489] rcu: Hierarchical SRCU implementation.
[    0.083453] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.091215] smp: Bringing up secondary CPUs ...
[    0.095728] smp: Brought up 1 node, 1 CPU
[    0.099740] SMP: Total of 1 processors activated (37.39 BogoMIPS).
[    0.105891] CPU: All CPU(s) started in SVC mode.
[    0.113494] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.121257] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.131061] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.137890] pinctrl core: initialized pinctrl subsystem
[    0.144013] NET: Registered protocol family 16
[    0.150376] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.157964] thermal_sys: Registered thermal governor 'step_wise'
[    0.158031] cpuidle: using governor ladder
[    0.168277] mvebu-pmsu: CPU idle is currently broken: disabling
[    0.221985] cryptd: max_cpu_qlen set to 1000
[    0.228762] SCSI subsystem initialized
[    0.234720] libata version 3.00 loaded.
[    0.234924] usbcore: registered new interface driver usbfs
[    0.240504] usbcore: registered new interface driver hub
[    0.245829] usbcore: registered new device driver usb
[    0.255680] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.263303] NET: Registered protocol family 2
[    0.267840] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.275602] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.283950] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.291695] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.298839] TCP: Hash tables configured (established 4096 bind 4096)
[    0.305234] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.311759] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.318834] NET: Registered protocol family 1
[    0.323192] PCI: CLS 0 bytes, default 64
[    0.409799] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.419900] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.425756] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.438109] armada-370-pinctrl d0018000.pin-ctrl: registered pinctrl driver
[    0.446809] mvebu-pcie soc:pcie@82000000: host bridge /soc/pcie@82000000 ranges:
[    0.454204] mvebu-pcie soc:pcie@82000000:      MEM 0x00d0040000..0x00d0041fff -> 0x0000040000
[    0.462737] mvebu-pcie soc:pcie@82000000:      MEM 0x00d0080000..0x00d0081fff -> 0x0000080000
[    0.471247] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.480273] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.489298] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.498317] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.507538] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    0.514217] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.519701] pci_bus 0000:00: root bus resource [mem 0xd0040000-0xd0041fff] (bus address [0x00040000-0x00041fff])
[    0.529842] pci_bus 0000:00: root bus resource [mem 0xd0080000-0xd0081fff] (bus address [0x00080000-0x00081fff])
[    0.539979] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    0.546832] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    0.553164] pci 0000:00:01.0: [11ab:6707] type 01 class 0x060400
[    0.559479] pci 0000:00:02.0: [11ab:6710] type 01 class 0x060400
[    0.566405] PCI: bus0: Fast back to back transfers disabled
[    0.571961] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.579955] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.588061] pci 0000:01:00.0: [1b6f:7023] type 00 class 0x0c0330
[    0.594066] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x40007fff 64bit]
[    0.600887] pci 0000:01:00.0: enabling Extended Tags
[    0.605915] pci 0000:01:00.0: supports D1 D2
[    0.610167] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
[    0.616187] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.631798] PCI: bus1: Fast back to back transfers disabled
[    0.637373] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.644073] pci 0000:02:00.0: [10ec:8176] type 00 class 0x028000
[    0.650089] pci 0000:02:00.0: reg 0x10: [io  0xffffff00-0xffffffff]
[    0.656358] pci 0000:02:00.0: reg 0x18: [mem 0x42000000-0x42003fff 64bit]
[    0.663215] pci 0000:02:00.0: supports D1 D2
[    0.667480] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.674900] PCI: bus2: Fast back to back transfers disabled
[    0.680475] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.687123] pci 0000:00:01.0: BAR 8: assigned [mem 0xf8000000-0xf80fffff]
[    0.693885] pci 0000:00:02.0: BAR 8: assigned [mem 0xf8100000-0xf81fffff]
[    0.700659] pci 0000:00:02.0: BAR 7: assigned [io  0x10000-0x10fff]
[    0.706913] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf8007fff 64bit]
[    0.714200] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.719158] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    0.725934] pci 0000:02:00.0: BAR 2: assigned [mem 0xf8100000-0xf8103fff 64bit]
[    0.733218] pci 0000:02:00.0: BAR 0: assigned [io  0x10000-0x100ff]
[    0.739470] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.744414] pci 0000:00:02.0:   bridge window [io  0x10000-0x10fff]
[    0.750664] pci 0000:00:02.0:   bridge window [mem 0xf8100000-0xf81fffff]
[    0.757479] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    0.767892] pci 0000:01:00.0: quirk_usb_early_handoff+0x0/0x750 took 10146 usecs
[    0.775780] mv_xor d0060800.xor: Marvell shared XOR driver
[    0.836511] mv_xor d0060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.844013] mv_xor d0060900.xor: Marvell shared XOR driver
[    0.906502] mv_xor d0060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.914064] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.927108] loop: module loaded
[    0.933915] sata_mv d00a0000.sata: version 1.28
[    0.934109] sata_mv d00a0000.sata: slots 32 ports 2
[    0.942266] scsi host0: sata_mv
[    0.946802] scsi host1: sata_mv
[    0.950181] ata1: SATA max UDMA/133 irq 35
[    0.954261] ata2: SATA max UDMA/133 irq 35
[    0.960887] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    0.967283] nand: Hynix H27U1G8F2BTR-BC
[    0.971104] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.978980] Bad block table found at page 65472, version 0x01
[    0.985055] Bad block table found at page 65408, version 0x01
[    0.990998] nand_read_bbt: bad block at 0x0000011e0000
[    0.996133] nand_read_bbt: bad block at 0x000007640000
[    1.008334] 3 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    1.015280] Creating 3 MTD partitions on "pxa3xx_nand-0":
[    1.020714] 0x000000000000-0x000000800000 : "kernel"
[    1.026790] 0x000000800000-0x000000e00000 : "initrd"
[    1.032319] 0x000000e00000-0x000008000000 : "ubi"
[    1.042226] spi-nor spi0.0: m25p80-nonjedec (1024 Kbytes)
[    1.054701] 3 fixed-partitions partitions found on MTD device spi0.0
[    1.061118] Creating 3 MTD partitions on "spi0.0":
[    1.065910] 0x000000000000-0x0000000c0000 : "u-boot"
[    1.072087] 0x0000000c0000-0x0000000d0000 : "u-boot-env"
[    1.078149] 0x0000000d0000-0x000000100000 : "unused"
[    1.099236] hwmon hwmon0: temp1_input not attached to any thermal zone
[    1.107474] mvneta d0070000.ethernet eth0: Using random mac address ce:95:98:83:4d:8b
[    1.115493] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.122031] ehci-pci: EHCI PCI platform driver
[    1.126514] ehci-platform: EHCI generic platform driver
[    1.131806] ehci-orion: EHCI orion driver
[    1.135921] orion-ehci d0050000.usb: EHCI Host Controller
[    1.141315] orion-ehci d0050000.usb: new USB bus registered, assigned bus number 1
[    1.148977] orion-ehci d0050000.usb: irq 32, io mem 0xd0050000
[    1.175668] orion-ehci d0050000.usb: USB 2.0 started, EHCI 1.00
[    1.182152] hub 1-0:1.0: USB hub found
[    1.186538] hub 1-0:1.0: 1 port detected
[    1.190855] orion-ehci d0051000.usb: EHCI Host Controller
[    1.196312] orion-ehci d0051000.usb: new USB bus registered, assigned bus number 2
[    1.203962] orion-ehci d0051000.usb: irq 33, io mem 0xd0051000
[    1.235623] orion-ehci d0051000.usb: USB 2.0 started, EHCI 1.00
[    1.242071] hub 2-0:1.0: USB hub found
[    1.246254] hub 2-0:1.0: 1 port detected
[    1.250839] usbcore: registered new interface driver usb-storage
[    1.257081] i2c /dev entries driver
[    1.286206] orion_wdt: Initial timeout 229 sec
[    1.290999] sdhci: Secure Digital Host Controller Interface driver
[    1.297189] sdhci: Copyright(c) Pierre Ossman
[    1.301656] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.309145] ata1: SATA link down (SStatus 0 SControl F300)
[    1.319643] marvell-cesa d0090000.crypto: CESA device successfully registered
[    1.327606] NET: Registered protocol family 10
[    1.333904] Segment Routing with IPv6
[    1.337665] NET: Registered protocol family 17
[    1.342318] 8021q: 802.1Q VLAN Support v1.8
[    1.346653] Registering SWP/SWPB emulation handler
[    1.356189] ubi0: attaching mtd2
[    1.535696] usb 2-1: new high-speed USB device number 2 using orion-ehci
[    1.647188] ata2: SATA link down (SStatus 0 SControl F300)
[    1.687114] ubi0: scanning is finished
[    1.696941] ubi0: attached mtd2 (name "ubi", size 114 MiB)
[    1.702412] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.709300] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.716083] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.723012] ubi0: good PEBs: 902, bad PEBs: 10, corrupted PEBs: 0
[    1.729088] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    1.736286] ubi0: max/mean erase counter: 5/2, WL threshold: 4096, image sequence number: 2023301989
[    1.745375] ubi0: available PEBs: 0, total reserved PEBs: 902, PEBs reserved for bad PEB handling: 10
[    1.754968] Warning: unable to open an initial console.
[    1.761359] ubi0: background thread "ubi_bgt0d" started, PID 634
[    1.775130] Freeing unused kernel memory: 9216K
[    1.790443] usb-storage 2-1:1.0: USB Mass Storage device detected
[    1.797712] Run /init as init process
[    1.801361]   with arguments:
[    1.801365]     /init
[    1.801368]     earlycone
[    1.801372]   with environment:
[    1.801375]     HOME=/
[    1.801378]     TERM=linux
[    1.801381]     mangled_fs=ubifs
[    1.809832] scsi host2: usb-storage 2-1:1.0
[    2.043696] init: Console is alive
[    2.047684] init: - watchdog -
[    2.058575] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.092929] raid6: skip pq benchmark and using algorithm int32x8
[    2.098993] raid6: using intx1 recovery algorithm
[    2.105408] xor: measuring software checksum speed
[    2.118842]    arm4regs        :  1148 MB/sec
[    2.134415]    8regs           :   875 MB/sec
[    2.148359]    32regs          :  1025 MB/sec
[    2.152695] xor: using function: arm4regs (1148 MB/sec)
[    2.209006] Btrfs loaded, crc32c=crc32c-generic
[    2.242759] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    2.248053] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    2.255647] xhci_hcd 0000:01:00.0: hcc params 0x040040a5 hci version 0x100 quirks 0x0000000000080490
[    2.293990] hub 3-0:1.0: USB hub found
[    2.298242] hub 3-0:1.0: 2 ports detected
[    2.302598] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    2.307873] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 4
[    2.315255] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    2.322140] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.330798] hub 4-0:1.0: USB hub found
[    2.334973] hub 4-0:1.0: 2 ports detected
[    2.342015] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.359610] init: - preinit -
[    2.502962] random: jshn: uninitialized urandom read (4 bytes read)
[    2.549458] random: jshn: uninitialized urandom read (4 bytes read)
[    2.570806] random: jshn: uninitialized urandom read (4 bytes read)
[    2.682494] mvneta d0070000.ethernet eth0: PHY [d0072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[    2.692291] mvneta d0070000.ethernet eth0: configuring for phy/rgmii-id link mode
[    2.827214] scsi 2:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9454 PQ: 0 ANSI: 0
[    2.846300] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    4.838240] procd: - early -
[    4.841237] procd: - watchdog -
[    5.409985] procd: - watchdog -
[    5.413232] procd: failed to set stdio: No such device
[    5.418510] procd: - ubus -
[    5.426130] random: ubusd: uninitialized urandom read (4 bytes read)
[    5.471498] random: ubusd: uninitialized urandom read (4 bytes read)
[    5.478186] random: ubusd: uninitialized urandom read (4 bytes read)
[    5.486661] procd: - init -
[    5.881743] kmodloader: loading kernel modules from /etc/modules.d/*
[    5.892711] urngd: v1.0.2 started.
[    6.002152] rtc-pcf8563 0-0051: pcf8563_write_block_data: err=-6 addr=0e, data=03
[    6.009684] rtc-pcf8563 0-0051: pcf8563_probe: write error
[    6.015159] rtc-pcf8563: probe of 0-0051 failed with error -5
[    6.079474] random: crng init done
[    6.082873] random: 27 urandom warning(s) missed due to ratelimiting
[    6.140418] PPP generic driver version 2.4.2
[    6.147063] NET: Registered protocol family 24
[    6.182786] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.866025] mvneta d0070000.ethernet eth0: PHY [d0072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[   13.917283] mvneta d0070000.ethernet eth0: configuring for phy/rgmii-id link mode
[   13.968809] br-lan: port 1(eth0) entered blocking state
[   13.974026] br-lan: port 1(eth0) entered disabled state
[   13.979554] device eth0 entered promiscuous mode
[   17.066157] mvneta d0070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   17.074165] br-lan: port 1(eth0) entered blocking state
[   17.079402] br-lan: port 1(eth0) entered forwarding state
[   17.086446] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

Did you install the firmware using the sysupgrade command?. I'm not sure if the ubi rootfs is created correctly if you flash it via mtd command.

Yap, I gave it a try as well. It seems, there is something wrong with the root partition however I cannot see anything on the dmesg.
I'll start the nas with the debug kernel parameter tomorrow.
Is it even possible to store the rootfs and rootfs_data in the nand?
Should I try to restore the original rootfs partition and use that as a base or completely erase it and manually create the layout for that partition? I would need a proper guide for that too :smiley:
I saw the HDD in the post install steps for the Buffalo NAS.

which file are you using for flashing the kernel partition?

I gave a try both initramfs-kernel and sysupgrade.
Maybe I'll give a try for running sysupgrade with the mounted rootfs.

openwrt-mvebu-cortexa9-kd22-initramfs-kernel.bin under the bin/ directory is a RAM firmware. It contains not only the kernel but also the rootfs. It's used for testing purposes or for installing the sysupgrade image. Once booted it won't mount rootfs since it has it's own RAM root filesystem.

You should flash a kernel only uboot uimage to the kernel partition, which usually is inside the sysupgrade image.

Thanks, now I understand how these binaries are packed together.
I had some attempt now and for some reason it didn't work.
However now, it seems to be fine. Last time I did:

  • tftpboot
Shuttle>> tftpboot openwrt-mvebu-cortexa9-shuttle_kd22-initramfs-kernel.bin
Using egiga0 device
TFTP from server 192.168.1.3; our IP address is 192.168.1.2
Filename 'openwrt-mvebu-cortexa9-shuttle_kd22-initramfs-kernel.bin'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################################
done
Bytes transferred = 6253469 (5f6b9d hex)
Shuttle>> bootm 0x2000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   ARM OpenWrt Linux-5.10.161
   Created:      2023-01-03   0:24:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6253405 Bytes =  6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.161 (user@PC) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r20028-43d71ad93e) 11.2.0, GNU ld (GNU Binutils) 2.37) #03
[    0.000000] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Shuttle Omninas KD22
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 11 pages/cpu s16268 r8192 d20596 u45056
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200root=ubi0:rootfs ubi.mtd=2,2048 rootfstype=ubifs
[    0.000000] Bootloader command line (ignored): root=ubi0:rootfs ubi.mtd=2,2048 rootfstype=ubifs
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 498820K/524288K available (8192K kernel code, 629K rwdata, 1796K rodata, 9216K init, 230K bss, 25468K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x12086302 -> 0x1a086302
[    0.000000] Aurora cache controller enabled, 4 ways, 256 kB
[    0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a086302
[    0.000000] Switching to timer-based delay loop, resolution 53ns
[    0.000007] sched_clock: 32 bits at 18MHz, resolution 53ns, wraps every 114840871909ns
[    0.000023] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 102208375848 ns
[    0.000279] Calibrating delay loop (skipped), value calculated using timer frequency.. 37.39 BogoMIPS (lpj=186996)
[    0.000300] pid_max: default: 32768 minimum: 301
[    0.000429] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000442] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001084] CPU: Testing write buffer coherency: ok
[    0.001324] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.001936] Setting up static identity map for 0x100000 - 0x100060
[    0.002219] mvebu-soc-id: MVEBU SoC ID=0x6707, Rev=0x1
[    0.002308] mvebu-pmsu: Initializing Power Management Service Unit
[    0.002448] rcu: Hierarchical SRCU implementation.
[    0.002628] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.002741] smp: Bringing up secondary CPUs ...
[    0.002752] smp: Brought up 1 node, 1 CPU
[    0.002760] SMP: Total of 1 processors activated (37.39 BogoMIPS).
[    0.002767] CPU: All CPU(s) started in SVC mode.
[    0.006280] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.006415] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006434] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.006513] pinctrl core: initialized pinctrl subsystem
[    0.007431] NET: Registered protocol family 16
[    0.007892] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.008615] thermal_sys: Registered thermal governor 'step_wise'
[    0.008917] cpuidle: using governor ladder
[    0.009063] mvebu-pmsu: CPU idle is currently broken: disabling
[    0.059619] cryptd: max_cpu_qlen set to 1000
[    0.063666] SCSI subsystem initialized
[    0.065021] usbcore: registered new interface driver usbfs
[    0.065067] usbcore: registered new interface driver hub
[    0.065112] usbcore: registered new device driver usb
[    0.069886] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.070792] NET: Registered protocol family 2
[    0.070967] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.071529] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.071570] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.071600] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.071639] TCP: Hash tables configured (established 4096 bind 4096)
[    0.071716] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.071736] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.071877] NET: Registered protocol family 1
[    0.071906] PCI: CLS 0 bytes, default 64
[    0.159729] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.163456] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.163472] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.166107] armada-370-pinctrl d0018000.pin-ctrl: registered pinctrl driver
[    0.167858] mvebu-pcie soc:pcie@82000000: host bridge /soc/pcie@82000000 ranges:
[    0.167904] mvebu-pcie soc:pcie@82000000:      MEM 0x00d0040000..0x00d0041fff -> 0x0000040000
[    0.167927] mvebu-pcie soc:pcie@82000000:      MEM 0x00d0080000..0x00d0081fff -> 0x0000080000
[    0.167948] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.167966] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.167984] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.167998] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.168169] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    0.168185] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.168197] pci_bus 0000:00: root bus resource [mem 0xd0040000-0xd0041fff] (bus address [0x00040000-0x00041fff])
[    0.168208] pci_bus 0000:00: root bus resource [mem 0xd0080000-0xd0081fff] (bus address [0x00080000-0x00081fff])
[    0.168217] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    0.168226] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    0.168343] pci 0000:00:01.0: [11ab:6707] type 01 class 0x060400
[    0.169552] PCI: bus0: Fast back to back transfers disabled
[    0.169569] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.169685] pci 0000:01:00.0: [1b6f:7023] type 00 class 0x0c0330
[    0.169720] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x40007fff 64bit]
[    0.169849] pci 0000:01:00.0: enabling Extended Tags
[    0.169932] pci 0000:01:00.0: supports D1 D2
[    0.169941] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
[    0.169978] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.171038] PCI: bus1: Fast back to back transfers disabled
[    0.171054] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.171112] pci 0000:00:01.0: BAR 8: assigned [mem 0xf8000000-0xf80fffff]
[    0.171126] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf8007fff 64bit]
[    0.171145] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.171157] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    0.171209] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    0.175837] mv_xor d0060800.xor: Marvell shared XOR driver
[    0.230708] mv_xor d0060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.230948] mv_xor d0060900.xor: Marvell shared XOR driver
[    0.290710] mv_xor d0060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.291013] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.291508] printk: console [ttyS0] disabled
[    0.311677] d0012000.serial: ttyS0 at MMIO 0xd0012000 (irq = 27, base_baud = 12500000) is a 16550A
[    1.079670] printk: console [ttyS0] enabled
[    1.089625] loop: module loaded
[    1.096756] sata_mv d00a0000.sata: slots 32 ports 2
[    1.104956] scsi host0: sata_mv
[    1.109148] scsi host1: sata_mv
[    1.112824] ata1: SATA max UDMA/133 irq 35
[    1.116947] ata2: SATA max UDMA/133 irq 35
[    1.123587] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    1.130041] nand: Hynix H27U1G8F2BTR-BC
[    1.133898] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.141842] Bad block table found at page 65472, version 0x01
[    1.147971] Bad block table found at page 65408, version 0x01
[    1.153971] nand_read_bbt: bad block at 0x0000011e0000
[    1.159140] nand_read_bbt: bad block at 0x000007640000
[    1.172038] 3 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    1.179051] Creating 3 MTD partitions on "pxa3xx_nand-0":
[    1.184528] 0x000000000000-0x000000800000 : "kernel"
[    1.190674] 0x000000800000-0x000000e00000 : "initrd"
[    1.196256] 0x000000e00000-0x000008000000 : "ubi"
[    1.206206] spi-nor spi0.0: found s25fl008k, expected mx25l8005
[    1.212650] spi-nor spi0.0: s25fl008k (1024 Kbytes)
[    1.224723] 2 fixed-partitions partitions found on MTD device spi0.0
[    1.231199] Creating 2 MTD partitions on "spi0.0":
[    1.236021] 0x000000000000-0x0000000f0000 : "u-boot"
[    1.242131] 0x0000000f0000-0x000000100000 : "u-boot-env"
[    1.262695] OF: /thermal-zones/ethphy-thermal: could not get #thermal-sensor-cells for /soc/internal-regs/mdio@72004/ethernet-phy@0
[    1.274677] hwmon hwmon0: temp1_input not attached to any thermal zone
[    1.282869] mvneta d0070000.ethernet eth0: Using hardware mac address 00:50:43:7e:09:0e
[    1.291183] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.297745] ehci-pci: EHCI PCI platform driver
[    1.302275] ehci-platform: EHCI generic platform driver
[    1.307620] ehci-orion: EHCI orion driver
[    1.311770] orion-ehci d0050000.usb: EHCI Host Controller
[    1.317215] orion-ehci d0050000.usb: new USB bus registered, assigned bus number 1
[    1.324954] orion-ehci d0050000.usb: irq 33, io mem 0xd0050000
[    1.359800] orion-ehci d0050000.usb: USB 2.0 started, EHCI 1.00
[    1.366341] hub 1-0:1.0: USB hub found
[    1.370594] hub 1-0:1.0: 1 port detected
[    1.375248] usbcore: registered new interface driver usb-storage
[    1.381587] i2c /dev entries driver
[    1.410399] orion_wdt: Initial timeout 229 sec
[    1.415244] sdhci: Secure Digital Host Controller Interface driver
[    1.421492] sdhci: Copyright(c) Pierre Ossman
[    1.426007] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.439549] marvell-cesa d0090000.crypto: CESA device successfully registered
[    1.447593] NET: Registered protocol family 10
[    1.454089] Segment Routing with IPv6
[    1.457837] NET: Registered protocol family 17
[    1.462862] 8021q: 802.1Q VLAN Support v1.8
[    1.467174] Registering SWP/SWPB emulation handler
[    1.619797] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    1.628496] ata1.00: supports DRM functions and may not be fully accessible
[    1.635516] ata1.00: ATA-9: Samsung SSD 850 EVO 120GB, EMT02B6Q, max UDMA/133
[    1.642697] ata1.00: 234441648 sectors, multi 1: LBA48 NCQ (depth 31/32)
[    1.660807] ata1.00: supports DRM functions and may not be fully accessible
[    1.668736] ata1.00: configured for UDMA/133
[    1.673392] scsi 0:0:0:0: Direct-Access     ATA      Samsung SSD 850  2B6Q PQ: 0 ANSI: 5
[    1.682741] sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
[    1.690888] sd 0:0:0:0: [sda] Write Protect is off
[    1.695819] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.706257]  sda: sda1 sda2 sda3
[    1.710787] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.021047] ata2: SATA link down (SStatus 0 SControl F300)
[    7.610245] ubi0: attaching mtd2
[    7.781818] ubi0: scanning is finished
[    7.785690] ubi0 error: ubi_read_volume_table: the layout volume was not found
[    7.793156] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd2, error -22
[    7.800274] UBI error: cannot attach mtd2
[    7.813430] Freeing unused kernel memory: 9216K
[    7.818937] Run /init as init process
[    8.063099] init: Console is alive
[    8.066711] init: - watchdog -
[    8.077525] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    8.111846] raid6: skip pq benchmark and using algorithm int32x8
[    8.117898] raid6: using intx1 recovery algorithm
[    8.124481] xor: measuring software checksum speed
[    8.137957]    arm4regs        :  1148 MB/sec
[    8.153589]    8regs           :   875 MB/sec
[    8.167567]    32regs          :  1025 MB/sec
[    8.171960] xor: using function: arm4regs (1148 MB/sec)
[    8.228810] Btrfs loaded, crc32c=crc32c-generic
[    8.260146] armada-370-pinctrl d0018000.pin-ctrl: pin PIN15 already requested by d0070000.ethernet; cannot claim for gpio_keys
[    8.271645] armada-370-pinctrl d0018000.pin-ctrl: pin-15 (gpio_keys) status -22
[    8.278992] armada-370-pinctrl d0018000.pin-ctrl: could not request pin 15 (PIN15) from group mpp15  on device d0018000.pin-ctrl
[    8.290624] gpio-keys gpio_keys: Error applying setting, reverse things back
[    8.297718] gpio-keys: probe of gpio_keys failed with error -22
[    8.357195] rtc-rs5c372 0-0032: can't read registers
[    8.362277] rtc-rs5c372: probe of 0-0032 failed with error -5
[    8.394484] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    8.399831] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    8.407471] xhci_hcd 0000:01:00.0: hcc params 0x040040a5 hci version 0x100 quirks 0x0000000000080490
[    8.442001] hub 2-0:1.0: USB hub found
[    8.446176] hub 2-0:1.0: 2 ports detected
[    8.450615] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    8.455899] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    8.463373] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    8.470255] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    8.478872] hub 3-0:1.0: USB hub found
[    8.483187] hub 3-0:1.0: 2 ports detected
[    8.518894] kmodloader: 1 module could not be probed
[    8.524075] kmodloader: - linkstation-poweroff - 0
[    8.539217] init: - preinit -
[    8.686725] random: jshn: uninitialized urandom read (4 bytes read)
[    8.733495] random: jshn: uninitialized urandom read (4 bytes read)
[    8.755442] random: jshn: uninitialized urandom read (4 bytes read)
[    8.866924] mvneta d0070000.ethernet eth0: PHY [d0072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[    8.876798] mvneta d0070000.ethernet eth0: configuring for phy/rgmii-id link mode
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.162002] procd: - early -
[   12.165022] procd: - watchdog -
[   12.730841] procd: - watchdog -
[   12.734257] procd: - ubus -
[   12.741847] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.787260] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.794009] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.802550] procd: - init -
Please press Enter to activate this console.
[   13.188702] urngd: v1.0.2 started.
[   13.199148] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.333800] random: crng init done
[   13.337236] random: 27 urandom warning(s) missed due to ratelimiting
[   13.431511] armada-370-pinctrl d0018000.pin-ctrl: pin PIN14 already requested by d0070000.ethernet; cannot claim for gpio_fan
[   13.442941] armada-370-pinctrl d0018000.pin-ctrl: pin-14 (gpio_fan) status -22
[   13.450229] armada-370-pinctrl d0018000.pin-ctrl: could not request pin 14 (PIN14) from group mpp14  on device d0018000.pin-ctrl
[   13.461858] gpio-fan gpio_fan: Error applying setting, reverse things back
[   13.468780] gpio-fan: probe of gpio_fan failed with error -22
[   13.601032] PPP generic driver version 2.4.2
[   13.606947] NET: Registered protocol family 24
[   13.685328] kmodloader: 1 module could not be probed
[   13.700212] kmodloader: - linkstation-poweroff - 0
  • mtd erase ubi
Unlocking ubi ...
Erasing ubi ...

Skipping bad block at 0x3e0000   
Skipping bad block at 0x6840000   
Skipping bad block at 0x7100000   
Skipping bad block at 0x7120000   
Skipping bad block at 0x7140000   
Skipping bad block at 0x7160000   
Skipping bad block at 0x7180000   
Skipping bad block at 0x71a0000   
Skipping bad block at 0x71c0000
  • sysupgrade
root@OpenWrt:/tmp# sysupgrade openwrt-mvebu-cortexa9-shuttle_kd22-squashfs-sysupgrade.bin 
Cannot save config while running from ramdisk.
Sun Jan 29 08:56:57 UTC 2023 upgrade: Commencing upgrade. Closing all shell sessions.
Command failed: Connection failed
root@OpenWrt:/tmp# Connection to 192.168.1.247 closed by remote host.

serial:

Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Sun Jan 29 08:56:57 UTC 2023 upgrade: Sending TERM to remaining processes ...
Sun Jan 29 08:57:01 UTC 2023 upgrade: Sending KILL to remaining processes ...
[  627.155712] stage2 (2577): drop_caches: 3
Sun Jan 29 08:57:07 UTC 2023 upgrade: Switching to ramdisk...
Sun Jan 29 08:57:09 UTC 2023 upgrade: Performing system upgrade...
Unlocking kernel ...

Writing from <stdin> to kernel ...     
[  630.057191] ubi0: attaching mtd2
[  630.221983] ubi0: scanning is finished
[  630.225759] ubi0: empty MTD device detected
[  630.242274] ubi0: attached mtd2 (name "ubi", size 114 MiB)
[  630.247799] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[  630.254749] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[  630.261590] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[  630.268585] ubi0: good PEBs: 902, bad PEBs: 10, corrupted PEBs: 0
[  630.274717] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[  630.281984] ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 3168796298
[  630.291158] ubi0: available PEBs: 888, total reserved PEBs: 14, PEBs reserved for bad PEB handling: 10
[  630.300556] ubi0: background thread "ubi_bgt0d" started, PID 3267
UBI device number 0, total 902 LEBs (114532352 bytes, 109.2 MiB), available 888 LEBs (112754688 bytes, 107.5 MiB), LEB size 126976 bytes (124.0 KiB)
Volume ID 0, size 25 LEBs (3174400 bytes, 3.0 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 109580288
Volume ID 1, size 863 LEBs (109580288 bytes, 104.5 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[  631.963755] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  631.972101] reboot: Restarting system

Looks like it works now, however I had many reboot loops while OpenWRT has tried to mount the rootfs so far.

  • successful boot
Shuttle>> boot
Device 0: nand0, sector size 128 KiB

NAND read: device 0 offset 0x0, size 0x360000
 3538944 bytes read: OK
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   ARM OpenWrt Linux-5.10.161
   Created:      2023-01-03   0:24:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3427805 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.161 (balazs@archBalazsPC) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r20028-43d71ad93e) 11.2.0, GNU ld (GNU Binutils) 2.37) #03
[    0.000000] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Shuttle Omninas KD22
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 11 pages/cpu s16268 r8192 d20596 u45056
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200root=ubi0:rootfs ubi.mtd=2,2048 rootfstype=ubifs
[    0.000000] Bootloader command line (ignored): root=ubi0:rootfs ubi.mtd=2,2048 rootfstype=ubifs
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 507012K/524288K available (8192K kernel code, 629K rwdata, 1796K rodata, 1024K init, 230K bss, 17276K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x12086302 -> 0x1a086302
[    0.000000] Aurora cache controller enabled, 4 ways, 256 kB
[    0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a086302
[    0.000000] Switching to timer-based delay loop, resolution 53ns
[    0.000007] sched_clock: 32 bits at 18MHz, resolution 53ns, wraps every 114840871909ns
[    0.000023] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 102208375848 ns
[    0.000279] Calibrating delay loop (skipped), value calculated using timer frequency.. 37.39 BogoMIPS (lpj=186996)
[    0.000299] pid_max: default: 32768 minimum: 301
[    0.000429] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000443] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001083] CPU: Testing write buffer coherency: ok
[    0.001321] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.001940] Setting up static identity map for 0x100000 - 0x100060
[    0.002222] mvebu-soc-id: MVEBU SoC ID=0x6707, Rev=0x1
[    0.002311] mvebu-pmsu: Initializing Power Management Service Unit
[    0.002449] rcu: Hierarchical SRCU implementation.
[    0.002628] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.002741] smp: Bringing up secondary CPUs ...
[    0.002752] smp: Brought up 1 node, 1 CPU
[    0.002760] SMP: Total of 1 processors activated (37.39 BogoMIPS).
[    0.002768] CPU: All CPU(s) started in SVC mode.
[    0.006274] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.006408] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006427] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.006507] pinctrl core: initialized pinctrl subsystem
[    0.007422] NET: Registered protocol family 16
[    0.007884] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.008607] thermal_sys: Registered thermal governor 'step_wise'
[    0.008909] cpuidle: using governor ladder
[    0.009056] mvebu-pmsu: CPU idle is currently broken: disabling
[    0.059586] cryptd: max_cpu_qlen set to 1000
[    0.063642] SCSI subsystem initialized
[    0.064990] usbcore: registered new interface driver usbfs
[    0.065036] usbcore: registered new interface driver hub
[    0.065080] usbcore: registered new device driver usb
[    0.069850] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.070751] NET: Registered protocol family 2
[    0.070927] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.071487] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.071530] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.071561] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.071600] TCP: Hash tables configured (established 4096 bind 4096)
[    0.071676] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.071696] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.071840] NET: Registered protocol family 1
[    0.071870] PCI: CLS 0 bytes, default 64
[    0.076476] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.080210] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.080226] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.082991] armada-370-pinctrl d0018000.pin-ctrl: registered pinctrl driver
[    0.084746] mvebu-pcie soc:pcie@82000000: host bridge /soc/pcie@82000000 ranges:
[    0.084789] mvebu-pcie soc:pcie@82000000:      MEM 0x00d0040000..0x00d0041fff -> 0x0000040000
[    0.084812] mvebu-pcie soc:pcie@82000000:      MEM 0x00d0080000..0x00d0081fff -> 0x0000080000
[    0.084832] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.084851] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.084869] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.084882] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.085056] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    0.085072] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.085084] pci_bus 0000:00: root bus resource [mem 0xd0040000-0xd0041fff] (bus address [0x00040000-0x00041fff])
[    0.085095] pci_bus 0000:00: root bus resource [mem 0xd0080000-0xd0081fff] (bus address [0x00080000-0x00081fff])
[    0.085104] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    0.085112] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    0.085227] pci 0000:00:01.0: [11ab:6707] type 01 class 0x060400
[    0.086429] PCI: bus0: Fast back to back transfers disabled
[    0.086447] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.086562] pci 0000:01:00.0: [1b6f:7023] type 00 class 0x0c0330
[    0.086596] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x40007fff 64bit]
[    0.086649] pci 0000:01:00.0: enabling Extended Tags
[    0.086728] pci 0000:01:00.0: supports D1 D2
[    0.086737] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
[    0.086774] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.087816] PCI: bus1: Fast back to back transfers disabled
[    0.087831] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.087889] pci 0000:00:01.0: BAR 8: assigned [mem 0xf8000000-0xf80fffff]
[    0.087903] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf8007fff 64bit]
[    0.087922] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.087934] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    0.087985] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    0.089652] mv_xor d0060800.xor: Marvell shared XOR driver
[    0.150663] mv_xor d0060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.150904] mv_xor d0060900.xor: Marvell shared XOR driver
[    0.210668] mv_xor d0060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.210970] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.211465] printk: console [ttyS0] disabled
[    0.231631] d0012000.serial: ttyS0 at MMIO 0xd0012000 (irq = 27, base_baud = 12500000) is a 16550A
[    0.999609] printk: console [ttyS0] enabled
[    1.009533] loop: module loaded
[    1.016618] sata_mv d00a0000.sata: slots 32 ports 2
[    1.024757] scsi host0: sata_mv
[    1.028948] scsi host1: sata_mv
[    1.032627] ata1: SATA max UDMA/133 irq 35
[    1.036751] ata2: SATA max UDMA/133 irq 35
[    1.043352] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    1.049800] nand: Hynix H27U1G8F2BTR-BC
[    1.053658] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.061584] Bad block table found at page 65472, version 0x01
[    1.067715] Bad block table found at page 65408, version 0x01
[    1.073714] nand_read_bbt: bad block at 0x0000011e0000
[    1.078883] nand_read_bbt: bad block at 0x000007640000
[    1.084488] 3 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    1.091529] Creating 3 MTD partitions on "pxa3xx_nand-0":
[    1.096959] 0x000000000000-0x000000800000 : "kernel"
[    1.103017] 0x000000800000-0x000000e00000 : "initrd"
[    1.108589] 0x000000e00000-0x000008000000 : "ubi"
[    1.118357] spi-nor spi0.0: found s25fl008k, expected mx25l8005
[    1.124758] spi-nor spi0.0: s25fl008k (1024 Kbytes)
[    1.130046] 2 fixed-partitions partitions found on MTD device spi0.0
[    1.136439] Creating 2 MTD partitions on "spi0.0":
[    1.141316] 0x000000000000-0x0000000f0000 : "u-boot"
[    1.147439] 0x0000000f0000-0x000000100000 : "u-boot-env"
[    1.161253] OF: /thermal-zones/ethphy-thermal: could not get #thermal-sensor-cells for /soc/internal-regs/mdio@72004/ethernet-phy@0
[    1.173220] hwmon hwmon0: temp1_input not attached to any thermal zone
[    1.181441] mvneta d0070000.ethernet eth0: Using random mac address de:81:da:7b:2a:34
[    1.189538] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.196139] ehci-pci: EHCI PCI platform driver
[    1.200663] ehci-platform: EHCI generic platform driver
[    1.206008] ehci-orion: EHCI orion driver
[    1.210157] orion-ehci d0050000.usb: EHCI Host Controller
[    1.215602] orion-ehci d0050000.usb: new USB bus registered, assigned bus number 1
[    1.223337] orion-ehci d0050000.usb: irq 33, io mem 0xd0050000
[    1.249923] orion-ehci d0050000.usb: USB 2.0 started, EHCI 1.00
[    1.256443] hub 1-0:1.0: USB hub found
[    1.260748] hub 1-0:1.0: 1 port detected
[    1.265375] usbcore: registered new interface driver usb-storage
[    1.271701] i2c /dev entries driver
[    1.300236] orion_wdt: Initial timeout 229 sec
[    1.305082] sdhci: Secure Digital Host Controller Interface driver
[    1.311342] sdhci: Copyright(c) Pierre Ossman
[    1.315860] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.329195] marvell-cesa d0090000.crypto: CESA device successfully registered
[    1.337219] NET: Registered protocol family 10
[    1.343605] Segment Routing with IPv6
[    1.347374] NET: Registered protocol family 17
[    1.352119] 8021q: 802.1Q VLAN Support v1.8
[    1.356424] Registering SWP/SWPB emulation handler
[    1.539755] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    1.548451] ata1.00: supports DRM functions and may not be fully accessible
[    1.555475] ata1.00: ATA-9: Samsung SSD 850 EVO 120GB, EMT02B6Q, max UDMA/133
[    1.562657] ata1.00: 234441648 sectors, multi 1: LBA48 NCQ (depth 31/32)
[    1.580766] ata1.00: supports DRM functions and may not be fully accessible
[    1.588692] ata1.00: configured for UDMA/133
[    1.593364] scsi 0:0:0:0: Direct-Access     ATA      Samsung SSD 850  2B6Q PQ: 0 ANSI: 5
[    1.602710] sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
[    1.610853] sd 0:0:0:0: [sda] Write Protect is off
[    1.615780] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.626198]  sda: sda1 sda2 sda3
[    1.630726] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.941009] ata2: SATA link down (SStatus 0 SControl F300)
[    7.530199] ubi0: attaching mtd2
[    7.847565] ubi0: scanning is finished
[    7.857382] ubi0: attached mtd2 (name "ubi", size 114 MiB)
[    7.862949] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    7.869876] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    7.876697] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    7.883701] ubi0: good PEBs: 902, bad PEBs: 10, corrupted PEBs: 0
[    7.889831] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    7.897089] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 3168796298
[    7.906271] ubi0: available PEBs: 0, total reserved PEBs: 902, PEBs reserved for bad PEB handling: 10
[    7.915939] ubi0: background thread "ubi_bgt0d" started, PID 657
[    7.922679] block ubiblock0_0: created from ubi0:0(rootfs)
[    7.928201] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    7.938948] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    7.947778] Freeing unused kernel memory: 1024K
[    7.970695] Run /sbin/init as init process
[    8.178592] init: Console is alive
[    8.182319] init: - watchdog -
[    8.482500] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    8.553579] raid6: skip pq benchmark and using algorithm int32x8
[    8.559630] raid6: using intx1 recovery algorithm
[    8.566217] xor: measuring software checksum speed
[    8.579689]    arm4regs        :  1148 MB/sec
[    8.595321]    8regs           :   875 MB/sec
[    8.609300]    32regs          :  1025 MB/sec
[    8.613686] xor: using function: arm4regs (1148 MB/sec)
[    8.756718] Btrfs loaded, crc32c=crc32c-generic
[    8.788158] armada-370-pinctrl d0018000.pin-ctrl: pin PIN15 already requested by d0070000.ethernet; cannot claim for gpio_keys
[    8.799662] armada-370-pinctrl d0018000.pin-ctrl: pin-15 (gpio_keys) status -22
[    8.807025] armada-370-pinctrl d0018000.pin-ctrl: could not request pin 15 (PIN15) from group mpp15  on device d0018000.pin-ctrl
[    8.818654] gpio-keys gpio_keys: Error applying setting, reverse things back
[    8.825761] gpio-keys: probe of gpio_keys failed with error -22
[    8.884969] rtc-rs5c372 0-0032: can't read registers
[    8.890038] rtc-rs5c372: probe of 0-0032 failed with error -5
[    8.922508] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    8.927788] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    8.935479] xhci_hcd 0000:01:00.0: hcc params 0x040040a5 hci version 0x100 quirks 0x0000000000080490
[    8.970109] hub 2-0:1.0: USB hub found
[    8.974339] hub 2-0:1.0: 2 ports detected
[    8.978703] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    8.984027] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    8.991484] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    8.998349] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.007144] hub 3-0:1.0: USB hub found
[    9.011408] hub 3-0:1.0: 2 ports detected
[    9.046181] kmodloader: 1 module could not be probed
[    9.051396] kmodloader: - linkstation-poweroff - 0
[    9.066570] init: - preinit -
[    9.610028] random: jshn: uninitialized urandom read (4 bytes read)
[    9.691005] random: jshn: uninitialized urandom read (4 bytes read)
[    9.712205] random: jshn: uninitialized urandom read (4 bytes read)
[    9.821877] mvneta d0070000.ethernet eth0: PHY [d0072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[    9.831735] mvneta d0070000.ethernet eth0: configuring for phy/rgmii-id link mode
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.012410] mvneta d0070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   14.023021] UBIFS (ubi0:1): default file-system created
[   14.028673] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   14.034587] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.052943] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 765
[   14.086354] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   14.094291] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   14.104271] UBIFS (ubi0:1): FS size: 108183552 bytes (103 MiB, 852 LEBs), journal size 5459968 bytes (5 MiB, 43 LEBs)
[   14.114941] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   14.121599] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID DFB69FCF-95B4-4C24-8CD7-1E48F940099C, small LPT model
[   14.134397] mount_root: overlay filesystem has not been fully initialized yet
[   14.142034] mount_root: switching to ubifs overlay
[   14.171842] urandom-seed: Seed file not found (/etc/urandom.seed)
[   14.233654] mvneta d0070000.ethernet eth0: Link is Down
[   14.257440] procd: - early -
[   14.261057] procd: - watchdog -
[   14.849678] procd: - watchdog -
[   14.853262] procd: - ubus -
[   14.888743] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.907256] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.915991] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.924866] procd: - init -
Please press Enter to activate this console.
[   15.506793] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.575409] urngd: v1.0.2 started.
[   15.699627] random: crng init done
[   15.703097] random: 27 urandom warning(s) missed due to ratelimiting
[   15.741488] armada-370-pinctrl d0018000.pin-ctrl: pin PIN14 already requested by d0070000.ethernet; cannot claim for gpio_fan
[   15.752916] armada-370-pinctrl d0018000.pin-ctrl: pin-14 (gpio_fan) status -22
[   15.760202] armada-370-pinctrl d0018000.pin-ctrl: could not request pin 14 (PIN14) from group mpp14  on device d0018000.pin-ctrl
[   15.771830] gpio-fan gpio_fan: Error applying setting, reverse things back
[   15.778751] gpio-fan: probe of gpio_fan failed with error -22
[   15.911202] PPP generic driver version 2.4.2
[   15.917609] NET: Registered protocol family 24
[   15.993487] kmodloader: 1 module could not be probed
[   15.998589] kmodloader: - linkstation-poweroff - 0