Welcome! Log In Create A New Profile

Advanced

Debian on Synology DS112 v10j

Posted by BayPanard 
Re: Debian on Synology DS112 v10j
May 02, 2025 03:52PM
BayPanard,

Boot into Debian like you normally do (with tftp and USB 3.0 rootfs).

dmesg
lsusb
lsusb -v
lspci
lspci -v
And please post the entire log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 05/02/2025 03:59PM by bodhi.
Re: Debian on Synology DS112 v10j
May 04, 2025 06:49AM
Bodhi,

I did booted from rootfs on internal SATA, I hope it'll be ok. (I plugged usb drive for it to show in the commands after boot)

Here are commands output :

Quote
dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] 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] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt: Machine model: Synology DS112 V10j
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] Memory: 232300K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 29844K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000001] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.008518] Switching to timer-based delay loop, resolution 5ns
[ 0.015586] Console: colour dummy device 80x30
[ 0.020796] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[ 0.032011] CPU: Testing write buffer coherency: ok
[ 0.037665] pid_max: default: 32768 minimum: 301
[ 0.049588] LSM: initializing lsm=capability,integrity
[ 0.057209] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.065235] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.083103] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[ 0.091143] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[ 0.099788] Setting up static identity map for 0x100000 - 0x100058
[ 0.106906] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x0
[ 0.113100] rcu: Hierarchical SRCU implementation.
[ 0.118641] rcu: Max phase no-delay instances is 1000.
[ 0.126736] devtmpfs: initialized
[ 0.143917] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.154493] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.164155] prandom: seed boundary self test passed
[ 0.172943] prandom: 100 self tests passed
[ 0.177730] pinctrl core: initialized pinctrl subsystem
[ 0.186566] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.194380] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.206067] audit: initializing netlink subsys (disabled)
[ 0.213796] thermal_sys: Registered thermal governor 'step_wise'
[ 0.213922] cpuidle: using governor ladder
[ 0.225428] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1
[ 0.233955] cpuidle: using governor menu
[ 0.239086] Feroceon L2: Enabling L2
[ 0.243364] Feroceon L2: Cache support initialised.
[ 0.257911] No ATAGs?
[ 0.618533] raid6: int32x8 gen() 151 MB/s
[ 0.958531] raid6: int32x4 gen() 140 MB/s
[ 1.298556] raid6: int32x2 gen() 181 MB/s
[ 1.638530] raid6: int32x1 gen() 131 MB/s
[ 1.643476] raid6: using algorithm int32x2 gen() 181 MB/s
[ 1.998530] raid6: .... xor() 115 MB/s, rmw enabled
[ 2.004084] raid6: using intx1 recovery algorithm
[ 2.019828] SCSI subsystem initialized
[ 2.028639] libata version 3.00 loaded.
[ 2.028985] usbcore: registered new interface driver usbfs
[ 2.035192] usbcore: registered new interface driver hub
[ 2.058583] usbcore: registered new device driver usb
[ 2.064652] pps_core: LinuxPPS API ver. 1 registered
[ 2.078531] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 2.088343] PTP clock support registered
[ 2.120297] vgaarb: loaded
[ 2.124368] clocksource: Switched to clocksource orion_clocksource
[ 2.141347] VFS: Disk quotas dquot_6.6.0
[ 2.164707] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.195818] NET: Registered PF_INET protocol family
[ 2.214462] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 2.234514] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 2.243767] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.264405] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 2.272760] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 2.294427] TCP: Hash tables configured (established 2048 bind 2048)
[ 2.301985] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 2.324564] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.331784] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.355069] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.375027] RPC: Registered named UNIX socket transport module.
[ 2.381618] RPC: Registered udp transport module.
[ 2.394387] RPC: Registered tcp transport module.
[ 2.399762] RPC: Registered tcp-with-tls transport module.
[ 2.424382] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.431500] PCI: CLS 0 bytes, default 32
[ 2.446622] Trying to unpack rootfs image as initramfs...
[ 3.189890] Freeing initrd memory: 5656K
[ 3.413688] Initialise system trusted keyrings
[ 3.419786] Key type blacklist registered
[ 3.424873] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 3.432115] zbud: loaded
[ 3.449855] NFS: Registering the id_resolver key type
[ 3.455699] Key type id_resolver registered
[ 3.460555] Key type id_legacy registered
[ 3.465404] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 3.472781] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 3.482095] jffs2: version 2.2. (NAND) (SUMMARY) \xc2\xa9 2001-2006 Red Hat, Inc.
[ 3.490486] fuse: init (API version 7.38)
[ 3.496302] orangefs_debugfs_init: called with debug mask: :none: :0:
[ 3.503682] orangefs_init: module version upstream loaded
[ 3.510064] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[ 3.678129] xor: measuring software checksum speed
[ 3.690334] arm4regs : 1468 MB/sec
[ 3.706432] 8regs : 890 MB/sec
[ 3.719256] 32regs : 1263 MB/sec
[ 3.724281] xor: using function: arm4regs (1468 MB/sec)
[ 3.730196] async_tx: api initialized (async)
[ 3.735243] Key type asymmetric registered
[ 3.740017] Asymmetric key parser 'x509' registered
[ 3.785859] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 3.794254] io scheduler bfq registered
[ 3.941154] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 3.950762] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 3.961388] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 3.971790] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[ 3.981678] mvebu-pcie mbus@f1000000:pcie@82000000: Parsing ranges property...
[ 3.981716] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[ 3.991833] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[ 4.001927] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[ 4.012016] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[ 4.022615] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[ 4.033214] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[ 4.043807] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[ 4.055310] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[ 4.063547] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 4.069797] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[ 4.080669] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[ 4.091520] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[ 4.102361] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[ 4.109924] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff]
[ 4.116875] pci_bus 0000:00: scanning bus
[ 4.116991] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[ 4.123999] pci 0000:00:01.0: vgaarb: pci_notify
[ 4.124200] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[ 4.131216] pci 0000:00:02.0: vgaarb: pci_notify
[ 4.132932] pci_bus 0000:00: fixups for bus
[ 4.132954] PCI: bus0: Fast back to back transfers disabled
[ 4.139223] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[ 4.139238] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.147927] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0
[ 4.147941] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.156624] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[ 4.156823] pci_bus 0000:01: scanning bus
[ 4.156903] pci_bus 0000:01: fixups for bus
[ 4.156912] PCI: bus1: Fast back to back transfers enabled
[ 4.163066] pci_bus 0000:01: bus scan returning with max=01
[ 4.163077] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 4.170389] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1
[ 4.170548] pci_bus 0000:02: scanning bus
[ 4.170602] pci 0000:02:00.0: [1033:0194] type 00 class 0x0c0330
[ 4.177370] pci 0000:02:00.0: reg 0x10: [mem 0x98000000-0x98001fff 64bit]
[ 4.185003] pci 0000:02:00.0: PME# supported from D0 D3hot
[ 4.191167] pci 0000:02:00.0: PME# disabled
[ 4.191262] 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.207079] pci 0000:02:00.0: vgaarb: pci_notify
[ 4.234444] pci_bus 0000:02: fixups for bus
[ 4.234461] PCI: bus2: Fast back to back transfers disabled
[ 4.240705] pci_bus 0000:02: bus scan returning with max=02
[ 4.240716] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 4.248022] pci_bus 0000:00: bus scan returning with max=02
[ 4.248052] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[ 4.255612] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 4.261264] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[ 4.269263] pci 0000:00:02.0: PCI bridge to [bus 02]
[ 4.274921] pci 0000:00:02.0: bridge window [mem 0xe0000000-0xe00fffff]
[ 4.282444] pcieport 0000:00:01.0: vgaarb: pci_notify
[ 4.282476] pcieport 0000:00:01.0: assign IRQ: got 0
[ 4.282503] pcieport 0000:00:01.0: enabling bus mastering
[ 4.282532] pcieport 0000:00:01.0: vgaarb: pci_notify
[ 4.282588] pcieport 0000:00:02.0: vgaarb: pci_notify
[ 4.282616] pcieport 0000:00:02.0: assign IRQ: got 0
[ 4.282634] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[ 4.289421] pcieport 0000:00:02.0: enabling bus mastering
[ 4.289448] pcieport 0000:00:02.0: vgaarb: pci_notify
[ 4.289477] pci 0000:00:02.0: enabling bus mastering
[ 4.290257] mv_xor f1060800.xor: Marvell shared XOR driver
[ 4.356345] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[ 4.367996] mv_xor f1060900.xor: Marvell shared XOR driver
[ 4.436336] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[ 4.448286] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 4.457437] printk: console [ttyS0] disabled
[ 4.462894] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 29, base_baud = 12500000) is a 16550A
[ 4.472622] printk: console [ttyS0] enabled
[ 4.482470] printk: bootconsole [earlycon0] disabled
[ 4.515861] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 30, base_baud = 12500000) is a 16550A
[ 4.536099] loop: module loaded
[ 4.540371] sata_mv f1080000.sata: version 1.28
[ 4.540968] sata_mv f1080000.sata: slots 32 ports 2
[ 4.550540] scsi host0: sata_mv
[ 4.555717] scsi host1: sata_mv
[ 4.559935] ata1: SATA max UDMA/133 irq 31
[ 4.564816] ata2: SATA max UDMA/133 irq 31
[ 4.571685] spi-nor spi0.0: found m25p32, expected m25p80
[ 4.577890] spi-nor spi0.0: m25p32 (4096 Kbytes)
[ 4.583382] 6 fixed-partitions partitions found on MTD device spi0.0
[ 4.590494] Creating 6 MTD partitions on "spi0.0":
[ 4.596058] 0x000000000000-0x000000080000 : "RedBoot"
[ 4.602488] 0x000000080000-0x000000280000 : "zImage"
[ 4.608766] 0x000000280000-0x0000003c0000 : "rd.gz"
[ 4.614976] 0x0000003c0000-0x0000003d0000 : "vendor"
[ 4.621285] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[ 4.628266] 0x0000003f0000-0x000000400000 : "FIS directory"
[ 4.635687] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[ 4.644255] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[ 4.658281] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[ 4.683970] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 4.694036] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:3c:3b:5d
[ 4.704144] orion-ehci f1050000.ehci: EHCI Host Controller
[ 4.710454] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 4.719054] orion-ehci f1050000.ehci: irq 34, io mem 0xf1050000
[ 4.754398] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 4.761444] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[ 4.770476] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.778447] usb usb1: Product: EHCI Host Controller
[ 4.784047] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[ 4.791429] usb usb1: SerialNumber: f1050000.ehci
[ 4.797774] hub 1-0:1.0: USB hub found
[ 4.802361] hub 1-0:1.0: 1 port detected
[ 4.807779] xhci_hcd 0000:02:00.0: vgaarb: pci_notify
[ 4.807909] xhci_hcd 0000:02:00.0: assign IRQ: got 35
[ 4.807988] xhci_hcd 0000:02:00.0: enabling bus mastering
[ 4.808006] xhci_hcd 0000:02:00.0: xHCI Host Controller
[ 4.814015] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[ 4.822508] xhci_hcd 0000:02:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x0000000000000004
[ 4.832371] xhci_hcd 0000:02:00.0: enabling Mem-Wr-Inval
[ 4.832977] xhci_hcd 0000:02:00.0: xHCI Host Controller
[ 4.839996] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[ 4.848212] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[ 4.855469] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[ 4.864521] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.872501] usb usb2: Product: xHCI Host Controller
[ 4.878134] usb usb2: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[ 4.885510] usb usb2: SerialNumber: 0000:02:00.0
[ 4.891606] hub 2-0:1.0: USB hub found
[ 4.896144] ata1: SATA link down (SStatus 0 SControl F300)
[ 4.902460] hub 2-0:1.0: 2 ports detected
[ 4.907990] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 4.917120] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[ 4.926171] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.934127] usb usb3: Product: xHCI Host Controller
[ 4.939883] usb usb3: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[ 4.947253] usb usb3: SerialNumber: 0000:02:00.0
[ 4.953351] hub 3-0:1.0: USB hub found
[ 4.957917] hub 3-0:1.0: 2 ports detected
[ 4.963334] xhci_hcd 0000:02:00.0: vgaarb: pci_notify
[ 4.963520] usbcore: registered new interface driver usb-storage
[ 4.970975] mousedev: PS/2 mouse device common for all mice
[ 4.977662] i2c_dev: i2c /dev entries driver
[ 4.985345] rtc-s35390a 0-0030: registered as rtc0
[ 4.990947] rtc-s35390a 0-0030: hctosys: unable to read the hardware clock
[ 4.999869] device-mapper: uevent: version 1.0.3
[ 5.005700] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[ 5.015483] device-mapper: multipath round-robin: version 1.2.0 loaded
[ 5.022751] device-mapper: multipath queue-length: version 0.2.0 loaded
[ 5.030331] device-mapper: multipath service-time: version 0.3.0 loaded
[ 5.037802] device-mapper: dm-log-userspace: version 1.3.0 loaded
[ 5.045418] ledtrig-cpu: registered to indicate activity on CPUs
[ 5.052274] hid: raw HID events driver (C) Jiri Kosina
[ 5.058721] drop_monitor: Initializing network drop monitor service
[ 5.067163] NET: Registered PF_INET6 protocol family
[ 5.074781] Segment Routing with IPv6
[ 5.079166] RPL Segment Routing with IPv6
[ 5.083977] In-situ OAM (IOAM) with IPv6
[ 5.089068] NET: Registered PF_PACKET protocol family
[ 5.095281] Key type dns_resolver registered
[ 5.115109] registered taskstats version 1
[ 5.119997] Loading compiled-in X.509 certificates
[ 5.142648] Key type .fscrypt registered
[ 5.147588] Key type fscrypt-provisioning registered
[ 5.158397] Key type big_key registered
[ 5.199050] Key type encrypted registered
[ 5.254940] ata2: SATA link down (SStatus 0 SControl F300)
[ 5.292888] "cryptomgr_test" (105) uses obsolete ecb(arc4) skcipher
[ 7.009610] clk: Disabling unused clocks
[ 7.017615] Freeing unused kernel image (initmem) memory: 1024K
[ 7.035001] Checked W+X mappings: passed, no W+X pages found
[ 7.041403] Run /init as init process
[ 7.045831] with arguments:
[ 7.045842] /init
[ 7.045849] with environment:
[ 7.045856] HOME=/
[ 7.045863] TERM=linux
[ 11.134403] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[ 11.145944] ata1.00: ATA-8: Hitachi HTS545050A7E380, GG2OA7J0, max UDMA/133
[ 11.153651] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[ 11.167918] ata1.00: configured for UDMA/133
[ 11.179866] scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54505 A7J0 PQ: 0 ANSI: 5
[ 11.193549] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 11.206478] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 11.212520] sd 0:0:0:0: [sda] Write Protect is off
[ 11.218118] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 11.218208] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 11.228153] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[ 11.265649] sda: sda1
[ 11.273540] sd 0:0:0:0: [sda] Attached SCSI disk
[ 25.766073] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[ 27.577629] EXT4-fs (sda1): mounted filesystem c5ad4d0e-1782-4c5f-892f-763a083e5c6f ro with ordered data mode. Quota mode: none.
[ 33.653939] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 33.688576] orion_wdt: Initial timeout 21 sec
[ 34.203674] marvell-cesa f1030000.crypto: CESA device successfully registered
[ 34.394447] random: crng init done
[ 35.884605] EXT4-fs (sda1): re-mounted c5ad4d0e-1782-4c5f-892f-763a083e5c6f r/w. Quota mode: none.
[ 58.432835] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[ 70.014869] Adding 995324k swap on /var/swap. Priority:-2 extents:21 across:454926396k FS
[ 71.305322] zram: Added device: zram0
[ 71.539604] zram0: detected capacity change from 0 to 238984
[ 71.798947] Adding 119488k swap on /dev/zram0. Priority:100 extents:1 across:119488k SSFS
[ 82.614612] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd
[ 82.649806] usb 3-2: New USB device found, idVendor=0781, idProduct=558b, bcdDevice= 1.00
[ 82.658761] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 82.666959] usb 3-2: Product: Extreme
[ 82.671341] usb 3-2: Manufacturer: SanDisk
[ 82.676385] usb 3-2: SerialNumber: 4C530001101117121333
[ 82.696213] usb-storage 3-2:1.0: USB Mass Storage device detected
[ 82.714681] scsi host2: usb-storage 3-2:1.0
[ 82.854128] usbcore: registered new interface driver uas
[ 83.775925] scsi 2:0:0:0: Direct-Access SanDisk Extreme 1.00 PQ: 0 ANSI: 6
[ 83.795353] sd 2:0:0:0: [sdb] 122552320 512-byte logical blocks: (62.7 GB/58.4 GiB)
[ 83.804230] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 83.813306] sd 2:0:0:0: [sdb] Write Protect is off
[ 83.823358] sd 2:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 83.824246] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 83.880122] sdb: sdb1
[ 83.885132] sd 2:0:0:0: [sdb] Attached SCSI removable disk

Quote
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0781:558b SanDisk Corp. Extreme
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Quote
lsusb -v
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 6.05
iManufacturer 3 Linux 6.5.7-kirkwood-tld-1 ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 f1050000.ehci
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Device Status: 0x0001
Self Powered

Bus 003 Device 002: ID 0781:558b SanDisk Corp. Extreme
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x0781 SanDisk Corp.
idProduct 0x558b
bcdDevice 1.00
iManufacturer 1 SanDisk
iProduct 2 Extreme
iSerial 3 4C530001101117121333
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x002c
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 896mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x0016
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
HIRD Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 256 micro seconds
Device Status: 0x0000
(Bus Powered)

Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 6.05
iManufacturer 3 Linux 6.5.7-kirkwood-tld-1 xhci-hcd
iProduct 2 xHCI Host Controller
iSerial 1 0000:02:00.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x001f
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
bMaxBurst 0
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 2
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.0 micro seconds
wHubDelay 0 nano seconds
DeviceRemovable 0x00
Hub Port Status:
Port 1: 0000.02a0 5Gbps power Rx.Detect
Port 2: 0000.0203 5Gbps power U0 enable connect
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x000f
bNumDeviceCaps 1
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x02
Latency Tolerance Messages (LTM) Supported
wSpeedsSupported 0x0008
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 0 micro seconds
bU2DevExitLat 0 micro seconds
Device Status: 0x0001
Self Powered

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 6.05
iManufacturer 3 Linux 6.5.7-kirkwood-tld-1 xhci-hcd
iProduct 2 xHCI Host Controller
iSerial 1 0000:02:00.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0001
Self Powered

Quote
lspci
00:01.0 PCI bridge: Marvell Technology Group Ltd. Device 6282
00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6282
02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)

Quote
lspci -v
00:01.0 PCI bridge: Marvell Technology Group Ltd. Device 6282 (prog-if 00 [Normal decode])
Subsystem: Marvell Technology Group Ltd. Device 11ab
Device tree node: /sys/firmware/devicetree/base/mbus@f1000000/pcie@82000000/pcie@1,0
Flags: fast devsel
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: [disabled] [32-bit]
Memory behind bridge: [disabled] [32-bit]
Capabilities: [40] Subsystem: Marvell Technology Group Ltd. Device 11ab
Capabilities: [60] Express Root Port (Slot+), MSI 00
Capabilities: [100] Advanced Error Reporting

00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6282 (prog-if 00 [Normal decode])
Subsystem: Marvell Technology Group Ltd. Device 11ab
Device tree node: /sys/firmware/devicetree/base/mbus@f1000000/pcie@82000000/pcie@2,0
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: [disabled] [32-bit]
Memory behind bridge: e0000000-e00fffff [size=1M] [32-bit]
Capabilities: [40] Subsystem: Marvell Technology Group Ltd. Device 11ab
Capabilities: [60] Express Root Port (Slot+), MSI 00
Capabilities: [100] Advanced Error Reporting

02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: NEC Corporation uPD720200 USB 3.0 Host Controller
Flags: bus master, fast devsel, latency 0, IRQ 35
Memory at e0000000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [50] Power Management version 3
Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [90] MSI-X: Enable- Count=8 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
Capabilities: [150] Latency Tolerance Reporting
Kernel driver in use: xhci_hcd

/BayPanard
Re: Debian on Synology DS112 v10j
May 04, 2025 09:35PM
BayPanard,

> I did booted from rootfs on internal SATA, I hope
> it'll be ok. (I plugged usb drive for it to show
> in the commands after boot)

Thanks!

dmesg looks good.

Quote
lspci
> 00:01.0 PCI bridge: Marvell Technology Group Ltd.
> Device 6282
> 00:02.0 PCI bridge: Marvell Technology Group Ltd.
> Device 6282
> 02:00.0 USB controller: NEC Corporation uPD720200
> USB 3.0 Host Controller (rev 04)

This confirmed my understanding that the USB 3.0 controller is on PCIe bus.

Will upload another u-boot build.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS112 v10j
May 05, 2025 02:51PM
Attached here is the new u-boot for Synology DS112.

uboot.2024.10-tld-1.ds112.bodhi.250504.tar
md5:
12050f29126d77e330fe43d44ec0652e
sha256:
c79e39ad2aac62f4e51263e4adc1df8c03b51469182807972160fbccac83b50c

This tarball includes 5 files
uboot.2024.10-tld-1.ds112.kwb
uboot.2024.10-tld-1.ds112.environment.img
uboot.2024.10-tld-1.ds112.environment
uboot.2024.10-tld-1.ds112.boot.cmd
uboot.2024.10-tld-1.ds112.boot.scr

Please run with USB 3.0 rootfs. If you're booting with SATA rootfs, then just attach any USB 3.0 flash drive.
dm tree
usb reset
usb info
usb part
sata init
sata part
dm tree
and post the entire serial console log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - uboot.2024.10-tld-1.ds112.bodhi.250504.tar (590 KB)
Re: Debian on Synology DS112 v10j
May 07, 2025 06:17AM
Bodhi,

Still no luck! I can't see usb or SATA drive :

U-Boot 2024.10-tld-1 (May 04 2025 - 22:01:09 -0700)
Synology DS112 V10j

SoC:   Kirkwood 88F6282_A0
DRAM:  256 MiB
Core:  22 devices, 16 uclasses, devicetree: separate
Loading Environment from SPIFlash... SF: Detected m25p32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
pcie0.0: Link down
Net:   
Warning: ethernet-controller@72000 (eth0) using random MAC address - de:ba:73:48:17:10
eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
DS112> dm tree
 Class     Index  Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [ + ]   simple_bus            |-- mbus@f1000000
 misc          0  [ + ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci           0  [ + ]   pcie_mvebu            |       `-- pcie0.0
 pci           1  [ + ]   pci_bridge_drv        |           `-- pci_0:0.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [   ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [   ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- ehci@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [   ]   sata_mv_ahci          |   `-- sata@80000
 simple_bus    2  [   ]   simple_bus            |-- regulators-hdd-30-2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS112> usb reset
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
DS112> usb info
1: Hub,  USB Revision 2.0
 - u-boot EHCI Host Controller 
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

DS112> usb part

no usb partition table available
DS112> sata init
DS112> sata part

no sata partition table available
DS112> dm tree
 Class     Index  Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [ + ]   simple_bus            |-- mbus@f1000000
 misc          0  [ + ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci           0  [ + ]   pcie_mvebu            |       `-- pcie0.0
 pci           1  [ + ]   pci_bridge_drv        |           `-- pci_0:0.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [   ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [   ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [ + ]   ehci_mvebu            |   |-- ehci@50000
 usb_hub       0  [ + ]   usb_hub               |   |   `-- usb_hub
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [   ]   sata_mv_ahci          |   `-- sata@80000
 blk           0  [   ]   sata_mv_blk           |       |-- sata@80000.blk
 blk           1  [   ]   sata_mv_blk           |       |-- sata@80000.blk
 blk           2  [   ]   sata_mv_blk           |       |-- sata@80000.blk
 blk           3  [   ]   sata_mv_blk           |       |-- sata@80000.blk
 blk           4  [   ]   sata_mv_blk           |       |-- sata@80000.blk
 blk           5  [   ]   sata_mv_blk           |       `-- sata@80000.blk
 simple_bus    2  [   ]   simple_bus            |-- regulators-hdd-30-2
 bootstd       0  [ + ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe

(I sound like a broken record but : thanks for helping, I could never have gone this far without your time and support!)

/BayPanard
Re: Debian on Synology DS112 v10j
May 07, 2025 01:53PM
BayPanard,

OK. Guess I need to take a look at the GPL source again!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS112 v10j
May 08, 2025 03:26PM
OK, so thanks to this topic I took a close look. Mainline u-boot seems to lack some support for the Kirkwood 6282 SoC! Will see if I can work around it or have to do the right thing by adding the missing code.

What we did in the past for u-boot was OK because we run the both 6281 and 6282 SoC boxes as 6281. Most of the time it works fine because the 6282 is a clone of the 6281, with some additional functionality.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS112 v10j
May 08, 2025 05:28PM
Attached here is the new u-boot build for Synology DS112.

uboot.2024.10-tld-1.ds112.bodhi.250508.tar
md5:
8da79550bb598de08689b900add12060
sha256:
7b5596b8bc92446f359c594aa77333cce56f18b4c69f09e227f508cd36e79dfc

This tarball includes 5 files
uboot.2024.10-tld-1.ds112.kwb
uboot.2024.10-tld-1.ds112.environment.img
uboot.2024.10-tld-1.ds112.environment
uboot.2024.10-tld-1.ds112.boot.cmd
uboot.2024.10-tld-1.ds112.boot.scr

Please run 2 tests. Run kwboot in both tests.

1. USB 3.0 rootfs. If you're booting with SATA rootfs, then just attach any USB 3.0 flash drive.

kwboot, interrupt countdown, and
dm tree
usb reset
usb info
usb part
sata init
sata part
dm tree

2. eSATA booting

In this u-boot build, we don't care about the boot.scr. IOW, we will boot the box the same way as when you've flashed new u-boot and its environment images to SPI.

With only eSATA rootfs attached (it's OK to leave your HDD rootfs in the slot, but the result will be a bit confusing to see). Don't plug in your USB 3 rootfs.

kwboot, interrupt countdown, and,

printenv
boot

It should boot the kernel on eSATA drive. But the system rootfs could be either the internal HDD or the one on eSATA drive (if the internal HDD was removed then the rootfs is the one on eSATA).

Please post 2 serial console logs, one for each test.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - uboot.2024.10-tld-1.ds112.bodhi.250508.tar (590 KB)
Re: Debian on Synology DS112 v10j
May 09, 2025 06:25AM
Bodhi,

Quote
bodhi
OK, so thanks to this topic I took a close look. Mainline u-boot seems to lack some support for the Kirkwood 6282 SoC!
=> I'm happy to learn that I helped :D

Here are tests results:

1. USB 3.0 rootfs

I did test with only usb3 rootfs and stock system on internal SATA.
But I didn't read your thread untill the end (doh..) so I did both test without reloading u-boot between the tries.
I will put full log anyway just in case there is valuable information.

Still no luck with detecting usb and internal sata drive.

U-Boot 2024.10-tld-1 (May 08 2025 - 13:36:17 -0700)
Synology DS112 V10j

SoC:   Kirkwood 88F6282_A0
DRAM:  256 MiB
pcie1.0: cannot get tgt/attr for mem window
Core:  22 devices, 16 uclasses, devicetree: separate
Loading Environment from SPIFlash... SF: Detected m25p32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
pcie0.0: Link down
Net:   
Warning: ethernet-controller@72000 (eth0) using random MAC address - 6a:70:79:87:50:46
eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
DS112> dm tree
 Class     Index  Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [ + ]   simple_bus            |-- mbus@f1000000
 misc          0  [ + ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci           0  [ + ]   pcie_mvebu            |       `-- pcie0.0
 pci           1  [ + ]   pci_bridge_drv        |           `-- pci_0:0.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [   ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [   ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- ehci@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [   ]   sata_mv_ahci          |   `-- sata@80000
 simple_bus    2  [   ]   simple_bus            |-- regulators-hdd-30-2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS112> usb reset
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
DS112> usb info
1: Hub,  USB Revision 2.0
 - u-boot EHCI Host Controller 
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

DS112> usb part

no usb partition table available
DS112> sata init
DS112> sata part

no sata partition table available
DS112> dm tree 
 Class     Index  Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [ + ]   simple_bus            |-- mbus@f1000000
 misc          0  [ + ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci           0  [ + ]   pcie_mvebu            |       `-- pcie0.0
 pci           1  [ + ]   pci_bridge_drv        |           `-- pci_0:0.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [   ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [   ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [ + ]   ehci_mvebu            |   |-- ehci@50000
 usb_hub       0  [ + ]   usb_hub               |   |   `-- usb_hub
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [   ]   sata_mv_ahci          |   `-- sata@80000
 blk           0  [   ]   sata_mv_blk           |       |-- sata@80000.blk
 blk           1  [   ]   sata_mv_blk           |       |-- sata@80000.blk
 blk           2  [   ]   sata_mv_blk           |       |-- sata@80000.blk
 blk           3  [   ]   sata_mv_blk           |       |-- sata@80000.blk
 blk           4  [   ]   sata_mv_blk           |       |-- sata@80000.blk
 blk           5  [   ]   sata_mv_blk           |       `-- sata@80000.blk
 simple_bus    2  [   ]   simple_bus            |-- regulators-hdd-30-2
 bootstd       0  [ + ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe

For the eSATA part I redid "sata init" / "sata part" then "printenv" and "boot" but it ended but an error that rebooted the box and sent me back to stock uboot!

DS112> sata init
DS112> sata part
Failed to wait for completion on port 0
ATA operation timed out
Failed to wait for completion on port 0
ATA operation timed out


Partition Map for ahci device 1  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	976771072 	9031dacb-01	83
DS112> printenv
arch=arm
baudrate=115200
board=ds112
board_name=ds112
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; els e if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
console=ttyS0,115200
cpu=arm926ejs
device=0:1
devices=usb sata
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-ds112-v10j.dtb
ethaddr=6a:70:79:87:50:46
fdt_addr_r=0x2c00000
fdtcontroladdr=fb649c0
fdtfile=kirkwood-ds112-v10j.dtb
if_netconsole=ping $serverip
kernel_addr_r=0x800000
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
loadaddr=0x800000
mtdparts=mtdparts=spi0.0:512K(u-boot),64K@768K(u-boot-env),3M@1M(data)
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
ramdisk_addr_r=0x01100000
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_sata "sata init"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then ec ho Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; e cho Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
scriptaddr=0x200000
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
soc=kirkwood
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin serial,nc; setenv stdout serial,nc; setenv stderr serial,nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb reset"; setenv init_sata "sata init"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
vendor=Synology
ver=U-Boot 2024.10-tld-1 (May 08 2025 - 13:36:17 -0700)\
Synology DS112 V10j

Environment size: 3082/65532 bytes
DS112> boot
Initializing devices...
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Loading envs from usb 0...
** Bad device specification usb 0 **
Couldn't find partition usb 0:1
Can't set block device
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
Failed to wait for completion on port 0
ATA operation timed out
Failed to wait for completion on port 0
ATA operation timed out
** Bad device size - sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
Failed to load '/boot/uEnv.txt'
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
ho Scan device usb
device usb 0:1
** Bad device specification usb 0 **
Couldn't find partition usb 0:1
Can't set block device
device usb 1:1
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
ho Scan device sata
device sata 0:1
Failed to wait for completion on port 0
ATA operation timed out
Failed to wait for completion on port 0
ATA operation timed out
** Bad device size - sata 0 **
Couldn't find partition sata 0:1
Can't set block device
device sata 1:1
1 bytes read in 79 ms (0 Bytes/s)
Unknown command 'e' - try 'help'
syntax error
�esetting ...
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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>>


2. eSATA booting

Result was the same as when I combined both test.

It seems reading some information from eSATA rootfs makes the uboot crash?

U-Boot 2024.10-tld-1 (May 08 2025 - 13:36:17 -0700)
Synology DS112 V10j

SoC:   Kirkwood 88F6282_A0
DRAM:  256 MiB
pcie1.0: cannot get tgt/attr for mem window
Core:  22 devices, 16 uclasses, devicetree: separate
Loading Environment from SPIFlash... SF: Detected m25p32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
pcie0.0: Link down
Net:   
Warning: ethernet-controller@72000 (eth0) using random MAC address - 0e:84:cd:bf:7b:17
eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
DS112> printenv
arch=arm
baudrate=115200
board=ds112
board_name=ds112
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; els e if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
console=ttyS0,115200
cpu=arm926ejs
device=0:1
devices=usb sata
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-ds112-v10j.dtb
ethaddr=0e:84:cd:bf:7b:17
fdt_addr_r=0x2c00000
fdtcontroladdr=fb649c0
fdtfile=kirkwood-ds112-v10j.dtb
if_netconsole=ping $serverip
kernel_addr_r=0x800000
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
loadaddr=0x800000
mtdparts=mtdparts=spi0.0:512K(u-boot),64K@768K(u-boot-env),3M@1M(data)
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
ramdisk_addr_r=0x01100000
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_sata "sata init"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then ec ho Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; e cho Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
scriptaddr=0x200000
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
soc=kirkwood
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin serial,nc; setenv stdout serial,nc; setenv stderr serial,nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb reset"; setenv init_sata "sata init"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
vendor=Synology
ver=U-Boot 2024.10-tld-1 (May 08 2025 - 13:36:17 -0700)\
Synology DS112 V10j

Environment size: 3082/65532 bytes
DS112> boot
Initializing devices...
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Loading envs from usb 0...
** Bad device specification usb 0 **
Couldn't find partition usb 0:1
Can't set block device
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
Failed to wait for completion on port 0
ATA operation timed out
Failed to wait for completion on port 0
ATA operation timed out
** Bad device size - sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
Failed to load '/boot/uEnv.txt'
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
ho Scan device usb
device usb 0:1
** Bad device specification usb 0 **
Couldn't find partition usb 0:1
Can't set block device
device usb 1:1
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
ho Scan device sata
device sata 0:1
** Bad device size - sata 0 **
Couldn't find partition sata 0:1
Can't set block device
device sata 1:1
1 bytes read in 42 ms (0 Bytes/s)
Unknown command 'e' - try 'help'
syntax error
�esetting ...
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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>>


============

As of now for all past tests I did not put new boot.scr from your tarball on my rootfs as you told me at the beginning that only the .kwb file was modified. Am I executing the tests right?



/BayPanard
Re: Debian on Synology DS112 v10j
May 09, 2025 03:36PM
BayPanard,

> As of now for all past tests I did not put new
> boot.scr from your tarball on my rootfs as you
> told me at the beginning that only the .kwb file
> was modified. Am I executing the tests right?

Yes, you did. My bad :) I did not reconize there was a syntax error in the format of the internal envs (copy/paste problem).

> Still no luck with detecting usb and internal sata
> drive.

OK. So my workaround did not work.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 05/09/2025 06:32PM by bodhi.
Re: Debian on Synology DS112 v10j
May 09, 2025 06:33PM
In think it's best that I rebuild this u-boot to correct the default envs. Stay tuned for another build to test eSATA booting.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS112 v10j
May 10, 2025 02:10PM
Attached here is the new u-boot build for Synology DS112.

uboot.2024.10-tld-1.ds112.bodhi.250509.tar
md5:
d04f7e16e6b1e1c3452c792a254a16b4
sha256:
0d3e2cb360b1e420f18ebbecb3694180b9f9bbbacc82053e1a3f24135fc037ac

This tarball includes 5 files
uboot.2024.10-tld-1.ds112.kwb
uboot.2024.10-tld-1.ds112.environment.img
uboot.2024.10-tld-1.ds112.environment
uboot.2024.10-tld-1.ds112.boot.cmd
uboot.2024.10-tld-1.ds112.boot.scr

Please run eSATA booting test.

In this u-boot build, we don't care about the boot.scr. IOW, we will boot the box the same way as when you've flashed new u-boot and its environment images to SPI.

With only eSATA rootfs attached (it's OK to leave your HDD rootfs in the slot, but the result will be a bit confusing to see). Don't plug in your USB 3 rootfs.

kwboot, interrupt countdown, and,

printenv
boot

It should boot the kernel on eSATA drive. But the system rootfs could be either the internal HDD or the one on eSATA drive (if the internal HDD was removed then the rootfs is the one on eSATA).

Please post serial console log.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - uboot.2024.10-tld-1.ds112.bodhi.250509.tar (590 KB)
Re: Debian on Synology DS112 v10j
May 11, 2025 09:13AM
Bodhi,

We got further this time!

Now it complained about dtb / fdt because I did not place the dtb file under under /boot/dtb of the rootfs.

And I ran out of luck because the old Raspberry PI 1B I was using choose to die at this moment...

I need to put my hands on an UART adapter or another PI-like device, I'll come back with another post soon (I hope :) )

U-Boot 2024.10-tld-1 (May 09 2025 - 16:40:12 -0700)
Synology DS112 V10j

SoC:   Kirkwood 88F6282_A0
DRAM:  256 MiB
pcie1.0: cannot get tgt/attr for mem window
Core:  22 devices, 16 uclasses, devicetree: separate
Loading Environment from SPIFlash... SF: Detected m25p32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
pcie0.0: Link down
Net:   
Warning: ethernet-controller@72000 (eth0) using random MAC address - 36:da:0c:3a:bc:dc
eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
DS112> printenv
arch=arm
baudrate=115200
board=ds112
board_name=ds112
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
console=ttyS0,115200
cpu=arm926ejs
device=0:1
devices=usb sata
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-ds112-v10j.dtb
ethaddr=36:da:0c:3a:bc:dc
fdt_addr_r=0x2c00000
fdtcontroladdr=fb649c0
fdtfile=kirkwood-ds112-v10j.dtb
if_netconsole=ping $serverip
kernel_addr_r=0x800000
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
loadaddr=0x800000
mtdparts=mtdparts=spi0.0:512K(u-boot),64K@768K(u-boot-env),3M@1M(data)
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
ramdisk_addr_r=0x01100000
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_sata "sata init"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
scriptaddr=0x200000
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
soc=kirkwood
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin serial,nc; setenv stdout serial,nc; setenv stderr serial,nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb reset"; setenv init_sata "sata init"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
vendor=Synology
ver=U-Boot 2024.10-tld-1 (May 09 2025 - 16:40:12 -0700)\
Synology DS112 V10j

Environment size: 3079/65532 bytes
DS112> boot
Initializing devices...
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Loading envs from usb 0...
** Bad device specification usb 0 **
Couldn't find partition usb 0:1
Can't set block device
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
Failed to wait for completion on port 0
ATA operation timed out
Failed to wait for completion on port 0
ATA operation timed out
** Bad device size - sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
Failed to load '/boot/uEnv.txt'
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device specification usb 0 **
Couldn't find partition usb 0:1
Can't set block device
device usb 1:1
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Scan device sata
device sata 0:1
** Bad device size - sata 0 **
Couldn't find partition sata 0:1
Can't set block device
device sata 1:1
1 bytes read in 42 ms (0 Bytes/s)
Found bootable drive on sata 1
loading uImage ...
6223944 bytes read in 218 ms (27.2 MiB/s)
loading uInitrd ...
5791271 bytes read in 254 ms (21.7 MiB/s)
loading DTB /boot/dts/kirkwood-ds112-v10j.dtb ...
Failed to load '/boot/dts/kirkwood-ds112-v10j.dtb'
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6223880 Bytes = 5.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
Working FDT set to 0


Starting kernel ...

   Loading Kernel Image to 8000
   Loading Ramdisk to 0f5da000, end 0fb5fde7 ... OK

Starting kernel ...


Error: invalid dtb and unrecognized/unsupported machine ID
  r1=0x00000000, r2=0x00000100
  r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00
Available machine support:

ID (hex)	NAME
ffffffff	Generic DT based system
ffffffff	Marvell Kirkwood (Flattened Device Tree)

Please check your kernel config and/or bootloader.
Re: Debian on Synology DS112 v10j
May 11, 2025 02:30PM
BayPanard,

> We got further this time!
>
> Now it complained about dtb / fdt because I did
> not place the dtb file under under /boot/dtb of
> the rootfs.
>

> And I ran out of luck because the old Raspberry PI
> 1B I was using choose to die at this moment...
>
> I need to put my hands on an UART adapter or
> another PI-like device, I'll come back with
> another post soon (I hope :) )

Cool! Looks like it's working well.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS112 v10j
May 17, 2025 04:13AM
Bodhi,

I'm back :)

This time with dtb file placed on rootfs : it booted straight to debian !

U-Boot 2024.10-tld-1 (May 09 2025 - 16:40:12 -0700)
Synology DS112 V10j

SoC:   Kirkwood 88F6282_A0
DRAM:  256 MiB
pcie1.0: cannot get tgt/attr for mem window
Core:  22 devices, 16 uclasses, devicetree: separate
Loading Environment from SPIFlash... SF: Detected m25p32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
pcie0.0: Link down
Net:   
Warning: ethernet-controller@72000 (eth0) using random MAC address - 7e:50:28:15:48:5f
eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
DS112> printenv
arch=arm
baudrate=115200
board=ds112
board_name=ds112
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
console=ttyS0,115200
cpu=arm926ejs
device=0:1
devices=usb sata
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-ds112-v10j.dtb
ethaddr=7e:50:28:15:48:5f
fdt_addr_r=0x2c00000
fdtcontroladdr=fb649c0
fdtfile=kirkwood-ds112-v10j.dtb
if_netconsole=ping $serverip
kernel_addr_r=0x800000
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
loadaddr=0x800000
mtdparts=mtdparts=spi0.0:512K(u-boot),64K@768K(u-boot-env),3M@1M(data)
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
ramdisk_addr_r=0x01100000
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_sata "sata init"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
scriptaddr=0x200000
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
soc=kirkwood
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin serial,nc; setenv stdout serial,nc; setenv stderr serial,nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb reset"; setenv init_sata "sata init"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
vendor=Synology
ver=U-Boot 2024.10-tld-1 (May 09 2025 - 16:40:12 -0700)\
Synology DS112 V10j

Environment size: 3079/65532 bytes
DS112> boot
Initializing devices...
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Loading envs from usb 0...
** Bad device specification usb 0 **
Couldn't find partition usb 0:1
Can't set block device
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
Failed to wait for completion on port 0
ATA operation timed out
Failed to wait for completion on port 0
ATA operation timed out
** Bad device size - sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
Failed to load '/boot/uEnv.txt'
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device specification usb 0 **
Couldn't find partition usb 0:1
Can't set block device
device usb 1:1
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Scan device sata
device sata 0:1
** Bad device size - sata 0 **
Couldn't find partition sata 0:1
Can't set block device
device sata 1:1
1 bytes read in 42 ms (0 Bytes/s)
Found bootable drive on sata 1
loading uImage ...
6223944 bytes read in 240 ms (24.7 MiB/s)
loading uInitrd ...
5791271 bytes read in 254 ms (21.7 MiB/s)
loading DTB /boot/dts/kirkwood-ds112-v10j.dtb ...
22372 bytes read in 47 ms (464.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6223880 Bytes = 5.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
Working FDT set to 1c00000


Starting kernel ...

   Loading Kernel Image to 8000
   Loading Ramdisk to 0f5da000, end 0fb5fde7 ... OK
   Loading Device Tree to 0f5d1000, end 0f5d9763 ... OK
Working FDT set to f5d1000

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 V10j
[    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 mtdparts=spi0.0:512K(u-boot),64K@768K(u-boot-env),3M@1M(data)
[    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: 232304K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 29840K 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.000040][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000556][    T0] Console: colour dummy device 80x30
[    0.000617][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000643][    T0] CPU: Testing write buffer coherency: ok
[    0.000752][    T0] pid_max: default: 32768 minimum: 301
[    0.007388][    T0] LSM: initializing lsm=capability,integrity
[    0.009228][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.009259][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.019163][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.019475][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.019873][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.020214][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x0
[    0.020569][    T1] rcu: Hierarchical SRCU implementation.
[    0.020583][    T1] rcu: 	Max phase no-delay instances is 1000.
[    0.022966][    T1] devtmpfs: initialized
[    0.036667][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.036704][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.038871][    T1] prandom: seed boundary self test passed
[    0.042193][    T1] prandom: 100 self tests passed
[    0.042214][    T1] pinctrl core: initialized pinctrl subsystem
[    0.045289][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.046008][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.050771][    T1] audit: initializing netlink subsys (disabled)
[    0.052514][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.052647][    T1] cpuidle: using governor ladder
[    0.052716][    T1] cpuidle: using governor menu
[    0.053237][    T1] Feroceon L2: Enabling L2
[    0.053268][    T1] Feroceon L2: Cache support initialised.
[    0.060097][   T19] audit: type=2000 audit(0.050:1): state=initialized audit_enabled=0 res=1
[    0.062394][    T1] No ATAGs?
[    0.420054][    T1] raid6: int32x8  gen()   151 MB/s
[    0.760054][    T1] raid6: int32x4  gen()   140 MB/s
[    1.100080][    T1] raid6: int32x2  gen()   181 MB/s
[    1.440053][    T1] raid6: int32x1  gen()   131 MB/s
[    1.440065][    T1] raid6: using algorithm int32x2 gen() 181 MB/s
[    1.780052][    T1] raid6: .... xor() 115 MB/s, rmw enabled
[    1.780061][    T1] raid6: using intx1 recovery algorithm
[    1.781373][    T1] SCSI subsystem initialized
[    1.782003][    T1] usbcore: registered new interface driver usbfs
[    1.782057][    T1] usbcore: registered new interface driver hub
[    1.782109][    T1] usbcore: registered new device driver usb
[    1.782437][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.782444][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.782495][    T1] PTP clock support registered
[    1.784621][    T1] vgaarb: loaded
[    1.790640][    T1] clocksource: Switched to clocksource orion_clocksource
[    1.797682][    T1] VFS: Disk quotas dquot_6.6.0
[    1.798006][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.823530][    T1] NET: Registered PF_INET protocol family
[    1.823777][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.830805][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.830971][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.830996][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    1.831037][    T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    1.831091][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    1.831622][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.831815][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.831845][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.832527][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.833467][    T1] RPC: Registered named UNIX socket transport module.
[    1.833478][    T1] RPC: Registered udp transport module.
[    1.833483][    T1] RPC: Registered tcp transport module.
[    1.833488][    T1] RPC: Registered tcp-with-tls transport module.
[    1.833493][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.833510][    T1] PCI: CLS 0 bytes, default 32
[    1.835755][   T32] Trying to unpack rootfs image as initramfs...
[    2.579814][   T32] Freeing initrd memory: 5656K
[    3.007181][    T1] Initialise system trusted keyrings
[    3.007280][    T1] Key type blacklist registered
[    3.008418][    T1] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    3.008562][    T1] zbud: loaded
[    3.023135][    T1] NFS: Registering the id_resolver key type
[    3.023210][    T1] Key type id_resolver registered
[    3.023219][    T1] Key type id_legacy registered
[    3.023367][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.023386][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.024630][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    3.025291][    T1] fuse: init (API version 7.38)
[    3.026423][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    3.026713][    T1] orangefs_init: module version upstream loaded
[    3.027011][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.186058][    T1] xor: measuring software checksum speed
[    3.192727][    T1]    arm4regs        :  1484 MB/sec
[    3.203791][    T1]    8regs           :   890 MB/sec
[    3.211594][    T1]    32regs          :  1263 MB/sec
[    3.211602][    T1] xor: using function: arm4regs (1484 MB/sec)
[    3.211614][    T1] async_tx: api initialized (async)
[    3.211626][    T1] Key type asymmetric registered
[    3.211632][    T1] Asymmetric key parser 'x509' registered
[    3.252138][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    3.252489][    T1] io scheduler bfq registered
[    3.395078][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    3.396581][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.397690][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.398535][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    3.398599][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    3.398635][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    3.398667][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    3.398699][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.398729][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.398758][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.398779][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.399670][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    3.399688][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.399704][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    3.399718][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    3.399732][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    3.399743][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    3.399754][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    3.399876][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    3.400415][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    3.402598][    T1] PCI: bus0: Fast back to back transfers disabled
[    3.402620][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.402646][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.402937][    T1] PCI: bus1: Fast back to back transfers enabled
[    3.402954][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.403204][    T1] PCI: bus2: Fast back to back transfers enabled
[    3.403220][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.403255][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.403274][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    3.404230][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    3.462672][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.466299][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.522677][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.526612][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    3.528717][    T1] printk: console [ttyS0] disabled
[    3.529244][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 29, base_baud = 12500000) is a 16550A
[    3.529299][    T1] printk: console [ttyS0] enabled
[    4.612810][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 30, base_baud = 12500000) is a 16550A
[    4.633120][    T1] loop: module loaded
[    4.638011][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    4.647586][    T1] scsi host0: sata_mv
[    4.652810][    T1] scsi host1: sata_mv
[    4.657051][    T1] ata1: SATA max UDMA/133 irq 31
[    4.661933][    T1] ata2: SATA max UDMA/133 irq 31
[    4.668810][    T1] spi-nor spi0.0: found m25p32, expected m25p80
[    4.675014][    T1] spi-nor spi0.0: m25p32 (4096 Kbytes)
[    4.680433][    T1] 3 cmdlinepart partitions found on MTD device spi0.0
[    4.687107][    T1] Creating 3 MTD partitions on "spi0.0":
[    4.692647][    T1] 0x000000000000-0x000000080000 : "u-boot"
[    4.699086][    T1] 0x0000000c0000-0x0000000d0000 : "u-boot-env"
[    4.705750][    T1] 0x000000100000-0x000000400000 : "data"
[    4.712467][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    4.721071][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    4.735104][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    4.761070][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    4.771066][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 7e:50:28:15:48:5f
[    4.781082][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.787327][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.796112][    T1] orion-ehci f1050000.ehci: irq 34, io mem 0xf1050000
[    4.830666][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.837676][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    4.846711][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.854681][    T1] usb usb1: Product: EHCI Host Controller
[    4.860281][    T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[    4.867638][    T1] usb usb1: SerialNumber: f1050000.ehci
[    4.873924][    T1] hub 1-0:1.0: USB hub found
[    4.878437][    T1] hub 1-0:1.0: 1 port detected
[    4.883964][    T1] usbcore: registered new interface driver usb-storage
[    4.891282][    T1] mousedev: PS/2 mouse device common for all mice
[    4.897938][    T1] i2c_dev: i2c /dev entries driver
[    4.905694][    T1] rtc-s35390a 0-0030: registered as rtc0
[    4.912082][    T1] rtc-s35390a 0-0030: hctosys: unable to read the hardware clock
[    4.920921][    T1] device-mapper: uevent: version 1.0.3
[    4.926779][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    4.936585][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    4.943929][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    4.951317][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    4.958746][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    4.966363][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    4.973239][    T1] hid: raw HID events driver (C) Jiri Kosina
[    4.979516][    T1] drop_monitor: Initializing network drop monitor service
[    4.987781][    T1] NET: Registered PF_INET6 protocol family
[    4.993533][   T53] ata1: SATA link down (SStatus 0 SControl F300)
[    5.001590][    T1] Segment Routing with IPv6
[    5.005985][    T1] RPL Segment Routing with IPv6
[    5.010994][    T1] In-situ OAM (IOAM) with IPv6
[    5.015731][    T1] NET: Registered PF_PACKET protocol family
[    5.021960][    T1] Key type dns_resolver registered
[    5.041563][    T1] registered taskstats version 1
[    5.046458][    T1] Loading compiled-in X.509 certificates
[    5.068863][    T1] Key type .fscrypt registered
[    5.073581][    T1] Key type fscrypt-provisioning registered
[    5.084306][    T1] Key type big_key registered
[    5.125233][    T1] Key type encrypted registered
[    5.212487][  T105] "cryptomgr_test" (105) uses obsolete ecb(arc4) skcipher
[    5.520673][   T55] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    5.542901][   T55] ata2.00: ATA-8: Hitachi HTS545050A7E380, GG2OA7J0, max UDMA/133
[    5.550602][   T55] ata2.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[    5.605183][   T55] ata2.00: configured for UDMA/133
[    5.630806][   T18] scsi 1:0:0:0: Direct-Access     ATA      Hitachi HTS54505 A7J0 PQ: 0 ANSI: 5
[    5.640942][   T10] sd 1:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    5.649176][   T10] sd 1:0:0:0: [sda] 4096-byte physical blocks
[    5.671164][   T10] sd 1:0:0:0: [sda] Write Protect is off
[    5.676771][   T10] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.700776][   T10] sd 1:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[    5.758197][   T10]  sda: sda1
[    5.771090][   T10] sd 1:0:0:0: [sda] Attached SCSI disk
[    7.015934][    T1] clk: Disabling unused clocks
[    7.024054][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    7.051290][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.057689][    T1] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.17-1~deb12u1
Begin: Loading essential drivers ... done.
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, 20240/30531584 files, 2647944/122096384 blocks
done.
[   25.441103][  T176] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   27.337143][  T176] EXT4-fs (sda1): mounted filesystem c5ad4d0e-1782-4c5f-892f-763a083e5c6f 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.
Starting fake hwclock: loading system time.
Sun May  4 12:03:27 UTC 2025
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...[   33.298496][  T361] orion_wdt: Initial timeout 21 sec
[   33.502359][  T364] sd 1:0:0:0: Attached scsi generic sg0 type 0
[   33.787567][  T362] marvell-cesa f1030000.crypto: CESA device successfully registered
[   34.010726][    C0] random: crng init done
done.
Activating swap:.
[   35.540883][  T520] EXT4-fs (sda1): re-mounted c5ad4d0e-1782-4c5f-892f-763a083e5c6f 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/

============

I did check for the following :

1. Internal SATA : Is working and is powered !
(sdb is internal SATA)

root@debian:~# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 465.8G  0 disk 
`-sda1   8:1    0 465.8G  0 part /
sdb      8:16   0   1.9T  0 disk 
|-sdb1   8:17   0   2.4G  0 part 
|-sdb2   8:18   0     2G  0 part 
`-sdb3   8:19   0   1.9T  0 part 
zram0  251:0    0   175M  0 disk [SWAP]


2. USB3 ports on the back are not working
root@debian:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@debian:~# lsusb -v

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            6.05
  iManufacturer           3 Linux 6.5.7-kirkwood-tld-1 ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 f1050000.ehci
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0019
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
Device Status:     0x0001
  Self Powered
root@debian:~# 
root@debian:~# 
root@debian:~# 
root@debian:~# lspci
00:01.0 PCI bridge: Marvell Technology Group Ltd. Device 6282
00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6282
root@debian:~# lspci -v
00:01.0 PCI bridge: Marvell Technology Group Ltd. Device 6282 (prog-if 00 [Normal decode])
	Subsystem: Marvell Technology Group Ltd. Device 11ab
	Device tree node: /sys/firmware/devicetree/base/mbus@f1000000/pcie@82000000/pcie@1,0
	Flags: fast devsel
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: [disabled] [32-bit]
	Capabilities: [40] Subsystem: Marvell Technology Group Ltd. Device 11ab
	Capabilities: [60] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Advanced Error Reporting

00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6282 (prog-if 00 [Normal decode])
	Subsystem: Marvell Technology Group Ltd. Device 11ab
	Device tree node: /sys/firmware/devicetree/base/mbus@f1000000/pcie@82000000/pcie@2,0
	Flags: fast devsel
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: [disabled] [32-bit]
	Capabilities: [40] Subsystem: Marvell Technology Group Ltd. Device 11ab
	Capabilities: [60] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Advanced Error Reporting

/BayPanard
Re: Debian on Synology DS112 v10j
May 17, 2025 03:25PM
BayPanard,

> This time with dtb file placed on rootfs : it
> booted straight to debian !

Cool!


> 2. USB3 ports on the back are not working

So the new u-boot actually messed up the USB 3.0 ports! that's quite strange. Because it should not. Did you try removing the USB drive and reattach it?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: