Hello,
I have an old Synology DS112 that I want to run with Debian.
I started by testing debian with stock u-boot :
I followed Ivanj's topic for DS211 and successfully booted using tftpboot with kirkwood-ds112.dtb uImage/uInitrd and and usb rootfs.
Only issue I came to so far is that I don't have network connectivity, and some strange message I did not totally understood (added at bottom of boot log).
Can someone guide me to troubleshoot this issue?
Below is boot log :
The strange messages that popped in the shell while I was writing this post:
Here are some more command Bodhi asked Ivanj to type in stock uboot :
Thanks a lot to whoever will take some time to help :)
I have an old Synology DS112 that I want to run with Debian.
I started by testing debian with stock u-boot :
I followed Ivanj's topic for DS211 and successfully booted using tftpboot with kirkwood-ds112.dtb uImage/uInitrd and and usb rootfs.
Only issue I came to so far is that I don't have network connectivity, and some strange message I did not totally understood (added at bottom of boot log).
Can someone guide me to troubleshoot this issue?
Below is boot log :
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__| ** LOADER **
** MARVELL BOARD: Synology Disk Station LE
U-Boot 1.1.4 (Aug 1 2011 - 17:06:51) Marvell version: 3.5.9
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 0068B3D4
Soc: 88F6282 A0CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz
DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Using default environment
[4096kB@f8000000] Flash: 4 MB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: PCI Express Root Complex Interface
PEX interface detected Link X1
Synology Model: DS112
Fan Status: Good
Net: egiga0 [PRIME], egiga1
Hit any key to stop autoboot: 0
Marvell>> setenv ipaddr 192.168.1.128
Marvell>> setenv serverip 2.168.1.180
Marvell>> setenv bootargs 00 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
Marvell>> mw 0x800000 0 1
Marvell>> setenv ipaddr 192.168.1.128
Marvell>> setenv serverip 192.168.1.180
Marvell>> setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
Marvell>> mw 0x800000 0 1
Marvell>> setenv ethact egiga0
Marvell>> tftpboot 0x800000 uImage
Using egiga0 device
TFTP from server 192.168.1.180; our IP address is 192.168.1.128
Filename 'uImage'.
Load address: 0x800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##################################################
done
Bytes transferred = 6246304 (5f4fa0 hex)
Marvell>> tftpboot 0x2100000 uInitrd
Using egiga0 device
TFTP from server 192.168.1.180; our IP address is 192.168.1.128
Filename 'uInitrd'.
Load address: 0x2100000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###########################
done
Bytes transferred = 5791271 (585e27 hex)
Marvell>> printenv
bootcmd=bootm F8080000 F8280000
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
run_diag=yes
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x300000@0x100000(root)
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
MALLOC_len=1
ethprime=egiga0
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
bootdelay=3
disaMvPnp=no
ethaddr=00:50:43:3c:3b:5d
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
pcieTune=no
pcieTune1=no
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
ethact=egiga0
filesize=585e27
fileaddr=2100000
netmask=255.255.254.0
ipaddr=192.168.1.128
serverip=192.168.1.180
Environment size: 1151/4092 bytes
Marvell>> bootm 0x800000 0x2100000
## Booting image at 00800000 ...
Image Name: Linux-6.5.7-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 6246240 Bytes = 6 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
Image Name: initramfs-6.5.7-kirkwood-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5791207 Bytes = 5.5 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Starting kernel ...
[ 0.000000][ T0] Booting Linux on physical CPU 0x0
[ 0.000000][ T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[ 0.000000][ T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000][ T0] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000][ T0] OF: fdt: Machine model: Synology DS112
[ 0.000000][ T0] printk: bootconsole [earlycon0] enabled
[ 0.000000][ T0] Memory policy: Data cache writeback
[ 0.000000][ T0] Zone ranges:
[ 0.000000][ T0] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000][ T0] Movable zone start for each node
[ 0.000000][ T0] Early memory node ranges
[ 0.000000][ T0] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[ 0.000000][ T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000][ T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 64960
[ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000][ T0] Memory: 232300K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 29844K reserved, 0K cma-reserved)
[ 0.000000][ T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000][ T0] trace event string verifier disabled
[ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000][ T0] Trampoline variant of Tasks RCU enabled.
[ 0.000000][ T0] Tracing variant of Tasks RCU enabled.
[ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000][ T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000001][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.008519][ T0] Switching to timer-based delay loop, resolution 5ns
[ 0.015589][ T0] Console: colour dummy device 80x30
[ 0.020794][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[ 0.032012][ T0] CPU: Testing write buffer coherency: ok
[ 0.037665][ T0] pid_max: default: 32768 minimum: 301
[ 0.049589][ T0] LSM: initializing lsm=capability,integrity
[ 0.057201][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.065227][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.083086][ T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[ 0.091133][ T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[ 0.099775][ T1] Setting up static identity map for 0x100000 - 0x100058
[ 0.106898][ T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x0
[ 0.113086][ T1] rcu: Hierarchical SRCU implementation.
[ 0.118625][ T1] rcu: Max phase no-delay instances is 1000.
[ 0.126704][ T1] devtmpfs: initialized
[ 0.143875][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.154449][ T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.164128][ T1] prandom: seed boundary self test passed
[ 0.172918][ T1] prandom: 100 self tests passed
[ 0.177704][ T1] pinctrl core: initialized pinctrl subsystem
[ 0.186474][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.194295][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.206024][ T1] audit: initializing netlink subsys (disabled)
[ 0.213748][ T1] thermal_sys: Registered thermal governor 'step_wise'
[ 0.213873][ T1] cpuidle: using governor ladder
[ 0.225377][ T19] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1
[ 0.233902][ T1] cpuidle: using governor menu
[ 0.239027][ T1] Feroceon L2: Enabling L2
[ 0.243313][ T1] Feroceon L2: Cache support initialised.
[ 0.257358][ T1] No ATAGs?
[ 0.618533][ T1] raid6: int32x8 gen() 152 MB/s
[ 0.958531][ T1] raid6: int32x4 gen() 140 MB/s
[ 1.298556][ T1] raid6: int32x2 gen() 180 MB/s
[ 1.638531][ T1] raid6: int32x1 gen() 132 MB/s
[ 1.643485][ T1] raid6: using algorithm int32x2 gen() 180 MB/s
[ 1.998532][ T1] raid6: .... xor() 115 MB/s, rmw enabled
[ 2.004085][ T1] raid6: using intx1 recovery algorithm
[ 2.019822][ T1] SCSI subsystem initialized
[ 2.029016][ T1] usbcore: registered new interface driver usbfs
[ 2.035220][ T1] usbcore: registered new interface driver hub
[ 2.058584][ T1] usbcore: registered new device driver usb
[ 2.064630][ T1] pps_core: LinuxPPS API ver. 1 registered
[ 2.078532][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 2.088340][ T1] PTP clock support registered
[ 2.120350][ T1] vgaarb: loaded
[ 2.124383][ T1] clocksource: Switched to clocksource orion_clocksource
[ 2.141340][ T1] VFS: Disk quotas dquot_6.6.0
[ 2.164721][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.195602][ T1] NET: Registered PF_INET protocol family
[ 2.214477][ T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 2.234530][ T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 2.243777][ T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.264420][ T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 2.272769][ T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 2.294442][ T1] TCP: Hash tables configured (established 2048 bind 2048)
[ 2.302002][ T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 2.324580][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.331793][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.355105][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.375043][ T1] RPC: Registered named UNIX socket transport module.
[ 2.381636][ T1] RPC: Registered udp transport module.
[ 2.394403][ T1] RPC: Registered tcp transport module.
[ 2.399779][ T1] RPC: Registered tcp-with-tls transport module.
[ 2.424398][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.431518][ T1] PCI: CLS 0 bytes, default 32
[ 2.446606][ T10] Trying to unpack rootfs image as initramfs...
[ 3.189700][ T10] Freeing initrd memory: 5656K
[ 3.411991][ T1] Initialise system trusted keyrings
[ 3.418101][ T1] Key type blacklist registered
[ 3.423083][ T1] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 3.430408][ T1] zbud: loaded
[ 3.448096][ T1] NFS: Registering the id_resolver key type
[ 3.453865][ T1] Key type id_resolver registered
[ 3.458770][ T1] Key type id_legacy registered
[ 3.463606][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 3.471003][ T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 3.480342][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 3.488747][ T1] fuse: init (API version 7.38)
[ 3.494567][ T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[ 3.501958][ T1] orangefs_init: module version upstream loaded
[ 3.508339][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[ 3.676348][ T1] xor: measuring software checksum speed
[ 3.688478][ T1] arm4regs : 1484 MB/sec
[ 3.704572][ T1] 8regs : 890 MB/sec
[ 3.717399][ T1] 32regs : 1263 MB/sec
[ 3.722424][ T1] xor: using function: arm4regs (1484 MB/sec)
[ 3.728338][ T1] async_tx: api initialized (async)
[ 3.733371][ T1] Key type asymmetric registered
[ 3.738158][ T1] Asymmetric key parser 'x509' registered
[ 3.783194][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 3.791721][ T1] io scheduler bfq registered
[ 3.938428][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 3.948042][ T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 3.958652][ T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 3.969119][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[ 3.979047][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[ 3.989162][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[ 3.999258][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[ 4.009347][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[ 4.019946][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[ 4.030544][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[ 4.041138][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[ 4.052578][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[ 4.060905][ T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 4.067115][ T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[ 4.077973][ T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[ 4.088816][ T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[ 4.099656][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[ 4.107219][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff]
[ 4.114270][ T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[ 4.121499][ T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[ 4.130261][ T1] PCI: bus0: Fast back to back transfers disabled
[ 4.136542][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.145236][ T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.154191][ T1] PCI: bus1: Fast back to back transfers enabled
[ 4.160382][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 4.167899][ T1] pci 0000:02:00.0: [1033:0194] type 00 class 0x0c0330
[ 4.174665][ T1] pci 0000:02:00.0: reg 0x10: [mem 0x98000000-0x98001fff 64bit]
[ 4.182280][ T1] pci 0000:02:00.0: PME# supported from D0 D3hot
[ 4.188561][ T1] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[ 4.234478][ T1] PCI: bus2: Fast back to back transfers disabled
[ 4.240735][ T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 4.248070][ T1] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[ 4.255630][ T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 4.261282][ T1] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[ 4.269280][ T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[ 4.274939][ T1] pci 0000:00:02.0: bridge window [mem 0xe0000000-0xe00fffff]
[ 4.282653][ T1] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[ 4.290239][ T1] mv_xor f1060800.xor: Marvell shared XOR driver
[ 4.356352][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[ 4.368004][ T1] mv_xor f1060900.xor: Marvell shared XOR driver
[ 4.436352][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[ 4.448340][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 4.457479][ T1] printk: console [ttyS0] disabled
[ 4.462940][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 29, base_baud = 12500000) is a 16550A
[ 4.472674][ T1] printk: console [ttyS0] enabled
[ 4.472674][ T1] printk: console [ttyS0] enabled
[ 4.482522][ T1] printk: bootconsole [earlycon0] disabled
[ 4.482522][ T1] printk: bootconsole [earlycon0] disabled
[ 4.515893][ T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 30, base_baud = 12500000) is a 16550A
[ 4.536083][ T1] loop: module loaded
[ 4.540897][ T1] sata_mv f1080000.sata: slots 32 ports 2
[ 4.550425][ T1] scsi host0: sata_mv
[ 4.555625][ T1] scsi host1: sata_mv
[ 4.559837][ T1] ata1: SATA max UDMA/133 irq 31
[ 4.564715][ T1] ata2: SATA max UDMA/133 irq 31
[ 4.571610][ T1] spi-nor spi0.0: found m25p32, expected m25p80
[ 4.577845][ T1] spi-nor spi0.0: m25p32 (4096 Kbytes)
[ 4.583343][ T1] 6 fixed-partitions partitions found on MTD device spi0.0
[ 4.590451][ T1] Creating 6 MTD partitions on "spi0.0":
[ 4.596013][ T1] 0x000000000000-0x000000080000 : "RedBoot"
[ 4.602443][ T1] 0x000000080000-0x000000280000 : "zImage"
[ 4.608720][ T1] 0x000000280000-0x0000003c0000 : "rd.gz"
[ 4.614931][ T1] 0x0000003c0000-0x0000003d0000 : "vendor"
[ 4.621216][ T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[ 4.628182][ T1] 0x0000003f0000-0x000000400000 : "FIS directory"
[ 4.635601][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[ 4.644178][ T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[ 4.658175][ T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[ 4.666571][ T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing.
[ 4.674963][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 4.683710][ T1] orion-ehci f1050000.ehci: EHCI Host Controller
[ 4.690030][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 4.698636][ T1] orion-ehci f1050000.ehci: irq 34, io mem 0xf1050000
[ 4.734413][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 4.741451][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[ 4.750481][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.758461][ T1] usb usb1: Product: EHCI Host Controller
[ 4.764060][ T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[ 4.771419][ T1] usb usb1: SerialNumber: f1050000.ehci
[ 4.777709][ T1] hub 1-0:1.0: USB hub found
[ 4.782248][ T1] hub 1-0:1.0: 1 port detected
[ 4.787876][ T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[ 4.793890][ T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[ 4.802358][ T1] xhci_hcd 0000:02:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x0000000000000004
[ 4.812771][ T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[ 4.819546][ T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[ 4.827738][ T1] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[ 4.835081][ T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[ 4.844121][ T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.852115][ T1] usb usb2: Product: xHCI Host Controller
[ 4.857753][ T1] usb usb2: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[ 4.865132][ T1] usb usb2: SerialNumber: 0000:02:00.0
[ 4.871275][ T1] hub 2-0:1.0: USB hub found
[ 4.875849][ T1] hub 2-0:1.0: 2 ports detected
[ 4.881305][ T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 4.890356][ T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[ 4.899418][ T52] ata1: SATA link down (SStatus 0 SControl F300)
[ 4.905790][ T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.913748][ T1] usb usb3: Product: xHCI Host Controller
[ 4.919415][ T1] usb usb3: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[ 4.926786][ T1] usb usb3: SerialNumber: 0000:02:00.0
[ 4.932998][ T1] hub 3-0:1.0: USB hub found
[ 4.937607][ T1] hub 3-0:1.0: 2 ports detected
[ 4.943241][ T1] usbcore: registered new interface driver usb-storage
[ 4.950534][ T1] mousedev: PS/2 mouse device common for all mice
[ 4.957277][ T1] i2c_dev: i2c /dev entries driver
[ 4.965887][ T1] rtc-s35390a 0-0030: registered as rtc0
[ 4.971730][ T1] rtc-s35390a 0-0030: setting system clock to 2025-02-08T15:04:38 UTC (1739027078)
[ 4.982023][ T1] device-mapper: uevent: version 1.0.3
[ 4.987906][ T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[ 4.997676][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[ 5.005001][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[ 5.012347][ T1] device-mapper: multipath service-time: version 0.3.0 loaded
[ 5.019963][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[ 5.027570][ T1] ledtrig-cpu: registered to indicate activity on CPUs
[ 5.034423][ T1] hid: raw HID events driver (C) Jiri Kosina
[ 5.040710][ T1] drop_monitor: Initializing network drop monitor service
[ 5.049311][ T1] NET: Registered PF_INET6 protocol family
[ 5.056695][ T1] Segment Routing with IPv6
[ 5.061081][ T1] RPL Segment Routing with IPv6
[ 5.066023][ T1] In-situ OAM (IOAM) with IPv6
[ 5.070783][ T1] NET: Registered PF_PACKET protocol family
[ 5.077103][ T1] Key type dns_resolver registered
[ 5.096734][ T1] registered taskstats version 1
[ 5.101676][ T1] Loading compiled-in X.509 certificates
[ 5.124653][ T1] Key type .fscrypt registered
[ 5.129309][ T1] Key type fscrypt-provisioning registered
[ 5.140178][ T1] Key type big_key registered
[ 5.180921][ T1] Key type encrypted registered
[ 5.268079][ T54] ata2: SATA link down (SStatus 0 SControl F300)
[ 5.275790][ T104] "cryptomgr_test" (104) uses obsolete ecb(arc4) skcipher
[ 5.804612][ T9] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd
[ 5.839814][ T9] usb 3-2: New USB device found, idVendor=0781, idProduct=558b, bcdDevice= 1.00
[ 5.864398][ T9] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5.872268][ T9] usb 3-2: Product: Extreme
[ 5.884399][ T9] usb 3-2: Manufacturer: SanDisk
[ 5.889220][ T9] usb 3-2: SerialNumber: 4C530001101117121333
[ 5.907247][ T9] usb-storage 3-2:1.0: USB Mass Storage device detected
[ 5.924884][ T9] scsi host2: usb-storage 3-2:1.0
[ 6.975948][ T18] scsi 2:0:0:0: Direct-Access SanDisk Extreme 1.00 PQ: 0 ANSI: 6
[ 6.995602][ T29] sd 2:0:0:0: [sda] 122552320 512-byte logical blocks: (62.7 GB/58.4 GiB)
[ 7.014443][ T29] sd 2:0:0:0: [sda] Write Protect is off
[ 7.020856][ T29] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 7.070125][ T29] sda: sda1
[ 7.084767][ T29] sd 2:0:0:0: [sda] Attached SCSI removable disk
[ 7.096539][ T1] clk: Disabling unused clocks
[ 7.104545][ T1] Freeing unused kernel image (initmem) memory: 1024K
[ 7.124986][ T1] Checked W+X mappings: passed, no W+X pages found
[ 7.131385][ T1] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.17-1~deb12u1
[ 8.214830][ T154] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
[ 18.414691][ T9] platform mv643xx_eth_port.0: deferred probe pending
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.38.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 20039/3833856 files, 505343/15318780 blocks
done.
[ 18.923652][ T178] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[ 19.045481][ T178] EXT4-fs (sda1): mounted filesystem 53e652bf-c8f5-41e5-b126-cced83f363ef ro with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 3.06 booting
INIT: No inittab.d directory found
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[ 21.546234][ T363] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[ 21.923876][ T354] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 21.956458][ T355] orion_wdt: Initial timeout 21 sec
[ 22.521462][ T364] marvell-cesa f1030000.crypto: CESA device successfully registered
done.
[ 23.794465][ C0] random: crng init done
Activating swap:.
[ 24.061888][ T510] EXT4-fs (sda1): re-mounted 53e652bf-c8f5-41e5-b126-cced83f363ef r/w. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
/tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Cannot find device "eth0"
Failed to get interface index: No such device
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging.
exiting.
ifup: failed to bring up eth0
failed.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Not starting NFS kernel daemon: no exports ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
990 (syslogd)
.
Starting NTP server: ntpd2025-02-08T07:05:01 ntpd[1013]: INIT: ntpd ntpsec-1.2.2: Starting
2025-02-08T07:05:01 ntpd[1013]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshdsshd: no hostkeys available -- exiting.
failed!
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1014 (klogd)
.
Running local boot scripts (/etc/rc.local)
ssh-keygen: generating new host keys: RSA
ECDSA
ED25519
Starting OpenBSD Secure Shell server: sshd
.
.
Debian GNU/Linux 12 debian ttyS0
debian login: root
Password:
Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 armv5tel
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Oct 31 18:33:32 PDT 2023 from fe80::4f8:63a5:4900:ad47%eth0 on pts/0
debian
Synology DS112
Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
Debian 12.2
Sat Feb 8 07:06:05 PST 2025 up 1 minute
root@debian:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
root@debian:~# ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 12 bytes 1710 (1.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12 bytes 1710 (1.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The strange messages that popped in the shell while I was writing this post:
[ 1470.486479][ C0] irq 37: nobody cared (try booting with the "irqpoll" option) [ 1470.493927][ C0] CPU: 0 PID: 0 Comm: swapper Not tainted 6.5.7-kirkwood-tld-1 #2 b782412796a181fef4037ede16903ece36aa46a3 [ 1470.505206][ C0] Hardware name: Marvell Kirkwood (Flattened Device Tree) [ 1470.512206][ C0] unwind_backtrace from show_stack+0x10/0x14 [ 1470.518174][ C0] show_stack from dump_stack_lvl+0x28/0x30 [ 1470.523965][ C0] dump_stack_lvl from __report_bad_irq+0x24/0xec [ 1470.530268][ C0] __report_bad_irq from note_interrupt+0x114/0x2a0 [ 1470.536756][ C0] note_interrupt from handle_irq_event_percpu+0x30/0x38 [ 1470.543679][ C0] handle_irq_event_percpu from handle_irq_event+0x5c/0x80 [ 1470.550769][ C0] handle_irq_event from handle_edge_irq+0x100/0x120 [ 1470.557344][ C0] handle_edge_irq from handle_irq_desc+0x24/0x34 [ 1470.563649][ C0] handle_irq_desc from mvebu_gpio_irq_handler+0x170/0x184 [ 1470.570747][ C0] mvebu_gpio_irq_handler from handle_irq_desc+0x24/0x34 [ 1470.577662][ C0] handle_irq_desc from orion_handle_irq+0x68/0x74 [ 1470.584054][ C0] orion_handle_irq from generic_handle_arch_irq+0x40/0x6c [ 1470.591143][ C0] generic_handle_arch_irq from __irq_svc+0x88/0xc0 [ 1470.597621][ C0] Exception stack(0x81401ee0 to 0x81401f28) [ 1470.603399][ C0] 1ee0: 00000000 00000000 00000015 60000013 81553208 5fd2ac10 00000000 00000156 [ 1470.612320][ C0] 1f00: 00000000 00000000 81553900 5fb3d277 0000000b 81401f30 80c213d8 80c213f8 [ 1470.621235][ C0] 1f20: 60000013 ffffffff [ 1470.625439][ C0] __irq_svc from cpuidle_enter_state+0x170/0x300 [ 1470.631743][ C0] cpuidle_enter_state from cpuidle_enter+0x28/0x38 [ 1470.638222][ C0] cpuidle_enter from do_idle+0x22c/0x25c [ 1470.643829][ C0] do_idle from cpu_startup_entry+0x24/0x28 [ 1470.649610][ C0] cpu_startup_entry from rest_init+0xac/0xc8 [ 1470.655566][ C0] rest_init from arch_post_acpi_subsys_init+0x0/0x8 [ 1470.662144][ C0] handlers: [ 1470.665122][ C0] [<1ca010fa>] fan_alarm_irq_handler [gpio_fan] [ 1470.671279][ C0] Disabling IRQ #37
Here are some more command Bodhi asked Ivanj to type in stock uboot :
Marvell>> help ? - alias for 'help' WOLTest - Wake On Lan u-boot testing base - print or set address offset bootm - boot application image from memory bootp - boot image via network using BootP/TFTP protocol bubt - Burn an image on the Boot Flash. cmp - memory compare cp - memory copy cpumap - Display CPU memory mapping settings. crc32 - checksum calculation echo - echo args to console erase - erase FLASH memory flinfo - print FLASH memory information go - start application at address 'addr' help - print online help icrc32 - checksum calculation iloop - infinite loop on address range imd - i2c memory display imm[.b, .s, .w, .l] - i2c memory modify (auto-incrementing) imw - memory write (fill) inm - memory modify (constant address) iprobe - probe to discover valid I2C chip addresses loop - infinite loop on address range md - memory display mm - memory modify (auto-incrementing) mtest - simple RAM test mw - memory write (fill) nm - memory modify (constant address) pci - list and access PCI Configuration Space phyRead - Read Phy register phyWrite - Write Phy register ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables protect - enable or disable FLASH write protection rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU resetenv - Return all environment variable to default. setenv - set environment variables sflash - read, write or erase the external SPI Flash. sg - scanning the PHYs status Temp - read chip Tj temp tftpboot- boot image via network using TFTP protocol version - print monitor version Marvell>> bdinfo Unknown command 'bdinfo' - try 'help' Marvell>> mii info Unknown command 'mii' - try 'help' Marvell>> mdio list Unknown command 'mdio' - try 'help' Marvell>> md.l 0xF1010000 8 f1010000: 01002222 03303311 00550000 00000000 ""...30...U..... f1010010: 00000000 00000000 00000000 00000000 ................ Marvell>> md.l 0xF1010100 1 f1010100: 00408000 ..@. Marvell>> md.l 0xF1010140 1 f1010140: 00000000 ....
Thanks a lot to whoever will take some time to help :)